summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-11-06 15:25:54 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-11-06 15:25:54 +0000
commit1954c614d4049bedaae00905a2c22ee4f671b946 (patch)
treefa48146f4e4af4c2bb816073c4f4e11900e8ba87
parentcc47f200ba4d8e40caf582661eb1abc29aa9796f (diff)
downloadbcm5719-llvm-1954c614d4049bedaae00905a2c22ee4f671b946.tar.gz
bcm5719-llvm-1954c614d4049bedaae00905a2c22ee4f671b946.zip
.eh_frame is not normally writable. Update the test to reflect that.
llvm-svn: 252312
-rw-r--r--lld/test/elf2/gc-sections.s8
1 files changed, 4 insertions, 4 deletions
diff --git a/lld/test/elf2/gc-sections.s b/lld/test/elf2/gc-sections.s
index d6632e2075b..eaa33de2a1d 100644
--- a/lld/test/elf2/gc-sections.s
+++ b/lld/test/elf2/gc-sections.s
@@ -8,8 +8,8 @@
# RUN: ld.lld2 --export-dynamic --gc-sections %t -o %t2
# RUN: llvm-readobj -sections -symbols %t2 | FileCheck -check-prefix=GC2 %s
-# NOGC: Name: .text
# NOGC: Name: .eh_frame
+# NOGC: Name: .text
# NOGC: Name: .init
# NOGC: Name: .fini
# NOGC: Name: a
@@ -21,8 +21,8 @@
# NOGC: Name: __preinit_array_end
# NOGC: Name: d
-# GC1: Name: .text
# GC1: Name: .eh_frame
+# GC1: Name: .text
# GC1: Name: .init
# GC1: Name: .fini
# GC1: Name: a
@@ -34,8 +34,8 @@
# GC1: Name: __preinit_array_end
# GC1-NOT: Name: d
-# GC2: Name: .text
# GC2: Name: .eh_frame
+# GC2: Name: .text
# GC2: Name: .init
# GC2: Name: .fini
# GC2: Name: a
@@ -86,5 +86,5 @@ y:
.section .preinit_array,"aw",@preinit_array
.quad 0
-.section .eh_frame,"aw",@progbits
+.section .eh_frame,"a",@unwind
.quad 0
OpenPOWER on IntegriCloud