sysv4.h (CC1_SPEC): Add support for -profile
* rs6000/sysv4.h (CC1_SPEC): Add support for -profile (LIB_LINUX_SPEC): Likewise. (LIB_LINUX_SPEC): Add support for -pthread (CPP_OS_LINUX_SPEC): Likewise. (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are specified From-SVN: r27217
This commit is contained in:
parent
263505afaf
commit
d540a32c56
2 changed files with 26 additions and 3 deletions
|
@ -1,3 +1,12 @@
|
|||
Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
|
||||
|
||||
* rs6000/sysv4.h (CC1_SPEC): Add support for -profile
|
||||
(LIB_LINUX_SPEC): Likewise.
|
||||
(LIB_LINUX_SPEC): Add support for -pthread
|
||||
(CPP_OS_LINUX_SPEC): Likewise.
|
||||
(CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
|
||||
specified.
|
||||
|
||||
Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
|
||||
|
||||
* i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
|
||||
|
|
|
@ -1010,7 +1010,8 @@ do { \
|
|||
%{mcall-solaris: -mno-eabi } \
|
||||
%{mcall-linux: -mno-eabi }}} \
|
||||
%{msdata: -msdata=default} \
|
||||
%{mno-sdata: -msdata=none}"
|
||||
%{mno-sdata: -msdata=none} \
|
||||
%{profile: -p}"
|
||||
|
||||
/* Don't put -Y P,<path> for cross compilers */
|
||||
#undef LINK_PATH_SPEC
|
||||
|
@ -1107,7 +1108,7 @@ do { \
|
|||
#define CPP_SYSV_SPEC \
|
||||
"%{mrelocatable*: -D_RELOCATABLE} \
|
||||
%{fpic: -D__PIC__=1 -D__pic__=1} \
|
||||
%{fPIC: -D__PIC__=2 -D__pic__=2} \
|
||||
%{!fpic: %{fPIC: -D__PIC__=2 -D__pic__=2}} \
|
||||
%{mcall-sysv: -D_CALL_SYSV} %{mcall-nt: -D_CALL_NT} \
|
||||
%{mcall-aix: -D_CALL_AIX} %{mcall-aixdesc: -D_CALL_AIX -D_CALL_AIXDESC} \
|
||||
%{!mcall-sysv: %{!mcall-aix: %{!mcall-aixdesc: %{!mcall-nt: %(cpp_sysv_default) }}}} \
|
||||
|
@ -1304,7 +1305,14 @@ do { \
|
|||
|
||||
/* GNU/Linux support. */
|
||||
#ifndef LIB_LINUX_SPEC
|
||||
#define LIB_LINUX_SPEC "%{mnewlib: --start-group -llinux -lc --end-group } %{!mnewlib: -lc }"
|
||||
#ifdef USE_GNULIBC_1
|
||||
#define LIB_LINUX_SPEC "%{mnewlib: --start-group -llinux -lc --end-group } \
|
||||
%{!mnewlib: -lc }"
|
||||
#else
|
||||
#define LIB_LINUX_SPEC "%{mnewlib: --start-group -llinux -lc --end-group } \
|
||||
%{!mnewlib: %{shared:-lc} %{!shared: %{pthread:-lpthread } \
|
||||
%{profile:-lc_p} %{!profile:-lc}}}"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef STARTFILE_LINUX_SPEC
|
||||
|
@ -1329,9 +1337,15 @@ do { \
|
|||
#endif
|
||||
|
||||
#ifndef CPP_OS_LINUX_SPEC
|
||||
#ifdef USE_GNULIBC_1
|
||||
#define CPP_OS_LINUX_SPEC "-D__unix__ -D__linux__ \
|
||||
%{!undef:%{!ansi:%{!std=*:-Dunix -Dlinux}%{std=gnu*:-Dunix -Dlinux}}} \
|
||||
-Asystem(unix) -Asystem(posix)"
|
||||
#else
|
||||
#define CPP_OS_LINUX_SPEC "-D__unix__ -D__linux__ \
|
||||
%{!undef:%{!ansi:%{!std=*:-Dunix -Dlinux}%{std=gnu*:-Dunix -Dlinux}}} \
|
||||
-Asystem(unix) -Asystem(posix) %{pthread:-D_REENTRANT}"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Solaris support. */
|
||||
|
|
Loading…
Add table
Reference in a new issue