OSDN Git Service

android-x86/bionic.git
10 years agoFix visibility for a bunch more symbols.
Elliott Hughes [Mon, 14 Jul 2014 21:41:47 +0000 (14:41 -0700)]
Fix visibility for a bunch more symbols.

Bug: 11156955
Bug: 15291317

(cherry picked from commit a167eef5482d4a89d4277ec74f57adbe38052813)

Change-Id: Ib038ad34ef59631f7b4ed6dff2b7956001b8b159

10 years agoImplement rand/srand in terms of random/srandom.
Elliott Hughes [Mon, 14 Jul 2014 18:57:03 +0000 (11:57 -0700)]
Implement rand/srand in terms of random/srandom.

Code developed for glibc or older versions of bionic might expect more
randomness than the BSD implementation provides.

Bug: 15829381

(cherry picked from commit 76c241b091b4d9d9a9237d40e814e52ce2917f47)

Change-Id: If721b3f16efdb21cb67df5ec5034c0ba905bd029

10 years agoSync upstream-openbsd.
Elliott Hughes [Mon, 14 Jul 2014 18:22:59 +0000 (11:22 -0700)]
Sync upstream-openbsd.

(cherry picked from commit 4f0b67a8dbf0e1d8b1dae42358553fb8d14456d4)

Change-Id: I8753959853312ab978bc4eb1bbbcdc7d1b007b95

10 years agoUpstream atexit
Dmitriy Ivanov [Fri, 11 Jul 2014 19:59:16 +0000 (12:59 -0700)]
Upstream atexit

Change-Id: Ia454a2181b5058ed9783dc02b6b1805d0e4d2715
(cherry picked from commit 53c3c271dc9927dd280981fc23409af60f460007)

10 years agoam e2b177a5: am 83ce99d8: Merge "Define SIOCKILLADDR which isn\'t in the common kerne...
Elliott Hughes [Sat, 12 Jul 2014 13:08:44 +0000 (13:08 +0000)]
am e2b177a5: am 83ce99d8: Merge "Define SIOCKILLADDR which isn\'t in the common kernel uapi headers."

* commit 'e2b177a5d1384ebbb82d576637364e5b24450beb':
  Define SIOCKILLADDR which isn't in the common kernel uapi headers.

10 years agoam 83ce99d8: Merge "Define SIOCKILLADDR which isn\'t in the common kernel uapi headers."
Elliott Hughes [Sat, 12 Jul 2014 12:59:27 +0000 (12:59 +0000)]
am 83ce99d8: Merge "Define SIOCKILLADDR which isn\'t in the common kernel uapi headers."

* commit '83ce99d8b7e2b15b2169e6e6e18e871ad35abb6c':
  Define SIOCKILLADDR which isn't in the common kernel uapi headers.

10 years agoDefine SIOCKILLADDR which isn't in the common kernel uapi headers.
Elliott Hughes [Sat, 12 Jul 2014 04:10:15 +0000 (21:10 -0700)]
Define SIOCKILLADDR which isn't in the common kernel uapi headers.

(cherry picked from commit 2ba2888cac2f04daff7bbaf032d0df7a095b00c3)

Change-Id: I3845871bb44dae94d9a0428af0f562ddfb8bd660

10 years agoam b962ab81: am 57a5b338: Merge "Define three prctl constants that went missing from...
Elliott Hughes [Sat, 12 Jul 2014 03:15:29 +0000 (03:15 +0000)]
am b962ab81: am 57a5b338: Merge "Define three prctl constants that went missing from uapi."

* commit 'b962ab81fc37fc8b4b8cfd45d3538b641dd6fd13':
  Define three prctl constants that went missing from uapi.

10 years agoam 57a5b338: Merge "Define three prctl constants that went missing from uapi."
Elliott Hughes [Sat, 12 Jul 2014 03:10:36 +0000 (03:10 +0000)]
am 57a5b338: Merge "Define three prctl constants that went missing from uapi."

* commit '57a5b3380a8834ecb4a32d01433a3127454443d7':
  Define three prctl constants that went missing from uapi.

10 years agoam 0594b9dd: am b8e82b5e: Merge "EM_ARM and EM_AARCH64 are now in the uapi header."
Elliott Hughes [Sat, 12 Jul 2014 02:06:38 +0000 (02:06 +0000)]
am 0594b9dd: am b8e82b5e: Merge "EM_ARM and EM_AARCH64 are now in the uapi header."

