Commit Graph

7847 Commits

Author SHA1 Message Date
Nick Kralevich
2aebf5429b Remove support for non-PIE executables
Don't support the dynamic linker loading ET_EXEC executables. Only
support ET_DYN executables.

Bug: 14566672
Change-Id: Ia1f2bfffe7ea867c1cd62e67d7fd637c60c0728d
2014-05-08 13:17:17 -07:00
Yongqin Liu
a5c6b2ecb5 wchar_test.cpp: fix error between comparison signed and unsigned integer
when compile the cts package with aarch64 gcc4.9, will get following error:
bionic/tests/wchar_test.cpp:253:3: required from here
external/gtest/include/gtest/gtest.h:1448:16:
    error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]

this change fix it by using static_cast<wchar_t> as suggested by Calin Juravle

Change-Id: I7fb9506e7b84b8a12b9d003458d4f0e78554c3cd
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2014-05-09 00:57:47 +08:00
Elliott Hughes
8eed5d8bca am fae100f9: am a3ce6bdb: Merge "Fix LOG_ID_CRASH build failure."
* commit 'fae100f90f277bb1603b2cd862dfaded0041bab5':
  Fix LOG_ID_CRASH build failure.
2014-05-08 00:23:18 +00:00
Elliott Hughes
fae100f90f am a3ce6bdb: Merge "Fix LOG_ID_CRASH build failure."
* commit 'a3ce6bdb63cc1d657d9180269bf858af9fa685bf':
  Fix LOG_ID_CRASH build failure.
2014-05-08 00:18:13 +00:00
Elliott Hughes
a3ce6bdb63 Merge "Fix LOG_ID_CRASH build failure." 2014-05-08 00:13:26 +00:00
Elliott Hughes
ae0a62b014 Fix LOG_ID_CRASH build failure.
Change-Id: I66517e30c568d7f36f6bf6b1e4507ecf14f01226
2014-05-07 17:12:40 -07:00
Elliott Hughes
64b539533d am 96fd4159: am 1ee18d0e: Merge "Send bionic\'s fatal logging to the crash log."
* commit '96fd4159ecf2a9416f13ab215b662eba971e6d8c':
  Send bionic's fatal logging to the crash log.
2014-05-07 23:49:15 +00:00
Elliott Hughes
c267165b46 am fe6eea18: am 3b968032: Merge "Add basic tests for fsync/fdatasync."
* commit 'fe6eea18c35c266051c5aecab3aaf563702235f8':
  Add basic tests for fsync/fdatasync.
2014-05-07 23:49:13 +00:00
Elliott Hughes
96fd4159ec am 1ee18d0e: Merge "Send bionic\'s fatal logging to the crash log."
* commit '1ee18d0eb047edda23987c28bc78b8f7e4c2db0a':
  Send bionic's fatal logging to the crash log.
2014-05-07 23:44:39 +00:00
Elliott Hughes
fe6eea18c3 am 3b968032: Merge "Add basic tests for fsync/fdatasync."
* commit '3b968032848426c12185fe1c0f20e5bc882ed388':
  Add basic tests for fsync/fdatasync.
2014-05-07 23:44:39 +00:00
Elliott Hughes
1ee18d0eb0 Merge "Send bionic's fatal logging to the crash log." 2014-05-07 23:40:28 +00:00
Elliott Hughes
3b96803284 Merge "Add basic tests for fsync/fdatasync." 2014-05-07 23:40:11 +00:00
Elliott Hughes
011101905d Send bionic's fatal logging to the crash log.
Bug: 14159417
Change-Id: I7aa986fb8e11660035221f9bb4fe0bc40ac36c58
2014-05-07 16:35:59 -07:00
Elliott Hughes
a62a28d1d9 Add basic tests for fsync/fdatasync.
Bug: 14613980
Change-Id: Ie8002c2a1abae07295b7bdb33772764767c03d37
2014-05-07 14:30:33 -07:00
Dmitriy Ivanov
ae7e6c5ab3 am 7fb0b5d2: am f837cbdc: Merge "Add missing test for atexit test suite."
* commit '7fb0b5d26d24ad260605c7cad8df996f7e2c2106':
  Add missing test for atexit test suite.
2014-05-07 20:57:29 +00:00
Dmitriy Ivanov
7fb0b5d26d am f837cbdc: Merge "Add missing test for atexit test suite."
* commit 'f837cbdc27a0f024bdc9898177a8ac05817441a7':
  Add missing test for atexit test suite.
