Change how we iterate over relocations on ELF.
[oota-llvm.git] / test / tools / llvm-readobj / relocations.test
index dec7f862982c1b3943b686bc834535f312545074..3a87ff548e399de0c019ca72d6c9e3937ea29fa7 100644 (file)
@@ -22,7 +22,7 @@ COFF-NEXT:   }
 COFF-NEXT: ]
 
 ELF:      Relocations [
-ELF-NEXT:   Section (1) .text {
+ELF-NEXT:   Section (2) .rel.text {
 ELF-NEXT:     0xC R_386_GOTPC _GLOBAL_OFFSET_TABLE_ 0x0
 ELF-NEXT:     0x12 R_386_GOTOFF .L.str 0x0
 ELF-NEXT:     0x1A R_386_PLT32 puts 0x0