Commit Graph

10274 Commits

Author SHA1 Message Date
Elliott Hughes
10cf0d8c1f EM_ARM and EM_AARCH64 are now in the uapi header.
Change-Id: Ice73403daff75ea45b24e02351269f6c012df6c1
2014-07-11 11:01:42 -07:00
Christopher Ferris
96502e273e Merge "Make jemalloc the default choice." 2014-07-10 20:49:23 +00:00
Christopher Ferris
8e32b7b354 Make jemalloc the default choice.
Change-Id: I5ff0cf0c396b7ae6278e6fcd5a0d50f8b966fb54
2014-07-11 11:01:30 -07:00
Elliott Hughes
5df23dc85e Merge "Switch libm to building with clang." 2014-07-10 20:49:23 +00:00
Elliott Hughes
aadc4b2ff0 Switch libm to building with clang.
Bug: 16211965
Change-Id: I81ec9706a4f2b5e8a840508a0f711cd25a5826ca
2014-07-10 16:58:07 -07:00
Elliott Hughes
9b491470ac Merge "Slim down static binaries by avoiding stdio." 2014-07-10 20:49:23 +00:00
Elliott Hughes
eba7c15b69 Merge "Revert "Switch libm to building with clang."" 2014-07-10 20:43:44 +00:00
Elliott Hughes
1e83245bae Revert "Switch libm to building with clang."
This reverts commit aadc4b2ff0.

The patch broke x86.

Change-Id: I0cda903732a685838bbd1877f94e1593a2a32acc
2014-07-11 01:24:15 +00:00
Christopher Ferris
38062f954c Update kernel headers to v3.14.
Other changes:
- Modify update_all.py to skip ion header files when importing into aosp.
- Fix generate_uapi_headers.sh to handle imports from a linux-stable kernel.

Change-Id: I1ad81b9ccb063c21740f9875f2cc1238052cd4b3
2014-07-10 13:32:32 -07:00
Elliott Hughes
91570ce987 Slim down static binaries by avoiding stdio.
It's okay for a program to choose to drag in stdio, but it's unfortunate
if even the minimal "int main() { return 42; }" drags in stdio...

This brings the minimal static binary on ARM down from 78KiB to 46KiB.

Given that we don't have a separate -lpthread it's not obvious to me that
we can shave this down any further. I'm not sure whether this is a worthwhile
change for that reason. (And the fact that dynamic binaries, the usual case,
are unaffected either way.)

Change-Id: I02f91dcff37d14354314a30b72fed2563f431c88
2014-07-10 12:34:23 -07:00
Elliott Hughes
f0f8cd1ff3 Merge "Remove the global lock around thread stack creation." 2014-07-10 18:27:51 +00:00
Elliott Hughes
e959a3b315 Remove the global lock around thread stack creation.
This lock has been here since the original commits, but as far as I can tell
it never served any purpose. We've never had a free list of cached stacks or
anything like that.

Change-Id: I9d665c7eaa9c699ce0659ffb111402a0239fe1f5
2014-07-10 10:25:26 -07:00
Elliott Hughes
cd23370ca7 Merge "Remove the obsolete _thread_created_hook." 2014-07-10 16:05:36 +00:00
Calin Juravle
3b0f3112d0 am f11e7c74: am 02459d34: Merge "Move __cmsg_nxthdr to its proper file."
* commit 'f11e7c74b5c8845bbad75c53f2837b831d883ea6':
  Move __cmsg_nxthdr to its proper file.
2014-07-10 15:24:13 +00:00
Calin Juravle
f11e7c74b5 am 02459d34: Merge "Move __cmsg_nxthdr to its proper file."
* commit '02459d34c9b82741155fbbb32850a7987eb7abaf':
  Move __cmsg_nxthdr to its proper file.
2014-07-10 15:20:25 +00:00
Calin Juravle
e8ce76c26e am 1d63dd90: am 8a71a745: Merge "Removed obsolete symbol cmsg_nxthdr."
* commit '1d63dd9092cc44645ab5001ea79f9f0aba86df69':
  Removed obsolete symbol cmsg_nxthdr.
2014-07-10 11:57:29 +00:00
Calin Juravle
1d63dd9092 am 8a71a745: Merge "Removed obsolete symbol cmsg_nxthdr."
* commit '8a71a745cb2a1eb573c6dc41e30c2f94a3a99db7':
  Removed obsolete symbol cmsg_nxthdr.
