aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-rs6000.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-02-22 13:59:34 +1030
committerAlan Modra <amodra@gmail.com>2021-02-22 14:05:13 +1030
commite9d18e0649ae83fcfafd325a2366973efde43b38 (patch)
tree16f282ad7488eab99278430f8170e19d787e21bf /bfd/coff-rs6000.c
parent48ef615826f7511dd3a41967ca254993363de3da (diff)
downloadfsf-binutils-gdb-e9d18e0649ae83fcfafd325a2366973efde43b38.zip
fsf-binutils-gdb-e9d18e0649ae83fcfafd325a2366973efde43b38.tar.gz
fsf-binutils-gdb-e9d18e0649ae83fcfafd325a2366973efde43b38.tar.bz2
Don't handle BFD_RELOC_16 in XCOFF reloc_type_lookup
It's not needed for sizing fixups since 0e2779e98dc, and wrong to emit this reloc to the object file. * coff-rs6000.c (_bfd_xcoff_reloc_type_lookup): Remove BFD_RELOC_16. * coff64-rs6000.c (xcoff64_reloc_type_lookup): Likewise.
Diffstat (limited to 'bfd/coff-rs6000.c')
-rw-r--r--bfd/coff-rs6000.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c
index fbc1aed..54fbf58 100644
--- a/bfd/coff-rs6000.c
+++ b/bfd/coff-rs6000.c
@@ -1092,9 +1092,6 @@ _bfd_xcoff_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED,
return &xcoff_howto_table[8];
case BFD_RELOC_PPC_TOC16:
return &xcoff_howto_table[3];
- case BFD_RELOC_16:
- /* Note that this relocation is only internally used by gas. */
- return &xcoff_howto_table[0xc];
case BFD_RELOC_PPC_B16:
return &xcoff_howto_table[0x1d];
case BFD_RELOC_32: