diff options
author | Alan Modra <amodra@gmail.com> | 2022-09-16 18:08:44 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-09-16 18:47:46 +0930 |
commit | 49c3ed081fed6b8e2b48fdc48f805f11e4589514 (patch) | |
tree | a0e0fa3c10167568132817d1066ec6d8b009a13e /gdb/c-lang.c | |
parent | 839a4671a9c2468f2a1b745ec251e03249f66d11 (diff) | |
download | gdb-49c3ed081fed6b8e2b48fdc48f805f11e4589514.zip gdb-49c3ed081fed6b8e2b48fdc48f805f11e4589514.tar.gz gdb-49c3ed081fed6b8e2b48fdc48f805f11e4589514.tar.bz2 |
PowerPC64 pcrel got relocs against local symbols
Not that anyone would want to indirect via the GOT when an address can
be loaded directly with pla, the following:
pld 3,x@got@pcrel
x:
leads to "Internal error in md_apply_fix", because the generic parts
of assembler fixup handling convert the fx_pcrel fixup to one without
a symbol. Stop that happening.
* config/tc-ppc.c (ppc_force_relocation): Add PLT_PCREL34 and
assorted GOT_PCREL34 relocs.
Diffstat (limited to 'gdb/c-lang.c')
0 files changed, 0 insertions, 0 deletions