]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Re: PowerPC64 pcrel got relocs against local symbols
authorAlan Modra <amodra@gmail.com>
Tue, 20 Sep 2022 23:36:29 +0000 (09:06 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 20 Sep 2022 23:36:29 +0000 (09:06 +0930)
commit8b168f1a1e09e337d2a970f204a0230c091bbe58
tree576ebc382922c3f1ab13aebf2edc248cd4adef50
parent8c8fa33c20ec0be7bfcaf7e1b605d37dca63733f
Re: PowerPC64 pcrel got relocs against local symbols

The last patch wasn't all that shiny.  There are rather a lot more
relocations that can hit the assertion in md_apply_fix if the symbol
is local or absolute.  Fix them all.

* config/tc-ppc.c (ppc_force_relocation): Add all relocs that
expect a symbol in md_apply_fix.  Remove tls pcrel relocs
already covered in general tls match range.
gas/config/tc-ppc.c