platform_build_soong/cc/config
Isaac Chen 2bce8edf34 Generic 32-bit armv8 built as generic armv7 fix
When the following lines are specified in the BoardConfig.mk

TARGET_2ND_ARCH_VARIANT := armv8-a
TARGET_2ND_CPU_VARIANT := generic

The resulted binaries won't be built using 32-bit armv8-a integer
division instructions. Instead, division routines are used because
the build system will set a compiler option "-march=armv7-a", and
hence overwiting the previous "-march=armv8-a", when
TARGET_2ND_CPU_VARIANT is set to generic (or unset).

Bug: 67446726
Test: lunch aosp_arm64; make -j; emulator # boot to home screen
      Also verify -march=armv7-a is not specified in the compiler
      command line and the resulted binary actually uses integer
      division instructions.

Change-Id: I430687aa5a658d2ec9f325a66d849b4c8898c7d5
2017-11-08 04:17:35 +00:00
..
arm64_device.go Consolidate ldflags that are used on all devices 2017-11-03 22:28:03 -07:00
arm_device.go Generic 32-bit armv8 built as generic armv7 fix 2017-11-08 04:17:35 +00:00
cfi_exports.map Revert "Revert "Build system changes for CFI (Soong)"" 2017-11-01 12:50:01 -07:00
clang.go Switch to clang-4393122. 2017-10-30 16:00:44 +00:00
global.go Move -fno-canonical-system-headers to global cflags 2017-11-06 12:56:34 -08:00
integer_overflow_blacklist.txt Add integer_overflow sanitization build option. 2017-07-07 09:52:23 -07:00
mips64_device.go Consolidate ldflags that are used on all devices 2017-11-03 22:28:03 -07:00
mips_device.go Consolidate ldflags that are used on all devices 2017-11-03 22:28:03 -07:00
tidy.go Allow overriding tidy configs using environment variables 2016-11-02 15:47:20 -07:00
tidy_test.go Add clang-tidy support 2016-10-31 16:21:01 -07:00
toolchain.go Explicitly link the profile runtime during PGO 2017-10-04 22:25:19 -07:00
x86_64_device.go Consolidate ldflags that are used on all devices 2017-11-03 22:28:03 -07:00
x86_darwin_host.go Consolidate global cflags 2017-11-03 11:34:45 -07:00
x86_device.go Consolidate ldflags that are used on all devices 2017-11-03 22:28:03 -07:00
x86_linux_bionic_host.go Remove -Wl,--gc-sections from target flags 2017-11-03 11:34:45 -07:00
x86_linux_host.go Consolidate global cflags 2017-11-03 11:34:45 -07:00
x86_windows_host.go Consolidate global cflags 2017-11-03 11:34:45 -07:00