2014-07-10 11:54:36 +00:00
Christopher Ferris
0f8d5a0664 am c04e73a6: am 25fba981: Merge "Do not include libc_common in malloc debug code."
* commit 'c04e73a6b808012403a53d847f4946b33e880018':
  Do not include libc_common in malloc debug code.
2014-07-10 11:01:11 +00:00
Christopher Ferris
c04e73a6b8 am 25fba981: Merge "Do not include libc_common in malloc debug code."
* commit '25fba981a17c51df6cf88d5ace7ffe3c5a5766e4':
  Do not include libc_common in malloc debug code.
2014-07-10 09:43:32 +00:00
Elliott Hughes
e0f25dda3f Remove the obsolete _thread_created_hook.
gdb won't even try to use this on Android because it knows we don't
support old enough kernels to need it.

Bug: 15470251
Change-Id: Ia6d54585d888bbab8ee0490a148a1586b25437b9
2014-07-09 22:13:55 -07:00
Elliott Hughes
05916dda8a am cf53885b: am d028b620: Merge "Added a __system_property_serial benchmark."
* commit 'cf53885bfac9c7391d779df0a16355645fdedf64':
  Added a __system_property_serial benchmark.
2014-07-10 00:24:33 +00:00
Elliott Hughes
42775b512f am feccec68: am 84f0c7c2: Merge "update-tzdata.py needs to know where to find icu."
* commit 'feccec68c57f03647166317b7f528364f925bbab':
  update-tzdata.py needs to know where to find icu.
2014-07-10 00:24:32 +00:00
Dan Albert
293006c91b am 418fdef2: am 7a85d9a1: Merge "Revert "Add locale aware APIs.""
* commit '418fdef2e7299fbf3d7c06319711b84a58423c2a':
  Revert "Add locale aware APIs."
2014-07-10 00:24:32 +00:00
Dan Albert
16dd7fd5d2 am 43e79dab: am 430d5f93: Merge "Add locale aware APIs."
* commit '43e79dab8478fcfadd723a9ba51b7cb07a214f79':
  Add locale aware APIs.
2014-07-10 00:24:27 +00:00
Elliott Hughes
cf53885bfa am d028b620: Merge "Added a __system_property_serial benchmark."
* commit 'd028b6209cde7929e6d0613cbd92cc7b766d3d09':
  Added a __system_property_serial benchmark.
2014-07-10 00:16:26 +00:00
Elliott Hughes
feccec68c5 am 84f0c7c2: Merge "update-tzdata.py needs to know where to find icu."
* commit '84f0c7c258b3a72eed8737662bb5a730d6d9f5e2':
  update-tzdata.py needs to know where to find icu.
2014-07-10 00:16:25 +00:00
Dan Albert
418fdef2e7 am 7a85d9a1: Merge "Revert "Add locale aware APIs.""
* commit '7a85d9a1de7f0970af19eca5f3ca6938cbc2ce95':
  Revert "Add locale aware APIs."
2014-07-10 00:16:24 +00:00
Dan Albert
43e79dab84 am 430d5f93: Merge "Add locale aware APIs."
* commit '430d5f93ceea2e5172144a05885c295dca51b876':
  Add locale aware APIs.
2014-07-10 00:16:23 +00:00
Christopher Ferris
25fba981a1 Merge "Do not include libc_common in malloc debug code." 2014-07-09 22:27:32 +00:00
Christopher Ferris
dda1c6c466 Do not include libc_common in malloc debug code.
The inclusion of the static libc_common library in the malloc_debug_XXX.so
shared libraries causes constructors to be called twice. This doesn't seem
to have caused any issues when setting the libc.debug.malloc property.
However, jemalloc crashes because there are two jemalloc implementations,
one in the static libc_common library and one in the shared library. Each
implementation has created overlapping thread keys that are not the same.
The crash comes because one of the jemalloc keys is actually used by the
locale setting code. Thus if someone sets the locale, the jemalloc code
crashes trying to access the same key.

Change-Id: Iaac650a82d69064db148a6333e9403744f68b4a4
2014-07-09 21:27:15 -07:00
Elliott Hughes
84f0c7c258 Merge "update-tzdata.py needs to know where to find icu." 2014-07-09 22:27:32 +00:00
Elliott Hughes
30ab939496 update-tzdata.py needs to know where to find icu.
Change-Id: If5561b92c233276fb072da62be21f23df4781c41
2014-07-09 15:42:59 -07:00
Dan Albert
430d5f93ce Merge "Add locale aware APIs." 2014-07-09 22:27:32 +00:00
Dan Albert
e087eac404 Add locale aware APIs.
Since we only support the C locale, we can just forward all of these to
their non-locale equivalents for correct behavior.

