4363 Commits

Author SHA1 Message Date
Christopher Ferris
63900a7110 am 845e5c77: am fc11ebc5: am 3d5a4240: Merge "Fix build."
* commit '845e5c77b551b7b3079f9e6adf1f780f96729c33':
  Fix build.
2014-05-21 19:49:46 +00:00
Christopher Ferris
8d2410d33d Fix build.
Change-Id: I5a35eee4074e35f459c86c7f9b1d9b0754888940
2014-05-21 11:45:51 -07:00
Christopher Ferris
c1df57d60e am bce2357e: am c1be1ecc: am 011076b7: Merge "Support for jemalloc to replace dlmalloc."
* commit 'bce2357e42fdfb45556ec57ccb54d587e645f196':
  Support for jemalloc to replace dlmalloc.
2014-05-21 18:24:30 +00:00
Elliott Hughes
91b4613403 am 68396799: am c5f723ae: am c1b7f44c: Merge "Remove __syslog; we have the public klogctl API."
* commit '683967991425addf38a24024ae5503768a813b64':
  Remove __syslog; we have the public klogctl API.
2014-05-21 18:17:26 +00:00
Christopher Ferris
011076b720 Merge "Support for jemalloc to replace dlmalloc." 2014-05-21 18:12:50 +00:00
Elliott Hughes
3db501139b am c323b97c: am 87987df9: am daf69128: Merge "Fix x86_64 __set_tls.c build failure."
* commit 'c323b97c52297c4342dd45e329bad816f3bc5746':
  Fix x86_64 __set_tls.c build failure.
2014-05-21 18:10:23 +00:00
Elliott Hughes
c1b7f44c13 Merge "Remove __syslog; we have the public klogctl API." 2014-05-21 18:07:05 +00:00
Neil Fuller
a073b4ee0a am 55326c4b: am b7a23959: am 76805140: Merge "Treat zero or >1 dat files as an error"
* commit '55326c4b9714cba3e7bf0e27ceea0e2b91240d6f':
  Treat zero or >1 dat files as an error
2014-05-21 17:28:39 +00:00
Elliott Hughes
7136927d39 Fix x86_64 __set_tls.c build failure.
Change-Id: I697b8ab4ce781d7aebeddb1391b63c653511bbcb
2014-05-21 10:02:00 -07:00
Neil Fuller
768051405e Merge "Treat zero or >1 dat files as an error" 2014-05-21 16:18:59 +00:00
Neil Fuller
43f3715953 Treat zero or >1 dat files as an error
Based on feedback from
I7efbd6f453fe2b3e71f564121ff0f64a74289d86

Change-Id: Ie131ab8475083350dc183d9f6d5ea7a0b0617c5b
2014-05-21 17:18:17 +01:00
Elliott Hughes
b8297bfdf6 am ee2939db: am ceed7b76: am 29f2906b: Merge "Add a few more symbols to check-symbols-glibc."
* commit 'ee2939dbf9d6574394249548e94a31575b4ada2d':
  Add a few more symbols to check-symbols-glibc.
2014-05-21 15:35:58 +00:00
Elliott Hughes
66af04b512 am a7293ddb: am 7a611f18: am 9f0a52e4: Merge "Hide __get_sp."
* commit 'a7293ddb8da94cc823ec28b851f69ef2d99a70d4':
  Hide __get_sp.
2014-05-21 15:31:13 +00:00
Elliott Hughes
802383df53 am f55dc413: am 0aa1fb1c: am 7471a370: Merge "Hide __set_tls."
* commit 'f55dc41303417904136902698191fd0f0fe3a061':
  Hide __set_tls.
2014-05-21 15:31:12 +00:00
Elliott Hughes
29f2906bda Merge "Add a few more symbols to check-symbols-glibc." 2014-05-21 15:23:35 +00:00
Elliott Hughes
9f0a52e4e5 Merge "Hide __get_sp." 2014-05-21 15:21:16 +00:00
Elliott Hughes
7471a37003 Merge "Hide __set_tls." 2014-05-21 15:21:01 +00:00
Neil Fuller
9e2595d7b6 am fa5903ed: am 3248b9d3: am 22784885: Merge "Change update-tzdata.py to update ICU data as well"
* commit 'fa5903edf32062d95a4a09f34571a640c1429eb6':
  Change update-tzdata.py to update ICU data as well
