From: Andreas Jaeger Date: Fri, 14 Mar 2003 12:18:24 +0000 (+0100) Subject: * config/i386/linux64.h (CPP_SPEC): Define __LP64__ and _LP64 for 64-bit. X-Git-Tag: releases/gcc-3.2.3~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=820f9b130b46a30517c5d0089a695a039f154d0b;p=thirdparty%2Fgcc.git * config/i386/linux64.h (CPP_SPEC): Define __LP64__ and _LP64 for 64-bit. From-SVN: r64353 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b638520af3d4..b1e9d81e9289 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-03-14 Andreas Jaeger + + * config/i386/linux64.h (CPP_SPEC): Define __LP64__ and _LP64 for + 64-bit. + 2003-03-12 Richard Henderson PR opt/8178 diff --git a/gcc/config/i386/linux64.h b/gcc/config/i386/linux64.h index 34c6d3cbd4d6..b8586447acac 100644 --- a/gcc/config/i386/linux64.h +++ b/gcc/config/i386/linux64.h @@ -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