Change-Id: Ib7be71b7f636309c0cc3be1096a4c1f693f04fbb
2014-07-09 15:41:53 -07:00
Calin Juravle
02459d34c9 Merge "Move __cmsg_nxthdr to its proper file." 2014-07-09 19:42:15 +00:00
Calin Juravle
f8408c58fa Move __cmsg_nxthdr to its proper file.
Change-Id: I095fb6bc5318f2d256baa97658bdfe679d235aec
2014-07-10 12:47:13 +01:00
Calin Juravle
e95d0fc34c Removed obsolete symbol cmsg_nxthdr.
Bug: 15822452
Change-Id: I5322fb29522fc58e9c3489ff86216e25a12ef970
2014-07-10 12:44:52 +01:00
Calin Juravle
8a71a745cb Merge "Removed obsolete symbol cmsg_nxthdr." 2014-07-09 19:42:15 +00:00
Elliott Hughes
e2bcc8bbe5 am 748d8708: am 4c199170: Merge "Added __system_propery_read benchmark."
* commit '748d870871b8b95ae054f733683658afba86a539':
  Added __system_propery_read benchmark.
2014-07-09 18:15:10 +00:00
Elliott Hughes
748d870871 am 4c199170: Merge "Added __system_propery_read benchmark."
* commit '4c199170a84e725a56b7d40c113c9d76a75d89ab':
  Added __system_propery_read benchmark.
2014-07-09 18:11:32 +00:00
Elliott Hughes
48ad92a4b1 am 742fce7b: am 3139f6fd: Merge "Remove __CTOR_LIST__ from mips/mips64."
* commit '742fce7b8414c095dd895547564ea8ef55d526b0':
  Remove __CTOR_LIST__ from mips/mips64.
2014-07-09 16:58:06 +00:00
Elliott Hughes
742fce7b84 am 3139f6fd: Merge "Remove __CTOR_LIST__ from mips/mips64."
* commit '3139f6fdd7f9bec3b53be3da62314ae8ba24ceb4':
  Remove __CTOR_LIST__ from mips/mips64.
2014-07-09 16:53:38 +00:00
Elliott Hughes
dc0b68e5ee am b9d95b5d: am c4c67893: Merge "Don\'t zero r1 on entry to the dynamic linker."
* commit 'b9d95b5d2f6eb748c0fdb83087b96bdb1cb5ef24':
  Don't zero r1 on entry to the dynamic linker.
2014-07-09 16:36:24 +00:00
Elliott Hughes
b9d95b5d2f am c4c67893: Merge "Don\'t zero r1 on entry to the dynamic linker."
* commit 'c4c6789362b82150e3f16cd655032f7ab2a1b6d6':
  Don't zero r1 on entry to the dynamic linker.
2014-07-09 16:32:58 +00:00
Ying Wang
76171b2d58 am 02406f68: am 6cdd0cfd: Merge "TARGET_OUT_DATA_NATIVE_TESTS now points to /nativetest64 in 64-bit target"
* commit '02406f688ce2b9d35573a483251628bc82e88b3f':
  TARGET_OUT_DATA_NATIVE_TESTS now points to $(TARGET_OUT_DATA)/nativetest64 in 64-bit target
2014-07-09 16:26:28 +00:00
Ying Wang
02406f688c am 6cdd0cfd: Merge "TARGET_OUT_DATA_NATIVE_TESTS now points to /nativetest64 in 64-bit target"
* commit '6cdd0cfd2f279dfb20b9f7cccc963eb9ee91c666':
  TARGET_OUT_DATA_NATIVE_TESTS now points to $(TARGET_OUT_DATA)/nativetest64 in 64-bit target
2014-07-09 16:22:58 +00:00
Dmitriy Ivanov
4e37e7b1e8 am b9247ada: am 3c12ae56: Merge "Add test for constructor function."
* commit 'b9247ada209fd7e3570127aacd77542d41a111fc':
  Add test for constructor function.
2014-07-09 15:07:37 +00:00
Elliott Hughes
4c199170a8 Merge "Added __system_propery_read benchmark." 2014-07-09 14:50:30 +00:00
Brigid Smith
a304476145 Added __system_propery_read benchmark.
Change-Id: Ic0e9118859a013aa04841de25822a81a7fc74b3c
2014-07-09 10:26:17 -07:00
Ying Wang
6cdd0cfd2f Merge "TARGET_OUT_DATA_NATIVE_TESTS now points to $(TARGET_OUT_DATA)/nativetest64 in 64-bit target" 2014-07-09 14:50:30 +00:00