summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Hung Hsieh2015-08-21 14:17:43 -0500
committerChih-Hung Hsieh2015-08-21 17:58:26 -0500
commit7244cf2aa5494840c7ced3d1bc65de7d76e53014 (patch)
tree4097bf4afed85c3f9a1ac5e24bd888f97e56a3b5 /libpixelflinger/tests/arch-arm64/assembler
parenta1b2036f4daf9e0de0fe616e5f371d75f6b2357d (diff)
downloadplatform-system-core-7244cf2aa5494840c7ced3d1bc65de7d76e53014.tar.gz
platform-system-core-7244cf2aa5494840c7ced3d1bc65de7d76e53014.tar.xz
platform-system-core-7244cf2aa5494840c7ced3d1bc65de7d76e53014.zip
To compile with llvm integrated assembler.
* Explicitly specify default .align 0. * Use standard ldmfdlo instruction. * Before and after gas outputs are identical, with align 0 sections. * Objdump showed .text/.data/.bss section alignment attributes are 2^0 from gas and 2^2 from llvm assembler. These .S files might be working when compiled by gas, but llvm assembler's output should be more correct or conservative. Change-Id: I4e578dbc8155c0d06d1bbc1c33ec4cc851a18479
Diffstat (limited to 'libpixelflinger/tests/arch-arm64/assembler')
-rw-r--r--libpixelflinger/tests/arch-arm64/assembler/Android.mk3
-rw-r--r--libpixelflinger/tests/arch-arm64/assembler/asm_test_jacket.S2
2 files changed, 1 insertions, 4 deletions
diff --git a/libpixelflinger/tests/arch-arm64/assembler/Android.mk b/libpixelflinger/tests/arch-arm64/assembler/Android.mk
index 448d2980e..bd0f24b3e 100644
--- a/libpixelflinger/tests/arch-arm64/assembler/Android.mk
+++ b/libpixelflinger/tests/arch-arm64/assembler/Android.mk
@@ -5,9 +5,6 @@ LOCAL_SRC_FILES:= \
5 arm64_assembler_test.cpp\ 5 arm64_assembler_test.cpp\
6 asm_test_jacket.S 6 asm_test_jacket.S
7 7
8# asm_test_jacket.S does not compile with Clang.
9LOCAL_CLANG_ASFLAGS_arm64 += -no-integrated-as
10
11LOCAL_SHARED_LIBRARIES := \ 8LOCAL_SHARED_LIBRARIES := \
12 libcutils \ 9 libcutils \
13 libpixelflinger 10 libpixelflinger
diff --git a/libpixelflinger/tests/arch-arm64/assembler/asm_test_jacket.S b/libpixelflinger/tests/arch-arm64/assembler/asm_test_jacket.S
index a1392c29e..f44859f62 100644
--- a/libpixelflinger/tests/arch-arm64/assembler/asm_test_jacket.S
+++ b/libpixelflinger/tests/arch-arm64/assembler/asm_test_jacket.S
@@ -27,7 +27,7 @@
27 */ 27 */
28 28
29 .text 29 .text
30 .align 30 .align 0
31 31
32 .global asm_test_jacket 32 .global asm_test_jacket
33 33