pkgsrc-ng/devel/binutils22/patches/patch-bfd_elf32-i386.c
2014-08-11 13:28:49 +02:00

24 lines
500 B
C

$NetBSD$
--- bfd/elf32-i386.c.orig Mon Nov 21 09:29:15 2011
+++ bfd/elf32-i386.c
@@ -4962,6 +4962,18 @@ elf_i386_add_symbol_hook (bfd * abfd,
#include "elf32-target.h"
+/* MINIX3 support. */
+
+#undef TARGET_LITTLE_SYM
+#define TARGET_LITTLE_SYM bfd_elf32_i386_minix_vec
+#undef TARGET_LITTLE_NAME
+#define TARGET_LITTLE_NAME "elf32-i386-minix"
+
+#undef elf32_bed
+#define elf32_bed elf32_i386_minix_bed
+
+#include "elf32-target.h"
+
/* FreeBSD support. */
#undef TARGET_LITTLE_SYM