9852805258
bfd/ * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add ha_relocs_not_using_r2. (ppc64_elf_edit_toc): Check HA relocs. (ha_reloc_match): Delete function. (ppc64_elf_relocate_section): Remove delayed HA nop optimization. Instead do it and low part optimization based on ha_relocs_not_using_r2. ld/testsuite/ * ld-powerpc/tocopt.d: Update. * ld-powerpc/tocopt5.d, * ld-powerpc/tocopt5.s: New test. * ld-powerpc/powerpc.exp: Run new test.
13 lines
459 B
Makefile
13 lines
459 B
Makefile
|
|
.*: file format .*
|
|
|
|
Contents of section \.text:
|
|
100000b0 60000000 e9228018 60000000 38a28020 .*
|
|
100000c0 e8c50000 60000000 3922802b 60000000 .*
|
|
100000d0 38a28008 e8c50000 .*
|
|
Contents of section \.got:
|
|
100100d8 00000000 100180d8 00000000 10010104 .*
|
|
100100e8 00000000 10010105 00000000 10010100 .*
|
|
100100f8 00000000 10010101 .*
|
|
Contents of section \.sdata:
|
|
10010100 01020304 0506 .*
|