mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-16 07:47:12 -04:00
24 lines
500 B
C
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
|