Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/dist/gcc/config/m68k don't use the netbsd ...
details: https://anonhg.NetBSD.org/src/rev/fcdfe8a5231c
branches: trunk
changeset: 766855:fcdfe8a5231c
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Jul 03 09:10:42 2011 +0000
description:
don't use the netbsd LIBGCC_SPEC on sun2. there's no libgcc_pic.a
diffstat:
external/gpl3/gcc/dist/gcc/config/m68k/netbsd-elf.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diffs (15 lines):
diff -r 8f8d3ab96fd7 -r fcdfe8a5231c external/gpl3/gcc/dist/gcc/config/m68k/netbsd-elf.h
--- a/external/gpl3/gcc/dist/gcc/config/m68k/netbsd-elf.h Sun Jul 03 09:10:37 2011 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/m68k/netbsd-elf.h Sun Jul 03 09:10:42 2011 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index