diff options
author | Richard Stallman <rms@gnu.org> | 1993-07-27 07:11:12 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-07-27 07:11:12 +0000 |
commit | 8f94bd72ee1fd61aa2572115758db9d297e37b4d (patch) | |
tree | 72efca09415529309ecd32d154d588afcf182257 | |
parent | 7a0b14b8bcc0f1381af7a371874e0b7ba01730f0 (diff) | |
download | gcc-8f94bd72ee1fd61aa2572115758db9d297e37b4d.zip gcc-8f94bd72ee1fd61aa2572115758db9d297e37b4d.tar.gz gcc-8f94bd72ee1fd61aa2572115758db9d297e37b4d.tar.bz2 |
(CPP_PREDEFINES): added -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BULL_SOURCE to the list.
(CPP_PREDEFINES): added -D_POSIX_SOURCE
-D_XOPEN_SOURCE -D_BULL_SOURCE to the list.
(CPP_SPEC): removed ansi definition.
From-SVN: r5000
-rw-r--r-- | gcc/config/m68k/dpx2.h | 34 |
1 files changed, 4 insertions, 30 deletions
diff --git a/gcc/config/m68k/dpx2.h b/gcc/config/m68k/dpx2.h index f5b3292..75fa5b9 100644 --- a/gcc/config/m68k/dpx2.h +++ b/gcc/config/m68k/dpx2.h @@ -24,33 +24,22 @@ * define all the things the compiler should */ #ifdef ncl_mr -# define CPP_PREDEFINES "-Dunix -Dbull -DDPX2 -DSVR3 -Dmc68000 -Dmc68020 -Dncl_mr=1" +# define CPP_PREDEFINES "-Dunix -Dbull -DDPX2 -DSVR3 -Dmc68000 -Dmc68020 -Dncl_mr=1 -D_BULL_SOURCE -D_POSIX_SOURCE -D_XOPEN_SOURCE" #else # ifdef ncl_el -# define CPP_PREDEFINES "-Dunix -Dbull -DDPX2 -DSVR3 -Dmc68000 -Dmc68020 -Dncl_el" +# define CPP_PREDEFINES "-Dunix -Dbull -DDPX2 -DSVR3 -Dmc68000 -Dmc68020 -Dncl_el-D_BULL_SOURCE -D_POSIX_SOURCE -D_XOPEN_SOURCE " # else -# define CPP_PREDEFINES "-Dunix -Dbull -DDPX2 -DSVR3 -Dmc68000 -Dmc68020" +# define CPP_PREDEFINES "-Dunix -Dbull -DDPX2 -DSVR3 -Dmc68000 -Dmc68020 -D_BULL_SOURCE -D_POSIX_SOURCE -D_XOPEN_SOURCE" # endif #endif #undef CPP_SPEC /* - * use -ansi to imply POSIX and XOPEN and BULL source - * no -ansi implies _SYSV - */ -/* * you can't get a DPX/2 without a 68882 but allow it * to be ignored... */ -#if 0 -# define CPP_SPEC "%{ansi:-D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BULL_SOURCE}\ - %{!ansi:-D_SYSV}" -#else # define __HAVE_68881__ 1 -# define CPP_SPEC "%{!msoft-float:-D__HAVE_68881__ }\ - %{ansi:-D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BULL_SOURCE}\ - %{!ansi:-D_SYSV}" -#endif +# define CPP_SPEC "%{!msoft-float:-D__HAVE_68881__ }" #undef ASM_LONG #define ASM_LONG "\t.long" @@ -59,21 +48,6 @@ #undef DO_GLOBAL_CTORS_BODY /* don't use svr3.h version */ #undef DO_GLOBAL_DTORS_BODY -#if 0 /* Should be no need now that svr3.h defines BSS_SECTION_FUNCTION. */ -/* - * svr3.h says to use BSS_SECTION_FUNCTION - * but no one appears to, and there is - * no definition for m68k. - */ -#ifndef BSS_SECTION_FUNCTION -# undef EXTRA_SECTION_FUNCTIONS -# define EXTRA_SECTION_FUNCTIONS \ - CONST_SECTION_FUNCTION \ - INIT_SECTION_FUNCTION \ - FINI_SECTION_FUNCTION -#endif -#endif /* 0 */ - #ifndef USE_GAS /* * handle the native assembler. |