2014-05-21 11:17:01 +00:00
Neil Fuller
2278488546 Merge "Change update-tzdata.py to update ICU data as well" 2014-05-21 08:11:40 +00:00
Elliott Hughes
46a55a4478 Remove __syslog; we have the public klogctl API.
Bug: 11156955
Change-Id: I5c2cc02f39f76dd32984135f5c12c10bf2853796
2014-05-20 21:01:00 -07:00
Elliott Hughes
b497c43336 Add a few more symbols to check-symbols-glibc.
Bug: 11156955
Change-Id: Iee0bae6f9742eca188abc7a337371c50888a0ad6
2014-05-20 20:58:23 -07:00
Elliott Hughes
a75869f0b2 Hide __set_tls.
Bug: 11156955
Change-Id: If82c10ae412651361d09591017d1c3a411bd6f0b
2014-05-20 20:32:28 -07:00
Elliott Hughes
dc961faa95 am 58425608: am a9e2ffd8: am 20177b9f: Merge "Remove perf_event_open."
* commit '5842560845af94c2f15a1e7186c800e0f1e6224b':
  Remove perf_event_open.
2014-05-21 03:28:15 +00:00
Elliott Hughes
c3705f6415 Hide __get_sp.
Bug: 11156955
Change-Id: I55d8d320521e80c2085af28933a18b00cf5c714e
2014-05-20 20:22:50 -07:00
Elliott Hughes
4e631ba568 Remove perf_event_open.
This was accidentally added at a time when you couldn't add a constant
to <syscall.h> without generating an assembly stub! (You no longer need
to add the constants at all.)

Bug: 11156955
Change-Id: I053c17879138787976c744a5ecf7d30ee51dc48f
2014-05-20 16:24:55 -07:00
Christopher Ferris
72bbd42357 Support for jemalloc to replace dlmalloc.
To use jemalloc, add MALLOC_IMPL = jemalloc in a board config file
and you get the new version automatically.

Update the pthread_create_key tests since jemalloc uses a few keys.
Add a new test to verify memalign works as expected.

Bug: 981363

Change-Id: I16eb152b291a95bd2499e90492fc6b4bd7053836
2014-05-20 14:47:33 -07:00
Christopher Ferris
223069e0e1 am 1a5d6435: am 78f22ecb: am afb89c2a: Merge "denver: optimize memmove"
* commit '1a5d64357968393d03c66c564066add0d589b760':
  denver: optimize memmove
2014-05-20 20:18:04 +00:00
Dmitriy Ivanov
8151d09639 am 1350ed3d: am 5277e772: am 0a8f296e: Merge "Add RTLD_NOLOAD support and some related changes."
* commit '1350ed3d5252ed2beb8eb06564660c2cc97747f9':
  Add RTLD_NOLOAD support and some related changes.
2014-05-20 20:17:54 +00:00
Christopher Ferris
afb89c2a01 Merge "denver: optimize memmove" 2014-05-20 19:56:13 +00:00
Shu Zhang
6c80ccdeed denver: optimize memmove
Optimize 32-bit denver memmove with reversal memcpy.

Change-Id: Iaad0a9475248cdd7e4f50d58bea9db1b767abc88
2014-05-20 12:31:38 -07:00
Dmitriy Ivanov
0a8f296e09 Merge "Add RTLD_NOLOAD support and some related changes." 2014-05-20 19:11:09 +00:00
Dmitriy Ivanov
b648a8a57e Add RTLD_NOLOAD support and some related changes.
* Aligned RTLD_ values with glibc for lp64
 * dlopen supports RTLD_NOLOAD flag
 * soinfo_unload calls find_library(.., RTLD_NOLOAD)
   instead of naive find_loaded_library_by_name()
 * dlopen changed to add child to caller soinfo instead
   of somain.

Bug: https://code.google.com/p/android/issues/detail?id=64069
Change-Id: I1a65f2c34f3e0edc6d2c41a2e408b58195feb640
2014-05-20 12:02:24 -07:00
Elliott Hughes
7435e9e974 am 7bdf1e48: am da095f3c: am ce0e1b81: Merge "Add a script for finding symbols in bionic that aren\'t in glibc."
* commit '7bdf1e48ff8711f35163f95764bb1d467b205b96':
  Add a script for finding symbols in bionic that aren't in glibc.
