Commit Graph

1240 Commits

Author SHA1 Message Date
Nick Kralevich b126ae9e3a am c98d6b35: am 6612d4a0: am edc3371a: am f3a6b07b: Merge "host compiler: enable compiler hardening flags"
* commit 'c98d6b35ba7e9381089b1b7c8b47f384e5772a4f':
  host compiler: enable compiler hardening flags
2015-04-25 05:15:48 +00:00
Nick Kralevich 100acd1001 host compiler: enable compiler hardening flags
Enable the following compiler hardening flags:

* -Wl,-z,relro
* -Wl,-z,now
* -fstack-protector

relro / bind_now make the relro region read-only after linking,
preventing certain attacks against ELF data structures.

stack-protector adds stack canaries, which can detect exploits
which overwrite parts of the stack.

Explicitly not added in this change is FORTIFY_SOURCE=2. Adding that
option turns on glibc's warn_unused_result attributes. This generates
a huge number of new compile time warnings, and for the multiple
makefiles which have -Werror in them, turns those warnings into errors.
I'm not able to fix all the errors right away.

Bug: 20558757
Change-Id: I86791177c6695f5325233d9dd9a5dd3ccc2b1a2f
2015-04-24 21:26:08 -07:00
Dmitriy Ivanov 0be46e11a6 am 80421984: am aac1b9d9: am f674a67d: am 573dfb7c: Merge "Pack relocations for mips64"
* commit '804219841d7f581cf78f3f68e13381b6631513a0':
  Pack relocations for mips64
2015-04-25 00:31:30 +00:00
Dmitriy Ivanov 8bd30fe3cb Pack relocations for mips64
Bug: http://b/18051137
Change-Id: I063c5d6cf007658c0efe9cb1d65ed8026b3e7dae
2015-04-24 16:34:09 -07:00
Dmitriy Ivanov a705b5651d am 10537b6f: am 513be561: am cae46525: am 691a4379: Merge "Pack relocations for mips"
* commit '10537b6f41342c50fc0c80bd85ff1b126054086f':
  Pack relocations for mips
2015-04-24 21:09:38 +00:00
Dmitriy Ivanov 9dc1a7359f Pack relocations for mips
Bug: http://b/18051137
Change-Id: Id5e0adfb55273f23e1c99b4eecb318c6b8d19989
2015-04-24 12:20:02 -07:00
Dmitriy Ivanov d96e487b9b am 5754ad7e: am 5c327ec3: am 0f7ecd64: am b1c2727a: Merge "Pack relocations for x86"
* commit '5754ad7ead23fb613f9fe4de2970283d18141ea5':
  Pack relocations for x86
2015-04-24 18:28:05 +00:00
Dmitriy Ivanov 1d4804ccd1 Pack relocations for x86
Bug: http://b/18051137
Change-Id: I3f316343e9bbd2037a9583d5b6fb41a06be153cd
2015-04-24 10:34:59 -07:00
Dmitriy Ivanov be55caf288 am 6f2935dc: am dabf96ab: am c84b3a78: am 648f1b66: Merge "Pack relocation tables for dynamic executables"
* commit '6f2935dc1432a38e149498b6efbd43ed9aceb827':
  Pack relocation tables for dynamic executables
2015-04-23 23:16:36 +00:00
Dmitriy Ivanov 4c2d1a64fb Pack relocation tables for dynamic executables
Add replocation-packer step for dynmic executables.

  Enable it by default for arm and arm64 platforms.

Bug: http://b/18051137
Change-Id: I0c88fd31595bcea62a087f219acb9ecf9c80f2e5
2015-04-23 12:07:16 -07:00
Dimitry Ivanov bc83d0bb68 am 893ed24d: am 387a9fee: am 941d61de: am 1ff47c7f: Merge "Revert "Pack relocation tables for all dynamic executables""
* commit '893ed24dd7cec9b560fe46862b3635efa327ec65':
  Revert "Pack relocation tables for all dynamic executables"
2015-04-23 05:07:11 +00:00
Dimitry Ivanov 1eca10fa9d Revert "Pack relocation tables for all dynamic executables"
This reverts commit e7a1b8a0c6.

Change-Id: I1a2185e1c68d364941e3b3e525a8c4a7a42e0cc1
2015-04-23 04:22:33 +00:00
Dmitriy Ivanov 943381b7df am ff084258: am b7b27621: am 64119a7f: am ec6a9773: Merge "Pack relocation tables for all dynamic executables"
* commit 'ff084258ea53c414d724ba87f89c324056def1bd':
  Pack relocation tables for all dynamic executables
2015-04-23 03:42:44 +00:00
Dmitriy Ivanov e7a1b8a0c6 Pack relocation tables for all dynamic executables
Bug: http://b/18051137
Change-Id: I277277d5f5eb450ef9b4a23cfec16d75d977eb89
2015-04-22 13:30:43 -07:00
Andrew Hsieh 1849365e7b am 263e22d4: am 051f18f0: am f37e96e2: Merge "Revert "Enable linker -fix-cortex-a53-843419""
* commit '263e22d424a80de023143c4758e1e534c726a07d':
  Revert "Enable linker -fix-cortex-a53-843419"
2015-04-14 03:01:10 +00:00
Andrew Hsieh f37e96e232 Merge "Revert "Enable linker -fix-cortex-a53-843419"" 2015-04-13 23:48:28 +00:00
Andrew Hsieh 32e1689684 Revert "Enable linker -fix-cortex-a53-843419"
This reverts commit 54b22a5a70.

Change-Id: I23613490030783fb6da678de5a25f37caebe5f97
2015-04-13 23:39:45 +00:00
Andrew Hsieh 93b8969085 am 00b0f345: am 45c4c5af: am 7bd978c2: Merge "Enable linker -fix-cortex-a53-843419"
* commit '00b0f345b62065979dbebb648e4d549953577ac3':
  Enable linker -fix-cortex-a53-843419
2015-04-13 03:38:35 +00:00
Andrew Hsieh 7bd978c2b3 Merge "Enable linker -fix-cortex-a53-843419" 2015-04-13 03:06:50 +00:00
Stephen Hines 594dd525e6 am 55acb92d: am d263924f: am 69bd465b: Merge "Don\'t use -Wl,--fix-cortex-a8 for Cortex A7, A9, A15, Krait or Denver"
* commit '55acb92d825f12469e855485b23bfcd5e2461978':
  Don't use -Wl,--fix-cortex-a8 for Cortex A7, A9, A15, Krait or Denver
2015-04-10 16:58:20 +00:00
Stephen Hines 69bd465b6e Merge "Don't use -Wl,--fix-cortex-a8 for Cortex A7, A9, A15, Krait or Denver" 2015-04-10 16:17:52 +00:00
Ying Wang aaf9a5b0cc Remove ancient ranlib workaround on Mac OS X.
Apparently we don't need it for Mac OS X 10.7 and above.

Change-Id: I5ee81700c16e8c66b2d5f2b373fd2d523b5ec018
2015-04-09 10:06:33 -07:00
Ying Wang 4972d195dd Remove ancient ranlib workaround on Mac OS X.
Apparently we don't need it for Mac OS X 10.7 and above.

Change-Id: I5ee81700c16e8c66b2d5f2b373fd2d523b5ec018
2015-04-09 09:45:39 -07:00
Andrew Hsieh 54b22a5a70 Enable linker -fix-cortex-a53-843419
Change-Id: Icb8a4ce4d5688847cfe536eba2139cdf7f6406f3
2015-04-09 12:37:36 +08:00
Nick Kralevich 8d36507971 am ac14f971: am 801411da: am 6d08a0d3: Merge "AndroidConfig.h: ensure HAVE_MALLOC_H always has a value."
* commit 'ac14f9710b0c6405c19d2eff6f435c51dea1e4f5':
  AndroidConfig.h: ensure HAVE_MALLOC_H always has a value.
2015-04-09 01:13:07 +00:00
Nick Kralevich 9b44afb452 AndroidConfig.h: ensure HAVE_MALLOC_H always has a value.
Some programs (cough sqlite cough) do an improper check to see if
HAVE_MALLOC_H is defined. Instead of defining it with no value,
define it with a value so those checks pass.

Needed for bug: 20099586

Change-Id: I4c293b2c1b5f4caad85ffc1fc34ac385bab23f5c
2015-04-08 12:21:54 -07:00
Elliott Hughes 2beb83dd62 am 5432d355: am 7616909b: am 519751a8: Merge "There\'s no such thing as _THREAD_SAFE."
* commit '5432d3551d70d0cd3abe4bfb47cb9276477a419a':
  There's no such thing as _THREAD_SAFE.
2015-04-03 22:44:06 +00:00
Elliott Hughes 11c84463ea am aa1bd146: am d9ac3e9a: am 97bcf915: Merge "Remove HAVE_PRINTF_ZD."
* commit 'aa1bd1462dc019b6096e92e4888b577522139b52':
  Remove HAVE_PRINTF_ZD.
2015-04-03 20:58:27 +00:00
Elliott Hughes 98ff711a5d There's no such thing as _THREAD_SAFE.
At least, as far as I can tell from the internet and from grep in /usr/include
on a Mac.