* commit '0594b9ddded7d832b786c209dd7cd4e26ee32eb8':
  EM_ARM and EM_AARCH64 are now in the uapi header.

10 years agoam efdf7862: am 385bb1ed: Merge "Add optimized memchr implementation from newlib"
Christopher Ferris [Sat, 12 Jul 2014 02:06:37 +0000 (02:06 +0000)]
am efdf7862: am 385bb1ed: Merge "Add optimized memchr implementation from newlib"

* commit 'efdf7862be41b2dfd8d013e2495af9a2db5286f5':
  Add optimized memchr implementation from newlib

10 years agoam 55230dd0: am 96502e27: Merge "Make jemalloc the default choice."
Christopher Ferris [Sat, 12 Jul 2014 02:06:37 +0000 (02:06 +0000)]
am 55230dd0: am 96502e27: Merge "Make jemalloc the default choice."

* commit '55230dd048d8c93af67611c30fd6563e24ef23c5':
  Make jemalloc the default choice.

10 years agoam 18a25078: am c6bc0017: Merge "Update kernel headers to v3.14."
Christopher Ferris [Sat, 12 Jul 2014 02:06:36 +0000 (02:06 +0000)]
am 18a25078: am c6bc0017: Merge "Update kernel headers to v3.14."

* commit '18a25078f0cc0aa9842f6397e3c24a5ae8686de5':
  Update kernel headers to v3.14.

10 years agoam ce1422b9: am 040e1187: Merge "Enable building libc with clang."
Elliott Hughes [Sat, 12 Jul 2014 02:06:36 +0000 (02:06 +0000)]
am ce1422b9: am 040e1187: Merge "Enable building libc with clang."

* commit 'ce1422b985383c4cbb485b3ec121eb8d01af12b8':
  Enable building libc with clang.

10 years agoam c0afc23e: am 37f09d6d: Merge "Revert "Revert "Add locale aware APIs."""
Dan Albert [Sat, 12 Jul 2014 02:06:35 +0000 (02:06 +0000)]
am c0afc23e: am 37f09d6d: Merge "Revert "Revert "Add locale aware APIs."""

* commit 'c0afc23e26ca0a591dd8fb5fcddf1cb616bd5e43':
  Revert "Revert "Add locale aware APIs.""

10 years agoam d19f2d85: am 76df69d1: Merge "The err family allow null format strings."
Elliott Hughes [Sat, 12 Jul 2014 02:06:35 +0000 (02:06 +0000)]
am d19f2d85: am 76df69d1: Merge "The err family allow null format strings."

* commit 'd19f2d859f744ded5a70cf0d8a23427eac7ec817':
  The err family allow null format strings.

10 years agoam 696c48df: am eba7c15b: Merge "Revert "Switch libm to building with clang.""
Elliott Hughes [Sat, 12 Jul 2014 02:06:34 +0000 (02:06 +0000)]
am 696c48df: am eba7c15b: Merge "Revert "Switch libm to building with clang.""

* commit '696c48df69a0841e8e179e313302c01155df5e85':
  Revert "Switch libm to building with clang."

10 years agoam 37ab54fd: am 5df23dc8: Merge "Switch libm to building with clang."
Elliott Hughes [Sat, 12 Jul 2014 02:06:33 +0000 (02:06 +0000)]
am 37ab54fd: am 5df23dc8: Merge "Switch libm to building with clang."

* commit '37ab54fd88f2bc579f7d5b931d6e3c40ad4e1f05':
  Switch libm to building with clang.

10 years agoam 35805377: am 9b491470: Merge "Slim down static binaries by avoiding stdio."
Elliott Hughes [Sat, 12 Jul 2014 02:06:33 +0000 (02:06 +0000)]
am 35805377: am 9b491470: Merge "Slim down static binaries by avoiding stdio."

* commit '35805377f91f0057704ee38687e0d9bf22d9d528':
  Slim down static binaries by avoiding stdio.

10 years agoam 7d9f1cc5: am f0f8cd1f: Merge "Remove the global lock around thread stack creation."
Elliott Hughes [Sat, 12 Jul 2014 02:06:32 +0000 (02:06 +0000)]
am 7d9f1cc5: am f0f8cd1f: Merge "Remove the global lock around thread stack creation."

* commit '7d9f1cc55c1f3641431e4ec8cf88d374025c5f39':
  Remove the global lock around thread stack creation.

10 years agoam 12ce9115: am cd23370c: Merge "Remove the obsolete _thread_created_hook."
Elliott Hughes [Sat, 12 Jul 2014 02:06:31 +0000 (02:06 +0000)]
am 12ce9115: am cd23370c: Merge "Remove the obsolete _thread_created_hook."

