aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2023-07-26 14:31:02 +0100
committerIain Sandoe <iain@sandoe.co.uk>2023-09-04 12:32:00 +0100
commitb3ab28c3e85af7995fffb87eb190ef942b7e9e4a (patch)
treedcdbd201b0d9fa95f474da2515e6148230a2d230 /gcc
parent68dc3e94fd6bd395a8b343533485616dff3fc796 (diff)
downloadgcc-b3ab28c3e85af7995fffb87eb190ef942b7e9e4a.zip
gcc-b3ab28c3e85af7995fffb87eb190ef942b7e9e4a.tar.gz
gcc-b3ab28c3e85af7995fffb87eb190ef942b7e9e4a.tar.bz2
Darwin, ppc: Add system stubs for all 32b PPC
This is a minor adjustment to make the GCC behaviour better match the old system tools. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk> gcc/ChangeLog: * config/rs6000/darwin.h (LIB_SPEC): Include libSystemStubs for all 32b Darwin PowerPC cases.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/rs6000/darwin.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h
index bf9dfaf..88a3947 100644
--- a/gcc/config/rs6000/darwin.h
+++ b/gcc/config/rs6000/darwin.h
@@ -98,7 +98,7 @@
Include libmx when targeting Darwin 7.0 and above, but before libSystem,
since the functions are actually in libSystem but for 7.x compatibility
we want them to be looked for in libmx first.
- Include libSystemStubs when compiling against 10.3 - 10.5 SDKs (we assume
+ Include libSystemStubs when compiling against 10.3 - 10.6 SDKs (we assume
this is the case when targetting these) - but not for 64-bit long double.
Don't do either for m64, the library is either a dummy or non-existent.
*/
@@ -107,8 +107,8 @@
#define LIB_SPEC \
"%{!static: \
%{!m64:%{!mlong-double-64: \
- %{pg:%:version-compare(>< 10.3 10.5 mmacosx-version-min= -lSystemStubs_profile)} \
- %{!pg:%:version-compare(>< 10.3 10.5 mmacosx-version-min= -lSystemStubs)} \
+ %{pg:%:version-compare(>< 10.3 10.7 mmacosx-version-min= -lSystemStubs_profile)} \
+ %{!pg:%:version-compare(>< 10.3 10.7 mmacosx-version-min= -lSystemStubs)} \
%:version-compare(>< 10.3 10.4 mmacosx-version-min= -lmx)}} \
-lSystem \
}"