Commit graph

442 commits

Author SHA1 Message Date
Elliott Hughes
1e398e0281 am 9128d725: am 46288040: Merge "Switch MIPS over to uapi-only."
* commit '9128d7253d0684be3a2808c21f8b97c6f76f84d0':
  Switch MIPS over to uapi-only.
2013-11-26 08:42:22 -08:00
Elliott Hughes
b88bdebcb9 Switch MIPS over to uapi-only.
Bug: 11559337
Change-Id: I04b93d0d681ddf75573cdeca2d25ffa44862a35f
2013-11-25 14:01:10 -08:00
Elliott Hughes
b5fdb3a947 am 3b54d5a5: am a5b55c27: Merge "Add a "reverse AUX hack" for ARM."
* commit '3b54d5a5fc492de5b28d905d0be36be66acec791':
  Add a "reverse AUX hack" for ARM.
2013-11-25 13:50:26 -08:00
Elliott Hughes
9696acae02 Add a "reverse AUX hack" for ARM.
MIPS and x86 are almost completely switched over to uapi-only. ARM is still
currently old-only. A cleanup of the uapi headers over the weekend means
that the uapi-only <linux/kexec.h> is now in the right place, which will break
the ARM build unless the ARM build also looks in the uapi headers if it can't
find an old header.

Change-Id: Ie7a53ef2122b43cdef64b71d7b36a8381992a461
2013-11-25 12:06:25 -08:00
The Android Open Source Project
b9041a45b1 Merge commit 'c73341006286c391ae4d268a77f5e008045d5308' into HEAD
Change-Id: I4bf7d32d65e19dfa1f0533fdd3b2295c50b13005
2013-11-22 11:06:11 -08:00
Elliott Hughes
dbecf2bbe9 am e0daed20: am a59b8545: am e296f2c3: Merge "Switch mips to the uapi kernel headers."
* commit 'e0daed20a6dfbd767ece790a30f68e602a0ec1ad':
  Switch mips to the uapi kernel headers.
2013-11-21 17:12:13 -08:00
Elliott Hughes
e0daed20a6 am a59b8545: am e296f2c3: Merge "Switch mips to the uapi kernel headers."
* commit 'a59b8545cf1aa013cf87b9946e738e0add1f4536':
  Switch mips to the uapi kernel headers.
2013-11-21 17:07:48 -08:00
Elliott Hughes
3e416594b0 am a4a1061f: am bd36506e: am e57c8446: Merge "Switch x86 to uapi headers."
* commit 'a4a1061fbf5e59319510528a7eda77fe8f6fbd09':
  Switch x86 to uapi headers.
2013-11-21 10:15:32 -08:00
Elliott Hughes
a4a1061fbf am bd36506e: am e57c8446: Merge "Switch x86 to uapi headers."
* commit 'bd36506ee4ece41b8a32ac5b078e4538af4bc02a':
  Switch x86 to uapi headers.
2013-11-21 10:12:26 -08:00
Ying Wang
f817876b99 am 1b4252cd: am 0f78b47b: Merge "Switch AOSP X86/MIPS compiler to gcc4.8"
* commit '1b4252cd0312695827529f2a8470b68e5a5c05e2':
  Switch AOSP X86/MIPS compiler to gcc4.8
2013-11-21 08:09:45 -08:00
Elliott Hughes
66ef53d83b Switch mips to the uapi kernel headers.
Bug: 11559337
Change-Id: Ic37b284398c049011f98651de84cef760566ebde
2013-11-20 12:55:09 -08:00
Elliott Hughes
2d9dc89962 Switch x86 to uapi headers.
We still need the 'aux' hack, but this is a good step forward.