2014-05-20 18:35:30 +00:00
Elliott Hughes
ce0e1b81cc Merge "Add a script for finding symbols in bionic that aren't in glibc." 2014-05-20 18:25:24 +00:00
Calin Juravle
077cbee5d1 am 995b9704: am bcd1a312: am b2b0f7e1: Merge "Add uc_regspace to arm\'s ucontext_t"
* commit '995b9704d8ba70d4d09ef0c3453d5f25ed099816':
  Add uc_regspace to arm's ucontext_t
2014-05-20 18:15:40 +00:00
Neil Fuller
246c688020 Change update-tzdata.py to update ICU data as well
The update-tzdata.py tool now uses downloaded Olson data
to update ICU (*new*) at the same time as it updates Bionic
data.

Change-Id: I7efbd6f453fe2b3e71f564121ff0f64a74289d86
2014-05-20 11:48:43 +01:00
Calin Juravle
b2b0f7e1ae Merge "Add uc_regspace to arm's ucontext_t" 2014-05-20 10:14:49 +00:00
Elliott Hughes
5a93e88c7f Add a script for finding symbols in bionic that aren't in glibc.
Bug: 11156955
Change-Id: I9772f054f6a92b842531df084dee0ea9c28806be
2014-05-19 18:01:07 -07:00
Dan Albert
4cc742e920 am 60bab8a7: am d8cc98ad: am 94a9ba2b: Merge "Removes RTTI support from libc"
* commit '60bab8a7ef30f72eb26a843afc3e0bdd02d3796d':
  Removes RTTI support from libc
2014-05-20 00:23:09 +00:00
Elliott Hughes
310ecf1ae9 am 348adca2: am be3db39e: am 948acf71: Merge "Switch back to OpenBSD inet_ntop now they\'re FORTIFY clean."
* commit '348adca20e68c42bdfbf594aaa675062d3595761':
  Switch back to OpenBSD inet_ntop now they're FORTIFY clean.
2014-05-20 00:23:09 +00:00
Sreeram Ramachandran
7c30167b3a am d70e0c88: am 54c83fee: am 9925c1a8: Merge "Mark sockets on creation (socket()) and accept4()."
* commit 'd70e0c884c19c08aa44c038dbf2f12a5b55c73fe':
  Mark sockets on creation (socket()) and accept4().
2014-05-20 00:23:03 +00:00
Dan Albert
94a9ba2b4a Merge "Removes RTTI support from libc" 2014-05-19 23:21:46 +00:00
Elliott Hughes
948acf710e Merge "Switch back to OpenBSD inet_ntop now they're FORTIFY clean." 2014-05-19 23:19:32 +00:00
Elliott Hughes
f51d3e8767 Switch back to OpenBSD inet_ntop now they're FORTIFY clean.
Change-Id: I04798a4966c352a8a12feebdff9646e3bad5933f
2014-05-19 15:55:29 -07:00
Sreeram Ramachandran
903b78873a Mark sockets on creation (socket()) and accept4().
Remove the separate syscall for accept() and implement it as accept4(..., 0).

Change-Id: Ib0b8f5d7c5013b91eae6bbc3847852eb355c7714
2014-05-19 15:19:16 -07:00
Paul Jensen
5240b562e7 Query libnetd_client for the appropriate netId for host resolution.
If libnetd_client can't be found, operate as before and use the default netId
potentially overriden by a more specific netId passed in to
android_get*fornet().

(cherry picked from commit 559c7842cc6862568d9b5799fc0bcf74d58b596b)

Change-Id: I42ef3293172651870fb46d2de22464c4f03e8e0b
2014-05-19 12:49:52 -07:00
Calin Juravle
0e85fb6121 Add uc_regspace to arm's ucontext_t
Bug: 12828904
Bug: 12875898
Change-Id: Ic5d532bd0ef58cad9e36a99fc2995c4b069121b2
2014-05-19 19:14:03 +01:00
Dan Albert
48ee47ce25 Removes RTTI support from libc
Our type_info stub implementation is incompatible with the libc++ headers. Since
we don't need this support internally and anyone that wants RTTI support will
have to use libc++ anyway, this can be safely removed.

Change-Id: Ied8b67a0d86a4eb0e31191a50cceba0e39a16a6d
2014-05-19 10:32:42 -07:00
Sreeram Ramachandran
57a2627575 Fix build breakage.
Change-Id: I1835198c64c28021b81f0c790f108685a3f456c7
2014-05-19 10:21:39 -07:00
Sreeram Ramachandran
7fe1063797 resolved conflicts for merge of e7329284 to master
Change-Id: Iaeb09451ed1a268a025ce3033ab018f28f954848
2014-05-19 09:57:54 -07:00