Change-Id: I7f39bb2013db88e59f604e4491344d0d342e5f0b
2015-04-03 13:41:10 -07:00
Elliott Hughes 7f131dbe07 am 6f4befa0: am 5d375b92: am dbaee628: Merge "Remove HAVE_STRLCPY."
* commit '6f4befa0535749b55c5c5a859611fe855c26e369':
  Remove HAVE_STRLCPY.
2015-04-03 20:24:24 +00:00
Elliott Hughes 8a11491bc9 Remove HAVE_PRINTF_ZD.
Change-Id: Ie7677e4816ad886c13a8ac869e7c7342082a350f
2015-04-03 13:05:53 -07:00
Elliott Hughes dbaee628ec Merge "Remove HAVE_STRLCPY." 2015-04-03 19:42:06 +00:00
Elliott Hughes 8f06d8afb8 Remove HAVE_STRLCPY.
Change-Id: I27864a9075183de5bd83569d53a00fc2f53c96df
2015-04-02 16:43:52 -07:00
Dan Albert 57d71306a5 am 8f7338d9: am dc8d7092: am 0064c51e: Merge "Use prebuilt libclang_rt.profile."
* commit '8f7338d9b145379ea9c51b7e551509a2d8f0f24e':
  Use prebuilt libclang_rt.profile.
2015-04-02 18:49:26 +00:00
Dan Albert 343ed674e3 Use prebuilt libclang_rt.profile.
Bug: 17574078
Change-Id: I4838cd5d125a0b2bf76aad2fdaef1ee3122687e8
2015-04-01 19:03:22 -07:00
Christopher Ferris c44299e6b9 am 9226f8fc: am 07aa4c1f: am a45223b6: Merge "Revert "Switch x86 and x86_64 to 4.9. Attempt #2.""
* commit '9226f8fc3be69d6c3ba9ea583aa36845e91eb7e4':
  Revert "Switch x86 and x86_64 to 4.9. Attempt #2."
2015-03-25 21:08:26 +00:00
Ying Wang 896a1cb0d9 am 335b1918: am 5a8f7067: am e9b15e2c: Merge "Switch x86 and x86_64 to 4.9. Attempt #2."
* commit '335b19180077bd56ae5db605a92f0034c25f679e':
  Switch x86 and x86_64 to 4.9. Attempt #2.
2015-03-25 21:08:24 +00:00
Christopher Ferris c9d2952e1e Revert "Switch x86 and x86_64 to 4.9. Attempt #2."
This reverts commit 6fb735b071.

Change-Id: I64b868cdfb3571de5e8b01e4257b5dfa9ee44d0d
2015-03-25 18:27:21 +00:00
Bernhard Rosenkränzer 4da707176b Don't use -Wl,--fix-cortex-a8 for Cortex A7, A9, A15, Krait or Denver
-Wl,--fix-cortex-a8 is a workaround for an Erratum in Cortex-A8
processors. It slightly increases code size and decreases performance,
and there's no point in using it on non-A8 CPUs.

Instead of forcing it unconditionally, use it when targeting
Cortex-A8 or generic armv7-a (which might or might not be A8).

Change-Id: Ifa59765d380445237edccfe5440a67b3ba1e459a
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
2015-03-25 17:21:02 +01:00
Alexander Ivchenko 6fb735b071 Switch x86 and x86_64 to 4.9. Attempt #2.
BUG=16407835

Change-Id: I45161bf4701bef4540b51168f771c5e9da8c8750
Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
2015-03-20 17:07:34 +03:00
Christopher Ferris 1a97c05380 Revert "Switch x86 and x86_64 build to use GCC 4.9"
This reverts commit 533c7aa6a2.

(cherry picked from commit f123057f5e)

Change-Id: I6dd4ccb100341cf6ebf83829448b0ca7395d5468
2015-03-16 18:32:54 -07:00
Christopher Ferris f123057f5e Revert "Switch x86 and x86_64 build to use GCC 4.9"
This reverts commit 533c7aa6a2.

Change-Id: I5203db8454d9af8fb438af6308106945e5dc0dbf
2015-03-17 01:29:51 +00:00
Andrew Hsieh a9ee744457 am 58b2f1e3: am 81f7dee7: am bf0b6df4: Merge "Switch x86 and x86_64 build to use GCC 4.9"
* commit '58b2f1e320a9682871cd4f7e4379c8bf167a2204':
  Switch x86 and x86_64 build to use GCC 4.9
2015-03-17 00:13:55 +00:00
Andrew Hsieh 533c7aa6a2 Switch x86 and x86_64 build to use GCC 4.9
Change-Id: I41a7650d0e56c820a59c261d16afd6f0b9ec38c2
2015-03-16 13:17:59 +08:00
Przemyslaw Szczepaniak 0e2d00ff1f Switch NDK libraries to 4.9 for x86_64 and mips64
Android NDK r10b doesn't even provide 4.8 for those
archs.

Change-Id: I10840c6c7bbc0dd9028a794162d021d8b3e6b19a
(cherry picked from commit fabd383bc8)
2015-03-13 11:36:15 -07:00
Ying Wang d791463511 Support "LOCAL_FDO_SUPPORT := always".
"LOCAL_FDO_SUPPORT := always" enables FDO without user specifying
"BUILD_FDO_OPTIMIZE := true", i.e. it turns on FDO for a
module in any build configuration.

Change-Id: I05d8db2edb2b3f5db073fa14d5bf1083a04571c0
(cherry picked from commit 45d0143ab1)
2015-03-13 11:36:15 -07:00
Christopher Ferris 847cc02ff2 am 40bcc3bc: am 62d5e2ac: Merge "Update x86_64 minimal ISA instruction set"
* commit '40bcc3bce081cafeaf885c42c9c5332c278ae4ac':
  Update x86_64 minimal ISA instruction set
2015-03-13 07:49:42 +00:00
Christopher Ferris 62d5e2acf5 Merge "Update x86_64 minimal ISA instruction set" 2015-03-13 04:18:18 +00:00
Ying Wang 25c894bf70 am ec447f36: am 168357ae: Merge "Support .asm being compiled by yasm targeted for x86_64."
* commit 'ec447f368a0622781a0b6f95d422d30f480a24b5':
  Support .asm being compiled by yasm targeted for x86_64.
2015-03-12 15:35:53 +00:00
Mingwei Shi 357778de34 Update x86_64 minimal ISA instruction set
Change-Id: I3ca7f8a0799e6aef09ab1dfb719d218c7338ebf8
Signed-off-by: Mingwei Shi <mingwei.shi@intel.com>
2015-03-12 22:45:27 +08:00
Ying Wang 168357aeda Merge "Support .asm being compiled by yasm targeted for x86_64." 2015-03-11 16:37:25 +00:00
Ying Wang fe1e5c3453 Support .asm being compiled by yasm targeted for x86_64.
Change-Id: Ia6425c38dd2f7ad2dc697213cd61b7515b9e7aff
2015-03-09 18:57:40 -07:00
Yohann Roussel a96cc59ab5 Use Jack by default
Change-Id: Ifc66fd863e3bfde780698f7bb4578927bcab4ff4
2015-03-02 22:23:03 +01:00
Elliott Hughes 473984e59b am 5e7fd729: am 2c5b6ab5: am 8389deee: Merge "mips64 should avoid common LP64 errors just like arm64 and x86-64."
* commit '5e7fd72982942e6aa3a7b10a8ff0fa978c2b24c1':
  mips64 should avoid common LP64 errors just like arm64 and x86-64.
2015-02-25 19:15:14 +00:00
Elliott Hughes 2c5b6ab5ac am 8389deee: Merge "mips64 should avoid common LP64 errors just like arm64 and x86-64."
* commit '8389deee6b355f7dd6b1ff3579179414c6a41e5c':
  mips64 should avoid common LP64 errors just like arm64 and x86-64.
2015-02-25 19:01:07 +00:00
Elliott Hughes d1ea5fbf7b mips64 should avoid common LP64 errors just like arm64 and x86-64.
Change-Id: Ibce5863bee3175671862c1889869b43bcb39a074
2015-02-24 16:04:31 -08:00
Elliott Hughes e7ed4f47ff am 5c4ace8a: am 36f17971: am ca15af1b: Merge "Turn on -Werror=implicit-function-declaration for arm64."
* commit '5c4ace8a3026a56a748d8f80b3507851bbe9178c':
  Turn on -Werror=implicit-function-declaration for arm64.
2015-02-24 04:54:03 +00:00
Elliott Hughes 36f179711d am ca15af1b: Merge "Turn on -Werror=implicit-function-declaration for arm64."
* commit 'ca15af1bcde972b6ba3546d45913c9bb51bd93b0':
  Turn on -Werror=implicit-function-declaration for arm64.
2015-02-23 21:35:17 +00:00
Elliott Hughes ca15af1bcd Merge "Turn on -Werror=implicit-function-declaration for arm64." 2015-02-23 21:29:58 +00:00
Elliott Hughes c551266382 am c4291549: am 5081cbf0: am faeae397: Merge "Turn on -Werror=implicit-function-declaration for x86-64."
* commit 'c429154989634f72c8d130f37e4410ee975a4b35':
  Turn on -Werror=implicit-function-declaration for x86-64.