* commit '12ce91157a40785182a3424af2890fcad032f9c6':
  Remove the obsolete _thread_created_hook.

10 years agoam 9712d913: am 02459d34: Merge "Move __cmsg_nxthdr to its proper file."
Calin Juravle [Sat, 12 Jul 2014 02:06:31 +0000 (02:06 +0000)]
am 9712d913: am 02459d34: Merge "Move __cmsg_nxthdr to its proper file."

* commit '9712d913eba352d108116595d9be8bd0c96f24f6':

10 years agoam cd061f6e: am 8a71a745: Merge "Removed obsolete symbol cmsg_nxthdr."
Calin Juravle [Sat, 12 Jul 2014 02:06:30 +0000 (02:06 +0000)]
am cd061f6e: am 8a71a745: Merge "Removed obsolete symbol cmsg_nxthdr."

* commit 'cd061f6e434a28e979346b14cfe29a953ab9181f':

10 years agoam 4306b0f8: am 25fba981: Merge "Do not include libc_common in malloc debug code."
Christopher Ferris [Sat, 12 Jul 2014 02:06:29 +0000 (02:06 +0000)]
am 4306b0f8: am 25fba981: Merge "Do not include libc_common in malloc debug code."

* commit '4306b0f82b236acb10e1f42e7d850e4edd37fb78':

10 years agoam 96d7251c: am d028b620: Merge "Added a __system_property_serial benchmark."
Elliott Hughes [Sat, 12 Jul 2014 02:06:29 +0000 (02:06 +0000)]
am 96d7251c: am d028b620: Merge "Added a __system_property_serial benchmark."

* commit '96d7251cfc4d8134b864110908327880aa9ff8fd':

10 years agoam 1cad0226: am 84f0c7c2: Merge "update-tzdata.py needs to know where to find icu."
Elliott Hughes [Sat, 12 Jul 2014 02:06:28 +0000 (02:06 +0000)]
am 1cad0226: am 84f0c7c2: Merge "update-tzdata.py needs to know where to find icu."

* commit '1cad0226f5b0b7346516132bb45f09dafdffb91f':

10 years agoam ea04b5a6: am 7a85d9a1: Merge "Revert "Add locale aware APIs.""
Dan Albert [Sat, 12 Jul 2014 02:06:27 +0000 (02:06 +0000)]
am ea04b5a6: am 7a85d9a1: Merge "Revert "Add locale aware APIs.""

* commit 'ea04b5a6d9fbbc3877446f47a50b3070da1e036e':

10 years agoam f6b95993: am 430d5f93: Merge "Add locale aware APIs."
Dan Albert [Sat, 12 Jul 2014 02:06:27 +0000 (02:06 +0000)]
am f6b95993: am 430d5f93: Merge "Add locale aware APIs."

* commit 'f6b95993486005afb1d53677b321a85870c3b0c3':

10 years agoam 94560b5b: am 4c199170: Merge "Added __system_propery_read benchmark."
Elliott Hughes [Sat, 12 Jul 2014 02:06:26 +0000 (02:06 +0000)]
am 94560b5b: am 4c199170: Merge "Added __system_propery_read benchmark."

* commit '94560b5b9f43e106cce86916d99b86dd5e58d07b':

10 years agoam 8d11fb18: am 3139f6fd: Merge "Remove __CTOR_LIST__ from mips/mips64."
Elliott Hughes [Sat, 12 Jul 2014 02:06:25 +0000 (02:06 +0000)]
am 8d11fb18: am 3139f6fd: Merge "Remove __CTOR_LIST__ from mips/mips64."

* commit '8d11fb187dd7aca49e89c6e90aa2e79afa68780d':

10 years agoam 986fb565: am c4c67893: Merge "Don\'t zero r1 on entry to the dynamic linker."
Elliott Hughes [Sat, 12 Jul 2014 02:06:25 +0000 (02:06 +0000)]
am 986fb565: am c4c67893: Merge "Don\'t zero r1 on entry to the dynamic linker."

* commit '986fb5657919bde859b4dc618169c3178bc86b3b':

10 years agoam 6ee2f321: am 6cdd0cfd: Merge "TARGET_OUT_DATA_NATIVE_TESTS now points to /nativete...
Ying Wang [Sat, 12 Jul 2014 02:06:24 +0000 (02:06 +0000)]
am 6ee2f321: am 6cdd0cfd: Merge "TARGET_OUT_DATA_NATIVE_TESTS now points to /nativetest64 in 64-bit target"

