Commit Graph

7681 Commits

Author SHA1 Message Date
Elliott Hughes
8f35527592 Merge "Add x86 <sys/ucontext.h>." 2014-01-30 00:58:09 +00:00
Elliott Hughes
677a07cb9a Add x86 <sys/ucontext.h>.
Change-Id: I43e72604f7a932f134733b78094b577415a5edb7
2014-01-29 16:46:00 -08:00
Elliott Hughes
972c39c4fe Merge "Add x86_64 ucontext.h for better compatibility" 2014-01-29 23:41:22 +00:00
Pavel Chupin
e61d106008 Add x86_64 ucontext.h for better compatibility
As suggested here: https://android-review.googlesource.com/#/c/71267/
it may be used for x86_64 libunwind enabling.

Change-Id: I21623261a48ea7099e030d33932556e294d226ff
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2014-01-29 15:35:33 -08:00
Elliott Hughes
7fccc34431 am 82072dc9: am 12e3a501: am 037b10d0: Merge "Fix pthread_test to work with gtest 1.7.0."
* commit '82072dc9327572f93bcc26331402ca7874a124d1':
  Fix pthread_test to work with gtest 1.7.0.
2014-01-29 12:49:07 +00:00
Elliott Hughes
37958fea13 am 2db157c8: am 3bd75303: am c75e7726: Merge "Remove a __system_property_get call from the DNS code."
* commit '2db157c853cb35243d49fd1e084c1fb444f9ba02':
  Remove a __system_property_get call from the DNS code.
2014-01-29 12:20:44 +00:00
Arve Hjønnevåg
fbaa254016 Regenerate binder header
Adds 64 bit support

Change-Id: I6db3c4f68bf2c337bff753599af193e2b062ec05
2014-01-28 19:29:46 -08:00
Elliott Hughes
82072dc932 am 12e3a501: am 037b10d0: Merge "Fix pthread_test to work with gtest 1.7.0."
* commit '12e3a5019a8bedcdac27470da92f81b5f7fd7b5b':
  Fix pthread_test to work with gtest 1.7.0.
2014-01-29 01:51:07 +00:00
Elliott Hughes
12e3a5019a am 037b10d0: Merge "Fix pthread_test to work with gtest 1.7.0."
* commit '037b10d05a789eb57878127ee4d69db1008e8c80':
  Fix pthread_test to work with gtest 1.7.0.
2014-01-29 01:47:11 +00:00
Elliott Hughes
037b10d05a Merge "Fix pthread_test to work with gtest 1.7.0." 2014-01-29 01:42:10 +00:00
Elliott Hughes
718a5b5495 Fix pthread_test to work with gtest 1.7.0.
Now we're building it correctly configured, gtest takes a couple of
TLS slots for itself.

Change-Id: I1c2c4e9e5f9c6e2e2e6ecd1214cfc16a5af5afed
2014-01-28 17:02:03 -08:00
Elliott Hughes
2db157c853 am 3bd75303: am c75e7726: Merge "Remove a __system_property_get call from the DNS code."
* commit '3bd75303f96a0838d971f98f941ee90bee6ba17d':
  Remove a __system_property_get call from the DNS code.
2014-01-28 23:11:07 +00:00
Elliott Hughes
3bd75303f9 am c75e7726: Merge "Remove a __system_property_get call from the DNS code."
* commit 'c75e7726ea5167ea03c512c7c35117762548d93f':
  Remove a __system_property_get call from the DNS code.
2014-01-28 23:04:52 +00:00
Elliott Hughes
c75e7726ea Merge "Remove a __system_property_get call from the DNS code." 2014-01-28 23:00:05 +00:00
Elliott Hughes
908e8c24ab Remove a __system_property_get call from the DNS code.
Change-Id: I48082ad9eb1b56349c6746ab2c371728c8571a81
2014-01-28 14:54:11 -08:00
Elliott Hughes
4d1bb942c2 am 0aa84269: am 7055c72a: am 4ea434e5: Merge "bionic: Change the type of soinfo\'s size to size_t"
* commit '0aa84269447141a032c0f3ad7830e9a2aa069809':
  bionic: Change the type of soinfo's size to size_t
2014-01-28 21:19:33 +00:00
Elliott Hughes
0aa8426944 am 7055c72a: am 4ea434e5: Merge "bionic: Change the type of soinfo\'s size to size_t"
* commit '7055c72a989188dd5e0984cc8cf6a2c0b2ffcc81':
  bionic: Change the type of soinfo's size to size_t
2014-01-28 21:17:06 +00:00
Elliott Hughes
7055c72a98 am 4ea434e5: Merge "bionic: Change the type of soinfo\'s size to size_t"
* commit '4ea434e5d22c8e257de3ff517fdda1175917b3ec':
  bionic: Change the type of soinfo's size to size_t