2015-02-23 18:36:14 +00:00
Elliott Hughes 5081cbf009 am faeae397: Merge "Turn on -Werror=implicit-function-declaration for x86-64."
* commit 'faeae3977159b0b4ca2021c4c657a090eaeb4a56':
  Turn on -Werror=implicit-function-declaration for x86-64.
2015-02-23 18:29:13 +00:00
Elliott Hughes faeae39771 Merge "Turn on -Werror=implicit-function-declaration for x86-64." 2015-02-23 18:23:24 +00:00
Elliott Hughes f5e204b3f4 Turn on -Werror=implicit-function-declaration for arm64.
Implicit function declarations are much more dangerous on LP64 because
sizeof(int) != sizeof(void*), so any function that returns a pointer will
lose its top bits, leading to relatively hard to debug crashes.

Change-Id: Ia05beffb949ca747833c2e12c40daf896f7a60a5
2015-02-21 13:21:20 -08:00
Elliott Hughes b97d8c78e2 Turn on -Werror=implicit-function-declaration for x86-64.
Implicit function declarations are much more dangerous on LP64 because
sizeof(int) != sizeof(void*), so any function that returns a pointer will
lose its top bits, leading to relatively hard to debug crashes.

Change-Id: Ib2570326dde1b1cde09c63c9b4c973d741528ee2
2015-02-21 11:01:11 -08:00
Narayan Kamath 8e3d3737d8 am 30c168c5: am ae25aed3: am 940632f1: Merge "Remove references to __CYGWIN__ and HAVE_WINSOCK2_H."
* commit '30c168c570deb48f5ad0de0821f2fea0d149a635':
  Remove references to __CYGWIN__ and HAVE_WINSOCK2_H.
2015-02-21 10:27:59 +00:00
Narayan Kamath ae25aed3c9 am 940632f1: Merge "Remove references to __CYGWIN__ and HAVE_WINSOCK2_H."
* commit '940632f1a1af056ea8f87d2fa7a0c7e22cd1556b':
  Remove references to __CYGWIN__ and HAVE_WINSOCK2_H.
2015-02-21 10:15:54 +00:00
Narayan Kamath 2fad00c56e Remove references to __CYGWIN__ and HAVE_WINSOCK2_H.
We don't support platform builds under CYGWIN and can safely
assume that all windows host builds are for MinGW32.

HAVE_WINSOCK2_H is currently unused. The only references to it
are in code that define it themselves or in application code that
by definition isn't compiled for windows.

Change-Id: I236d6e070df93f713cb716bb8a461c9c1d32a180
2015-02-21 09:55:05 +00:00
Ying Wang f65bde3e78 am e9bc7b47: am 4d0f56fb: Merge "Disable transitive dependency library symbol resolving for mips."
* commit 'e9bc7b472db2d54aaef428fc3229b56dbe2bf6fa':
  Disable transitive dependency library symbol resolving for mips.
2015-02-03 19:50:01 +00:00
Ying Wang e9bc7b472d am 4d0f56fb: Merge "Disable transitive dependency library symbol resolving for mips."
* commit '4d0f56fba3cb89d871e1277d9314da12406394e5':
  Disable transitive dependency library symbol resolving for mips.
2015-02-03 19:43:52 +00:00
Ying Wang 624ef02a50 Disable transitive dependency library symbol resolving for mips.
The transitive symbol resolving causes build breakage when a binary
linked against NDK has indirect dependency on platform libraries, or
vice versa.

Change-Id: Idbfe76079c1db14eb1156d0f396e13d26f0ff582
2015-02-03 10:58:50 -08:00
Yabin Cui 5ba2122f77 am d22d6a53: am 9560d317: Merge "Kill HAVE_PTHREADS."
* commit 'd22d6a537d59e1453bc728810a0694f8871deedc':
  Kill HAVE_PTHREADS.
2015-01-28 00:42:42 +00:00
Yabin Cui d22d6a537d am 9560d317: Merge "Kill HAVE_PTHREADS."
* commit '9560d31716319be62c97d929f6172c84e267a673':
  Kill HAVE_PTHREADS.
2015-01-27 23:12:05 +00:00
Yabin Cui 0d1f0f8e5a Kill HAVE_PTHREADS.
Bug: 19083585
Change-Id: I5be0d2f95c3c45e7f67de6a8daeb49709ef1f9e9
2015-01-27 14:34:36 -08:00
Ying Wang 4d97b27c51 am c0ff83ae: am 17967eb7: Merge "[MIPSR6] Adjust prebuilts/ndk libraries for mips32r6"
* commit 'c0ff83aebd4ce2ac80247f9b809c27fbf4fc1524':
  [MIPSR6] Adjust prebuilts/ndk libraries for mips32r6
2015-01-16 20:06:46 +00:00
Ying Wang c0ff83aebd am 17967eb7: Merge "[MIPSR6] Adjust prebuilts/ndk libraries for mips32r6"
* commit '17967eb72f0eb7f495800d5065b64db4a0174362':
  [MIPSR6] Adjust prebuilts/ndk libraries for mips32r6
2015-01-16 18:32:18 +00:00
Duane Sand 1a07487493 [MIPSR6] Adjust prebuilts/ndk libraries for mips32r6
Change-Id: Ice2d0f65eced4fb7dd209fb15610ba555dd45f2c
2015-01-16 18:13:17 +00:00
Ying Wang 877fb8974c am 758a029e: am 59cbe2c6: Merge "Emit unique linker buildid in all binaries."
* commit '758a029e2a7dbe6169fbccd8680e2856ae57ee8b':
  Emit unique linker buildid in all binaries.
2015-01-16 00:37:02 +00:00
Ying Wang 758a029e2a am 59cbe2c6: Merge "Emit unique linker buildid in all binaries."
* commit '59cbe2c65cdd2dc3f1ef7a64a4bf6e3543d07207':
  Emit unique linker buildid in all binaries.
2015-01-16 00:28:48 +00:00
Dehao Chen 734de7a8b4 Emit unique linker buildid in all binaries.
We want to store the symbol information for all android binaries in a global database.

* We ingest unstripped binaries into the global database
* When we collect address data from device (e.g. instruction pointer address), we want to lookup its symbol information through the global database. The key of the mapping is a unique build id, which is the same between binaries on device (stripped) and unstripped binaries.

After applying this patch, the system.img size increases by 0.0047% (16.3KB).

Change-Id: Id92faf2951f43a30947e8d2b690c1af6bf7e3f54
2015-01-15 23:09:35 +00:00
Elliott Hughes 527bf18609 am 32ecc299: am c56a6045: Merge "Remove HAVE_SYMLINKS."
* commit '32ecc29996d8061ebf5ba2a039368575488132ff':
  Remove HAVE_SYMLINKS.
2015-01-13 20:33:04 +00:00
Elliott Hughes d5544cf757 am aa07929b: am 1e61f12f: Merge "Remove HAVE_LIBC_SYSTEM_PROPERTIES and HAVE_SYSTEM_PROPERTY_SERVER."
* commit 'aa07929b29f204ad5e96a8a75a63728cdd1e879a':
  Remove HAVE_LIBC_SYSTEM_PROPERTIES and HAVE_SYSTEM_PROPERTY_SERVER.
2015-01-13 20:32:32 +00:00
Elliott Hughes dc176f3fea am 446b9418: am 780c4320: Merge "Remove HAVE_POSIX_CLOCKS."
* commit '446b9418a4d0b9aa34bf66c99d08c00898b8df4e':
  Remove HAVE_POSIX_CLOCKS.
2015-01-13 20:30:58 +00:00
Elliott Hughes 32ecc29996 am c56a6045: Merge "Remove HAVE_SYMLINKS."
* commit 'c56a60451188da6385ae9f52e0adbef14c647f21':
  Remove HAVE_SYMLINKS.
2015-01-13 03:25:04 +00:00
Elliott Hughes 5877c21436 Remove HAVE_SYMLINKS.
Change-Id: I685357292af45a048439f0df0ae45f513479841a
2015-01-12 17:21:01 -08:00
Elliott Hughes aa07929b29 am 1e61f12f: Merge "Remove HAVE_LIBC_SYSTEM_PROPERTIES and HAVE_SYSTEM_PROPERTY_SERVER."
* commit '1e61f12f1ecf42c91f71bcc7610a25d83ca738d9':
  Remove HAVE_LIBC_SYSTEM_PROPERTIES and HAVE_SYSTEM_PROPERTY_SERVER.
2015-01-13 00:31:22 +00:00
Elliott Hughes a517f21c65 Remove HAVE_LIBC_SYSTEM_PROPERTIES and HAVE_SYSTEM_PROPERTY_SERVER.
In particular, no one has had the system property server since we
killed the sim-eng build...

Change-Id: If576ec546b0ba2ad3c5299876027ca9ac189cf4a
2015-01-12 13:48:27 -08:00
Elliott Hughes 446b9418a4 am 780c4320: Merge "Remove HAVE_POSIX_CLOCKS."
* commit '780c43208c9bdd1cacb18bf191b49d37a06cc19a':
  Remove HAVE_POSIX_CLOCKS.
