Commit Graph

6563 Commits

Author SHA1 Message Date
Elliott Hughes
cd0609f4fc Allow GCC-built fortified code to run on a clang-built bionic.
Even though code built with clang won't be fully fortified
and won't contain calls to our various helpers, binaries built
with GCC will.

Change-Id: I389b2f1e22a3e89b22aadedc46397bf704f9ca79
2013-12-19 14:20:22 -08:00
Elliott Hughes
01e8d48761 am 61f02065: am cf7a4a4f: Merge "Revert "Add C linkage for __open_2 and __openat_2.""
* commit '61f020650466751501fce0326e654135b88c9f99':
  Revert "Add C linkage for __open_2 and __openat_2."
2013-12-19 20:13:00 +00:00
Elliott Hughes
61f0206504 am cf7a4a4f: Merge "Revert "Add C linkage for __open_2 and __openat_2.""
* commit 'cf7a4a4fda076ec76bb79fdbd039665171e8cd75':
  Revert "Add C linkage for __open_2 and __openat_2."
2013-12-19 12:07:06 -08:00
Elliott Hughes
cf7a4a4fda Merge "Revert "Add C linkage for __open_2 and __openat_2."" 2013-12-19 20:02:28 +00:00
Elliott Hughes
9a42eef8b1 Revert "Add C linkage for __open_2 and __openat_2."
This reverts commit c13d89b829.

Change-Id: I40a3c6b926e920b65dd054353a2db8d314d5b300
2013-12-19 20:02:16 +00:00
Elliott Hughes
b0ad47e20d am d520c95e: am bb4f6dc2: Merge "ARM: Change dmb domain for bionic_atomic_barrier()"
* commit 'd520c95e457fb81522491b7e50dc736e81e9bbd1':
  ARM: Change dmb domain for bionic_atomic_barrier()
2013-12-19 19:51:14 +00:00
Elliott Hughes
f850700c67 am 2520a94e: am 1afb375d: Merge "Fix aarch64 custom assembler now non-uapi is gone."
* commit '2520a94e0bfce53b499feb7e88791cd6d8023356':
  Fix aarch64 custom assembler now non-uapi is gone.
2013-12-19 19:47:42 +00:00
Elliott Hughes
9ebc59e782 am 53fc123c: am eb15a6c9: Merge "We actually have modfl."
* commit '53fc123c696a37e428b788dd487598178c592c2c':
  We actually have modfl.
2013-12-19 19:47:41 +00:00
Elliott Hughes
d520c95e45 am bb4f6dc2: Merge "ARM: Change dmb domain for bionic_atomic_barrier()"
* commit 'bb4f6dc2ec388dca4f3570164509420e1df91b35':
  ARM: Change dmb domain for bionic_atomic_barrier()
2013-12-19 11:45:37 -08:00
Elliott Hughes
2520a94e0b am 1afb375d: Merge "Fix aarch64 custom assembler now non-uapi is gone."
* commit '1afb375d30cadf5dfcb5dfe352527e2a1147c79f':
  Fix aarch64 custom assembler now non-uapi is gone.
2013-12-19 11:42:06 -08:00
Elliott Hughes
53fc123c69 am eb15a6c9: Merge "We actually have modfl."
* commit 'eb15a6c9cd35fa2a91d277c48390827a78435ab4':
  We actually have modfl.
2013-12-19 11:42:05 -08:00
Elliott Hughes
bb4f6dc2ec Merge "ARM: Change dmb domain for bionic_atomic_barrier()" 2013-12-19 19:39:43 +00:00
Serban Constantinescu
845c778fa6 ARM: Change dmb domain for bionic_atomic_barrier()
This patch changes the domain that the memory barrier operates on. Assumes
that the scope of bionic_atomic_barrier() does not include device memory,
memory shared with the GPU or any other memory external to the processor
cluster.

Change-Id: I291e741c98a64c86f3a3cf99811bbf1e714ac9aa
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
2013-12-19 11:39:01 -08:00
Elliott Hughes
1afb375d30 Merge "Fix aarch64 custom assembler now non-uapi is gone." 2013-12-19 19:36:04 +00:00
Elliott Hughes
eb15a6c9cd Merge "We actually have modfl." 2013-12-19 19:34:03 +00:00
Elliott Hughes
da9775509b Fix aarch64 custom assembler now non-uapi is gone.
Change-Id: I9c8ad17d9bae2de9d793444d87d4ee133728e900
2013-12-19 11:32:42 -08:00
Elliott Hughes
20adf52cf2 We actually have modfl.
Change-Id: I22bb4d14f99a418819f2941c2dfec49094807c5f
2013-12-19 11:30:51 -08:00
Ben Cheng
08af3aae10 am e884a039: am dcc18ea4: Merge "Add C linkage for __open_2 and __openat_2."
* commit 'e884a039dbb716591a1af6427280a4b555fda604':
  Add C linkage for __open_2 and __openat_2.
2013-12-19 19:09:55 +00:00
Ben Cheng
e884a039db am dcc18ea4: Merge "Add C linkage for __open_2 and __openat_2."
* commit 'dcc18ea4c685230087618c12e8f20484b314596f':
  Add C linkage for __open_2 and __openat_2.
2013-12-19 11:05:15 -08:00
Ben Cheng
dcc18ea4c6 Merge "Add C linkage for __open_2 and __openat_2." 2013-12-19 18:59:05 +00:00
Ben Cheng
c13d89b829 Add C linkage for __open_2 and __openat_2.
Otherwise Clang mangle them with C++ names.

Change-Id: I844e28d834df8b0752b32d2aadd2013fc8804a43
2013-12-19 10:49:20 -08:00
Christopher Ferris
85e0dd89e0 am 5cdc1414: am 81ddd143: Merge "Remove the non-uapi kernel headers."
* commit '5cdc14143351539c3eae053fe142578382f254a5':
  Remove the non-uapi kernel headers.
2013-12-19 07:08:35 +00:00
Christopher Ferris
5cdc141433 am 81ddd143: Merge "Remove the non-uapi kernel headers."
* commit '81ddd14381b09f171c006ebcbba15b3c1baf2a9f':
  Remove the non-uapi kernel headers.
2013-12-18 23:04:58 -08:00
Christopher Ferris
81ddd14381 Merge "Remove the non-uapi kernel headers." 2013-12-19 06:58:53 +00:00
Nick Kralevich
c92f7f57cf am c1624712: am 25447aec: Merge "Clean up more recursive FORTIFY_SOURCE calls"
* commit 'c16247127541af1eb73da28b55b1a41202fa1f56':
  Clean up more recursive FORTIFY_SOURCE calls
2013-12-19 05:53:23 +00:00
Nick Kralevich
c162471275 am 25447aec: Merge "Clean up more recursive FORTIFY_SOURCE calls"
* commit '25447aec39c3c3d54b2defab6a5666c162db4f5a':
  Clean up more recursive FORTIFY_SOURCE calls
2013-12-18 21:11:40 -08:00
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