2014-01-28 21:10:19 +00:00
Elliott Hughes
4ea434e5d2 Merge "bionic: Change the type of soinfo's size to size_t" 2014-01-28 21:04:04 +00:00
Weiwu Chen
5ceb889ac9 bionic: Change the type of soinfo's size to size_t
Some system functions like munmap expect soinfo's size to be size_t, but currently
it is unsigned. Change it to size_t to fit 64bit's portability.

Change-Id: I0bf6d522b38b0cd9bf1db05b004b5326217412a2
Signed-off-by: Weiwu Chen <weiwu.chen@intel.com>
Signed-off-by: Qiming Shi <qiming.shi@intel.com>
2014-01-28 11:54:01 -08:00
Elliott Hughes
a873595113 am 41ae96a1: am 4bc229eb: am 4449fe96: Merge "Fix 32-bit mmap/mmap64 handling of negative offsets."
* commit '41ae96a1cc69fd2e1bc39fe55da22f15047beb50':
  Fix 32-bit mmap/mmap64 handling of negative offsets.
2014-01-28 01:18:06 +00:00
Elliott Hughes
41ae96a1cc am 4bc229eb: am 4449fe96: Merge "Fix 32-bit mmap/mmap64 handling of negative offsets."
* commit '4bc229eb0228d0cfb5b58e87124e5473f3513f06':
  Fix 32-bit mmap/mmap64 handling of negative offsets.
2014-01-28 01:11:49 +00:00
Elliott Hughes
f025dd96af am 64989588: am 2d7f9616: am 652dd519: Merge "Remove libthread_db from bionic."
* commit '64989588ba93d9e666d50179fc6e879e4b7c926f':
  Remove libthread_db from bionic.
2014-01-28 01:04:54 +00:00
Elliott Hughes
4bc229eb02 am 4449fe96: Merge "Fix 32-bit mmap/mmap64 handling of negative offsets."
* commit '4449fe9675671264746af4876bd959af8e9fee82':
  Fix 32-bit mmap/mmap64 handling of negative offsets.
2014-01-28 01:03:26 +00:00
Elliott Hughes
64989588ba am 2d7f9616: am 652dd519: Merge "Remove libthread_db from bionic."
* commit '2d7f9616fda2366845af3443c15eb3405eff9b6e':
  Remove libthread_db from bionic.
2014-01-28 00:59:14 +00:00
Elliott Hughes
4449fe9675 Merge "Fix 32-bit mmap/mmap64 handling of negative offsets." 2014-01-28 00:58:51 +00:00
Elliott Hughes
2d7f9616fd am 652dd519: Merge "Remove libthread_db from bionic."
* commit '652dd5196df87bdeef7bff452f1a4857a96e3133':
  Remove libthread_db from bionic.
2014-01-28 00:43:45 +00:00
Elliott Hughes
431166d995 Fix 32-bit mmap/mmap64 handling of negative offsets.
We don't actually need to worry about sign extension if we reject
negative values ourselves. Previously it was possible to come up
with negative but aligned values that we would pass to the kernel;
in the case of mmap (as opposed to mmap64) we'd incorrectly turn
those into large positive offsets.

Change-Id: I2aa583e0f892d59bb77429aea8730b72db32dcb0
2014-01-27 16:36:56 -08:00
Elliott Hughes
652dd5196d Merge "Remove libthread_db from bionic." 2014-01-28 00:24:57 +00:00
Elliott Hughes
d373d0c038 Remove libthread_db from bionic.
The NDK statically links its own copy into gdb.

Bug: 11882807
Change-Id: I0c7ed8761c32df3cc3644258551bc7d2e263f47b
2014-01-27 15:45:06 -08:00
Elliott Hughes
48c43edcd6 am 240a5214: am cbb439ad: am ba0c668f: Merge "bionic: Do not use magic number for portability"
* commit '240a5214e9159a3ace09f0ea9f9ceb37a2135a4c':
  bionic: Do not use magic number for portability
2014-01-27 23:09:09 +00:00
Elliott Hughes
240a5214e9 am cbb439ad: am ba0c668f: Merge "bionic: Do not use magic number for portability"
* commit 'cbb439addbe9f04de28f291ebd163575933da177':
  bionic: Do not use magic number for portability
2014-01-27 23:05:21 +00:00
Elliott Hughes
cbb439addb am ba0c668f: Merge "bionic: Do not use magic number for portability"
* commit 'ba0c668feca851fd52359bee4174a232f27697b4':
  bionic: Do not use magic number for portability