2015-01-12 19:00:55 +00:00
Elliott Hughes d7e6a0b1c5 Remove HAVE_POSIX_CLOCKS.
Change-Id: Ide6f54f70bc5edda9ec1f1f05ebaa0acf58aaa77
2015-01-09 16:27:41 -08:00
Elliott Hughes a4f68ef789 am b4fc5867: am 5368c02a: Merge "Remove HAVE_PRCTL."
* commit 'b4fc586794bfc69b02a0ebae5c75f8369cb95556':
  Remove HAVE_PRCTL.
2015-01-09 23:45:29 +00:00
Elliott Hughes b4fc586794 am 5368c02a: Merge "Remove HAVE_PRCTL."
* commit '5368c02ac68dc263284bf0cfb1869f0de3f5f5fa':
  Remove HAVE_PRCTL.
2015-01-09 23:38:53 +00:00
Elliott Hughes 73498235d2 Remove HAVE_PRCTL.
Change-Id: Ic58f8e4c0f749bbc19e5d14de8d99321e7cf833c
2015-01-09 15:24:31 -08:00
Elliott Hughes 0a276a8a4a am 37019a1d: am d9de8e0d: Merge "Remove HAVE_SYS_SOCKET_H."
* commit '37019a1de6ace9eec11edb28e29c8f42ee7bd379':
  Remove HAVE_SYS_SOCKET_H.
2015-01-09 22:54:13 +00:00
Elliott Hughes 37019a1de6 am d9de8e0d: Merge "Remove HAVE_SYS_SOCKET_H."
* commit 'd9de8e0d9acd17a2406d25bb970c615067d2ba34':
  Remove HAVE_SYS_SOCKET_H.
2015-01-09 22:48:16 +00:00
Elliott Hughes 93a24c020f Remove HAVE_SYS_SOCKET_H.
Change-Id: I9ee38c603e3933b012da818b386cb374eec9fe21
2015-01-09 12:22:24 -08:00
Elliott Hughes dc4ea4f152 am 7d9073cf: am 405931e9: Merge "Stop defining HAVE_UNWIND_CONTEXT_STRUCT."
* commit '7d9073cf34d7ddfc32b1eb6ca1c2292b46be0dd7':
  Stop defining HAVE_UNWIND_CONTEXT_STRUCT.
2015-01-07 04:53:45 +00:00
Elliott Hughes 7d9073cf34 am 405931e9: Merge "Stop defining HAVE_UNWIND_CONTEXT_STRUCT."
* commit '405931e961b66b5862a14d75792736ca622f5f34':
  Stop defining HAVE_UNWIND_CONTEXT_STRUCT.
2015-01-07 04:46:22 +00:00
Elliott Hughes 30adf15747 Stop defining HAVE_UNWIND_CONTEXT_STRUCT.
The only code that still references this is only built for arm, so this
should be a no-op.

Change-Id: I64f40fc68bb387b6309075d158f5bd12f398ef20
2015-01-06 19:14:37 -08:00
Ying Wang 13c165c691 am 183417b2: am ae90c07c: Merge "Disable transitive symbol resolving for arm64."
* commit '183417b2e2bd2db02928dbb49defd3251487523f':
  Disable transitive symbol resolving for arm64.
2014-12-20 01:10:30 +00:00
Ying Wang 183417b2e2 am ae90c07c: Merge "Disable transitive symbol resolving for arm64."
* commit 'ae90c07c9786622acf9ee329282161ed9aea011e':
  Disable transitive symbol resolving for arm64.
2014-12-20 01:05:17 +00:00
Ying Wang cf6f808408 Disable transitive symbol resolving for arm64.
The transitive symbol resolving causes build breakage when a binary
has indirect dependency on the NDK library.
We only observed such behaviour in the aarch64 toolchain.

Change-Id: I29e01f16bdfa3aa206cd42d6f07c764fd436873a
2014-12-19 16:37:46 -08:00
Elliott Hughes 7ad4c7c268 am 97d1d8de: am 91e724d4: Merge "Remove HAVE_SCHED_H."
* commit '97d1d8de8420802f12d828059baf4cdd274065b5':
  Remove HAVE_SCHED_H.
2014-12-15 22:04:06 +00:00
Elliott Hughes 97d1d8de84 am 91e724d4: Merge "Remove HAVE_SCHED_H."
* commit '91e724d42f921dd35943cdc89e8f4c4362da691a':
  Remove HAVE_SCHED_H.
2014-12-15 19:27:19 +00:00
Elliott Hughes 721501bc50 am 695a0804: am 55e21af2: Merge "Remove unused OS_SHARED_LIB_FORMAT_STR."
* commit '695a080462718465cc410dc59a65c013ad7599c6':
  Remove unused OS_SHARED_LIB_FORMAT_STR.
2014-12-15 18:46:56 +00:00
Elliott Hughes 1f2977f114 Remove HAVE_SCHED_H.
Change-Id: I1308b90c4b33d0ab1a01de44bebba03687217f2b
2014-12-14 16:55:11 -08:00
Elliott Hughes 695a080462 am 55e21af2: Merge "Remove unused OS_SHARED_LIB_FORMAT_STR."
* commit '55e21af2079b7f44b7aa70d8ba08075e8a79ff38':
  Remove unused OS_SHARED_LIB_FORMAT_STR.
2014-12-13 18:59:39 +00:00
Elliott Hughes da225948e6 Remove unused OS_SHARED_LIB_FORMAT_STR.
Change-Id: Ibaaf112c5a6bfe2084fe34e32e31bcd755e718a8
2014-12-12 15:54:56 -08:00
Rong Xu bf401dd7f2 am 69b8c4f9: am 37979c57: Merge "Upgrade gcc compiler for arm build from 4.8 to 4.9"
* commit '69b8c4f9314e6c48dde64a234b2f4b25500abb36':
  Upgrade gcc compiler for arm build from 4.8 to 4.9
2014-12-05 19:29:44 +00:00
Elliott Hughes 89154e3cf1 am 89b56de1: am 8298ddb0: Merge "bionic doesn\'t implement _FILE_OFFSET_BITS."
* commit '89b56de1904a2f72e81390d6758162dec6797bb9':
  bionic doesn't implement _FILE_OFFSET_BITS.
2014-12-05 19:25:57 +00:00
Elliott Hughes 28ab46aafa am 1ac5626e: am e9d1d7ad: Merge "Darwin has never had a 32-bit off_t."
* commit '1ac5626ef6d6dddabac05f1d992f1fb62797bfd3':
  Darwin has never had a 32-bit off_t.
2014-12-05 19:25:56 +00:00
Rong Xu 69b8c4f931 am 37979c57: Merge "Upgrade gcc compiler for arm build from 4.8 to 4.9"
* commit '37979c5749bfa516094080f9e8a5c0f387273c5b':
  Upgrade gcc compiler for arm build from 4.8 to 4.9
2014-12-05 19:24:18 +00:00
Elliott Hughes 89b56de190 am 8298ddb0: Merge "bionic doesn\'t implement _FILE_OFFSET_BITS."
* commit '8298ddb0e5feee49fd35fa26ecfaf2a541af7d0f':
  bionic doesn't implement _FILE_OFFSET_BITS.
2014-12-05 19:20:31 +00:00
Elliott Hughes 1ac5626ef6 am e9d1d7ad: Merge "Darwin has never had a 32-bit off_t."
* commit 'e9d1d7adcf6473d4f3fce59f855772a7f9d3746b':
  Darwin has never had a 32-bit off_t.
2014-12-05 19:20:30 +00:00
Elliott Hughes c473fa50ca am 451caf92: am c7296b6f: Merge "Remove ARCH_X86."
* commit '451caf92678ab03834a86c13651a287abce15455':
  Remove ARCH_X86.
2014-12-05 19:16:31 +00:00
Elliott Hughes 554361cda9 am 2e4e4acb: am 9658bda3: Merge "Remove ARCH_ARM."
* commit '2e4e4acbf0f84a32fc4ccb97bd7ef1da74f86f01':
  Remove ARCH_ARM.
2014-12-05 19:16:30 +00:00
Rong Xu 37979c5749 Merge "Upgrade gcc compiler for arm build from 4.8 to 4.9" 2014-12-05 19:14:15 +00:00
Elliott Hughes 451caf9267 am c7296b6f: Merge "Remove ARCH_X86."
* commit 'c7296b6f100fff7ab21fb1f512e9f230f4cae048':
  Remove ARCH_X86.
2014-12-05 19:08:57 +00:00
Elliott Hughes 2e4e4acbf0 am 9658bda3: Merge "Remove ARCH_ARM."
* commit '9658bda351e8e9226181b411eeb14b5cc3618471':
  Remove ARCH_ARM.