Bug: 11559337
Change-Id: Ib3d79317293e1cd3d2620c38e6b472a5994ee554
2013-11-19 16:55:00 -08:00
Andrew Hsieh
8baaca5f97 Switch AOSP X86/MIPS compiler to gcc4.8
Change-Id: Ifeee2c7d696c8a8e96e52c6ca51434260bdae5f8
2013-11-15 10:25:58 +08:00
Ben Cheng
9a1f26e425 am 2e6753a0: am de9b1835: Merge "Switch AOSP ARM build to use GCC 4.8."
* commit '2e6753a058a766d7c0607437224470c14574a94e':
  Switch AOSP ARM build to use GCC 4.8.
2013-11-14 14:14:22 -08:00
Ben Cheng
818d7d04f5 Switch AOSP ARM build to use GCC 4.8.
Change-Id: I65051773153ad5bc2c093cd1313acd212eb427b1
2013-11-14 14:05:29 -08:00
Ying Wang
a6b97cf42b am e4ab2f96: am 18b86b97: am 77f27f1d: Merge "Cleanup x86 and x86_64 flags"
* commit 'e4ab2f96082d1e3fa7bb8eab1f495a5d49f77bde':
  Cleanup x86 and x86_64 flags
2013-11-13 22:18:18 -08:00
Ying Wang
e4ab2f9608 am 18b86b97: am 77f27f1d: Merge "Cleanup x86 and x86_64 flags"
* commit '18b86b97b83e7d254125723363f170bc6f8d391e':
  Cleanup x86 and x86_64 flags
2013-11-13 21:02:17 -08:00
Ying Wang
77f27f1dbe Merge "Cleanup x86 and x86_64 flags" 2013-11-14 04:54:55 +00:00
Elliott Hughes
06659afcdf am 693a26ba: am f8c5a6ae: am bd10e2c0: Merge "Switch x86_64 over to uapi headers."
* commit '693a26ba5599b84a3ae2a4b309e22be8a61ba3b0':
  Switch x86_64 over to uapi headers.
2013-11-08 14:56:24 -08:00
Elliott Hughes
693a26ba55 am f8c5a6ae: am bd10e2c0: Merge "Switch x86_64 over to uapi headers."
* commit 'f8c5a6ae006cfa8a6e30b850cbf930a043e5e842':
  Switch x86_64 over to uapi headers.
2013-11-08 14:54:12 -08:00
Elliott Hughes
bd10e2c019 Merge "Switch x86_64 over to uapi headers." 2013-11-08 22:50:55 +00:00
Elliott Hughes
600b973722 Switch x86_64 over to uapi headers.
Bug: 11559337
Change-Id: Ia0a8dff9194375172d1c89daae917d2d8952ace7
2013-11-08 14:47:10 -08:00
Raphael Moll
6f1f97d970 am e9966aab: am 79a9a324: am 3342bf0f: Merge "Windows SDK: define BEGIN_DECLS/END_DECLS."
* commit 'e9966aab80e74d0a06c4ab6734a5996d8cb69604':
  Windows SDK: define BEGIN_DECLS/END_DECLS.
2013-11-08 13:42:20 -08:00
Raphael Moll
e9966aab80 am 79a9a324: am 3342bf0f: Merge "Windows SDK: define BEGIN_DECLS/END_DECLS."
* commit '79a9a3243ae701e7bc40b85b4a085ad91821d921':
  Windows SDK: define BEGIN_DECLS/END_DECLS.
2013-11-08 13:38:54 -08:00
Raphael Moll
b9c20aa8ba Windows SDK: define BEGIN_DECLS/END_DECLS.
These macros are not provided by MingW by default.

Change-Id: I623fda6c8e25e26573543c9368ebad47abc7f5c3
2013-11-08 11:40:41 -08:00
Narayan Kamath
c586c580ba Merge "Add experimental flag to support OpenJDK builds." 2013-11-07 15:29:09 +00:00
Ben Cheng
d63743f320 am 0ad7a371: am d16a4913: am 48c4bac0: Merge "AArch64: Enable AArch64 support"
* commit '0ad7a3715036e70e303eb8c2e3d480b134e8a870':
  AArch64: Enable AArch64 support
