Mark the cortex-{a7,a53,a53.57} chips as supporting LPAE

am: 8e1e3fb

* commit '8e1e3fba871ac32087c9095127359e2e5636e554':
  Mark the cortex-{a7,a53,a53.57} chips as supporting LPAE

Change-Id: I924948b4fa6d53f0ee083f57995cf4f467ceb74e
This commit is contained in:
Dan Willemsen
2016-03-30 00:42:32 +00:00
committed by android-build-merger

View File

@@ -106,6 +106,11 @@ var (
armCpuVariantCflags = map[string][]string{ armCpuVariantCflags = map[string][]string{
"cortex-a7": []string{ "cortex-a7": []string{
"-mcpu=cortex-a7", "-mcpu=cortex-a7",
// Fake an ARM compiler flag as these processors support LPAE which GCC/clang
// don't advertise.
// TODO This is a hack and we need to add it for each processor that supports LPAE until some
// better solution comes around. See Bug 27340895
"-D__ARM_FEATURE_LPAE=1",
}, },
"cortex-a8": []string{ "cortex-a8": []string{
"-mcpu=cortex-a8", "-mcpu=cortex-a8",
@@ -114,6 +119,8 @@ var (
"-mcpu=cortex-a15", "-mcpu=cortex-a15",
// Fake an ARM compiler flag as these processors support LPAE which GCC/clang // Fake an ARM compiler flag as these processors support LPAE which GCC/clang
// don't advertise. // don't advertise.
// TODO This is a hack and we need to add it for each processor that supports LPAE until some
// better solution comes around. See Bug 27340895
"-D__ARM_FEATURE_LPAE=1", "-D__ARM_FEATURE_LPAE=1",
}, },
} }