aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2011-03-04 20:03:14 +0000
committerJoerg Sonnenberger <joerg@bec.de>2011-03-04 20:03:14 +0000
commit89e0f386f3c8bafbbae05d7d32695ce571617397 (patch)
tree48a913bd301ef70a058a001df5b2b00889afa66d /test/CodeGen/ARM
parentca8a2aa921ec8966b1f0708d77e4dc0a6f1a32f8 (diff)
downloadexternal_llvm-89e0f386f3c8bafbbae05d7d32695ce571617397.zip
external_llvm-89e0f386f3c8bafbbae05d7d32695ce571617397.tar.gz
external_llvm-89e0f386f3c8bafbbae05d7d32695ce571617397.tar.bz2
Be nice to Xcore and the XMOS assembler and avoid quoting section names
that contain only letters, digits and the characters "_" and ".". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127028 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM')
-rw-r--r--test/CodeGen/ARM/ctors_dtors.ll8
-rw-r--r--test/CodeGen/ARM/section.ll2
2 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGen/ARM/ctors_dtors.ll b/test/CodeGen/ARM/ctors_dtors.ll
index 4ed2dee..fb94626 100644
--- a/test/CodeGen/ARM/ctors_dtors.ll
+++ b/test/CodeGen/ARM/ctors_dtors.ll
@@ -5,11 +5,11 @@
; DARWIN: .section __DATA,__mod_init_func,mod_init_funcs
; DARWIN: .section __DATA,__mod_term_func,mod_term_funcs
-; ELF: .section ".ctors","aw",%progbits
-; ELF: .section ".dtors","aw",%progbits
+; ELF: .section .ctors,"aw",%progbits
+; ELF: .section .dtors,"aw",%progbits
-; GNUEABI: .section ".init_array","aw",%init_array
-; GNUEABI: .section ".fini_array","aw",%fini_array
+; GNUEABI: .section .init_array,"aw",%init_array
+; GNUEABI: .section .fini_array,"aw",%fini_array
@llvm.global_ctors = appending global [1 x { i32, void ()* }] [ { i32, void ()* } { i32 65535, void ()* @__mf_init } ] ; <[1 x { i32, void ()* }]*> [#uses=0]
@llvm.global_dtors = appending global [1 x { i32, void ()* }] [ { i32, void ()* } { i32 65535, void ()* @__mf_fini } ] ; <[1 x { i32, void ()* }]*> [#uses=0]
diff --git a/test/CodeGen/ARM/section.ll b/test/CodeGen/ARM/section.ll
index ff708d5..7a566d4 100644
--- a/test/CodeGen/ARM/section.ll
+++ b/test/CodeGen/ARM/section.ll
@@ -1,7 +1,7 @@
; RUN: llc < %s -mtriple=arm-linux | \
; RUN: grep {__DTOR_END__:}
; RUN: llc < %s -mtriple=arm-linux | \
-; RUN: grep {\\.section."\\.dtors","aw",.progbits}
+; RUN: grep {\\.section.\\.dtors,"aw",.progbits}
@__DTOR_END__ = internal global [1 x i32] zeroinitializer, section ".dtors" ; <[1 x i32]*> [#uses=0]