92a9c616e4
bfd/ * elf64-ppc.c (toc_adjusting_stub_needed): Use the symbol value plus addend rather than the original st_value when looking up entries in opd->adjust. ld/testsuite/ * ld-powerpc/tocopt6-inc.s, ld-powerpc/tocopt6a.s, ld-powerpc/tocopt6b.s, ld-powerpc/tocopt6c.s, ld-powerpc/tocopt6.d: New test. * ld-powerpc/powerpc.exp (ppc64elftests): Add it.
8 lines
99 B
ArmAsm
8 lines
99 B
ArmAsm
.include "tocopt6-inc.s"
|
|
in123
|
|
in23
|
|
gobblegot f2
|
|
|
|
.section .text
|
|
.globl g2
|
|
forward g2, in23
|