Commit d6121128 by Alexandre Oliva Committed by Alexandre Oliva

aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi is given.

* config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
is given.
* config/rs6000/aix43.h (CPP_SPEC): Likewise.
* config/rs6000/rs6000.h (CPP_SPEC): Moved to...
* config/rs6000/aix.h: then modified likewise.

From-SVN: r32797
parent 09b189bf
2000-03-29 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
is given.
* config/rs6000/aix43.h (CPP_SPEC): Likewise.
* config/rs6000/rs6000.h (CPP_SPEC): Moved to...
* config/rs6000/aix.h: then modified likewise.
2000-03-28 Richard Henderson <rth@cygnus.com>
* rtl.h: Redistribute enum reg_note documentation.
......
......@@ -66,6 +66,13 @@ Boston, MA 02111-1307, USA. */
#define CPP_PREDEFINES "-D_IBMR2 -D_POWER -D_AIX -D_AIX32 -D_LONG_LONG \
-Asystem(unix) -Asystem(aix) -Acpu(rs6000) -Amachine(rs6000)"
/* Define appropriate architecture macros for preprocessor depending on
target switches. */
#define CPP_SPEC "%{posix: -D_POSIX_SOURCE}\
%{ansi: -D_ANSI_C_SOURCE}\
%(cpp_cpu)"
/* Tell the assembler to assume that all undefined names are external.
Don't do this until the fixed IBM assembler is more generally available.
......
......@@ -44,6 +44,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_SPEC
#define CPP_SPEC "%{posix: -D_POSIX_SOURCE}\
%{ansi: -D_ANSI_C_SOURCE}\
%{mpe: -I/usr/lpp/ppe.poe/include}\
%{mthreads: -D_THREAD_SAFE}\
%(cpp_cpu)"
......
......@@ -105,6 +105,7 @@ do { \
#undef CPP_SPEC
#define CPP_SPEC "%{posix: -D_POSIX_SOURCE}\
%{ansi: -D_ANSI_C_SOURCE}\
%{maix64: -D__64BIT__ -D_ARCH_PPC}\
%{mpe: -I/usr/lpp/ppe.poe/include}\
%{mthreads: -D_THREAD_SAFE}\
......
......@@ -43,11 +43,6 @@ Boston, MA 02111-1307, USA. */
#define TARGET_CPU_DEFAULT ((char *)0)
#endif
/* Define appropriate architecture macros for preprocessor depending on
target switches. */
#define CPP_SPEC "%{posix: -D_POSIX_SOURCE} %(cpp_cpu)"
/* Common CPP definitions used by CPP_SPEC among the various targets
for handling -mcpu=xxx switches. */
#define CPP_CPU_SPEC \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment