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 Add -D_LP64 to CPP_ARCH6...



details:   https://anonhg.NetBSD.org/src/rev/45f76e655d3a
branches:  trunk
changeset: 526454:45f76e655d3a
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri May 03 17:47:57 2002 +0000

description:
Add -D_LP64 to CPP_ARCH64_SPEC.  (This will be done differently in gcc 3.x.)

diffstat:

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

diffs (18 lines):

diff -r a1c9cff32f91 -r 45f76e655d3a gnu/dist/toolchain/gcc/config/sparc/sparc.h
--- a/gnu/dist/toolchain/gcc/config/sparc/sparc.h       Fri May 03 17:45:02 2002 +0000
+++ b/gnu/dist/toolchain/gcc/config/sparc/sparc.h       Fri May 03 17:47:57 2002 +0000
@@ -250,12 +250,12 @@
 #define CPP_ARCH32_SPEC "-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int \
 -D__GCC_NEW_VARARGS__ -Acpu(sparc) -Amachine(sparc)"
 #define CPP_ARCH64_SPEC "-D__SIZE_TYPE__=long\\ unsigned\\ int -D__PTRDIFF_TYPE__=long\\ int \
--D__arch64__ -Acpu(sparc64) -Amachine(sparc64)"
+-D__arch64__ -D_LP64 -Acpu(sparc64) -Amachine(sparc64)"
 
 #else
 
 #define CPP_ARCH32_SPEC "-D__GCC_NEW_VARARGS__ -Acpu(sparc) -Amachine(sparc)"
-#define CPP_ARCH64_SPEC "-D__arch64__ -Acpu(sparc64) -Amachine(sparc64)"
+#define CPP_ARCH64_SPEC "-D__arch64__ -D_LP64 -Acpu(sparc64) -Amachine(sparc64)"
 
 #endif
 



Home | Main Index | Thread Index | Old Index