Don't handle BFD_RELOC_16 in XCOFF reloc_type_lookup
authorAlan Modra <amodra@gmail.com>
Mon, 22 Feb 2021 03:29:34 +0000 (13:59 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 22 Feb 2021 03:35:13 +0000 (14:05 +1030)
commite9d18e0649ae83fcfafd325a2366973efde43b38
tree16f282ad7488eab99278430f8170e19d787e21bf
parent48ef615826f7511dd3a41967ca254993363de3da
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.
bfd/ChangeLog
bfd/coff-rs6000.c
bfd/coff64-rs6000.c