| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
So we can have the same set of module names in different host arch
/ toolchain version combinations.
Change-Id: Iec66584bf3de92aedd71a59f9dbe74b6ed025b2e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the result of a recent conversation around the x86 ABI
and its relationship with how we build platform images. Briefly:
- We want to use feature-based macros like ARCH_X86_HAVE_$FEATURE
instead of relying on explicit compiler macros like -DUSE_$FEATURE
- We want to allow for other x86-based arch variants, e.g. if
someone wants to build Android for a CPU that doesn't support
the NDK x86 ABI. However, we need to ensure these are not
tagged compatible by mistake (see check at the end of TARGET_linux-x86.mk)
- There are several flags which use is dubious now that we have
a dedicated toolchain to build all the x86 stuff. Comment them
as 'to be considered for removal'. We'll do the proper checks
later.
Change-Id: I7768d7c34d73e274cbf4c09ae831b55280d6bb58
|
|\
| |
| |
| |
| |
| |
| | |
with the NDK ABI
* commit '381581613aab988acc6f9d5b459fd4f533d8c2a5':
x86: The default ATOM BSP flags need to be in sync with the NDK ABI
|
| |
| |
| |
| |
| | |
Change-Id: Ic741e1795c655ace1e33ae6708219f2708358090
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Compile all x86 programs on Android with -fPIE and -pie. This enables
PIE (Position Independent Executables), which helps protect Android
applications from exploitation due to memory management bugs.
Note 1: PIE *static* executables are not supported at this time and
require additional linker changes.
Note 2: This change compliments 026a85b129e4540a4d8d40aace47aa0c69f609da,
which was the exact same change, except for ARM.
Testing: Rebuilt the tree completely from scratch, and verified
that the system boots and basic functionality works in the emulator.
Change-Id: I990064c37da3d857e663b27f31fee05f689a2824
|
|\
| |
| |
| |
| | |
* commit 'a1b603a556e338d4899a62ea37810aff81ab7fa1':
x86: remove obsolete comments
|
| |\
| | |
| | |
| | |
| | | |
* commit '4b3987498eb15dc654fe572aadf53396aac36479':
x86: remove obsolete comments
|
| | |
| | |
| | |
| | | |
Change-Id: Ifb12892c17a50f85c7700d6413ea295a4dad7047
|
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 5010576
Change-Id: Ie814f4c8d3aa1e7cc7f5735822ab25542f36cf62
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is used by debug tools to find symbols for the stripped binary.
Adds ~70 bytes to each DSO, ~25000 bytes total, which is about 0.01% of the
system image.
This change only affects -eng and -userdebug builds, and does not affect -user.
Change-Id: I0c92a9e09fbc97184dea66813923568cbcc2a3fe
|
| | |
| | |
| | |
| | | |
This reverts commit e397dcccbb1bb2ed52b4d6febaee8fb900154b3e.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '0a2d335e99bae3c257c0e26fe180d00de04bebaa':
x86: Enable -fstack-protector
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit 'c1705c9ad8da4d6c2d267e27afd6e16aa7b431b6':
x86: Enable -fstack-protector
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I1fe10159b7a29452ecfc6ba328164948cf9950d6
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'e4778e6ab82a40475081482f26759985deeb7f21':
Clean up of X86 build flags
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit '4272b32a86bd22ce560e41816cece950a7af4e51':
Clean up of X86 build flags
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Review and clean-up of both compiler and linker flags
to ensure proper usage and consistency for images, toolchain,
SDK, and NDK.
Change-Id: Ife75c32cd49b32345712dee28fa5f2283069a90e
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Author: Bruce Beare <bruce.j.beare@intel.com>
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Set LOCAL_GROUP_STATIC_LIBRARIES := true to group the static libraries,
in case we need gcc flags "-Wl,--start-group" and "-Wl,--end-group" to
fix circular references.
Change-Id: I03c4901670112fcdd2bb0fe660b6924e5776fcf8
|
|\ \ \
| |/ /
|/| /
| |/
| |
| |
| | |
is fixed"
* commit '6f9b7562e36483a7bf23833d99da6a50e57f7266':
x86: Disable stack-protector until bionic is fixed
|
| |
| |
| |
| |
| | |
Change-Id: I2862de5c1b02490197704f4578a8a91d0565eef0
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
|
|\ \
| |/
| |
| | |
Change-Id: Ie3f5b2986bc926407a7883b449441cb58ab70e30
|
| |
| |
| |
| |
| | |
Change-Id: I00c75f37d7ea46b9f8ad3d7b2ff7094477ff0916
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
|
|\ \
| |/
| |
| |
| | |
* commit 'b9c627c6a0c6f0af57d0912175bfc739b0eb6249':
x86: Use GCC 4.4.3
|
| |
| |
| |
| |
| |
| | |
Change-Id: I083c1afcbb98cfeb48d7bcb7681e5c34db52e767
Author: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added LOCAL_NO_CRT to enable building executables that do not link
to the C runtime library.
Removed support for LOCAL_MODULE_SUBDIR since it was broken
and unused. (Was going to use it but ended up using LOCAL_MODULE_PATH
instead.)
Change-Id: Ifed4ffe17003d90370c711ea6606e2b75e841dee
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added LOCAL_NO_CRT to enable building executables that do not link
to the C runtime library.
Removed support for LOCAL_MODULE_SUBDIR since it was broken
and unused. (Was going to use it but ended up using LOCAL_MODULE_PATH
instead.)
Change-Id: I3b6f5ab7e5ae6aaa7119899adccece2b4ab1cbb3
|
| |
| |
| |
| | |
Change-Id: Ib7e17bbb4682caecce5812e63de872b676403d64
|
| |
| |
| |
| | |
Change-Id: Ifc628c67b5fa142cec59187f89f2d39df81160b9
|
|/
|
|
| |
Change-Id: Ide41aeddc44ca05d85a36035c2d55ea453cfd216
|
|\
| |
| |
| | |
Change-Id: Ibe616c0bdf8e36aaee42279292a2dbe03c5643c2
|
| |
| |
| |
| |
| | |
Change-Id: I60b8121c92b39a60b513bc2496a1e0a21015c586
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
|
|\ \
| |/
| |
| |
| |
| |
| | |
simulator build."
* commit '48ec6d6f814a70068c4632b468cd7872f34295ad':
Enables x86-atom as a valid TARGET_ARCH_VARIANT for the simulator build.
|
| |
| |
| |
| | |
Change-Id: Idbceb6c7d4117fbecd35e4261330e6405666189e
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit 'cc84526bcef5ffd7ed9abf73dc3bfc9e29784b22' into gingerbread-plus-aosp
* commit 'cc84526bcef5ffd7ed9abf73dc3bfc9e29784b22':
Add atom optimization flags
|
| |
| |
| |
| |
| |
| | |
To enable the optimization, set TARGET_ARCH_VARIANT := x86-atom.
Change-Id: I6b7798944bb8262bd83a76712419d8a77d3c34e9
|
|\ \
| |/
|/|
| |
| |
| |
| | |
Merge commit 'f0f60cdd8f4f74b2480774887606afdebec8d891' into gingerbread-plus-aosp
* commit 'f0f60cdd8f4f74b2480774887606afdebec8d891':
Support to build native libraries with prebuilt NDK
|
| |
| |
| |
| |
| | |
Bug: http://b/issue?id=2811253
Change-Id: Iabd4ab8b3d7236dffe89f1939e1142e882944026
|
| |
| |
| |
| |
| | |
Change-Id: I79c8f29af1f20b694f22a39f848216022809a5c6
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
|
|/
|
|
|
| |
Change-Id: I61137f5bb123dc5f610af9928ed3debdf85ba74d
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
|
|
|
|
|
|
|
|
|
|
| |
This adds "-lpthread" to TARGET_GLOBAL_LDFLAGS when TARGET_SIMULATOR
is true. This is much easier than inserting it into individual
makefiles as needed. Has no effect on other builds.
Should fix the sim-eng build breakage in libcameraservice.
Change-Id: I4dcd7d54b93d1be1622b8ce78a1662d28ca9f9f2
|
|
|
|
| |
Simply set the arch variant for sim-eng to be "x86".
|
|
|
|
|
|
|
|
|
| |
This detail got lost in my previous cleanup change 9b4a812.
Also add a comment explaining why the host side of the
simulator needs to be built in 64-bit (wxWidgets).
Change-Id: I2a867f7f80b43d53e73348b19f6ae834600295f9
|
|
The only OS-ARCH combo that would have benefited from it
is linux-x86, but it explicitly used separate configurations
for the HOST_ and TARGET_ side of things.
This makes is clear which files are related to the HOST_
configuration and which ones are related to the TARGET_
configuration, and expands $(combo_target) to the only
possible/reasonable value that it could have had in every
file.
This also cleans up the simulator, by moving it in a single
place in TARGET_linux_x86 (since the only part that's special
is to use HOST_ settings even when building TARGET_ modules).
Change-Id: I2420eeb8cfe539f5807ec99cb3177ffb9f2476d5
|