Commit Graph

10044 Commits

Author SHA1 Message Date
Ying Wang
6ee2f321d4 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-12 01:41:46 +00:00
Dmitriy Ivanov
ab16475066 am 3c12ae56: Merge "Add test for constructor function."
* commit '3c12ae56f402744d1a446ceef7d20f5ea01025c3':
  Add test for constructor function.
2014-07-12 01:41:45 +00:00
Dmitriy Ivanov
30e596e9ea am ca673e73: am b9c5d606: am 006e0770: Merge "Change android_dlextinfo flags to uint64_t"
* commit 'ca673e7300b361bbf49c2b7ea1012441d62b1995':
2014-07-11 17:52:23 +00:00
Elliott Hughes
a3eead96b9 am 7e43f0d4: resolved conflicts for merge of aedc14b1 to lmp-dev
* commit '7e43f0d40d3189ca219c6758f61ffe2a2d411ee2':
2014-07-11 17:52:22 +00:00
Dmitriy Ivanov
ca673e7300 am b9c5d606: am 006e0770: Merge "Change android_dlextinfo flags to uint64_t"
* commit 'b9c5d606aab6c1a21e3785d155613c35c276eb18':
  Change android_dlextinfo flags to uint64_t
2014-07-11 17:28:53 +00:00
Elliott Hughes
7e43f0d40d resolved conflicts for merge of aedc14b1 to lmp-dev
Change-Id: I36d3a6ca42778686f1f2971ae72cd3b7b156a3da
2014-07-11 10:03:35 -07:00
Elliott Hughes
83ce99d8b7 Merge "Define SIOCKILLADDR which isn't in the common kernel uapi headers." 2014-07-11 16:35:27 +00:00
Elliott Hughes
2ba2888cac Define SIOCKILLADDR which isn't in the common kernel uapi headers.
Change-Id: I8760950d13a9625aa543e76bc9d6cd86ac782c2e
2014-07-11 21:11:21 -07:00
Elliott Hughes
040e11877d Merge "Enable building libc with clang." 2014-07-11 16:35:27 +00:00
Elliott Hughes
c999f76977 Enable building libc with clang.
Bug: 16218205
Change-Id: I024de2044fe016412c7bead22c264e96be4cb39c
2014-07-11 09:28:53 -07:00
Christopher Ferris
c6bc001776 Merge "Update kernel headers to v3.14." 2014-07-10 21:32:00 +00:00
Elliott Hughes
76df69d1f5 Merge "The err family allow null format strings." 2014-07-10 21:32:00 +00:00
Elliott Hughes
2f61fba72b The err family allow null format strings.
Also remove declarations for the _* variants that were never implemented in bionic (or glibc).

Change-Id: I4ea1f17bbb377e70632c10dd218f47110cabc27b
2014-07-11 02:53:27 +00:00
Elliott Hughes
57a5b3380a Merge "Define three prctl constants that went missing from uapi." 2014-07-10 21:09:57 +00:00
Elliott Hughes
263325d4b0 Define three prctl constants that went missing from uapi.
Change-Id: Ib81846ddefe9a75e02151c6592ed99b1f8ec5858
2014-07-11 19:54:55 -07:00
Dan Albert
37f09d6d2e Merge "Revert "Revert "Add locale aware APIs.""" 2014-07-10 21:02:22 +00:00
Dan Albert
dfb5ce42bc Revert "Revert "Add locale aware APIs.""
This reverts commit 063e20c269.

Change-Id: Ib8c9004efefe75a5346b3af50dfe37952d91eb21
2014-07-11 16:21:31 +00:00
Christopher Ferris
385bb1eded Merge "Add optimized memchr implementation from newlib" 2014-07-10 20:49:23 +00:00
Bernhard Rosenkränzer
8c20c13100 Add optimized memchr implementation from newlib
Add NEON optimized memchr adapted from newlib

Change-Id: I91b2fafa243e4ab35fa56bb6171d48433c947cfd
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
2014-07-11 00:17:07 +02:00
Elliott Hughes
b8e82b5e72 Merge "EM_ARM and EM_AARCH64 are now in the uapi header." 2014-07-10 20:49:23 +00:00
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