PowerPC PLT stub tidy
[deliverable/binutils-gdb.git] / ld / testsuite / ld-powerpc / relbrlt.d
index 7622ed635d6256daaf1442b5cee4f82e027803bb..6f3db7d0146f4586e58061c064094c29d8e29cb7 100644 (file)
@@ -1,50 +1,60 @@
 #source: relbrlt.s
 #as: -a64
-#ld: -melf64ppc --emit-relocs
-#objdump: -dr
+#ld: -melf64ppc --no-plt-align --no-ld-generated-unwind-info --emit-relocs
+#objdump: -Dr
 
-.*:     file format elf64-powerpc
+.*
 
 Disassembly of section \.text:
 
-0*10000078 <_start>:
-    10000078:  49 bf 00 31     bl      11bf00a8 .*
-                       10000078: R_PPC64_REL24 \.text\+0x37e0044
-    1000007c:  60 00 00 00     nop
-    10000080:  49 bf 00 19     bl      11bf0098 .*
-                       10000080: R_PPC64_REL24 \.text\+0x3bf0020
-    10000084:  60 00 00 00     nop
-    10000088:  49 bf 00 25     bl      11bf00ac .*
-                       10000088: R_PPC64_REL24 \.text\+0x57e0024
-    1000008c:  60 00 00 00     nop
-    10000090:  00 00 00 00     \.long 0x0
-    10000094:  4b ff ff e4     b       10000078 <_start>
+0*100000c0 <_start>:
+[0-9a-f         ]*:    (49 bf 00 21|21 00 bf 49)       bl      .*
+[0-9a-f         ]*: R_PPC64_REL24      \.text\+0x37e003c
+[0-9a-f         ]*:    (60 00 00 00|00 00 00 60)       nop
+[0-9a-f         ]*:    (49 bf 00 1d|1d 00 bf 49)       bl      .*
+[0-9a-f         ]*: R_PPC64_REL24      \.text\+0x3bf002c
+[0-9a-f         ]*:    (60 00 00 00|00 00 00 60)       nop
+[0-9a-f         ]*:    (49 bf 00 21|21 00 bf 49)       bl      .*
+[0-9a-f         ]*: R_PPC64_REL24      \.text\+0x57e0030
+[0-9a-f         ]*:    (60 00 00 00|00 00 00 60)       nop
+[0-9a-f         ]*:    00 00 00 00     \.long 0x0
+[0-9a-f         ]*:    (4b ff ff e4|e4 ff ff 4b)       b       .* <_start>
        \.\.\.
 
-0*11bf0098 <.*plt_branch.*>:
-    11bf0098:  3d 82 05 7e     addis   r12,r2,1406
-    11bf009c:  e9 6c 80 28     ld      r11,-32728\(r12\)
-    11bf00a0:  7d 69 03 a6     mtctr   r11
-    11bf00a4:  4e 80 04 20     bctr
-
-0*11bf00a8 <.*long_branch.*>:
-    11bf00a8:  49 bf 00 14     b       137e00bc <far>
-                       11bf00a8: R_PPC64_REL24 \*ABS\*\+0x137e00bc
-
-0*11bf00ac <.*plt_branch.*>:
-    11bf00ac:  3d 82 05 7e     addis   r12,r2,1406
-    11bf00b0:  e9 6c 80 30     ld      r11,-32720\(r12\)
-    11bf00b4:  7d 69 03 a6     mtctr   r11
-    11bf00b8:  4e 80 04 20     bctr
+[0-9a-f         ]*<.*long_branch.*>:
+[0-9a-f         ]*:    (49 bf 00 1c|1c 00 bf 49)       b       .* <far>
+[0-9a-f         ]*: R_PPC64_REL24      \*ABS\*\+0x137e00fc
+
+[0-9a-f         ]*<.*plt_branch.*>:
+[0-9a-f         ]*:    (e9 82 80 f8|f8 80 82 e9)       ld      r12,-32520\(r2\)
+[0-9a-f         ]*: R_PPC64_TOC16_DS   \*ABS\*\+0x157f00f8
+[0-9a-f         ]*:    (7d 89 03 a6|a6 03 89 7d)       mtctr   r12
+[0-9a-f         ]*:    (4e 80 04 20|20 04 80 4e)       bctr
+
+[0-9a-f         ]*<.*plt_branch.*>:
+[0-9a-f         ]*:    (e9 82 81 00|00 81 82 e9)       ld      r12,-32512\(r2\)
+[0-9a-f         ]*: R_PPC64_TOC16_DS   \*ABS\*\+0x157f0100
+[0-9a-f         ]*:    (7d 89 03 a6|a6 03 89 7d)       mtctr   r12
+[0-9a-f         ]*:    (4e 80 04 20|20 04 80 4e)       bctr
        \.\.\.
 
-0*137e00bc <far>:
-    137e00bc:  4e 80 00 20     blr
+0*137e00fc <far>:
+[0-9a-f         ]*:    (4e 80 00 20|20 00 80 4e)       blr
        \.\.\.
 
-0*13bf0098 <far2far>:
-    13bf0098:  4e 80 00 20     blr
+0*13bf00ec <far2far>:
+[0-9a-f         ]*:    (4e 80 00 20|20 00 80 4e)       blr
        \.\.\.
 
-0*157e009c <huge>:
-    157e009c:  4e 80 00 20     blr
+0*157e00f0 <huge>:
+[0-9a-f         ]*:    (4e 80 00 20|20 00 80 4e)       blr
+
+Disassembly of section \.branch_lt:
+
+0*157f00f8 .*:
+[0-9a-f         ]*:    (00 00 00 00|ec 00 bf 13) .*
+[0-9a-f         ]*: R_PPC64_RELATIVE   \*ABS\*\+0x13bf00ec
+[0-9a-f         ]*:    (13 bf 00 ec|00 00 00 00) .*
+[0-9a-f         ]*:    (00 00 00 00|f0 00 7e 15) .*
+[0-9a-f         ]*: R_PPC64_RELATIVE   \*ABS\*\+0x157e00f0
+[0-9a-f         ]*:    (15 7e 00 f0|00 00 00 00) .*
This page took 0.036212 seconds and 4 git commands to generate.