]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/i386/linux64.h (CPP_SPEC): Define __LP64__ and _LP64 for 64-bit.
authorAndreas Jaeger <aj@suse.de>
Fri, 14 Mar 2003 12:18:24 +0000 (13:18 +0100)
committerAndreas Jaeger <aj@gcc.gnu.org>
Fri, 14 Mar 2003 12:18:24 +0000 (13:18 +0100)
From-SVN: r64353

gcc/ChangeLog
gcc/config/i386/linux64.h

index b638520af3d43ac5533752486ebeb62dcb8fc3ca..b1e9d81e92891142fc2c3d71863c50fea46936ba 100644 (file)
@@ -1,3 +1,8 @@
+2003-03-14  Andreas Jaeger  <aj@suse.de>
+
+        * config/i386/linux64.h (CPP_SPEC): Define __LP64__ and _LP64 for 
+       64-bit.
+
 2003-03-12  Richard Henderson  <rth@redhat.com>
 
         PR opt/8178
index 34c6d3cbd4d6c732714219f2eabd31bfb0b38e06..b8586447acacea548ec8af8953ae8be72a15f444 100644 (file)
@@ -28,7 +28,8 @@ Boston, MA 02111-1307, USA.  */
 #define CPP_PREDEFINES "-D__ELF__ -Dunix -D__gnu_linux__ -Dlinux -Asystem(posix)"
 
 #undef CPP_SPEC
-#define CPP_SPEC "%(cpp_cpu) %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} %{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT} %{!m32:-D__LONG_MAX__=9223372036854775807L}"
+#define CPP_SPEC "%(cpp_cpu) %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} %{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT} \
+                  %{!m32:-D__LONG_MAX__=9223372036854775807L -D__LP64__ -D_LP64}"
 
 /* The svr4 ABI for the i386 says that records and unions are returned
    in memory.  In the 64bit compilation we will turn this flag off in