minix/tools/binutils/patches/patch-ao
Thomas Veerman c8a0e2f4c6 Import NetBSD tools and build.sh
This commit finalizes support for cross compilation. The tools
directory are all links to the actual tools and are built on the
host system to build Minix. build.sh is the work horse that takes
care of all environment settings. It's slightly adjusted for Minix.
The /usr/src/Makefile has additional targets needed for cross
compilation.
2012-06-18 10:54:51 +00:00

16 lines
415 B
Text

$NetBSD$
--- gas/config/te-minix.h.orig Sat Feb 26 00:58:30 2011
+++ gas/config/te-minix.h
@@ -0,0 +1,11 @@
+#define TE_MINIX 1
+
+/* Added these, because if we don't know what we're targeting we may
+ need an assembler version of libgcc, and that will use local
+ labels. */
+#define LOCAL_LABELS_DOLLAR 1
+#define LOCAL_LABELS_FB 1
+
+#define ELF_TARGET_FORMAT "elf32-i386-minix"
+
+#include "obj-format.h"