[GOLD] internal error in relocate, at powerpc.cc:10473
authorAlan Modra <amodra@gmail.com>
Fri, 9 Oct 2020 00:29:33 +0000 (10:59 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 9 Oct 2020 12:53:27 +0000 (23:23 +1030)
commit4290b0ab2b65db23afc9bd8177885bfd91911c0c
tree1a61e6787591d50752f0b9e9dec57be28f3ac421
parent32930e4edbc06bc6f10c435dbcc63131715df678
[GOLD] internal error in relocate, at powerpc.cc:10473

GOT relocations can refer directly to a function in a fixed position
executable, unlike ADDR64 which needs a global entry stub, or branch
relocs, which need PLT stubs.

* powerpc.cc (is_got_reloc): New function.
(Target_powerpc::Relocate::relocate): Use it here, exclude GOT
relocs when looking for stubs.
gold/ChangeLog
gold/powerpc.cc
This page took 0.024501 seconds and 4 git commands to generate.