Module Name:    src
Committed By:   joerg
Date:           Mon Aug 25 20:34:36 UTC 2014

Modified Files:
        src/external/gpl3/binutils/dist/gas/config: obj-elf.c

Log Message:
Allow creation of indirection functions on all platforms, not just GNU
and FreeBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.3 -r1.2 \
    src/external/gpl3/binutils/dist/gas/config/obj-elf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/binutils/dist/gas/config/obj-elf.c
diff -u src/external/gpl3/binutils/dist/gas/config/obj-elf.c:1.1.1.3 src/external/gpl3/binutils/dist/gas/config/obj-elf.c:1.2
--- src/external/gpl3/binutils/dist/gas/config/obj-elf.c:1.1.1.3	Sun Sep 29 13:41:19 2013
+++ src/external/gpl3/binutils/dist/gas/config/obj-elf.c	Mon Aug 25 20:34:36 2014
@@ -1705,12 +1705,14 @@ obj_elf_type (int ignore ATTRIBUTE_UNUSE
       const struct elf_backend_data *bed;
 
       bed = get_elf_backend_data (stdoutput);
+#if 0
       if (!(bed->elf_osabi == ELFOSABI_GNU
 	    || bed->elf_osabi == ELFOSABI_FREEBSD
 	    /* GNU is still using the default value 0.  */
 	    || bed->elf_osabi == ELFOSABI_NONE))
 	as_bad (_("symbol type \"%s\" is supported only by GNU and FreeBSD targets"),
 		type_name);
+#endif
       type = BSF_FUNCTION | BSF_GNU_INDIRECT_FUNCTION;
     }
   else if (strcmp (type_name, "gnu_unique_object") == 0)

Reply via email to