Stop the MIPS assembler from accepting ifunc symbols.
authorNick Clifton <nickc@redhat.com>
Thu, 16 Apr 2020 17:02:10 +0000 (18:02 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 16 Apr 2020 17:02:10 +0000 (18:02 +0100)
commit8e4979ac1ea78147ecbcbf81af5e946873dda079
tree252ac62bb315754080925a2bca4cb3f4db59a4f0
parent7a1a12f4d1c6152017142d74c736dc1cc6b0e81c
Stop the MIPS assembler from accepting ifunc symbols.

PR 25803
gas * config/obj-elf.c (obj_elf_type): Reject ifunc symbols on MIPS
targets.
* testsuite/gas/elf/elf.exp: Add MIPS targets to the list to skip
for the type-2 test.
* testsuite/gas/elf/type-noifunc.e: Update to allow for MIPS
targets running this test.

bfd * elfxx-mips.c (_bfd_mips_elf_adjust_dynamic_symbol): Replace an
abort with a more helpful error message.
bfd/ChangeLog
bfd/elfxx-mips.c
gas/ChangeLog
gas/config/obj-elf.c
gas/testsuite/gas/elf/elf.exp
gas/testsuite/gas/elf/type-noifunc.e