RFA: Fix target/47109 (m68k-netbsdelf build failure)
diff mbox

Message ID 20101231104449.kkxh53zmw4ckcksk-nzlynne@webmail.spamcop.net
State New
Headers show

Commit Message

Joern Rennecke Dec. 31, 2010, 3:44 p.m. UTC
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.

diff mbox

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 \
-#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