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 Allow creation of ind...
details: https://anonhg.NetBSD.org/src/rev/ab5089a16379
branches: trunk
changeset: 331824:ab5089a16379
user: joerg <joerg%NetBSD.org@localhost>
date: Mon Aug 25 20:34:36 2014 +0000
description:
Allow creation of indirection functions on all platforms, not just GNU
and FreeBSD.
diffstat:
external/gpl3/binutils/dist/gas/config/obj-elf.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (18 lines):
diff -r 9f1acc18504c -r ab5089a16379 external/gpl3/binutils/dist/gas/config/obj-elf.c
--- a/external/gpl3/binutils/dist/gas/config/obj-elf.c Mon Aug 25 18:44:02 2014 +0000
+++ b/external/gpl3/binutils/dist/gas/config/obj-elf.c Mon Aug 25 20:34:36 2014 +0000
@@ -1705,12 +1705,14 @@
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)
Home |
Main Index |
Thread Index |
Old Index