2014-12-05 19:08:55 +00:00
Elliott Hughes 8298ddb0e5 Merge "bionic doesn't implement _FILE_OFFSET_BITS." 2014-12-05 19:05:42 +00:00
Elliott Hughes a37476967d Darwin has never had a 32-bit off_t.
Change-Id: Ifa48fab99d73fb532afc56d235b7397e05c0fc6a
2014-12-05 11:03:56 -08:00
Elliott Hughes 2c93d80f17 bionic doesn't implement _FILE_OFFSET_BITS.
Change-Id: Iec9978e0bb69585dde69593402d53309e0ecb662
2014-12-05 11:01:43 -08:00
Elliott Hughes c7296b6f10 Merge "Remove ARCH_X86." 2014-12-05 18:57:28 +00:00
Rong Xu bf8346e90c Upgrade gcc compiler for arm build from 4.8 to 4.9
Change-Id: Id85c56452a478ea94bdb6ea2b990c3b46a81eed9
2014-12-05 10:29:46 -08:00
Elliott Hughes 4b57e512c7 Remove ARCH_X86.
Change-Id: I832247bec22f23666f14dfb715192ada201ab097
2014-12-04 16:39:30 -08:00
Elliott Hughes ff4ea2cb37 Remove ARCH_ARM.
Change-Id: Ic3014aa01f82204b75c54ab3f7afa3a44890e02e
2014-12-04 16:29:20 -08:00
Elliott Hughes 54d67bfce4 am eae211ba: am b919da4c: Merge "Rename core/combo/arch/x86/x86-atom.mk to core/combo/arch/x86/atom.mk."
* commit 'eae211ba7b709716833e2f10421e0e6e1bd53926':
  Rename core/combo/arch/x86/x86-atom.mk to core/combo/arch/x86/atom.mk.
2014-12-04 16:17:17 +00:00
Elliott Hughes eae211ba7b am b919da4c: Merge "Rename core/combo/arch/x86/x86-atom.mk to core/combo/arch/x86/atom.mk."
* commit 'b919da4c6267cd139e8b3c41db921e1f61ad4c50':
  Rename core/combo/arch/x86/x86-atom.mk to core/combo/arch/x86/atom.mk.
2014-12-04 09:22:16 +00:00
Elliott Hughes b919da4c62 Merge "Rename core/combo/arch/x86/x86-atom.mk to core/combo/arch/x86/atom.mk." 2014-12-03 20:09:39 +00:00
Alexander Ivchenko 6bbaee0682 Rename core/combo/arch/x86/x86-atom.mk to core/combo/arch/x86/atom.mk.
Otherwise wrong set of memory/string functions is chosen when building atom
image (in Bionic we have libc/arch-x86/atom/atom.mk). Plus this naming is
consistent with other x86 architectures.

Change-Id: I21e899534e7ce10530474a22ceba770422b39d8d
Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
2014-12-03 22:41:10 +03:00
Stephen Hines a3b5851b3a am 78706f91: am 0db9ea92: Merge "Fix a preprocessor warning exposed by -Wundef."
* commit '78706f9149b2513bd71672aaa651cd8855088fe3':
  Fix a preprocessor warning exposed by -Wundef.
2014-12-03 00:29:48 +00:00
Stephen Hines 78706f9149 am 0db9ea92: Merge "Fix a preprocessor warning exposed by -Wundef."
* commit '0db9ea923309f514a3216826593b325cffcfbbbf':
  Fix a preprocessor warning exposed by -Wundef.
2014-12-02 22:00:35 +00:00
Stephen Hines d134f252ef Fix a preprocessor warning exposed by -Wundef.
Bug: 18589470

__LP64__ is only defined for 64-bit compilation targets, so this macro
is evaluated as an implicit 0 in the original case. This change makes
it explicit that we only care whether this is actually defined.

Change-Id: I8c11b41fc0bde9477c5efeea0782d9741d9d827d
2014-12-02 11:17:07 -08:00
Elliott Hughes 1192e2d1aa am 1609e07a: am 65a36e0f: Merge "Remove HAVE_SYS_UIO_H."
* commit '1609e07aa5334d3fcbf9b876b1eca631f47cd5bf':
  Remove HAVE_SYS_UIO_H.
2014-11-26 00:29:02 +00:00
Elliott Hughes 1609e07aa5 am 65a36e0f: Merge "Remove HAVE_SYS_UIO_H."
* commit '65a36e0fa0701cd834242d628d87b02bd0bbe611':
  Remove HAVE_SYS_UIO_H.
2014-11-26 00:24:58 +00:00
Elliott Hughes c6d435f55d Remove HAVE_SYS_UIO_H.
Change-Id: I4f401900285e166486bb426ac02bc69fc5509a3c
2014-11-25 13:59:21 -08:00
Elliott Hughes abd72ad8e0 am eaed9a60: am 5bb748dc: Merge "Remove unused HAVE_STDBOOL_H."
* commit 'eaed9a60c38920c6e2032dfd8afa08f733a95a80':
  Remove unused HAVE_STDBOOL_H.
2014-11-25 21:32:55 +00:00
Elliott Hughes eaed9a60c3 am 5bb748dc: Merge "Remove unused HAVE_STDBOOL_H."
* commit '5bb748dc6eaebf1b37a993721393a14dbc8c929d':
  Remove unused HAVE_STDBOOL_H.
2014-11-25 21:27:48 +00:00
Elliott Hughes b35ef252e8 Remove unused HAVE_STDBOOL_H.
Change-Id: I0072847719566e9622ec9765673fdeb8be9eb5ef
2014-11-25 12:22:43 -08:00
Elliott Hughes 6a6e3d40b3 am 4c89843c: am 99a75fbb: Merge "Kill unused HAVE_WRITEV."
* commit '4c89843c1055d90c99be7692ebde9979e8678ed8':
  Kill unused HAVE_WRITEV.
2014-11-25 20:07:53 +00:00
Elliott Hughes 4c89843c10 am 99a75fbb: Merge "Kill unused HAVE_WRITEV."
* commit '99a75fbbb94c5a7226352ae691933cc88d94af20':
  Kill unused HAVE_WRITEV.
2014-11-25 19:58:39 +00:00
Elliott Hughes 9ed0cd57ba Kill unused HAVE_WRITEV.
Change-Id: I6e4df2449b27d67f207fc53b19e49b21f9cee611
2014-11-25 10:30:55 -08:00
Elliott Hughes 49b1ba2776 am 08989ecc: am 28a9c770: Merge "Kill HAVE_BIG_ENDIAN, HAVE_ENDIAN_H, and HAVE_LITTLE_ENDIAN."
* commit '08989eccddda6e5ac6615281f7b4a5a6dda62a94':
  Kill HAVE_BIG_ENDIAN, HAVE_ENDIAN_H, and HAVE_LITTLE_ENDIAN.
2014-11-22 08:22:13 +00:00
Elliott Hughes 08989eccdd am 28a9c770: Merge "Kill HAVE_BIG_ENDIAN, HAVE_ENDIAN_H, and HAVE_LITTLE_ENDIAN."
* commit '28a9c77026bac5e93a03f1f6c67192fc0a6e6c0d':
  Kill HAVE_BIG_ENDIAN, HAVE_ENDIAN_H, and HAVE_LITTLE_ENDIAN.
2014-11-22 08:17:54 +00:00
Elliott Hughes 36de8eb4df am f6328329: am 9d3ca15f: Merge "Kill LOCAL_SOCKET_NAMESPACE."
* commit 'f6328329290d4964fba7d45ab97dd355cbe672e8':
  Kill LOCAL_SOCKET_NAMESPACE.
2014-11-22 08:04:47 +00:00
Elliott Hughes f632832929 am 9d3ca15f: Merge "Kill LOCAL_SOCKET_NAMESPACE."
* commit '9d3ca15f1c8789390b8baaa2df28fd11b14a0a9d':
  Kill LOCAL_SOCKET_NAMESPACE.
2014-11-22 08:01:19 +00:00
Elliott Hughes 619b692b9a Kill HAVE_BIG_ENDIAN, HAVE_ENDIAN_H, and HAVE_LITTLE_ENDIAN.
Change-Id: Ie596af7460ec33d70d7327e629b38d641ef48ba2
2014-11-21 23:55:26 -08:00
Elliott Hughes 80c63ddfd7 Kill LOCAL_SOCKET_NAMESPACE.
Change-Id: I40c63b8e7ae1174ac902b545555ddab65b3fef38
2014-11-21 22:54:28 -08:00
Elliott Hughes 97c9919364 am 37d75513: Merge "Kill INCLUDE_SYS_MOUNT_FOR_STATFS."
automerge: 7e601c2

* commit '7e601c28c7b53fcbe644163f9016e19400491ca9':
  Kill INCLUDE_SYS_MOUNT_FOR_STATFS.
2014-11-20 23:17:35 +00:00
Elliott Hughes 7e601c28c7 am 37d75513: Merge "Kill INCLUDE_SYS_MOUNT_FOR_STATFS."
* commit '37d75513abbada67cd830094fbd30023da12ed11':
  Kill INCLUDE_SYS_MOUNT_FOR_STATFS.
2014-11-20 23:00:34 +00:00
Elliott Hughes c9b2472b50 Kill INCLUDE_SYS_MOUNT_FOR_STATFS.
Change-Id: If3ff83c475921d72936a19317e356549d1706fab
2014-11-20 12:58:26 -08:00
Ying Wang 7763d159cb am 37ffc81d: am 79d8f41e: Merge "Fix building on modern versions of Xcode and OS X."
* commit '37ffc81d4d85b6ce5827c8ff46f5ba91be3bd9a0':
  Fix building on modern versions of Xcode and OS X.