2013-10-30 10:36:07 -07:00
Ben Cheng
0ad7a37150 am d16a4913: am 48c4bac0: Merge "AArch64: Enable AArch64 support"
* commit 'd16a49134914eec45f395c867f9e8e282009fffe':
  AArch64: Enable AArch64 support
2013-10-30 10:33:24 -07:00
Ben Cheng
74a8faf233 AArch64: Enable AArch64 support
This patch completes the support for AArch64. It adds the last few
tweaks that will enable a AArch64 build of bionic.

Please note that though AArch64 uses the new kernel infrastructure,
where the userspace exported headers live in uapi folders, we still
need to include "kernel/common" in the include search path
(take a look at external/kernel-headers/uapi/asm-generic/signal-defs.h).

Also remove the relro linker flags for now as they crash the foundation
model.

Change-Id: Ie2fa8c1056c84dc15fec4469f2d65b8d0c5e712b
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
2013-10-29 16:15:40 -07:00
Ying Wang
d1dbe7f5a2 Add experimental flag to support OpenJDK builds.
bug: 8992787

Change-Id: Ice0fc7dea1d855914fdab9a01b1ac9c722031288
2013-10-28 19:09:28 +00:00
Ben Cheng
2972ab341f am 281778a3: am 72e9dab0: am 7b954f4c: Merge "Add the search path for libgcc.a and crt*.o."
* commit '281778a373f5034195bda7c652e353770dae8242':
  Add the search path for libgcc.a and crt*.o.
2013-10-28 10:57:40 -07:00
Ben Cheng
281778a373 am 72e9dab0: am 7b954f4c: Merge "Add the search path for libgcc.a and crt*.o."
* commit '72e9dab0127e4200d5770d0fa7944fc0db29632b':
  Add the search path for libgcc.a and crt*.o.
2013-10-28 10:52:52 -07:00
Ben Cheng
71c36eb451 Add the search path for libgcc.a and crt*.o.
Change-Id: I727f5630f7667b98770d779d43be6a7901471c55
2013-10-28 10:33:55 -07:00
Ben Cheng
30e5c468b9 am 4f2abfff: am 24834ffd: am 4f92abad: Merge "Two quick fixes: fix kernel header location and nostdlib."
* commit '4f2abfff484db165335fc3922ca692d846d93177':
  Two quick fixes: fix kernel header location and nostdlib.
2013-10-25 18:16:25 -07:00
Ben Cheng
4f2abfff48 am 24834ffd: am 4f92abad: Merge "Two quick fixes: fix kernel header location and nostdlib."
* commit '24834ffddd64f80c93089033c214f0996c2f18c6':
  Two quick fixes: fix kernel header location and nostdlib.
2013-10-25 18:13:14 -07:00
Ben Cheng
4f92abad95 Merge "Two quick fixes: fix kernel header location and nostdlib." 2013-10-25 16:36:40 +00:00
Ben Cheng
e61dea99c3 Two quick fixes: fix kernel header location and nostdlib.
Change-Id: Idf2d101e16e895ca75a74a095091e3543b2b482b
2013-10-25 09:34:29 -07:00
Nick Kralevich
f9d986b549 am 3ee5710d: am 0f798297: am 8c4efac5: Merge "x86: turn on -Wl,--fatal-warnings"
* commit '3ee5710d69c9141ff72de5b67fc33cd7825346f2':
  x86: turn on -Wl,--fatal-warnings
2013-10-24 14:42:26 -07:00
Nick Kralevich
3ee5710d69 am 0f798297: am 8c4efac5: Merge "x86: turn on -Wl,--fatal-warnings"
* commit '0f798297636ea07f1a87412776d48a57888ea8fe':
  x86: turn on -Wl,--fatal-warnings
