This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RFA: Fix target/47109 (m68k-netbsdelf build failure)
- From: Joern Rennecke <amylaar at spamcop dot net>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 31 Dec 2010 10:44:49 -0500
- Subject: RFA: Fix target/47109 (m68k-netbsdelf build failure)
m68k is not only used for the m68000 microprocessor, but also to describe the
entiry microprocessor family and its architecture, so using m68k should
be good enough. Besides, the version of collect2 does not magically change
when you pass different options to gcc.
Tested by building "all-gcc" for x86_64-pc-linux-gnu X m68k-netbsdelf .
2010-12-31 Joern Rennecke <amylaar@spamcop.net>
PR target/47109
* config/m68k/netbsd-elf.h (TARGET_VERSION): Don't use TARGET_68010.
Index: config/m68k/netbsd-elf.h
===================================================================
--- config/m68k/netbsd-elf.h (revision 168374)
+++ config/m68k/netbsd-elf.h (working copy)
@@ -53,11 +53,7 @@ #define SUBTARGET_EXTRA_SPECS \
#undef TARGET_VERSION
-#define TARGET_VERSION \
- fprintf (stderr, \
- TARGET_68010 \
- ? " (NetBSD/68010 ELF)" \
- : " (NetBSD/m68k ELF)");
+#define TARGET_VERSION fprintf (stderr, " (NetBSD/m68k ELF)");
/* Provide a CPP_SPEC appropriate for NetBSD m68k targets. Currently we