* commit '6ee2f321d46b807e7a1ba4e08f2174265de3ea66':

10 years agoam ab164750: am 3c12ae56: Merge "Add test for constructor function."
Dmitriy Ivanov [Sat, 12 Jul 2014 02:06:23 +0000 (02:06 +0000)]
am ab164750: am 3c12ae56: Merge "Add test for constructor function."

* commit 'ab16475066c4b2792601bfd41a2a7107c5a98b24':

10 years agoam b8e82b5e: Merge "EM_ARM and EM_AARCH64 are now in the uapi header."
Elliott Hughes [Sat, 12 Jul 2014 01:41:51 +0000 (01:41 +0000)]
am b8e82b5e: Merge "EM_ARM and EM_AARCH64 are now in the uapi header."

* commit 'b8e82b5e729a1f6e30ee9593b2dbcbb3ad623874':
  EM_ARM and EM_AARCH64 are now in the uapi header.

10 years agoam 385bb1ed: Merge "Add optimized memchr implementation from newlib"
Christopher Ferris [Sat, 12 Jul 2014 01:41:51 +0000 (01:41 +0000)]
am 385bb1ed: Merge "Add optimized memchr implementation from newlib"

* commit '385bb1ededa734e88bafb8aaf817e9a984bf0d18':
  Add optimized memchr implementation from newlib

10 years agoam 96502e27: Merge "Make jemalloc the default choice."
Christopher Ferris [Sat, 12 Jul 2014 01:41:51 +0000 (01:41 +0000)]
am 96502e27: Merge "Make jemalloc the default choice."

* commit '96502e273eea49c95899af57fa578c8055b9618c':
  Make jemalloc the default choice.

10 years agoam c6bc0017: Merge "Update kernel headers to v3.14."
Christopher Ferris [Sat, 12 Jul 2014 01:41:50 +0000 (01:41 +0000)]
am c6bc0017: Merge "Update kernel headers to v3.14."

* commit 'c6bc001776931fd1c8583df2b8948dcb8bf61007':
  Update kernel headers to v3.14.

10 years agoam 040e1187: Merge "Enable building libc with clang."
Elliott Hughes [Sat, 12 Jul 2014 01:41:50 +0000 (01:41 +0000)]
am 040e1187: Merge "Enable building libc with clang."

* commit '040e11877d19f2fdd7a9c730d33056e88f43a760':
  Enable building libc with clang.

10 years agoam 37f09d6d: Merge "Revert "Revert "Add locale aware APIs."""
Dan Albert [Sat, 12 Jul 2014 01:41:50 +0000 (01:41 +0000)]
am 37f09d6d: Merge "Revert "Revert "Add locale aware APIs."""

* commit '37f09d6d2ea329984a3182b99a38f170dc86661d':
  Revert "Revert "Add locale aware APIs.""

10 years agoam 76df69d1: Merge "The err family allow null format strings."
Elliott Hughes [Sat, 12 Jul 2014 01:41:49 +0000 (01:41 +0000)]
am 76df69d1: Merge "The err family allow null format strings."

* commit '76df69d1f5cbbc8a2c1e899bc1ad5ada8b083e1e':
  The err family allow null format strings.

10 years agoam eba7c15b: Merge "Revert "Switch libm to building with clang.""
Elliott Hughes [Sat, 12 Jul 2014 01:41:49 +0000 (01:41 +0000)]
am eba7c15b: Merge "Revert "Switch libm to building with clang.""

* commit 'eba7c15b69010441e914b946006dc235e1472c96':
  Revert "Switch libm to building with clang."

10 years agoam 5df23dc8: Merge "Switch libm to building with clang."
Elliott Hughes [Sat, 12 Jul 2014 01:41:49 +0000 (01:41 +0000)]
am 5df23dc8: Merge "Switch libm to building with clang."

* commit '5df23dc85e459ef7271ad09b725631a3ad2d0ce4':
  Switch libm to building with clang.

10 years agoam 9b491470: Merge "Slim down static binaries by avoiding stdio."
Elliott Hughes [Sat, 12 Jul 2014 01:41:49 +0000 (01:41 +0000)]
am 9b491470: Merge "Slim down static binaries by avoiding stdio."

* commit '9b491470ac65a11775e52631ef5e655af9eb2a85':
  Slim down static binaries by avoiding stdio.

