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 completely mi...



details:   https://anonhg.NetBSD.org/src/rev/295017212143
branches:  trunk
changeset: 373770:295017212143
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Feb 27 17:38:18 2023 +0000

description:
Disable completely mips ifunc test to make cross-compilation on other OSs work.
(Jan-Benedict Glaw)

diffstat:

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

diffs (12 lines):

diff -r 6c50cd6c6f47 -r 295017212143 external/gpl3/binutils/dist/gas/config/obj-elf.c
--- a/external/gpl3/binutils/dist/gas/config/obj-elf.c  Mon Feb 27 16:24:45 2023 +0000
+++ b/external/gpl3/binutils/dist/gas/config/obj-elf.c  Mon Feb 27 17:38:18 2023 +0000
@@ -2395,7 +2395,7 @@
          && bed->elf_osabi != ELFOSABI_FREEBSD)
        as_bad (_("symbol type \"%s\" is supported only by GNU "
                  "and FreeBSD targets"), type_name);
-#ifndef __NetBSD__
+#if 0
       /* MIPS targets do not support IFUNCS.  */
       else if (bed->target_id == MIPS_ELF_DATA)
        as_bad (_("symbol type \"%s\" is not supported by "



Home | Main Index | Thread Index | Old Index