2014-05-07 20:52:47 +00:00
Dmitriy Ivanov
f837cbdc27 Merge "Add missing test for atexit test suite." 2014-05-07 20:49:00 +00:00
Elliott Hughes
62fcc2f6f0 am b40f4243: am 8ec38997: Merge "Give bionic\'s __ANDROID_API__ a more reasonable value."
* commit 'b40f424353b6dfadabcc0df6e3875d3c82b13a64':
  Give bionic's __ANDROID_API__ a more reasonable value.
2014-05-07 20:29:00 +00:00
Calin Juravle
60fcdc3ecb am b5f4106c: am 837abf04: Merge "Fix bionic-unit-tests-glibc-run target"
* commit 'b5f4106c85dabd33e88dabdeef98223a847a6772':
  Fix bionic-unit-tests-glibc-run target
2014-05-07 20:28:53 +00:00
Torne (Richard Coles)
de070ae525 am 551466e7: am 35cff760: Merge "Test that relro sharing actually saves memory."
* commit '551466e778ff00b4468442790d169810322e4190':
  Test that relro sharing actually saves memory.
2014-05-07 20:28:43 +00:00
Calin Juravle
71ee688945 am ed4e01f7: am e292875c: Merge "Reserve some space in sem_t for the future."
* commit 'ed4e01f7060b80e62d4936068d0cda1b76ab4650':
  Reserve some space in sem_t for the future.
2014-05-07 20:28:40 +00:00
Calin Juravle
478a1b57bd am c2787015: am b6c48b20: Merge "Allow for better utmp logging."
* commit 'c27870158ae54e06c39384722b519f06c4521dc7':
  Allow for better utmp logging.
2014-05-07 20:28:39 +00:00
Calin Juravle
2b180ea80c am b742e82e: am fc2af0ca: Merge "Fix ino_t and suseconds_t"
* commit 'b742e82e90e2606e67bf173736b21f79448c7293':
  Fix ino_t and suseconds_t
2014-05-07 20:28:39 +00:00
Calin Juravle
2b4313a273 am adf5e63a: am 764a8882: Merge "Leave more space for extensions in pthread_rwlockattr_t"
* commit 'adf5e63aca6dd4c77b0baa785e95e3e739018a72':
  Leave more space for extensions in pthread_rwlockattr_t
2014-05-07 20:28:38 +00:00
Elliott Hughes
5d73936fab am 1ecf7633: am 6ad9cd41: Merge "Change the interface for fatal logging."
* commit '1ecf7633737d66cc411a4ca628fe0776b0fc5940':
  Change the interface for fatal logging.
2014-05-07 20:28:28 +00:00
Elliott Hughes
b40f424353 am 8ec38997: Merge "Give bionic\'s __ANDROID_API__ a more reasonable value."
* commit '8ec38997ef44c12dc4cac0f19148a44ee70eba74':
  Give bionic's __ANDROID_API__ a more reasonable value.
2014-05-07 20:03:42 +00:00
Elliott Hughes
8ec38997ef Merge "Give bionic's __ANDROID_API__ a more reasonable value." 2014-05-07 19:58:21 +00:00
Elliott Hughes
4aa2e6a32a Give bionic's __ANDROID_API__ a more reasonable value.
This matches what frameworks/base does with Build.VERSION and means that
bionic's version number will always sort >= than any released version.
This should prevent confusion in code that builds both against bionic
and the NDK.

