old-cross-binutils/ld/testsuite/ld-powerpc/relbrlt.d
Alan Modra e4e0193e2b bfd/
* elf64-ppc.c (create_linkage_sections): Use section ".branch_lt"
	for branch lookup table.
ld/
	* emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
	* emultempl/ppc64elf.em (ppc_add_stub_section): Create without
	SEC_RELOC flag set.
ld/testsuite/
	* ld-powerpc/relbrlt.d: Update.
	* ld-powerpc/tlsexe.r: Update.
	* ld-powerpc/tlsexetoc.r: Update.
	* ld-powerpc/tlsso.r: Update.
	* ld-powerpc/tlstocso.r: Update.
2007-02-13 01:53:03 +00:00

50 lines
1.2 KiB
Makefile

#source: relbrlt.s
#as: -a64
#ld: -melf64ppc --emit-relocs
#objdump: -dr
.*: file format elf64-powerpc
Disassembly of section \.text:
0*100000b0 <_start>:
[0-9a-f ]*: 49 bf 00 31 bl .*
[0-9a-f ]*: R_PPC64_REL24 \.text\+0x37e0044
[0-9a-f ]*: 60 00 00 00 nop
[0-9a-f ]*: 49 bf 00 19 bl .*
[0-9a-f ]*: R_PPC64_REL24 \.text\+0x3bf0020
[0-9a-f ]*: 60 00 00 00 nop
[0-9a-f ]*: 49 bf 00 25 bl .*
[0-9a-f ]*: R_PPC64_REL24 \.text\+0x57e0024
[0-9a-f ]*: 60 00 00 00 nop
[0-9a-f ]*: 00 00 00 00 \.long 0x0
[0-9a-f ]*: 4b ff ff e4 b .* <_start>
\.\.\.
[0-9a-f ]*<.*plt_branch.*>:
[0-9a-f ]*: 3d 82 00 00 addis r12,r2,0
[0-9a-f ]*: e9 6c 80 00 ld r11,-32768\(r12\)
[0-9a-f ]*: 7d 69 03 a6 mtctr r11
[0-9a-f ]*: 4e 80 04 20 bctr
[0-9a-f ]*<.*long_branch.*>:
[0-9a-f ]*: 49 bf 00 14 b .* <far>
[0-9a-f ]*: R_PPC64_REL24 \*ABS\*\+0x137e00f4
[0-9a-f ]*<.*plt_branch.*>:
[0-9a-f ]*: 3d 82 00 00 addis r12,r2,0
[0-9a-f ]*: e9 6c 80 08 ld r11,-32760\(r12\)
[0-9a-f ]*: 7d 69 03 a6 mtctr r11
[0-9a-f ]*: 4e 80 04 20 bctr
\.\.\.
0*137e00f4 <far>:
[0-9a-f ]*: 4e 80 00 20 blr
\.\.\.
[0-9a-f ]*<far2far>:
[0-9a-f ]*: 4e 80 00 20 blr
\.\.\.
[0-9a-f ]*<huge>:
[0-9a-f ]*: 4e 80 00 20 blr