netbsd.h (CPP_PREDEFINES): Add -D_LP64.
authorJason Thorpe <thorpej@wasabisystems.com>
Fri, 3 May 2002 19:20:21 +0000 (19:20 +0000)
committerJason Thorpe <thorpej@gcc.gnu.org>
Fri, 3 May 2002 19:20:21 +0000 (19:20 +0000)
* config/alpha/netbsd.h (CPP_PREDEFINES): Add -D_LP64.
(LINK_SPEC): Undef before defining.

From-SVN: r53113

gcc/ChangeLog
gcc/config/alpha/netbsd.h

index cac408130e5c70fea0dc83c1d22b6f4f8f26bbe0..b8366ca718753ee342fa5681a522fe098263ea22 100644 (file)
@@ -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
index 5ffc2715605083cc21dd0ddda300667e209c1cf7..508b71cdf55569de018b373d6f790cd5b0d6f49d 100644 (file)
@@ -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}                                                        \