Make it explicit which sections these relocations are in.
[oota-llvm.git] / test / MC / ARM / eh-directive-section-multiple-func.s
index 9f632b8b89a6d36dab14be4ae8e7ec58bda85e0d..425cbd7d0158ba4157362ce121ea36ff885abec0 100644 (file)
@@ -69,10 +69,14 @@ func2:
 @ CHECK:       0000: 00000000 B0B0B000 00000000 B0B0B000  |................|
 @ CHECK:     )
 @ CHECK:   }
+
+@ CHECK:   Section {
+@ CHECK:     Name: .rel.ARM.extab.TEST1
 @ CHECK:     Relocations [
 @ CHECK:       0x0 R_ARM_PREL31 __gxx_personality_v0 0x0
 @ CHECK:       0x8 R_ARM_PREL31 __gxx_personality_v0 0x0
 @ CHECK:     ]
+@ CHECK:   }
 
 
 @-------------------------------------------------------------------------------
@@ -89,18 +93,21 @@ func2:
 @ CHECK:       0000: 00000000 00000000 04000000 08000000  |................|
 @ CHECK:     )
 @ CHECK:   }
-@ CHECK: ]
 @-------------------------------------------------------------------------------
 @ The first word of each entry should be relocated to .TEST1 section.
 @ The second word of each entry should be relocated to
 @ .ARM.extab.TESET1 section.
 @-------------------------------------------------------------------------------
+
+@ CHECK:   Section {
+@ CHECK:     Name: .rel.ARM.exidx.TEST1
 @ CHECK:     Relocations [
 @ CHECK:       0x0 R_ARM_PREL31 .TEST1 0x0
 @ CHECK:       0x4 R_ARM_PREL31 .ARM.extab.TEST1 0x0
 @ CHECK:       0x8 R_ARM_PREL31 .TEST1 0x0
 @ CHECK:       0xC R_ARM_PREL31 .ARM.extab.TEST1 0x0
 @ CHECK:     ]
+@ CHECK:   }
 
 
 @-------------------------------------------------------------------------------