10 years agoam f0f8cd1f: Merge "Remove the global lock around thread stack creation."
Elliott Hughes [Sat, 12 Jul 2014 01:41:48 +0000 (01:41 +0000)]
am f0f8cd1f: Merge "Remove the global lock around thread stack creation."

* commit 'f0f8cd1ff3e7f7124cab8a687370b51df4ec93de':
  Remove the global lock around thread stack creation.

10 years agoam cd23370c: Merge "Remove the obsolete _thread_created_hook."
Elliott Hughes [Sat, 12 Jul 2014 01:41:48 +0000 (01:41 +0000)]
am cd23370c: Merge "Remove the obsolete _thread_created_hook."

* commit 'cd23370ca737dffc49166f8aacd19a025e72266f':
  Remove the obsolete _thread_created_hook.

10 years agoam 02459d34: Merge "Move __cmsg_nxthdr to its proper file."
Calin Juravle [Sat, 12 Jul 2014 01:41:48 +0000 (01:41 +0000)]
am 02459d34: Merge "Move __cmsg_nxthdr to its proper file."

* commit '02459d34c9b82741155fbbb32850a7987eb7abaf':
  Move __cmsg_nxthdr to its proper file.

10 years agoam 8a71a745: Merge "Removed obsolete symbol cmsg_nxthdr."
Calin Juravle [Sat, 12 Jul 2014 01:41:48 +0000 (01:41 +0000)]
am 8a71a745: Merge "Removed obsolete symbol cmsg_nxthdr."

* commit '8a71a745cb2a1eb573c6dc41e30c2f94a3a99db7':
  Removed obsolete symbol cmsg_nxthdr.

10 years agoam 25fba981: Merge "Do not include libc_common in malloc debug code."
Christopher Ferris [Sat, 12 Jul 2014 01:41:47 +0000 (01:41 +0000)]
am 25fba981: Merge "Do not include libc_common in malloc debug code."

* commit '25fba981a17c51df6cf88d5ace7ffe3c5a5766e4':
  Do not include libc_common in malloc debug code.

10 years agoam d028b620: Merge "Added a __system_property_serial benchmark."
Elliott Hughes [Sat, 12 Jul 2014 01:41:47 +0000 (01:41 +0000)]
am d028b620: Merge "Added a __system_property_serial benchmark."

* commit 'd028b6209cde7929e6d0613cbd92cc7b766d3d09':
  Added a __system_property_serial benchmark.

10 years agoam 84f0c7c2: Merge "update-tzdata.py needs to know where to find icu."
Elliott Hughes [Sat, 12 Jul 2014 01:41:47 +0000 (01:41 +0000)]
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.

10 years agoam 7a85d9a1: Merge "Revert "Add locale aware APIs.""
Dan Albert [Sat, 12 Jul 2014 01:41:47 +0000 (01:41 +0000)]
am 7a85d9a1: Merge "Revert "Add locale aware APIs.""

* commit '7a85d9a1de7f0970af19eca5f3ca6938cbc2ce95':
  Revert "Add locale aware APIs."

10 years agoam 430d5f93: Merge "Add locale aware APIs."
Dan Albert [Sat, 12 Jul 2014 01:41:46 +0000 (01:41 +0000)]
am 430d5f93: Merge "Add locale aware APIs."

* commit '430d5f93ceea2e5172144a05885c295dca51b876':
  Add locale aware APIs.

10 years agoam 4c199170: Merge "Added __system_propery_read benchmark."
Elliott Hughes [Sat, 12 Jul 2014 01:41:46 +0000 (01:41 +0000)]
am 4c199170: Merge "Added __system_propery_read benchmark."

* commit '4c199170a84e725a56b7d40c113c9d76a75d89ab':
  Added __system_propery_read benchmark.

10 years agoam 3139f6fd: Merge "Remove __CTOR_LIST__ from mips/mips64."
Elliott Hughes [Sat, 12 Jul 2014 01:41:46 +0000 (01:41 +0000)]
am 3139f6fd: Merge "Remove __CTOR_LIST__ from mips/mips64."

* commit '3139f6fdd7f9bec3b53be3da62314ae8ba24ceb4':
  Remove __CTOR_LIST__ from mips/mips64.

10 years agoam c4c67893: Merge "Don\'t zero r1 on entry to the dynamic linker."
Elliott Hughes [Sat, 12 Jul 2014 01:41:46 +0000 (01:41 +0000)]
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.

