diff options
author | Nick Clifton <nickc@redhat.com> | 2008-12-23 09:01:51 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2008-12-23 09:01:51 +0000 |
commit | 0f88be7a13937526f4789565a7dee988bf1369d5 (patch) | |
tree | dec9b5642bf6f5910809de144c2a28886f63dcf5 /gas/config/obj-elf.c | |
parent | 5995b57073ad5990e2f63c7f65c0a6c27cad55a9 (diff) | |
download | gdb-0f88be7a13937526f4789565a7dee988bf1369d5.zip gdb-0f88be7a13937526f4789565a7dee988bf1369d5.tar.gz gdb-0f88be7a13937526f4789565a7dee988bf1369d5.tar.bz2 |
Remove STT_IFUNC support.
Diffstat (limited to 'gas/config/obj-elf.c')
-rw-r--r-- | gas/config/obj-elf.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c index 0f0c7d3..cf31770 100644 --- a/gas/config/obj-elf.c +++ b/gas/config/obj-elf.c @@ -1663,20 +1663,6 @@ obj_elf_type (int ignore ATTRIBUTE_UNUSED) } } } - else if (strcmp (typename, "indirect_function") == 0 - || strcmp (typename, "10") == 0 - || strcmp (typename, "STT_IFUNC") == 0) - { - const struct elf_backend_data *bed; - - bed = get_elf_backend_data (stdoutput); - if (!(bed->elf_osabi == ELFOSABI_LINUX - /* GNU/Linux is still using the default value 0. */ - || bed->elf_osabi == ELFOSABI_NONE)) - as_bad (_("symbol type \"%s\" is supported only by GNU targets"), - typename); - type = BSF_FUNCTION | BSF_INDIRECT_FUNCTION; - } #ifdef md_elf_symbol_type else if ((type = md_elf_symbol_type (typename, sym, elfsym)) != -1) ; |