mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
12b2cce914
* coff-rs6000.c (xcoff_reloc_type_br): Make the branch absolute if the target is absolute. Fix comment typo. (xcoff_ppc_relocate_section): Remove FIXME. * coff64-rs6000.c (xcoff64_reloc_type_br): Make the branch absolute if the target is absolute. ld/testsuite/ * ld-powerpc/aix-abs-branch-1.im, ld-powerpc/aix-abs-branch-1.ex, ld-powerpc/aix-abs-branch-1.s, ld-powerpc/aix-abs-branch-1.dd: New test. * ld-powerpc/aix52.exp: Run it.
15 lines
293 B
Plaintext
15 lines
293 B
Plaintext
|
|
.*
|
|
|
|
|
|
Disassembly of section \.text:
|
|
|
|
0*10000000 <foo>:
|
|
*10000000:.* bla * 144d000 <.*>
|
|
*10000004:.* l(wz|) * r1,80\(r1\)
|
|
*10000008:.* bla * 1451000 <.*>
|
|
*1000000c:.* (oril * r0,r0,0|nop)
|
|
*10000010:.* bla * 1452800 <.*>
|
|
*10000014:.* (oril * r0,r0,0|nop)
|
|
*10000018:.* bla * 1450000 <.*>
|