Commit Graph

8797 Commits

Author SHA1 Message Date
Elliott Hughes
fff3c0fdcf Align arm64 stacks to 16 bytes in __bionic_clone.
Also ensure that arm64/x86-64/x86 assembler uses local labels.
(There are are so many non-local labels in arm that fixing them
seems out of scope.)

Also synchronize the __bionic_clone.S comments.

Change-Id: I03b4f84780d996b54d6637a074638196bbb01cd4
2014-05-09 12:16:20 -07:00
Christopher Ferris
2146d142b2 Use larger neon instructions for moving data.
Included is a new target generic-neon that will use neon instructions
on 64 bit platforms where appropriate.

Change-Id: Iaf71b768780aa9240a24539cd87666ca9298e4c6
2014-05-09 11:29:37 -07:00
Elliott Hughes
137945c0d5 am 5f98c5a5: am df3aa079: am 55b4c8a4: Merge "Hide the __bionic_clone and __bionic_clone_entry implementation details."
* commit '5f98c5a54a63be80c59bcdf0d278c3e37cf9b325':
  Hide the __bionic_clone and __bionic_clone_entry implementation details.
2014-05-09 16:26:26 +00:00
Elliott Hughes
5f98c5a54a am df3aa079: am 55b4c8a4: Merge "Hide the __bionic_clone and __bionic_clone_entry implementation details."
* commit 'df3aa079cc676bbbc5f9d31044925c7d99fed53d':
  Hide the __bionic_clone and __bionic_clone_entry implementation details.
2014-05-09 16:21:29 +00:00
Elliott Hughes
df3aa079cc am 55b4c8a4: Merge "Hide the __bionic_clone and __bionic_clone_entry implementation details."
* commit '55b4c8a4a15723f7c5f68b9ab167fbdea0c4e610':
  Hide the __bionic_clone and __bionic_clone_entry implementation details.
2014-05-09 16:18:37 +00:00
Elliott Hughes
55b4c8a4a1 Merge "Hide the __bionic_clone and __bionic_clone_entry implementation details." 2014-05-09 16:13:52 +00:00
Elliott Hughes
68c937b929 am 529cb6c4: am 5a61272b: am adfc007d: Merge "Declare sincos/sincosf/sincosl in <math.h>."
* commit '529cb6c44d43c060d5bc4173599235e56fbf1d68':
  Declare sincos/sincosf/sincosl in <math.h>.
2014-05-09 09:36:06 +00:00
Elliott Hughes
529cb6c44d am 5a61272b: am adfc007d: Merge "Declare sincos/sincosf/sincosl in <math.h>."
* commit '5a61272b09c577e9c09eda667078d771100bc823':
  Declare sincos/sincosf/sincosl in <math.h>.
2014-05-09 08:22:51 +00:00
Elliott Hughes
5a61272b09 am adfc007d: Merge "Declare sincos/sincosf/sincosl in <math.h>."
* commit 'adfc007dbf936bd021d79ba2d2c360a3cfc77be9':
  Declare sincos/sincosf/sincosl in <math.h>.
2014-05-09 04:36:03 +00:00
Elliott Hughes
adfc007dbf Merge "Declare sincos/sincosf/sincosl in <math.h>." 2014-05-09 04:33:31 +00:00
Elliott Hughes
b4f2f28054 Declare sincos/sincosf/sincosl in <math.h>.
Change-Id: If7b98f98c7ab4d3d77d310be082bff64512d51a8
2014-05-08 21:19:12 -07:00
Dmitriy Ivanov
61df017831 am 0d223900: am 3f357c72: am 29d10e3d: Merge "Test dlopen with symlinked .so files"
* commit '0d2239003a06bb53a5191eb8689ce0afc03fb23f':
  Test dlopen with symlinked .so files
2014-05-09 02:17:04 +00:00
Dmitriy Ivanov
0d2239003a am 3f357c72: am 29d10e3d: Merge "Test dlopen with symlinked .so files"
* commit '3f357c72cdb26abc1fdbbf04796e50553752d8a6':
  Test dlopen with symlinked .so files
2014-05-09 02:11:06 +00:00
Elliott Hughes
954cf0d4e2 Hide the __bionic_clone and __bionic_clone_entry implementation details.
clone(2) is the public symbol.

Also switch a test from __bionic_clone to clone; testing public API
means the test now works on glibc too.

Change-Id: If59def26a00c3afadb8a6cf9442094c35a59ffde
2014-05-08 19:00:23 -07:00
Dmitriy Ivanov
3f357c72cd am 29d10e3d: Merge "Test dlopen with symlinked .so files"
* commit '29d10e3de8f5258fec25174eb5f55eb19577859e':
  Test dlopen with symlinked .so files
2014-05-09 00:56:07 +00:00
Dmitriy Ivanov
29d10e3de8 Merge "Test dlopen with symlinked .so files" 2014-05-09 00:52:08 +00:00
Elliott Hughes
a8baee874f am 0769a6d7: am c6854d5a: am 170daa04: Merge "wchar_test.cpp: fix error between comparison signed and unsigned integer"
* commit '0769a6d70ea4751de0b92ee3daecf73cbebd4a0f':
  wchar_test.cpp: fix error between comparison signed and unsigned integer
2014-05-09 00:04:27 +00:00
Elliott Hughes
0769a6d70e am c6854d5a: am 170daa04: Merge "wchar_test.cpp: fix error between comparison signed and unsigned integer"
* commit 'c6854d5a34c956b00c6e5557adf42686e65f69e1':
  wchar_test.cpp: fix error between comparison signed and unsigned integer