10 years agoam 6cdd0cfd: Merge "TARGET_OUT_DATA_NATIVE_TESTS now points to /nativetest64 in 64...
Ying Wang [Sat, 12 Jul 2014 01:41:46 +0000 (01:41 +0000)]
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

10 years agoam 3c12ae56: Merge "Add test for constructor function."
Dmitriy Ivanov [Sat, 12 Jul 2014 01:41:45 +0000 (01:41 +0000)]
am 3c12ae56: Merge "Add test for constructor function."

* commit '3c12ae56f402744d1a446ceef7d20f5ea01025c3':
  Add test for constructor function.

10 years agoam ca673e73: am b9c5d606: am 006e0770: Merge "Change android_dlextinfo flags to uint64_t"
Dmitriy Ivanov [Fri, 11 Jul 2014 17:52:23 +0000 (17:52 +0000)]
am ca673e73: am b9c5d606: am 006e0770: Merge "Change android_dlextinfo flags to uint64_t"

* commit 'ca673e7300b361bbf49c2b7ea1012441d62b1995':

10 years agoam 7e43f0d4: resolved conflicts for merge of aedc14b1 to lmp-dev
Elliott Hughes [Fri, 11 Jul 2014 17:52:22 +0000 (17:52 +0000)]
am 7e43f0d4: resolved conflicts for merge of aedc14b1 to lmp-dev

* commit '7e43f0d40d3189ca219c6758f61ffe2a2d411ee2':

10 years agoam b9c5d606: am 006e0770: Merge "Change android_dlextinfo flags to uint64_t"
Dmitriy Ivanov [Fri, 11 Jul 2014 17:28:53 +0000 (17:28 +0000)]
am b9c5d606: am 006e0770: Merge "Change android_dlextinfo flags to uint64_t"

* commit 'b9c5d606aab6c1a21e3785d155613c35c276eb18':
  Change android_dlextinfo flags to uint64_t

10 years agoresolved conflicts for merge of aedc14b1 to lmp-dev
Elliott Hughes [Fri, 11 Jul 2014 17:03:35 +0000 (10:03 -0700)]
resolved conflicts for merge of aedc14b1 to lmp-dev

Change-Id: I36d3a6ca42778686f1f2971ae72cd3b7b156a3da

10 years agoMerge "Define SIOCKILLADDR which isn't in the common kernel uapi headers."
Elliott Hughes [Sat, 12 Jul 2014 04:12:09 +0000 (04:12 +0000)]
Merge "Define SIOCKILLADDR which isn't in the common kernel uapi headers."

10 years agoDefine SIOCKILLADDR which isn't in the common kernel uapi headers.
Elliott Hughes [Sat, 12 Jul 2014 04:10:15 +0000 (21:10 -0700)]
Define SIOCKILLADDR which isn't in the common kernel uapi headers.

Change-Id: I8760950d13a9625aa543e76bc9d6cd86ac782c2e

10 years agoMerge "Enable building libc with clang."
Elliott Hughes [Fri, 11 Jul 2014 16:51:22 +0000 (16:51 +0000)]
Merge "Enable building libc with clang."

10 years agoEnable building libc with clang.
Elliott Hughes [Thu, 10 Jul 2014 23:57:27 +0000 (16:57 -0700)]
Enable building libc with clang.

Bug: 16218205
Change-Id: I024de2044fe016412c7bead22c264e96be4cb39c

10 years agoMerge "Update kernel headers to v3.14."
Christopher Ferris [Fri, 11 Jul 2014 17:07:48 +0000 (17:07 +0000)]
Merge "Update kernel headers to v3.14."

10 years agoMerge "The err family allow null format strings."
Elliott Hughes [Fri, 11 Jul 2014 02:53:59 +0000 (02:53 +0000)]
Merge "The err family allow null format strings."

10 years agoThe err family allow null format strings.
Elliott Hughes [Fri, 11 Jul 2014 02:31:29 +0000 (19:31 -0700)]
The err family allow null format strings.

Also remove declarations for the _* variants that were never implemented in bionic (or glibc).

Change-Id: I4ea1f17bbb377e70632c10dd218f47110cabc27b

10 years agoMerge "Define three prctl constants that went missing from uapi."
Elliott Hughes [Sat, 12 Jul 2014 03:00:06 +0000 (03:00 +0000)]
Merge "Define three prctl constants that went missing from uapi."

10 years agoDefine three prctl constants that went missing from uapi.
Elliott Hughes [Sat, 12 Jul 2014 02:54:55 +0000 (19:54 -0700)]
Define three prctl constants that went missing from uapi.