2014-11-20 18:11:30 +00:00
Ying Wang 37ffc81d4d am 79d8f41e: Merge "Fix building on modern versions of Xcode and OS X."
* commit '79d8f41e1d5490784288e2a0737be334ef50e7f6':
  Fix building on modern versions of Xcode and OS X.
2014-11-20 17:27:36 +00:00
Ying Wang 79d8f41e1d Merge "Fix building on modern versions of Xcode and OS X." 2014-11-20 17:18:37 +00:00
Yabin Cui 2ffe892fab am a4fa3d60: am aecf9022: Merge "kill HAVE_PREAD"
* commit 'a4fa3d601f24621481daf199bd895cbe8987f272':
  kill HAVE_PREAD
2014-11-20 05:26:14 +00:00
Yabin Cui a4fa3d601f am aecf9022: Merge "kill HAVE_PREAD"
* commit 'aecf90220c094274d3155b02490f7a00ead72f4e':
  kill HAVE_PREAD
2014-11-20 05:21:52 +00:00
Yabin Cui 1acc2a1877 kill HAVE_PREAD
Bug: 18397613
Change-Id: I0061f8080709449f13dc76ce61097a2671c799ff
2014-11-19 20:48:36 -08:00
Yabin Cui c70fd904f9 am a9653012: am 9f7c5fef: Merge "kill HAVE_MADVISE"
* commit 'a9653012fba44d1634c2cf85bfd3ef8559d6a6da':
  kill HAVE_MADVISE
2014-11-19 04:36:22 +00:00
Yabin Cui a9653012fb am 9f7c5fef: Merge "kill HAVE_MADVISE"
* commit '9f7c5fef0e7c00d00c67242c2a360911b53374e0':
  kill HAVE_MADVISE
2014-11-19 04:31:49 +00:00
Yabin Cui 16ccc03746 kill HAVE_MADVISE
Bug: 18397020
Change-Id: I6b9c7d30432858131379759e738d3e04bc8d5fb5
2014-11-18 18:14:37 -08:00
Elliott Hughes ed948d0259 am e5029aa2: am 39961b92: Merge "Remove another unused definition."
* commit 'e5029aa295f9c56109c0930efdea93915af55bd9':
  Remove another unused definition.
2014-11-18 23:06:15 +00:00
Elliott Hughes e5029aa295 am 39961b92: Merge "Remove another unused definition."
* commit '39961b926e637fd29cc6a32d956553c59c65e37c':
  Remove another unused definition.
2014-11-18 22:22:32 +00:00
Elliott Hughes 354d9530eb am 66656006: am 3c0682c6: Merge "Kill unused ARCH_* defines."
* commit '6665600642c6aa8ecde845685852267bed786fe6':
  Kill unused ARCH_* defines.
2014-11-18 22:10:38 +00:00
Elliott Hughes bce40c38ce Remove another unused definition.
We have a lot of definitions around the tree, of which this is but one,
but we have no users.

Change-Id: Ic411505a0370be2b56150275fa9b8f5329241ce8
2014-11-18 14:10:27 -08:00
Elliott Hughes 6665600642 am 3c0682c6: Merge "Kill unused ARCH_* defines."
* commit '3c0682c6b52f30301a909a6f8376384a8547d376':
  Kill unused ARCH_* defines.
2014-11-18 22:02:28 +00:00
Elliott Hughes 436c73931a Kill unused ARCH_* defines.
No one's using ARCH_AARCH64 or AARCH_MIPS64 yet, and ARCH_PPC was always more
aspirational than real.

Change-Id: I07c6cbad6eb0917c4c24848a98c3bc9a3fe72db6
2014-11-18 12:57:34 -08:00
Yabin Cui 767d9fbd10 am 94a14699: am 57ed1ddf: Merge "kill HAVE_TERMIO_H"
* commit '94a146991432a632315442671c1e396fa4196a3d':
  kill HAVE_TERMIO_H
2014-11-18 20:19:51 +00:00
Yabin Cui 94a1469914 am 57ed1ddf: Merge "kill HAVE_TERMIO_H"
* commit '57ed1ddf78ecf7815a1b57137ea42893237a4756':
  kill HAVE_TERMIO_H
2014-11-18 03:46:34 +00:00
Yabin Cui a16825ff7a kill HAVE_TERMIO_H
Bug: 18398307
Change-Id: I54fc0235fbc40630f8024570b928dba115b1c39a
2014-11-17 14:49:39 -08:00
Dan Albert cf559ed073 am 7d5fe242: am a05a04cc: Merge "Refactor transform-o-to-* definitions."
* commit '7d5fe24251846ef70f423f15bf941be35750c2e8':
  Refactor transform-o-to-* definitions.
2014-11-14 19:31:56 +00:00
Dmitriy Ivanov cd0a67381d am 0cd1bbd0: am 3537692d: Merge "Switch --hash-style to gnu"
* commit '0cd1bbd04844e723fda58b63565ab7167b9522ad':
  Switch --hash-style to gnu
2014-11-14 19:18:45 +00:00
Yabin Cui b2340dea94 am 6da76118: am eddd9fb0: Merge "kill HAVE_FORKEXEC"
* commit '6da761189057c48f2eb75ecd811e8da62a292e4b':
  kill HAVE_FORKEXEC
2014-11-14 19:15:45 +00:00
Yabin Cui 78b42992d8 am b4157cd7: am d3d6c383: Merge "kill HAVE_LOCALTIME_R"
* commit 'b4157cd7c5d36601288a9e2a49659427d1bd7ff9':
  kill HAVE_LOCALTIME_R
2014-11-14 18:55:01 +00:00
Dan Albert 7d5fe24251 am a05a04cc: Merge "Refactor transform-o-to-* definitions."
* commit 'a05a04cc754a6374c2ce6406dece9bbafa0abea0':
  Refactor transform-o-to-* definitions.
2014-11-14 18:09:48 +00:00
Dan Albert a05a04cc75 Merge "Refactor transform-o-to-* definitions." 2014-11-14 18:01:21 +00:00
Dmitriy Ivanov 0cd1bbd048 am 3537692d: Merge "Switch --hash-style to gnu"
* commit '3537692df3f64f68bf202d9857ae67e19bc4eaa4':
  Switch --hash-style to gnu
2014-11-14 02:13:13 +00:00
Dmitriy Ivanov 3537692df3 Merge "Switch --hash-style to gnu" 2014-11-14 01:47:00 +00:00
Yabin Cui 1584bbe56b am faddef70: am 044568be: Merge "kill HAVE_GETHOSTBYNAME_R"
* commit 'faddef7018c815487d7608a43257075ebf4b9859':
  kill HAVE_GETHOSTBYNAME_R
2014-11-14 00:47:29 +00:00
Elliott Hughes b153c3a190 am cc12050f: am 6c706222: Merge "Remove HAVE_SHORT_ENUMS."
* commit 'cc12050f3499313ce66f82d09be2920e42d1c062':
  Remove HAVE_SHORT_ENUMS.
2014-11-14 00:42:15 +00:00
Dan Albert e088c0d281 Refactor transform-o-to-* definitions.
Previously, there was one generic definition for each of the
transform-o-to-* functions in definitions.mk, and one target specific
one in each combo/TARGET_*.mk. The generic one was entirely unused,
and the target specific ones were all nearly identical.

Changing anything in these functions was tedious at best, and often
error prone. The differences between any 32-bit arch and its 64-bit
equivalent were restricted to the name of the linker, and the ARM and
MIPS definitions were identical. The few differences between ARM and
x86 looked to be compatibility for an old (ca. 2008) toolchain issue
with --gc-sections, and a bug (LDFLAGS coming first rather than
later).

To simplify things, I've moved the definitions for these out of
combo/TARGET_*.mk and back into definitions.mk. The differences
between ARM and x86 have been scrapped. Anything that really does
still need to be target specific can be handled as I have the linker:
add a TARGET_FOO variable to the given target and then add it to the
generic definition.

Change-Id: I54dc1bffc32ac39f27f0b87247dd6a6dbaf0b162
2014-11-13 16:21:46 -08:00
Yabin Cui 6da7611890 am eddd9fb0: Merge "kill HAVE_FORKEXEC"
* commit 'eddd9fb03faa607c77feed1cea8f435df7f64140':
  kill HAVE_FORKEXEC
2014-11-13 23:35:27 +00:00
Yabin Cui eddd9fb03f Merge "kill HAVE_FORKEXEC" 2014-11-13 23:22:46 +00:00
Dmitriy Ivanov 179685c1c3 Switch --hash-style to gnu
Bug: 18373609
Change-Id: Ia2c965fb86295858d9a97db2ec8d54d99e3d431f
2014-11-13 14:51:10 -08:00
Yabin Cui b4157cd7c5 am d3d6c383: Merge "kill HAVE_LOCALTIME_R"
* commit 'd3d6c3830f2c1b25f97a8e0001edfda4583a309a':
  kill HAVE_LOCALTIME_R