2013-10-24 14:40:00 -07:00
Nick Kralevich
46ed4aa58b x86: turn on -Wl,--fatal-warnings
In 4f2f16da14, we added
-Wl,--warn-shared-textrel to TARGET_GLOBAL_LDFLAGS. This generated
a warning whenever we created a shared library with a text
relocation.  At the time, we wrote:

=====
Emit a warning when the static linker detects a shared library
has text relocations. Text relocations make it harder to
share pages across processes, and make it harder to use
certain memory protection features in, for example, SELinux.

This warning will turn into an error in a future change
(via --fatal-warnings)
=====

All code which uses text relocations has either been fixed, or
we've temporarily worked around the issue so the code can still
compile.

Enable --fatal-warnings.

Bug: 11353056
Change-Id: I2f2c65352166ef0a96f54858de1556f0290fe306
2013-10-24 13:36:08 -07:00
Ben Cheng
00b873a929 am 8f55b16f: am ad6996a6: am 34cf868b: Merge "Point to the uapi header location for aarch64."
* commit '8f55b16fb6a506db36cd602343888ce1807e6e72':
  Point to the uapi header location for aarch64.
2013-10-18 12:16:41 -07:00
Ben Cheng
8f55b16fb6 am ad6996a6: am 34cf868b: Merge "Point to the uapi header location for aarch64."
* commit 'ad6996a611c0af563edcb352828d3bd55cf85585':
  Point to the uapi header location for aarch64.
2013-10-18 12:11:34 -07:00
Ben Cheng
5797382b53 Point to the uapi header location for aarch64.
Change-Id: Ic42f5520eb0711c35aaf7106939ef83e449bda74
2013-10-16 12:28:38 -07:00
Pavel Chupin
f0a4855574 Cleanup x86 and x86_64 flags
-mandroid, -D__ANDROID__ is on by the toolchain;
-msse3 moved to llvm_config, it seems it's required only there;
__cxa_atexit is provided by libc now;
USE_SSE2 should not be used anywhere, it's always true;
remove -mstackreallign and -mfpmath=sse as useless for x86_64;

Change-Id: Ib7739f6522c375c09de10d22616c48a493841c4c
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2013-10-15 18:15:57 +04:00
Ian Rogers
d08dade88d am b07a5f82: am 09c6d68b: am 816af5fc: Merge "Specify -mcpu=cortex-a15 for krait CPU variants."
* commit 'b07a5f825795b45b01de6bb90f4c43ef1aae506a':
  Specify -mcpu=cortex-a15 for krait CPU variants.
2013-10-14 10:49:31 -07:00
Ian Rogers
b07a5f8257 am 09c6d68b: am 816af5fc: Merge "Specify -mcpu=cortex-a15 for krait CPU variants."
* commit '09c6d68b8879164f600bbe084a62cfbc4ab10850':
  Specify -mcpu=cortex-a15 for krait CPU variants.
2013-10-11 17:35:09 -07:00
Ian Rogers
d195c6d14e Specify -mcpu=cortex-a15 for krait CPU variants.
Bug: 11178216

Change-Id: I9922e4cd5ba27e3857798aae5c84299e26e054ea
2013-10-11 16:24:32 -07:00
Ben Cheng
3ac8e28c99 am b8eaf684: am 0f324e3e: am a7662295: Merge "Explictily specify the dynamic linker name."
* commit 'b8eaf684cb50cd73438b87fc5bfb33a08c823f72':
  Explictily specify the dynamic linker name.
2013-10-08 17:44:45 -07:00
Andrew Hsieh
6629f71bd3 Merge "Switch default GCC to 4.8 for X86/MIPS" 2013-10-08 23:51:15 +00:00
Ben Cheng
b8eaf684cb am 0f324e3e: am a7662295: Merge "Explictily specify the dynamic linker name."
* commit '0f324e3e35f1d5d55c7c06ac6b76a6ce7726e015':
  Explictily specify the dynamic linker name.
2013-10-08 14:47:34 -07:00