Module Name: src
Committed By: mrg
Date: Sun Jul 3 09:10:42 UTC 2011
Modified Files:
src/external/gpl3/gcc/dist/gcc/config/m68k: netbsd-elf.h
Log Message:
don't use the netbsd LIBGCC_SPEC on sun2. there's no libgcc_pic.a
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/external/gpl3/gcc/dist/gcc/config/m68k/netbsd-elf.h
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/gcc/dist/gcc/config/m68k/netbsd-elf.h
diff -u src/external/gpl3/gcc/dist/gcc/config/m68k/netbsd-elf.h:1.2 src/external/gpl3/gcc/dist/gcc/config/m68k/netbsd-elf.h:1.3
--- src/external/gpl3/gcc/dist/gcc/config/m68k/netbsd-elf.h:1.2 Sat Jul 2 13:18:39 2011
+++ src/external/gpl3/gcc/dist/gcc/config/m68k/netbsd-elf.h Sun Jul 3 09:10:42 2011
@@ -85,6 +85,11 @@
#undef LINK_SPEC
#define LINK_SPEC NETBSD_LINK_SPEC_ELF
+/* NetBSD/sun2 does not support shlibs, avoid using libgcc_pic. */
+#if TARGET_DEFAULT_CPU == 0
+#undef REAL_LIBGCC_SPEC
+#endif
+
#define NETBSD_ENTRY_POINT "_start"
/* Output assembler code to FILE to increment profiler label # LABELNO