2014-01-27 14:57:53 -08:00
Elliott Hughes
ba0c668fec Merge "bionic: Do not use magic number for portability" 2014-01-27 22:52:07 +00:00
Qiming Shi
4041b13c20 bionic: Do not use magic number for portability
Do not use the magic number 0xFFFFFFFFU to represent the max value of an address
as it's not correct on 64bit platform. We should use UINTPTR_MAX instead.

Change-Id: I1fc6f5864a651b2eddea2333cb0788f9d9223270
Signed-off-by: Qiming Shi <qiming.shi@intel.com>
Signed-off-by: Weiwu Chen <weiwu.chen@intel.com>
2014-01-27 14:51:07 -08:00
Elliott Hughes
4332c9ebba am e528d178: am f3ea7917: am 6f23ce36: Merge "Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64)."
* commit 'e528d1787c80d4d6879c8fafa5487f9fd6ce4a29':
  Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64).
2014-01-25 01:38:13 +00:00
Elliott Hughes
e528d1787c am f3ea7917: am 6f23ce36: Merge "Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64)."
* commit 'f3ea791757dacdab64c870ccfb820e3e36a8d854':
  Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64).
2014-01-25 01:35:03 +00:00
Elliott Hughes
f3ea791757 am 6f23ce36: Merge "Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64)."
* commit '6f23ce36ce580da3c1419856c71d7426dd64748d':
  Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64).
2014-01-24 17:30:03 -08:00
Elliott Hughes
6f23ce36ce Merge "Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64)." 2014-01-25 01:25:16 +00:00
Ying Wang
7d6ae1e11e am cd66256a: am 22750476: am b32cc032: Merge "Use arch-specific variable to set up the x86 ld flags."
* commit 'cd66256a1f4fbcd192d033929c369bd54065e696':
  Use arch-specific variable to set up the x86 ld flags.
2014-01-25 01:03:36 +00:00
Ying Wang
cd66256a1f am 22750476: am b32cc032: Merge "Use arch-specific variable to set up the x86 ld flags."
* commit '227504768413a7802efcea3c80ee8fb6d78af9c5':
  Use arch-specific variable to set up the x86 ld flags.
2014-01-25 01:00:25 +00:00
Ying Wang
2275047684 am b32cc032: Merge "Use arch-specific variable to set up the x86 ld flags."
* commit 'b32cc032030e7a9f50b28d6dba5a40a38e6e76cf':
  Use arch-specific variable to set up the x86 ld flags.
2014-01-24 16:55:33 -08:00
Ying Wang
b32cc03203 Merge "Use arch-specific variable to set up the x86 ld flags." 2014-01-25 00:50:54 +00:00
Ying Wang
1682c63d77 Use arch-specific variable to set up the x86 ld flags.
Bug: 11654773
Change-Id: I9e9075bac1303cfa39b0f717dd74625ce1dd5fa5
2014-01-24 16:50:16 -08:00
Elliott Hughes
e2a292d278 Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64).
The various committees decided that everyone should get all these macros,
all the time.

Bug: 12708004
Change-Id: Ib56010dcba9b0656e5701546fefb7f78dc0bf916
2014-01-24 16:38:07 -08:00
Ben Cheng
d1e32e1c35 am 0bae4c4d: am 50228472: am 5acce960: Merge "Add all implicitly loaded symbols from libgcc.a into libgcc_compat.c."
* commit '0bae4c4d41acffa091680a5499e0381e1ea70f12':
  Add all implicitly loaded symbols from libgcc.a into libgcc_compat.c.
2014-01-25 00:26:01 +00:00
Ben Cheng
0bae4c4d41 am 50228472: am 5acce960: Merge "Add all implicitly loaded symbols from libgcc.a into libgcc_compat.c."
* commit '502284727b0e856442c95713ba61a16e7d86a5c1':
  Add all implicitly loaded symbols from libgcc.a into libgcc_compat.c.
2014-01-25 00:24:08 +00:00
Ben Cheng
502284727b am 5acce960: Merge "Add all implicitly loaded symbols from libgcc.a into libgcc_compat.c."
* commit '5acce960f40f51107301398f9cadff680a634951':
  Add all implicitly loaded symbols from libgcc.a into libgcc_compat.c.
2014-01-24 16:19:39 -08:00
Ben Cheng
5acce960f4 Merge "Add all implicitly loaded symbols from libgcc.a into libgcc_compat.c." 2014-01-25 00:13:10 +00:00
Ben Cheng
62ffe14a7e Add all implicitly loaded symbols from libgcc.a into libgcc_compat.c.
Change-Id: I0e66a73e849a01817d016a688d7291c2fb604e48
2014-01-24 15:20:11 -08:00