Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/toolchain/gcc/config/sparc PR/20554: John Heasley: ...



details:   https://anonhg.NetBSD.org/src/rev/7f6fdad9f815
branches:  trunk
changeset: 544233:7f6fdad9f815
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Mar 15 04:51:13 2003 +0000

description:
PR/20554: John Heasley: gcc should define __sparcv9 for 64 bit compilation

diffstat:

 gnu/dist/toolchain/gcc/config/sparc/sparc.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r aeb1b87fb6a9 -r 7f6fdad9f815 gnu/dist/toolchain/gcc/config/sparc/sparc.h
--- a/gnu/dist/toolchain/gcc/config/sparc/sparc.h       Sat Mar 15 04:48:22 2003 +0000
+++ b/gnu/dist/toolchain/gcc/config/sparc/sparc.h       Sat Mar 15 04:51:13 2003 +0000
@@ -129,8 +129,8 @@
 #define ASM_CPU32_DEFAULT_SPEC ""
 
 #if TARGET_CPU_DEFAULT == TARGET_CPU_v9
-/* ??? What does Sun's CC pass?  */
-#define CPP_CPU64_DEFAULT_SPEC "-D__sparc_v9__"
+/* Sun's CC passes __sparcv9 */
+#define CPP_CPU64_DEFAULT_SPEC "-D__sparc_v9__ -D__sparcv9"
 /* ??? It's not clear how other assemblers will handle this, so by default
    use GAS.  Sun's Solaris assembler recognizes -xarch=v8plus, but this case
    is handled in sol2.h.  */



Home | Main Index | Thread Index | Old Index