2014-05-09 00:01:03 +00:00
Elliott Hughes
c6854d5a34 am 170daa04: Merge "wchar_test.cpp: fix error between comparison signed and unsigned integer"
* commit '170daa042cb0ef3e5d7839f79d052a683b3c670f':
  wchar_test.cpp: fix error between comparison signed and unsigned integer
2014-05-08 23:56:46 +00:00
Elliott Hughes
170daa042c Merge "wchar_test.cpp: fix error between comparison signed and unsigned integer" 2014-05-08 23:52:59 +00:00
Dmitriy Ivanov
ffdaf4d416 am 4a9e8a9a: am 125a10b8: am b6964524: Merge "Remove support for non-PIE executables"
* commit '4a9e8a9ab725f932c66d24d7c7c4f53fe3e79b41':
  Remove support for non-PIE executables
2014-05-08 21:43:09 +00:00
Dmitriy Ivanov
7db180919c Test dlopen with symlinked .so files
Bug: 9741592
Change-Id: I68c59d6f4e690136395c3dc3de13f99ce38de528
2014-05-08 14:28:34 -07:00
Dmitriy Ivanov
4a9e8a9ab7 am 125a10b8: am b6964524: Merge "Remove support for non-PIE executables"
* commit '125a10b8e25c5cf37b744f2181d30a64b500624a':
  Remove support for non-PIE executables
2014-05-08 20:58:40 +00:00
Dmitriy Ivanov
125a10b8e2 am b6964524: Merge "Remove support for non-PIE executables"
* commit 'b69645248887ddb88517b07c1617d390fdce9c9f':
  Remove support for non-PIE executables
2014-05-08 20:55:57 +00:00
Dmitriy Ivanov
b696452488 Merge "Remove support for non-PIE executables" 2014-05-08 20:52:10 +00:00
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
Elliott Hughes
b91610c95a am 8eed5d8b: am fae100f9: am a3ce6bdb: Merge "Fix LOG_ID_CRASH build failure."
* commit '8eed5d8bca6a3a2810bce17c2316ad44a3daa191':
  Fix LOG_ID_CRASH build failure.
2014-05-08 18:31:14 +00:00
Elliott Hughes
19d97abe9b am 64b53953: am 96fd4159: am 1ee18d0e: Merge "Send bionic\'s fatal logging to the crash log."
* commit '64b539533dc3a6ca21c680003d60fe1fcdd6fbdb':
  Send bionic's fatal logging to the crash log.
2014-05-08 18:31:12 +00:00
Elliott Hughes
9db56db00f am c267165b: am fe6eea18: am 3b968032: Merge "Add basic tests for fsync/fdatasync."
* commit 'c267165b46912733ffbfdea7013cc02439ea207b':
  Add basic tests for fsync/fdatasync.
2014-05-08 18:31:11 +00: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
Dmitriy Ivanov
9bb0229be4 am ae7e6c5a: am 7fb0b5d2: am f837cbdc: Merge "Add missing test for atexit test suite."
* commit 'ae7e6c5ab3c871456e95d6aa6e095ef0b76ce989':
  Add missing test for atexit test suite.
2014-05-07 22:35:42 +00:00
Elliott Hughes
66d8ed603b am 62fcc2f6: am b40f4243: am 8ec38997: Merge "Give bionic\'s __ANDROID_API__ a more reasonable value."
* commit '62fcc2f6f012e7c66e61e564c3592f466a2be188':
  Give bionic's __ANDROID_API__ a more reasonable value.
2014-05-07 22:35:24 +00:00
Calin Juravle
170c91c696 am 60fcdc3e: am b5f4106c: am 837abf04: Merge "Fix bionic-unit-tests-glibc-run target"
* commit '60fcdc3ecb949ed9cdbbd878c5c6bf9f8613deef':
  Fix bionic-unit-tests-glibc-run target
2014-05-07 22:35:23 +00:00
Torne (Richard Coles)
a1d145c465 am de070ae5: am 551466e7: am 35cff760: Merge "Test that relro sharing actually saves memory."
* commit 'de070ae5255306eddffa452d56779aa8869403cf':
  Test that relro sharing actually saves memory.
2014-05-07 22:35:22 +00:00
Calin Juravle
9b6b11b0f9 am 71ee6889: am ed4e01f7: am e292875c: Merge "Reserve some space in sem_t for the future."
* commit '71ee6889457eb238c6a1bcbba5ecf0587f8b71c8':
  Reserve some space in sem_t for the future.
2014-05-07 22:35:22 +00:00
Calin Juravle
7fbe52b9af am 478a1b57: am c2787015: am b6c48b20: Merge "Allow for better utmp logging."
* commit '478a1b57bd44220373cedc72813ae7a9e26f328a':
  Allow for better utmp logging.
2014-05-07 22:35:21 +00:00
Calin Juravle
c5413a55e1 am 2b180ea8: am b742e82e: am fc2af0ca: Merge "Fix ino_t and suseconds_t"
* commit '2b180ea80c79db5887c03e7d6cf2b40e7036f8e0':
  Fix ino_t and suseconds_t
2014-05-07 22:35:20 +00:00
Calin Juravle
363eb3de3a am 2b4313a2: am adf5e63a: am 764a8882: Merge "Leave more space for extensions in pthread_rwlockattr_t"
* commit '2b4313a2737a9df2c0ce2e05077980ce638643c3':
  Leave more space for extensions in pthread_rwlockattr_t
2014-05-07 22:35:19 +00:00
Elliott Hughes
c47ec798bc am 5d73936f: am 1ecf7633: am 6ad9cd41: Merge "Change the interface for fatal logging."
* commit '5d73936fabd2cdcb336ec7c84d52e91a7d5e76de':
  Change the interface for fatal logging.
2014-05-07 22:35:19 +00:00