summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ARM/eh-directive-section-multiple-func.s
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-11-03 20:02:22 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-11-03 20:02:22 +0000
commit2b27b2f5a7bd8c4489df0d5cf632fc302ecc6134 (patch)
treeb683ca767302adbdd6846d00064dbfac91b06ee9 /llvm/test/MC/ARM/eh-directive-section-multiple-func.s
parent7bb1adfd66848463d5968a09e392cbf3404c0094 (diff)
downloadbcm5719-llvm-2b27b2f5a7bd8c4489df0d5cf632fc302ecc6134.tar.gz
bcm5719-llvm-2b27b2f5a7bd8c4489df0d5cf632fc302ecc6134.zip
Don't create empty sections just to look like gas.
We are long past the time when this much bug for bug compatibility was useful. llvm-svn: 251970
Diffstat (limited to 'llvm/test/MC/ARM/eh-directive-section-multiple-func.s')
-rw-r--r--llvm/test/MC/ARM/eh-directive-section-multiple-func.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/MC/ARM/eh-directive-section-multiple-func.s b/llvm/test/MC/ARM/eh-directive-section-multiple-func.s
index e5307cf9190..53c498ab87b 100644
--- a/llvm/test/MC/ARM/eh-directive-section-multiple-func.s
+++ b/llvm/test/MC/ARM/eh-directive-section-multiple-func.s
@@ -54,7 +54,7 @@ func2:
@ Check the .TEST1 section. There should be two "bx lr" instructions.
@-------------------------------------------------------------------------------
@ CHECK: Section {
-@ CHECK: Index: 5
+@ CHECK: Index: 3
@ CHECK-NEXT: Name: .TEST1
@ CHECK: SectionData (
@ CHECK: 0000: 1EFF2FE1 1EFF2FE1 |../.../.|
@@ -87,7 +87,7 @@ func2:
@-------------------------------------------------------------------------------
@ CHECK: Section {
@ CHECK: Name: .ARM.exidx.TEST1
-@ CHECK: Link: 5
+@ CHECK: Link: 3
@-------------------------------------------------------------------------------
@ The first word should be the offset to .TEST1.
@ The second word should be the offset to .ARM.extab.TEST1
OpenPOWER on IntegriCloud