Change-Id: Ib81846ddefe9a75e02151c6592ed99b1f8ec5858

10 years agoMerge "Revert "Revert "Add locale aware APIs."""
Dan Albert [Fri, 11 Jul 2014 16:44:02 +0000 (16:44 +0000)]
Merge "Revert "Revert "Add locale aware APIs."""

10 years agoRevert "Revert "Add locale aware APIs.""
Dan Albert [Wed, 9 Jul 2014 22:51:34 +0000 (22:51 +0000)]
Revert "Revert "Add locale aware APIs.""

This reverts commit 063e20c26943ec82ef1d53a544545e79054e93d3.

Change-Id: Ib8c9004efefe75a5346b3af50dfe37952d91eb21

10 years agoMerge "EM_ARM and EM_AARCH64 are now in the uapi header."
Elliott Hughes [Fri, 11 Jul 2014 23:55:27 +0000 (23:55 +0000)]
Merge "EM_ARM and EM_AARCH64 are now in the uapi header."

10 years agoEM_ARM and EM_AARCH64 are now in the uapi header.
Elliott Hughes [Fri, 11 Jul 2014 18:01:42 +0000 (11:01 -0700)]
EM_ARM and EM_AARCH64 are now in the uapi header.

Change-Id: Ice73403daff75ea45b24e02351269f6c012df6c1

10 years agoMerge "Add optimized memchr implementation from newlib"
Christopher Ferris [Fri, 11 Jul 2014 22:58:55 +0000 (22:58 +0000)]
Merge "Add optimized memchr implementation from newlib"

10 years agoAdd optimized memchr implementation from newlib
Bernhard Rosenkränzer [Thu, 10 Jul 2014 22:17:07 +0000 (00:17 +0200)]
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>
10 years agoMerge "Make jemalloc the default choice."
Christopher Ferris [Fri, 11 Jul 2014 20:07:43 +0000 (20:07 +0000)]
Merge "Make jemalloc the default choice."

10 years agoMake jemalloc the default choice.
Christopher Ferris [Fri, 11 Jul 2014 01:53:41 +0000 (18:53 -0700)]
Make jemalloc the default choice.

Change-Id: I5ff0cf0c396b7ae6278e6fcd5a0d50f8b966fb54

10 years agoMerge "Switch libm to building with clang."
Elliott Hughes [Fri, 11 Jul 2014 01:13:05 +0000 (01:13 +0000)]
Merge "Switch libm to building with clang."

10 years agoSwitch libm to building with clang.
Elliott Hughes [Thu, 10 Jul 2014 23:58:07 +0000 (16:58 -0700)]
Switch libm to building with clang.

Bug: 16211965
Change-Id: I81ec9706a4f2b5e8a840508a0f711cd25a5826ca

10 years agoMerge "Slim down static binaries by avoiding stdio."
Elliott Hughes [Thu, 10 Jul 2014 21:58:14 +0000 (21:58 +0000)]
Merge "Slim down static binaries by avoiding stdio."

10 years agoMerge "Revert "Switch libm to building with clang.""
Elliott Hughes [Fri, 11 Jul 2014 01:24:25 +0000 (01:24 +0000)]
Merge "Revert "Switch libm to building with clang.""

10 years agoRevert "Switch libm to building with clang."
Elliott Hughes [Fri, 11 Jul 2014 01:24:15 +0000 (01:24 +0000)]
Revert "Switch libm to building with clang."

This reverts commit aadc4b2ff03b12142f2c6163266ebdb1df2a6e76.

The patch broke x86.

Change-Id: I0cda903732a685838bbd1877f94e1593a2a32acc

10 years agoUpdate kernel headers to v3.14.
Christopher Ferris [Wed, 9 Jul 2014 22:33:25 +0000 (15:33 -0700)]
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

10 years agoSlim down static binaries by avoiding stdio.
Elliott Hughes [Thu, 10 Jul 2014 19:34:23 +0000 (12:34 -0700)]
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

10 years agoMerge "Remove the global lock around thread stack creation."
Elliott Hughes [Thu, 10 Jul 2014 19:16:45 +0000 (19:16 +0000)]
Merge "Remove the global lock around thread stack creation."

10 years agoRemove the global lock around thread stack creation.
Elliott Hughes [Thu, 10 Jul 2014 17:25:26 +0000 (10:25 -0700)]
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

10 years agoMerge "Remove the obsolete _thread_created_hook."
Elliott Hughes [Thu, 10 Jul 2014 17:10:22 +0000 (17:10 +0000)]
Merge "Remove the obsolete _thread_created_hook."

