mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
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.
15 lines
509 B
Makefile
15 lines
509 B
Makefile
|
|
.*: file format .*
|
|
|
|
Contents of section \.text:
|
|
100000b0 3d220000 e9298018 3c820000 38a48020 .*
|
|
100000c0 e8c50000 3fa00000 3bbd8028 7c62e82a .*
|
|
100000d0 3d220000 39298033 3c820000 38a48008 .*
|
|
100000e0 e8c50000 3fa00000 3bbd8010 7c62e82a .*
|
|
Contents of section \.got:
|
|
100100f0 00000000 100180f0 00000000 10010124 .*
|
|
10010100 00000000 10010125 00000000 10010120 .*
|
|
10010110 00000000 10010121 00000000 10010122 .*
|
|
Contents of section \.sdata:
|
|
10010120 01020304 0506 .*
|