2014-11-13 20:09:30 +00:00
Yabin Cui e9ae59b47f kill HAVE_LOCALTIME_R
Bug: 18361583
Change-Id: If76334a6e18893b65d9b526271620a460a75bf22
2014-11-13 11:51:37 -08:00
Yabin Cui faddef7018 am 044568be: Merge "kill HAVE_GETHOSTBYNAME_R"
* commit '044568be18bb67a254398d65c15fe5e9caeb9d02':
  kill HAVE_GETHOSTBYNAME_R
2014-11-13 19:21:48 +00:00
Yabin Cui 19230103ee kill HAVE_GETHOSTBYNAME_R
Bug: 18363225
Change-Id: Ib34c094cd21b2221178755acdd9475a5bc2bf2c0
2014-11-13 10:25:56 -08:00
Elliott Hughes cc12050f34 am 6c706222: Merge "Remove HAVE_SHORT_ENUMS."
* commit '6c7062221b7582c5d41acdb7a1d865ca629707ed':
  Remove HAVE_SHORT_ENUMS.
2014-11-13 05:27:44 +00:00
Elliott Hughes 0e3a0fcb95 Remove HAVE_SHORT_ENUMS.
Change-Id: Ia0e8a52cd8d7655508754ec0a6482f2dd055a68e
2014-11-12 21:07:07 -08:00
Yabin Cui f552333888 am eb793be2: am 957037dc: Merge "kill HAVE_POSIX_FILEMAP"
* commit 'eb793be2c7d93265f2d3490835f49be361eb4513':
  kill HAVE_POSIX_FILEMAP
2014-11-13 02:16:43 +00:00
Yabin Cui e9680c2212 kill HAVE_FORKEXEC
Bug: 18317407
Change-Id: Idaff8a161305325dbb0a9e00764afe98b66e3312
2014-11-12 17:15:30 -08:00
Yabin Cui eb793be2c7 am 957037dc: Merge "kill HAVE_POSIX_FILEMAP"
* commit '957037dc40c7be54e7ffa6f56cca48e9db31dc7b':
  kill HAVE_POSIX_FILEMAP
2014-11-13 00:15:25 +00:00
Yabin Cui 957037dc40 Merge "kill HAVE_POSIX_FILEMAP" 2014-11-13 00:02:25 +00:00
Chih-Hung Hsieh abb7939af6 am 7d8b4df9: am aea83e0d: Merge "Upgrade host tool to x86_64-linux-glibc2.15-4.8"
* commit '7d8b4df9c4502330f79cb6ad4c6f6bf33010be83':
  Upgrade host tool to x86_64-linux-glibc2.15-4.8
2014-11-12 23:26:39 +00:00
Chih-Hung Hsieh 7d8b4df9c4 am aea83e0d: Merge "Upgrade host tool to x86_64-linux-glibc2.15-4.8"
* commit 'aea83e0dca9a70e53677c22c72034155311287ab':
  Upgrade host tool to x86_64-linux-glibc2.15-4.8
2014-11-12 23:23:20 +00:00
Chih-Hung Hsieh aea83e0dca Merge "Upgrade host tool to x86_64-linux-glibc2.15-4.8" 2014-11-12 23:13:36 +00:00
Yabin Cui 3b9d876f93 kill HAVE_POSIX_FILEMAP
Bug: 18315579
Change-Id: I7a20ad40dc0ec121f0e84202831e6019005104e7
2014-11-11 10:34:37 -08:00
Elliott Hughes d59a919e01 am 20228b6e: am b3893943: Merge "Remove unused variables from select.mk."
* commit '20228b6e4a499105816d7386c9da2820d6200ccf':
  Remove unused variables from select.mk.
2014-11-11 18:11:58 +00:00
Elliott Hughes 20228b6e4a am b3893943: Merge "Remove unused variables from select.mk."
* commit 'b38939436199c65299809f6adb50db6d3b44f7b0':
  Remove unused variables from select.mk.
2014-11-11 18:07:44 +00:00
Elliott Hughes b389394361 Merge "Remove unused variables from select.mk." 2014-11-11 17:59:17 +00:00
Yabin Cui b082f088e2 am 899b1877: am 4dc8e856: Merge "remove __linux__ in AndroidConfig.h"
* commit '899b18775b24379e8b4555f4327f6b5c07306608':
  remove __linux__ in AndroidConfig.h
2014-11-11 17:45:15 +00:00
Yabin Cui 899b18775b am 4dc8e856: Merge "remove __linux__ in AndroidConfig.h"
* commit '4dc8e8561fa807fb6417f1405f4364a1bf6d4060':
  remove __linux__ in AndroidConfig.h
2014-11-11 17:40:51 +00:00
Elliott Hughes a3850a976c Remove unused variables from select.mk.
I've no idea what these were meant to be for, but they're unused.

Change-Id: I978568bd83f91eb952c35a3a481bd517312062f0
2014-11-10 20:47:49 -08:00
Yabin Cui 70af4d3796 remove __linux__ in AndroidConfig.h
Bug: 18316409
Change-Id: If6644074ec86efc2f9f91a98bf82fe26be6f66d3
2014-11-10 19:14:56 -08:00
Yabin Cui c509b393eb am 1f4d40be: am 86596342: Merge "kill OS_CASE_SENSITIVE"
* commit '1f4d40be5d9ccaed6e60b2f511b22f8f31a75ef1':
  kill OS_CASE_SENSITIVE
2014-11-11 02:26:03 +00:00
Yabin Cui 1f4d40be5d am 86596342: Merge "kill OS_CASE_SENSITIVE"
* commit '8659634285d29edbbb364277f5950f41e26a15d4':
  kill OS_CASE_SENSITIVE
2014-11-11 02:15:34 +00:00
Yabin Cui 8659634285 Merge "kill OS_CASE_SENSITIVE" 2014-11-11 01:08:46 +00:00
Yabin Cui 6c812d024b am 2c1eb2fe: am d8e38e1b: Merge "kill HAVE_INOTIFY"
* commit '2c1eb2fe213ec9a9c66fd75b6224a4396c919e59':
  kill HAVE_INOTIFY
2014-11-11 00:24:41 +00:00
Yabin Cui da4eeab26b am c0ce08cc: am 3dbac214: Merge "kill HAVE_STAT_ST_MTIM"
* commit 'c0ce08cc79d502c9cfd7fc2ca37a017b63552c68':
  kill HAVE_STAT_ST_MTIM
2014-11-11 00:21:04 +00:00
Yabin Cui 2c1eb2fe21 am d8e38e1b: Merge "kill HAVE_INOTIFY"
* commit 'd8e38e1b1ad62a2c2f981ce0bafd40f0cee5dcef':
  kill HAVE_INOTIFY
2014-11-11 00:19:22 +00:00
Elliott Hughes d9dfdd0ce1 am 499ed6c4: am 83da486c: Merge "Remove HAVE_DIRENT_D_TYPE."
* commit '499ed6c496022acf5687c01bf2faf8420c6d3760':
  Remove HAVE_DIRENT_D_TYPE.
2014-11-11 00:16:20 +00:00
Yabin Cui c0ce08cc79 am 3dbac214: Merge "kill HAVE_STAT_ST_MTIM"
* commit '3dbac214c22a44042f3e12da37f0fada341123da':
  kill HAVE_STAT_ST_MTIM
2014-11-11 00:14:25 +00:00
Yabin Cui d8e38e1b1a Merge "kill HAVE_INOTIFY" 2014-11-11 00:11:04 +00:00
Elliott Hughes 499ed6c496 am 83da486c: Merge "Remove HAVE_DIRENT_D_TYPE."
* commit '83da486c37fd90e9b02cbc768fedfb2ca89b96f6':
  Remove HAVE_DIRENT_D_TYPE.
2014-11-11 00:07:17 +00:00
Yabin Cui 3dbac214c2 Merge "kill HAVE_STAT_ST_MTIM" 2014-11-11 00:04:35 +00:00
Yabin Cui e8e5e99b76 kill HAVE_INOTIFY
Bug: 18314841
Change-Id: Idfcbeb62a57f72a47eb732f085fbd1ab27302f85
2014-11-10 15:44:27 -08:00
Elliott Hughes 07793e1880 Remove HAVE_DIRENT_D_TYPE.
Only Windows doesn't have it, and we don't build atree for Windows.

Change-Id: Ib6e96be73340c36cdfcb3654ed540f690bf7550b
2014-11-10 15:33:39 -08:00
Yabin Cui 4120e835fb kill HAVE_STAT_ST_MTIM
Bug: 18300671
Change-Id: I92b5691924b995d9c883fc0f777c566ac4c35d1d
2014-11-10 15:27:49 -08:00
Yabin Cui 772034bc95 kill OS_CASE_SENSITIVE
Bug: 18314594
Change-Id: I5dc5072d43299c0e5d96ce9640e8405cbb633506
2014-11-10 15:03:11 -08:00
Yabin Cui c5ea225339 am ca28c637: am 1036850f: Merge "kill HAVE_SCHED_SETSCHEDULER"
* commit 'ca28c6379c54e1abaebf4173d4d90b6501c09ae1':
  kill HAVE_SCHED_SETSCHEDULER
2014-11-10 22:35:07 +00:00
Yabin Cui ca28c6379c am 1036850f: Merge "kill HAVE_SCHED_SETSCHEDULER"
* commit '1036850f8f8607f4d2898fcc73abb1fff23570d6':
  kill HAVE_SCHED_SETSCHEDULER