10 years agoam f11e7c74: am 02459d34: Merge "Move __cmsg_nxthdr to its proper file."
Calin Juravle [Thu, 10 Jul 2014 15:24:13 +0000 (15:24 +0000)]
am f11e7c74: am 02459d34: Merge "Move __cmsg_nxthdr to its proper file."

* commit 'f11e7c74b5c8845bbad75c53f2837b831d883ea6':
  Move __cmsg_nxthdr to its proper file.

10 years agoam 02459d34: Merge "Move __cmsg_nxthdr to its proper file."
Calin Juravle [Thu, 10 Jul 2014 15:20:25 +0000 (15:20 +0000)]
am 02459d34: Merge "Move __cmsg_nxthdr to its proper file."

* commit '02459d34c9b82741155fbbb32850a7987eb7abaf':
  Move __cmsg_nxthdr to its proper file.

10 years agoam 1d63dd90: am 8a71a745: Merge "Removed obsolete symbol cmsg_nxthdr."
Calin Juravle [Thu, 10 Jul 2014 11:57:29 +0000 (11:57 +0000)]
am 1d63dd90: am 8a71a745: Merge "Removed obsolete symbol cmsg_nxthdr."

* commit '1d63dd9092cc44645ab5001ea79f9f0aba86df69':
  Removed obsolete symbol cmsg_nxthdr.

10 years agoam 8a71a745: Merge "Removed obsolete symbol cmsg_nxthdr."
Calin Juravle [Thu, 10 Jul 2014 11:54:36 +0000 (11:54 +0000)]
am 8a71a745: Merge "Removed obsolete symbol cmsg_nxthdr."

* commit '8a71a745cb2a1eb573c6dc41e30c2f94a3a99db7':
  Removed obsolete symbol cmsg_nxthdr.

10 years agoam c04e73a6: am 25fba981: Merge "Do not include libc_common in malloc debug code."
Christopher Ferris [Thu, 10 Jul 2014 11:01:11 +0000 (11:01 +0000)]
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.

10 years agoam 25fba981: Merge "Do not include libc_common in malloc debug code."
Christopher Ferris [Thu, 10 Jul 2014 09:43:32 +0000 (09:43 +0000)]
am 25fba981: Merge "Do not include libc_common in malloc debug code."

* commit '25fba981a17c51df6cf88d5ace7ffe3c5a5766e4':
  Do not include libc_common in malloc debug code.

10 years agoRemove the obsolete _thread_created_hook.
Elliott Hughes [Thu, 10 Jul 2014 05:13:55 +0000 (22:13 -0700)]
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

10 years agoam cf53885b: am d028b620: Merge "Added a __system_property_serial benchmark."
Elliott Hughes [Thu, 10 Jul 2014 00:24:33 +0000 (00:24 +0000)]
am cf53885b: am d028b620: Merge "Added a __system_property_serial benchmark."

* commit 'cf53885bfac9c7391d779df0a16355645fdedf64':
  Added a __system_property_serial benchmark.

10 years agoam feccec68: am 84f0c7c2: Merge "update-tzdata.py needs to know where to find icu."
Elliott Hughes [Thu, 10 Jul 2014 00:24:32 +0000 (00:24 +0000)]
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.

10 years agoam 418fdef2: am 7a85d9a1: Merge "Revert "Add locale aware APIs.""
Dan Albert [Thu, 10 Jul 2014 00:24:32 +0000 (00:24 +0000)]
am 418fdef2: am 7a85d9a1: Merge "Revert "Add locale aware APIs.""

* commit '418fdef2e7299fbf3d7c06319711b84a58423c2a':
  Revert "Add locale aware APIs."

10 years agoam 43e79dab: am 430d5f93: Merge "Add locale aware APIs."
Dan Albert [Thu, 10 Jul 2014 00:24:27 +0000 (00:24 +0000)]
am 43e79dab: am 430d5f93: Merge "Add locale aware APIs."

* commit '43e79dab8478fcfadd723a9ba51b7cb07a214f79':
  Add locale aware APIs.

10 years agoam d028b620: Merge "Added a __system_property_serial benchmark."
Elliott Hughes [Thu, 10 Jul 2014 00:16:26 +0000 (00:16 +0000)]
am d028b620: Merge "Added a __system_property_serial benchmark."

* commit 'd028b6209cde7929e6d0613cbd92cc7b766d3d09':
  Added a __system_property_serial benchmark.