diff options
author | Geoffrey Keating <geoffk@apple.com> | 2007-03-10 01:03:36 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2007-03-10 01:03:36 +0000 |
commit | 48137d59c3cf49628dee903213567c9556cb6adb (patch) | |
tree | 3d90d17a264baf824bedf4f6733f3e706c71f2e6 /gcc/config/rs6000 | |
parent | 9b580a0b53a3e81eef0656670c4a4a09a5683b42 (diff) | |
download | gcc-48137d59c3cf49628dee903213567c9556cb6adb.zip gcc-48137d59c3cf49628dee903213567c9556cb6adb.tar.gz gcc-48137d59c3cf49628dee903213567c9556cb6adb.tar.bz2 |
gcc.c: Document %{, in big comment at top.
* gcc.c: Document %{, in big comment at top.
(input_suffix_matches): Remove special handling for .s and
.S.
(input_spec_matches): New.
(handle_braces): Handle %{,.
(validate_switches): ',' indicates a value which is not a switch.
* config/alpha/osf.h (ASM_FINAL_SPEC): Use %{, rather than %{.
to detect assembler input.
* config/i386/sol2.h (CPP_SPEC): Likewise.
* config/rs6000/sysv4.h (ASM_SPEC): Likewise.
* config/rs6000/vxworks.h (ASM_SPEC): Likewise.
* config/rs6000/lynx.h (ASM_SPEC): Likewise.
* config/rs6000/linux64.h (ASM_SPEC_COMMON): Likewise.
* config/i386/darwin.h (DARWIN_MINVERSION_SPEC): Objective-C plus
-m64 causes deployment target to default to 10.5.
* config/rs6000/darwin.h (DARWIN_MINVERSION_SPEC): Likewise.
From-SVN: r122783
Diffstat (limited to 'gcc/config/rs6000')
-rw-r--r-- | gcc/config/rs6000/darwin.h | 9 | ||||
-rw-r--r-- | gcc/config/rs6000/linux64.h | 2 | ||||
-rw-r--r-- | gcc/config/rs6000/lynx.h | 3 | ||||
-rw-r--r-- | gcc/config/rs6000/sysv4.h | 2 | ||||
-rw-r--r-- | gcc/config/rs6000/vxworks.h | 2 |
5 files changed, 10 insertions, 8 deletions
diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h index 6aa7d65..23e387b 100644 --- a/gcc/config/rs6000/darwin.h +++ b/gcc/config/rs6000/darwin.h @@ -122,9 +122,12 @@ "%{!m64:%:version-compare(!> 10.4 mmacosx-version-min= crt2.o%s)}" /* Determine a minimum version based on compiler options. */ -#define DARWIN_MINVERSION_SPEC \ - "%{m64:10.4; \ - shared-libgcc:10.3; \ +#define DARWIN_MINVERSION_SPEC \ + "%{m64:%{fgnu-runtime:10.4; \ + ,objective-c|,objc-cpp-output:10.5; \ + ,objective-c++|,objective-c++-cpp-output:10.5; \ + :10.4}; \ + shared-libgcc:10.3; \ :10.1}" #undef SUBTARGET_EXTRA_SPECS diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h index 8937dcd..00853fe 100644 --- a/gcc/config/rs6000/linux64.h +++ b/gcc/config/rs6000/linux64.h @@ -165,7 +165,7 @@ extern int dot_symbols; #define ASM_SPEC64 "-a64" #define ASM_SPEC_COMMON "%(asm_cpu) \ -%{.s: %{mregnames} %{mno-regnames}} %{.S: %{mregnames} %{mno-regnames}} \ +%{,assembler|,assembler-with-cpp: %{mregnames} %{mno-regnames}} \ %{v:-V} %{Qy:} %{!Qn:-Qy} %{Wa,*:%*} \ %{mlittle} %{mlittle-endian} %{mbig} %{mbig-endian}" diff --git a/gcc/config/rs6000/lynx.h b/gcc/config/rs6000/lynx.h index ab2d16f..0dbd747 100644 --- a/gcc/config/rs6000/lynx.h +++ b/gcc/config/rs6000/lynx.h @@ -54,8 +54,7 @@ #undef ASM_SPEC #define ASM_SPEC \ "%(asm_cpu) \ - %{.s: %{mregnames} %{mno-regnames}} \ - %{.S: %{mregnames} %{mno-regnames}}" + %{,assembler|,assembler-with-cpp: %{mregnames} %{mno-regnames}}" #undef STARTFILE_SPEC #undef ENDFILE_SPEC diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 0b1eb1e..1aad6af 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -578,7 +578,7 @@ extern int fixuplabelno; /* Override svr4.h definition. */ #undef ASM_SPEC #define ASM_SPEC "%(asm_cpu) \ -%{.s: %{mregnames} %{mno-regnames}} %{.S: %{mregnames} %{mno-regnames}} \ +%{,assembler|,assembler-with-cpp: %{mregnames} %{mno-regnames}} \ %{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*} \ %{mrelocatable} %{mrelocatable-lib} %{fpic|fpie|fPIC|fPIE:-K PIC} \ %{memb|msdata|msdata=eabi: -memb} \ diff --git a/gcc/config/rs6000/vxworks.h b/gcc/config/rs6000/vxworks.h index f15369c..2bd7872 100644 --- a/gcc/config/rs6000/vxworks.h +++ b/gcc/config/rs6000/vxworks.h @@ -84,7 +84,7 @@ VXWORKS_ADDITIONAL_CPP_SPEC #define ASM_SPEC \ "%(asm_cpu) \ - %{.s: %{mregnames} %{mno-regnames}} %{.S: %{mregnames} %{mno-regnames}} \ + %{,assembler|,assembler-with-cpp: %{mregnames} %{mno-regnames}} \ %{v:-v} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*} \ %{mrelocatable} %{mrelocatable-lib} %{fpic:-K PIC} %{fPIC:-K PIC} -mbig" |