Nick Kralevich
25447aec39
Merge "Clean up more recursive FORTIFY_SOURCE calls"
2013-12-19 05:08:17 +00:00
Nick Kralevich
e4c6b08c4e
Clean up more recursive FORTIFY_SOURCE calls
...
Don't use FORTIFY_SOURCE on functions which implement
FORTIFY_SOURCE, to avoid infinite recursion problems.
The previous patch only addressed one of the problems.
Bug: 12216860
Change-Id: I6f30ae7cb5b481be9942add18182ea4839d348a6
2013-12-18 19:17:14 -08:00
Nick Kralevich
feceab7366
am 58a2429b: am 4063bb61: Merge "__strnlen_chk: avoid recursive strlen calls"
...
* commit '58a2429b5b3defd73457273b1cc375b7aaa54810':
__strnlen_chk: avoid recursive strlen calls
2013-12-19 03:03:20 +00:00
Elliott Hughes
ac65c496f1
am 7f4b9399: am 90bd36bc: Merge "Don\'t use weak aliases in libm."
...
* commit '7f4b9399717eeedc961354b32727a3c8f9d6cbb8':
Don't use weak aliases in libm.
2013-12-19 02:58:51 +00:00
Nick Kralevich
58a2429b5b
am 4063bb61: Merge "__strnlen_chk: avoid recursive strlen calls"
...
* commit '4063bb6147bd256ad455bd3bd063ef40aae8851d':
__strnlen_chk: avoid recursive strlen calls
2013-12-18 18:57:18 -08:00
Elliott Hughes
7f4b939971
am 90bd36bc: Merge "Don\'t use weak aliases in libm."
...
* commit '90bd36bca66205b1c15f80b70036ff4d64198d32':
Don't use weak aliases in libm.
2013-12-18 18:53:59 -08:00
Nick Kralevich
4063bb6147
Merge "__strnlen_chk: avoid recursive strlen calls"
2013-12-19 02:52:23 +00:00
Elliott Hughes
90bd36bca6
Merge "Don't use weak aliases in libm."
2013-12-19 02:49:19 +00:00
Nick Kralevich
ddea383433
__strnlen_chk: avoid recursive strlen calls
...
Don't use FORTIFY_SOURCE on functions which implement
FORTIFY_SOURCE.
Bug: 12216860
Change-Id: I61db1b47ccdd6bdcf41eab3303f4806494016199
2013-12-18 18:17:52 -08:00
Elliott Hughes
241608e9ce
Don't use weak aliases in libm.
...
The aarch64 toolchain doesn't support them, and we were already implementing
most of the fake long-double functions differently anyway.
Change-Id: I4a2f2df81972ee9c34ddfe96cec81b126506d881
2013-12-18 17:18:53 -08:00
Elliott Hughes
9baf483936
am 3761f453: am f5897dcb: Merge "Fix linking of aarch64 static binaries."
...
* commit '3761f4538424d2bcb332e41c1e78c6e3263d2c39':
Fix linking of aarch64 static binaries.
2013-12-18 23:40:26 +00:00
Elliott Hughes
3761f45384
am f5897dcb: Merge "Fix linking of aarch64 static binaries."
...
* commit 'f5897dcb1d1dc493b6a2ba526a766da73bb9c1da':
Fix linking of aarch64 static binaries.
2013-12-18 15:35:59 -08:00
Elliott Hughes
f5897dcb1d
Merge "Fix linking of aarch64 static binaries."
2013-12-18 23:31:29 +00:00
Elliott Hughes
28d4b9bbcb
Fix linking of aarch64 static binaries.
...
Change-Id: If1fa8b560074058b8f7ef32db21a7ca3c53d1fd7
2013-12-18 15:22:08 -08:00
Elliott Hughes
e567b596fe
am 512ff272: am 0b61567f: Merge "Fix the x86-64 int64_t/uint64_t."
...
* commit '512ff2729ac99a6016d2c39a7da0117ba5f9a5b1':
Fix the x86-64 int64_t/uint64_t.
2013-12-18 22:22:26 +00:00
Elliott Hughes
512ff2729a
am 0b61567f: Merge "Fix the x86-64 int64_t/uint64_t."
...
* commit '0b61567f9fc5b54ffdb324bf21f8ca332b69a249':
Fix the x86-64 int64_t/uint64_t.
2013-12-18 14:16:24 -08:00
Elliott Hughes
0b61567f9f
Merge "Fix the x86-64 int64_t/uint64_t."
2013-12-18 22:11:17 +00:00
Elliott Hughes
ba9fee97cf
Fix the x86-64 int64_t/uint64_t.
...
This now matches aarch64, which was already correct.
Bug: 12213562
Change-Id: I5da19f0af98347992fea2a62938472f86427740f
2013-12-18 14:00:14 -08:00
Elliott Hughes
85434881d3
am dce31dac: am 717ad649: Merge "Don\'t use __kernel_ulong_t."
...
* commit 'dce31dacfaf964f6438386c1705018fb7ad6d0ca':
Don't use __kernel_ulong_t.
2013-12-18 20:32:53 +00:00
Elliott Hughes
dce31dacfa
am 717ad649: Merge "Don\'t use __kernel_ulong_t."
...
* commit '717ad6498c06e53812e406aa0c40738ef3e85801':
Don't use __kernel_ulong_t.
2013-12-18 12:28:13 -08:00
Elliott Hughes
717ad6498c
Merge "Don't use __kernel_ulong_t."
2013-12-18 20:23:28 +00:00
Elliott Hughes
ad8842f5c6
Don't use __kernel_ulong_t.
...
Change-Id: Ifdfbac0ac6da647276a84bd64bb342bb5a07ad61
2013-12-18 12:22:33 -08:00
Elliott Hughes
72f5da943c
am 67c42d1d: am 7649766b: Merge "Remove <machine/kernel.h>."
...
* commit '67c42d1df50181108eb1c1eb49967ebbc911cab4':
Remove <machine/kernel.h>.
2013-12-18 19:38:31 +00:00
Elliott Hughes
67c42d1df5
am 7649766b: Merge "Remove <machine/kernel.h>."
...
* commit '7649766b4569af52e6875828186fdf4924cadb3d':
Remove <machine/kernel.h>.
2013-12-18 11:33:13 -08:00
Elliott Hughes
7649766b45
Merge "Remove <machine/kernel.h>."
2013-12-18 19:26:42 +00:00
Elliott Hughes
2b333ea31e
Remove <machine/kernel.h>.
...
Bug: 12175484
Change-Id: I127f7f91f36bd879109d653e0c56ec56e2529d4d
2013-12-18 11:21:55 -08:00
Christopher Ferris
be5231442b
Remove the non-uapi kernel headers.
...
Bug: 11559337
Change-Id: Id1ee4dadbd673cf35b9c79bc87f9a6fb7b2253c6
2013-12-18 10:34:18 -08:00
Elliott Hughes
42513bf848
am 78ce7cbf: am d2bcbf0d: Merge "Small style cleanup."
...
* commit '78ce7cbf35447057c9b04fd8f68e8eed1ea92b93':
Small style cleanup.
2013-12-18 18:17:08 +00:00
Elliott Hughes
78ce7cbf35
am d2bcbf0d: Merge "Small style cleanup."
...
* commit 'd2bcbf0dbec86b8f27b1b3d939025098f134ea60':
Small style cleanup.
2013-12-18 10:11:10 -08:00
Elliott Hughes
03335d9124
am 136e7f2b: am 611b903c: Merge "Properly detect timeout in pthread_mutex_lock_timeout_np_impl"
...
* commit '136e7f2b7909007d29e4cb917a85fc1d6ef0f6d5':
Properly detect timeout in pthread_mutex_lock_timeout_np_impl
2013-12-18 18:07:23 +00:00
Elliott Hughes
d2bcbf0dbe
Merge "Small style cleanup."
2013-12-18 18:06:17 +00:00
Elliott Hughes
9e79af3b61
Small style cleanup.
...
Change-Id: Ib45a4a2296232968296f9bd7cc3592ba46fd412d
2013-12-18 10:05:42 -08:00
Elliott Hughes
93e0587967
am debc37b4: am e00f4890: Merge "Move bionic over to GCC\'s \'warning\' attribute."
...
* commit 'debc37b4fb7bda538ab03b0a0433955006386fda':
Move bionic over to GCC's 'warning' attribute.
2013-12-18 18:03:54 +00:00
Elliott Hughes
136e7f2b79
am 611b903c: Merge "Properly detect timeout in pthread_mutex_lock_timeout_np_impl"
...
* commit '611b903ca7ba9d604a9e2ebc1efa5a66f7ccc049':
Properly detect timeout in pthread_mutex_lock_timeout_np_impl
2013-12-18 10:01:33 -08:00
Elliott Hughes
0652fc667d
am 63d56a00: am 62e6fe58: Merge "Fix compilation of crtbegin.c and pthread_debug.cpp."
...
* commit '63d56a00e95f6a6ca76d9bfd2e40d73cc7daff7d':
Fix compilation of crtbegin.c and pthread_debug.cpp.
2013-12-18 18:00:22 +00:00
Elliott Hughes
debc37b4fb
am e00f4890: Merge "Move bionic over to GCC\'s \'warning\' attribute."
...
* commit 'e00f4890c71e9c9eb715faf2c7443732b2fdfae3':
Move bionic over to GCC's 'warning' attribute.
2013-12-18 09:58:10 -08:00
Elliott Hughes
611b903ca7
Merge "Properly detect timeout in pthread_mutex_lock_timeout_np_impl"
2013-12-18 17:56:22 +00:00
Elliott Hughes
63d56a00e9
am 62e6fe58: Merge "Fix compilation of crtbegin.c and pthread_debug.cpp."
...
* commit '62e6fe58490da764efebffe71ebf6c647695802e':
Fix compilation of crtbegin.c and pthread_debug.cpp.
2013-12-18 09:54:42 -08:00
Elliott Hughes
e00f4890c7
Merge "Move bionic over to GCC's 'warning' attribute."
2013-12-18 17:52:18 +00:00
Elliott Hughes
62e6fe5849
Merge "Fix compilation of crtbegin.c and pthread_debug.cpp."
2013-12-18 17:48:28 +00:00
Elliott Hughes
e7c59f9e20
Fix compilation of crtbegin.c and pthread_debug.cpp.
...
Because there was no default := for the aarch64 libc_crt_target_cflags,
the += was causing libc_crt_target_cflags to be recursively-defined
variable, which meant that when we were compiling crtbegin.c LOCAL_PATH
would be bionic/tests/ and we'd have -Ibionic/tests/include/ and find
none of our include files.
Also fix linking of pthread_debug.cpp, at least in the disabled mode.
The enabled mode was already broken for all architectures, and continues
to be broken after this change. It's been broken for long enough that
we might want to just remove it...
(aarch64 is using the FSF linker where arm uses the gold linker.)
Change-Id: I7db2e386694f6933db043138e6e97e5ae54d4174
2013-12-18 09:47:44 -08:00
Elliott Hughes
c13fb75cea
Move bionic over to GCC's 'warning' attribute.
...
This is a better solution than the old __warn_references because it's
a compile-time rather than link-time warning, it doesn't rely on something
that doesn't appear to be supported by gold (which is why you only used
to see these warnings on mips builds), and the errors refer to the exact
call site(s) rather than just telling you which object file contains a
reference to the bad function.
This is primarily so we can build bionic for aarch64; building libc.so
caused these warnings to fire (because link time is the wrong time) and
warnings are errors.
Change-Id: I5df9281b2a9d98b164a9b11807ea9472c6faa9e3
2013-12-17 20:43:30 -08:00
Elliott Hughes
949295bb87
am 22013ac4: am f293b157: Merge "AArch64: Linker64 support for AArch64"
...
* commit '22013ac4f061e2b88eda191fbd40ca5e1e9c8087':
AArch64: Linker64 support for AArch64
2013-12-17 23:19:28 +00:00
Elliott Hughes
22013ac4f0
am f293b157: Merge "AArch64: Linker64 support for AArch64"
...
* commit 'f293b15728031432317791fb4a17a423545d37b3':
AArch64: Linker64 support for AArch64
2013-12-17 15:11:57 -08:00
Elliott Hughes
f293b15728
Merge "AArch64: Linker64 support for AArch64"
2013-12-17 23:06:49 +00:00
Marcus Oakland
e365f9d654
AArch64: Linker64 support for AArch64
...
Addition of support for AArch64 in the linker64 target.
Change-Id: I8dfd9711278f6706063e91f626b6007ea7a3dd6e
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
2013-12-17 15:02:43 -08:00
Ken Mixter
4fae14f333
Properly detect timeout in pthread_mutex_lock_timeout_np_impl
...
Previously we were checking against a positive errno which
would not be returned from a system call.
Change-Id: I8e3a36f6fbf5ccc2191a152a1def37e2d6f93124
2013-12-17 14:26:01 -08:00
Elliott Hughes
75ba3a341e
am a2573d95: am 2e3826c0: Merge "AArch64: Add fixes to bionic/tests"
...
* commit 'a2573d956bf98a6dd2bb391fdc344c7637b46e8d':
AArch64: Add fixes to bionic/tests
2013-12-17 01:49:12 +00:00
Elliott Hughes
a2573d956b
am 2e3826c0: Merge "AArch64: Add fixes to bionic/tests"
...
* commit '2e3826c08171ead1647c800a0a6d9c333d335762':
AArch64: Add fixes to bionic/tests
2013-12-16 17:45:38 -08:00
Elliott Hughes
2e3826c081
Merge "AArch64: Add fixes to bionic/tests"
2013-12-17 01:41:08 +00:00