From 93bec868712078b74b997bf6bf409557b6d4ed4b Mon Sep 17 00:00:00 2001 From: rth Date: Fri, 29 Mar 2002 23:39:05 +0000 Subject: [PATCH] * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64. * config/ia64/hpux.h, config/ia64/linux.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51586 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/ia64/aix.h | 3 ++- gcc/config/ia64/hpux.h | 2 +- gcc/config/ia64/linux.h | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 101f6a8..111fcaa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2002-03-29 Richard Henderson + * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64. + * config/ia64/hpux.h, config/ia64/linux.h: Likewise. + +2002-03-29 Richard Henderson + * config/i386/i386.c (x86_arch_always_fancy_math_387): New. (override_options): Disable NO_FANCY_MATH_387 if the arch allows. * config/i386/i386.h (x86_arch_always_fancy_math_387): New. diff --git a/gcc/config/ia64/aix.h b/gcc/config/ia64/aix.h index 1e57c2b..1e2e922 100644 --- a/gcc/config/ia64/aix.h +++ b/gcc/config/ia64/aix.h @@ -87,7 +87,8 @@ Boston, MA 02111-1307, USA. */ #undef CPP_PREDEFINES #define CPP_PREDEFINES "\ -D__ia64 -D__ia64__ -D_AIX -D_AIX64 -D_LONGLONG -Dunix \ --D__LP64__ -D__ELF__ -Asystem=unix -Asystem=aix -Acpu=ia64 -Amachine=ia64 \ +-D_LP64 -D__LP64__ -D__ELF__ \ +-Asystem=unix -Asystem=aix -Acpu=ia64 -Amachine=ia64 \ -D__64BIT__ -D_LONG_LONG -D_IA64 -D__int128=__size128_t" /* The GNU C++ standard library requires that these macros be defined. */ diff --git a/gcc/config/ia64/hpux.h b/gcc/config/ia64/hpux.h index 89b2902..5f272d6 100644 --- a/gcc/config/ia64/hpux.h +++ b/gcc/config/ia64/hpux.h @@ -40,7 +40,7 @@ Boston, MA 02111-1307, USA. */ #undef CPP_SPEC #define CPP_SPEC "\ %{mcpu=itanium:-D__itanium__} \ - %{mlp64:-D__LP64__ -D__LONG_MAX__=9223372036854775807L} \ + %{mlp64:-D__LP64__ -D_LP64 -D__LONG_MAX__=9223372036854775807L} \ %{!ansi:%{!std=c*:%{!std=i*: -D_HPUX_SOURCE -D__STDC_EXT__}}} \ -D__fpreg=long\\ double \ -D__float80=long\\ double \ diff --git a/gcc/config/ia64/linux.h b/gcc/config/ia64/linux.h index ac77af2..2f57d6f 100644 --- a/gcc/config/ia64/linux.h +++ b/gcc/config/ia64/linux.h @@ -12,7 +12,7 @@ /* ??? Maybe this should be in sysv4.h? */ #define CPP_PREDEFINES "\ -D__ia64 -D__ia64__ -D__linux -D__linux__ -D_LONGLONG -Dlinux -Dunix \ --D__LP64__ -D__ELF__ -Asystem=linux -Acpu=ia64 -Amachine=ia64" +-D_LP64 -D__LP64__ -D__ELF__ -Asystem=linux -Acpu=ia64 -Amachine=ia64" /* ??? ia64 gas doesn't accept standard svr4 assembler options? */ #undef ASM_SPEC -- 2.7.4