diff options
Diffstat (limited to 'gold/powerpc.cc')
-rw-r--r-- | gold/powerpc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/powerpc.cc b/gold/powerpc.cc index 6df2904..60530ba 100644 --- a/gold/powerpc.cc +++ b/gold/powerpc.cc @@ -7727,7 +7727,7 @@ Target_powerpc<size, big_endian>::Relocate::relocate( && preloc != NULL && target->abiversion() >= 2 && !parameters->options().output_is_position_independent() - && rela.get_r_addend() == 4 + && rela.get_r_addend() == d_offset + 4 && gsym != NULL && strcmp(gsym->name(), ".TOC.") == 0) { |