2014-11-10 22:30:42 +00:00
Yabin Cui 35e8e323bc kill HAVE_SCHED_SETSCHEDULER
Bug: 18300670
Change-Id: I66fb3d0070751ffaa2bc6b53274b22d967350312
2014-11-10 12:20:15 -08:00
Al Sutton 1199f7388c Fix building on modern versions of Xcode and OS X.
Add the build options to support the most recent versions of XCode and
add 10.9 to the list of OS X SDKs which the AOSP code can be built with.

Based on patch from https://groups.google.com/d/msg/android-building/kePgJmYBUdM/0C_d1OZflvcJ

Change-Id: I97ffe45d3c54a095952a4ac6accb938623b8fa1e
Signed-off-by: Al Sutton <al@funkyandroid.com>
2014-11-10 14:42:30 +00:00
Elliott Hughes 2ddbd98d6f am 65f5175f: am 652ff716: Merge "Remove more namespace pollution (HAVE_TM_GMTOFF)."
* commit '65f5175f06635d32f16f4057d2df036fa65723a5':
  Remove more namespace pollution (HAVE_TM_GMTOFF).
2014-11-08 23:42:30 +00:00
Elliott Hughes 65f5175f06 am 652ff716: Merge "Remove more namespace pollution (HAVE_TM_GMTOFF)."
* commit '652ff716b819b694be76e63f059dca50e7febb8d':
  Remove more namespace pollution (HAVE_TM_GMTOFF).
2014-11-08 23:38:56 +00:00
Elliott Hughes b7cca1d4c0 am 954729cc: am 3581753f: Merge "Remove more namespace pollution (HAVE_FUNOPEN)."
* commit '954729cc17da13a3ca887e51a5de4d9db8f11d16':
  Remove more namespace pollution (HAVE_FUNOPEN).
2014-11-08 22:22:13 +00:00
Elliott Hughes 89ac6e4c6f Remove more namespace pollution (HAVE_TM_GMTOFF).
Change-Id: I9c2d7ffb66127c1b73076f8674ecf29aada0fa38
2014-11-08 14:21:12 -08:00
Elliott Hughes 954729cc17 am 3581753f: Merge "Remove more namespace pollution (HAVE_FUNOPEN)."
* commit '3581753ffae63e32b2b2e2be1e447cb2e83dec5e':
  Remove more namespace pollution (HAVE_FUNOPEN).
2014-11-08 22:17:44 +00:00
Elliott Hughes e5e26e2196 Remove more namespace pollution (HAVE_FUNOPEN).
Change-Id: I25a64ce39cd7bdd99aa6412413554b96d3cb113e
2014-11-08 12:39:28 -08:00
Elliott Hughes 23e9b766d6 am 011710ba: am 9e95a0f4: Merge "Remove more namespace pollution."
* commit '011710ba482e9ed9c45d95947b03d0d04001b995':
  Remove more namespace pollution.
2014-11-08 19:06:58 +00:00
Elliott Hughes 011710ba48 am 9e95a0f4: Merge "Remove more namespace pollution."
* commit '9e95a0f4d0172b1669d404c3d605e689234f4dcf':
  Remove more namespace pollution.
2014-11-08 19:03:04 +00:00
Elliott Hughes 9e95a0f4d0 Merge "Remove more namespace pollution." 2014-11-08 18:55:53 +00:00
Elliott Hughes b63a7c0dd9 Remove more namespace pollution.
Nothing in our tree is using this HAVE_BACKTRACE definition, but we do have
a hack in external/llvm to work around the namespace pollution.

Change-Id: Ib51d8bbd598dd2961a028216bf0b489dc7ad4880
2014-11-08 10:14:19 -08:00
Ying Wang f3fb63577b am 2874d0ba: am 87bde62d: Merge "Fix error of PRIVATE_LDLIBS introduced by de36cd72."
* commit '2874d0ba8c71a464629fc148908d8c59854212df':
  Fix error of PRIVATE_LDLIBS introduced by de36cd72.
2014-11-07 18:41:41 +00:00
Ying Wang 2874d0ba8c am 87bde62d: Merge "Fix error of PRIVATE_LDLIBS introduced by de36cd72."
* commit '87bde62df4e5bb76f058394cd7fff8eaaf7e0d0c':
  Fix error of PRIVATE_LDLIBS introduced by de36cd72.
2014-11-07 18:37:42 +00:00
Ying Wang 2ad87ebf26 Fix error of PRIVATE_LDLIBS introduced by de36cd72.
Change-Id: I85644899c8527e061c331eecc707ca1bb0e3fac4
2014-11-07 10:05:03 -08:00
Chih-Hung Hsieh 3be11c6e61 Upgrade host tool to x86_64-linux-glibc2.15-4.8
BUG: 17915392
Change-Id: I301b8ae70fabedfafea5ae0094bbd46c208f4622
2014-11-06 11:47:08 -08:00
Chih-hung Hsieh a5d7970715 am 18340084: am 51e55c1d: Revert "Continue to use march=i686 before fix of g++ ICE."
* commit '18340084172b98e44e44d994a2c326b2157c6c49':
  Revert "Continue to use march=i686 before fix of g++ ICE."
2014-10-30 18:38:51 +00:00
Chih-hung Hsieh 1834008417 am 51e55c1d: Revert "Continue to use march=i686 before fix of g++ ICE."
* commit '51e55c1d22576de38ca4b65deaded7b3a1af8387':
  Revert "Continue to use march=i686 before fix of g++ ICE."
2014-10-30 16:08:20 +00:00
Chih-hung Hsieh 51e55c1d22 Revert "Continue to use march=i686 before fix of g++ ICE."
This reverts commit f70f009ca8.

Change-Id: I3e1b18cf342e747c8a8405f1fc2513e5ebafc4b6
2014-10-30 01:55:45 +00:00
Chih-Hung Hsieh 23103f4fa9 am f70f009c: Continue to use march=i686 before fix of g++ ICE.
* commit 'f70f009ca8b4779cc3a5f44e7d92b1c297e16c8b':
  Continue to use march=i686 before fix of g++ ICE.
2014-10-29 22:07:26 +00:00
Chih-Hung Hsieh f70f009ca8 Continue to use march=i686 before fix of g++ ICE.
BUG: 18174291
BUG: 18171557
Change-Id: Ica9e420e3cc1904a4298e2ab1c6201a254cbf6d1
2014-10-29 14:46:15 -07:00
Chih-Hung Hsieh be971fc19b Continue to use march=i686 before fix of g++ ICE.
BUG: 18174291
Change-Id: Idb76afd715b7b7049b9e47f92f2658f6923c8448
2014-10-29 13:57:33 -07:00
Ian Rogers 5f60710fc9 am c156f68c: am 508e27bf: am 93cb8c7d: Merge "Specify -mcpu=krait for clang."
* commit 'c156f68cffdbd4bfd0c064d99e9968c466bb7309':
  Specify -mcpu=krait for clang.
2014-10-29 19:56:48 +00:00
Ian Rogers c156f68cff am 508e27bf: am 93cb8c7d: Merge "Specify -mcpu=krait for clang."
* commit '508e27bfd7f470a945978c2b24403b0827dcde18':
  Specify -mcpu=krait for clang.
2014-10-29 19:43:16 +00:00
Chih-Hung Hsieh 66cca24a2c am 3b5261ac: am 6555580d: am ea503d21: Merge "Raise x86 arch requirement to prescott."
* commit '3b5261ac75f7d8d912e92fcdfdd76534a9bbe41b':
  Raise x86 arch requirement to prescott.
2014-10-29 17:32:09 +00:00
Neil Fuller c6adac18fe am c5c60e2c: am f7ce9508: am 4dfda1fa: Merge "Remove Java 6 build support"
* commit 'c5c60e2c2af542294d38dc0e2284115a62dbb310':
  Remove Java 6 build support
2014-10-29 17:32:08 +00:00
Chih-Hung Hsieh 3b5261ac75 am 6555580d: am ea503d21: Merge "Raise x86 arch requirement to prescott."
* commit '6555580d35ac570005923866fb4035265a0b5b98':
  Raise x86 arch requirement to prescott.
2014-10-29 17:11:49 +00:00
Neil Fuller c5c60e2c2a am f7ce9508: am 4dfda1fa: Merge "Remove Java 6 build support"
* commit 'f7ce9508dec85c67d3a2ebe84db073a01355eba5':
  Remove Java 6 build support
2014-10-29 17:11:24 +00:00
Ian Rogers 508e27bfd7 am 93cb8c7d: Merge "Specify -mcpu=krait for clang."
* commit '93cb8c7d951b89eeb1e3cee2433bffecc13fdb11':
  Specify -mcpu=krait for clang.
2014-10-29 12:32:37 +00:00
Ian Rogers e270873407 Specify -mcpu=krait for clang.
Change-Id: I64682cddf57246341c1727ca16c56f7ce0c6fd0a
2014-10-28 15:50:02 -07:00
Ying Wang f122cb8151 Merge "Support "LOCAL_FDO_SUPPORT := always"." 2014-10-28 22:47:30 +00:00