(Note that <sys/cdefs.h> drags this in, so it's always in the namespace.)

Bug: 14613709
Change-Id: I91fb745920e848a6b20f2f5797c0a7d6cde6c032
2014-05-07 12:57:51 -07:00
Dmitriy Ivanov
6396da98cb Add missing test for atexit test suite.
Change-Id: I3d14d7df1da53ccef534c106633593551ab6a7cb
2014-05-07 12:29:54 -07:00
Calin Juravle
b5f4106c85 am 837abf04: Merge "Fix bionic-unit-tests-glibc-run target"
* commit '837abf04667c29db178fd28f500537429a18be30':
  Fix bionic-unit-tests-glibc-run target
2014-05-07 19:10:08 +00:00
Calin Juravle
837abf0466 Merge "Fix bionic-unit-tests-glibc-run target" 2014-05-07 18:31:11 +00:00
Calin Juravle
0e9d7fccb9 Fix bionic-unit-tests-glibc-run target
Configure multilib for bionic-unit-tests-glibc-run target (the path to
the host executable was already patched to support multilib build but
the multilib itself wasn't configured).

Change-Id: If533fbdb19bc737e543cf85a0787505458f24579
2014-05-07 19:06:30 +01:00
Torne (Richard Coles)
551466e778 am 35cff760: Merge "Test that relro sharing actually saves memory."
* commit '35cff760dfc5d9d1432955503ffff02286ac20ef':
  Test that relro sharing actually saves memory.
2014-05-07 15:30:28 +00:00
Torne (Richard Coles)
35cff760df Merge "Test that relro sharing actually saves memory." 2014-05-07 15:25:44 +00:00
Calin Juravle
ed4e01f706 am e292875c: Merge "Reserve some space in sem_t for the future."
* commit 'e292875cf55265bea7f78049e31d50c15a3a34e0':
  Reserve some space in sem_t for the future.
2014-05-07 14:09:52 +00:00
Calin Juravle
c27870158a am b6c48b20: Merge "Allow for better utmp logging."
* commit 'b6c48b20e4aa9a0e0068980eb305dc522a680900':
  Allow for better utmp logging.
2014-05-07 14:09:52 +00:00
Calin Juravle
b742e82e90 am fc2af0ca: Merge "Fix ino_t and suseconds_t"
* commit 'fc2af0ca47cd5017838b495687784c82c080f9d2':
  Fix ino_t and suseconds_t
2014-05-07 14:09:50 +00:00
Calin Juravle
adf5e63aca am 764a8882: Merge "Leave more space for extensions in pthread_rwlockattr_t"
* commit '764a88821893f18d343d5a784a5b2047d4c11d88':
  Leave more space for extensions in pthread_rwlockattr_t
2014-05-07 14:09:49 +00:00
Calin Juravle
e292875cf5 Merge "Reserve some space in sem_t for the future." 2014-05-07 14:04:32 +00:00
Calin Juravle
b6c48b20e4 Merge "Allow for better utmp logging." 2014-05-07 14:04:22 +00:00
Calin Juravle
fc2af0ca47 Merge "Fix ino_t and suseconds_t" 2014-05-07 14:04:12 +00:00
Calin Juravle
764a888218 Merge "Leave more space for extensions in pthread_rwlockattr_t" 2014-05-07 14:04:01 +00:00
Elliott Hughes
1ecf763373 am 6ad9cd41: Merge "Change the interface for fatal logging."
* commit '6ad9cd41bc3ae27b8c8a1f6489d6ceb9921e6ad1':
  Change the interface for fatal logging.
2014-05-07 04:07:38 +00:00
Elliott Hughes
6ad9cd41bc Merge "Change the interface for fatal logging." 2014-05-07 04:04:28 +00:00
Elliott Hughes
c78368f04f Change the interface for fatal logging.
This more general interface lets liblog give us any fatal log message,
regardless of source. This means we can remove the special case for
LOG_ALWAYS_FATAL with a simpler scheme that automatically works for
the VM too.

Change-Id: Ia6dbf7c3dbabf223081bd5159294835d954bb067
2014-05-06 20:37:22 -07:00
Elliott Hughes
c46ffbd51e am 4a7afa48: am e05df251: Merge "Fix a gethnamaddr.c warning that\'s already fixed upstream."
* commit '4a7afa4863668931a7253633ea0d42071598a96f':
  Fix a gethnamaddr.c warning that's already fixed upstream.
2014-05-06 20:49:20 +00:00
Elliott Hughes
4a7afa4863 am e05df251: Merge "Fix a gethnamaddr.c warning that\'s already fixed upstream."
* commit 'e05df25145eda8ca59db5eb03cf5dbf8c7714870':
  Fix a gethnamaddr.c warning that's already fixed upstream.
2014-05-06 20:46:16 +00:00
Elliott Hughes
e05df25145 Merge "Fix a gethnamaddr.c warning that's already fixed upstream." 2014-05-06 20:42:10 +00:00
Elliott Hughes
33ba85cbd6 am 856e6a35: am 89ca3c5a: Merge "Sync with upstream OpenBSD wcsftime.c."
* commit '856e6a35bf350a7923c1e283c1816572adfbe1dd':
  Sync with upstream OpenBSD wcsftime.c.
2014-05-06 20:25:31 +00:00
Elliott Hughes
856e6a35bf am 89ca3c5a: Merge "Sync with upstream OpenBSD wcsftime.c."
* commit '89ca3c5aec19b3fa9bdc9982e31c0516d6077797':
  Sync with upstream OpenBSD wcsftime.c.
2014-05-06 20:23:37 +00:00