diff options
author | Alan Modra <amodra@gmail.com> | 2014-03-05 19:27:57 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-03-05 19:27:57 +1030 |
commit | f50c47f1184b39831f7c8a8200bc349f47619ac3 (patch) | |
tree | 4edc57abf92eaed468e6a165c928d5fdf783ec47 /bfd/ns32knetbsd.c | |
parent | b2b255bdf3d29d97c10668b4bb5fceeb886a15f1 (diff) | |
download | gdb-f50c47f1184b39831f7c8a8200bc349f47619ac3.zip gdb-f50c47f1184b39831f7c8a8200bc349f47619ac3.tar.gz gdb-f50c47f1184b39831f7c8a8200bc349f47619ac3.tar.bz2 |
Remove magic treatment of toc symbols for powerpc ELF
The XCOFF assembler does some wierd things with instructions like
`lwz 9,sym(30'. See the comment in md_apply_fix. From an ELF
perspective, it's weird even to magically select a TOC16 reloc
when a symbol is in the TOC/GOT. ELF assemblers generally use
modifiers like @toc to select relocs, so remove this "feature"
for ELF. I believe this was to support gcc -m32 -mcall-aixdesc
but that combination of gcc options has been broken for a long
time.
* config/tc-ppc.c (ppc_is_toc_sym): Remove OBJ_ELF support.
(md_assemble): Don't call ppc_is_toc_sym for ELF.
Diffstat (limited to 'bfd/ns32knetbsd.c')
0 files changed, 0 insertions, 0 deletions