aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@wasabisystems.com>2002-05-03 19:20:21 +0000
committerJason Thorpe <thorpej@gcc.gnu.org>2002-05-03 19:20:21 +0000
commit40039424e5914eab9e59695c8199c8ce2a189bd2 (patch)
treebbf5c7c7409193abec70d19093ae279d7deb88ff
parent4182d9fa8925cb50087e638f33b971a1c0928def (diff)
downloadgcc-40039424e5914eab9e59695c8199c8ce2a189bd2.zip
gcc-40039424e5914eab9e59695c8199c8ce2a189bd2.tar.gz
gcc-40039424e5914eab9e59695c8199c8ce2a189bd2.tar.bz2
netbsd.h (CPP_PREDEFINES): Add -D_LP64.
* config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64. (LINK_SPEC): Undef before defining. From-SVN: r53113
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/alpha/netbsd.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cac4081..b8366ca 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-05-03 Jason Thorpe <thorpej@wasabisystems.com>
+
+ * config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64.
+ (LINK_SPEC): Undef before defining.
+
2002-05-03 Jakub Jelinek <jakub@redhat.com>
PR preprocessor/6489
diff --git a/gcc/config/alpha/netbsd.h b/gcc/config/alpha/netbsd.h
index 5ffc271..508b71c 100644
--- a/gcc/config/alpha/netbsd.h
+++ b/gcc/config/alpha/netbsd.h
@@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES
#define CPP_PREDEFINES \
- "-D__NetBSD__ -Asystem=unix -Asystem=NetBSD"
+ "-D__NetBSD__ -D_LP64 -Asystem=unix -Asystem=NetBSD"
/* Show that we need a GP when profiling. */
@@ -46,6 +46,7 @@ Boston, MA 02111-1307, USA. */
This is a copy of LINK_SPEC from <netbsd-elf.h> tweaked for
the alpha target. */
+#undef LINK_SPEC
#define LINK_SPEC \
"%{G*} %{relax:-relax} \
%{O*:-O3} %{!O*:-O1} \