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 TARGET_VERSION is use...



details:   https://anonhg.NetBSD.org/src/rev/dd2e78a1eefd
branches:  trunk
changeset: 766802:dd2e78a1eefd
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Jul 02 13:18:39 2011 +0000

description:
TARGET_VERSION is used in collect2.c now.  avoid referencing the
m68k_cpu_flags variable and simply print "(NetBSD/m68k/68010 ELF)".

diffstat:

 external/gpl3/gcc/dist/gcc/config/m68k/netbsd-elf.h |  5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diffs (20 lines):

diff -r 2484ecf41163 -r dd2e78a1eefd external/gpl3/gcc/dist/gcc/config/m68k/netbsd-elf.h
--- a/external/gpl3/gcc/dist/gcc/config/m68k/netbsd-elf.h       Sat Jul 02 13:14:46 2011 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/m68k/netbsd-elf.h       Sat Jul 02 13:18:39 2011 +0000
@@ -52,11 +52,16 @@
 
 
 #undef TARGET_VERSION
+#if 0
 #define TARGET_VERSION                 \
   fprintf (stderr,                     \
           TARGET_68010                 \
           ? " (NetBSD/68010 ELF)"      \
           : " (NetBSD/m68k ELF)");
+#else
+#define TARGET_VERSION                 \
+  fprintf (stderr," (NetBSD/m68k/68010 ELF)");
+#endif
 
 
 /* Provide a CPP_SPEC appropriate for NetBSD m68k targets.  Currently we



Home | Main Index | Thread Index | Old Index