Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/binutils/dist/gas/config disable no ifuncs no ...



details:   https://anonhg.NetBSD.org/src/rev/5fe8761b6a70
branches:  trunk
changeset: 373230:5fe8761b6a70
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jan 25 19:08:41 2023 +0000

description:
disable no ifuncs no mips error for now.

diffstat:

 external/gpl3/binutils/dist/gas/config/obj-elf.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (16 lines):

diff -r d4b92eab29b2 -r 5fe8761b6a70 external/gpl3/binutils/dist/gas/config/obj-elf.c
--- a/external/gpl3/binutils/dist/gas/config/obj-elf.c  Wed Jan 25 15:54:52 2023 +0000
+++ b/external/gpl3/binutils/dist/gas/config/obj-elf.c  Wed Jan 25 19:08:41 2023 +0000
@@ -2395,10 +2395,12 @@
          && bed->elf_osabi != ELFOSABI_FREEBSD)
        as_bad (_("symbol type \"%s\" is supported only by GNU "
                  "and FreeBSD targets"), type_name);
+#ifndef __NetBSD__
       /* MIPS targets do not support IFUNCS.  */
       else if (bed->target_id == MIPS_ELF_DATA)
        as_bad (_("symbol type \"%s\" is not supported by "
                     "MIPS targets"), type_name);
+#endif
       elf_tdata (stdoutput)->has_gnu_osabi |= elf_gnu_osabi_ifunc;
       type = BSF_FUNCTION | BSF_GNU_INDIRECT_FUNCTION;
     }



Home | Main Index | Thread Index | Old Index