From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1698) id 56A513858C41; Thu, 25 Apr 2024 19:22:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 56A513858C41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1714072926; bh=bLVAhCqUiuozPIekmYu4F7HxgqHHgiwfBiB/SA3+0Vk=; h=From:To:Subject:Date:From; b=EHVDPAlM7ixaQVa31O/3kZfABlWD6EVdoAPYEmDJIWFhRhvPC7VODnrtwEEMwISib ZxdBgAit8V4fuZNiW2gvHnQ6BKDZj6i06hGNL1XkWOh4ED/SBc22zVZhG4eqkFawlS Q5gxN3Tzu5tW7XOlBAf5Ylz3nYuhQs8/w7Bc+HL4= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Iain D Sandoe To: gcc-cvs@gcc.gnu.org Subject: [gcc r11-11368] Darwin, ppc: Add system stubs for all 32b PPC X-Act-Checkin: gcc X-Git-Author: Iain Sandoe X-Git-Refname: refs/heads/releases/gcc-11 X-Git-Oldrev: 960ca4144ebb61d125f28fab17b57cd3b09b49fd X-Git-Newrev: 7f93f55272b127257011f25937d4a39196322d2c Message-Id: <20240425192206.56A513858C41@sourceware.org> Date: Thu, 25 Apr 2024 19:22:06 +0000 (GMT) List-Id: https://gcc.gnu.org/g:7f93f55272b127257011f25937d4a39196322d2c commit r11-11368-g7f93f55272b127257011f25937d4a39196322d2c Author: Iain Sandoe Date: Wed Jul 26 14:31:02 2023 +0100 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 gcc/ChangeLog: * config/rs6000/darwin.h (LIB_SPEC): Include libSystemStubs for all 32b Darwin PowerPC cases. (cherry picked from commit b3ab28c3e85af7995fffb87eb190ef942b7e9e4a) Diff: --- gcc/config/rs6000/darwin.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h index 566794af706..e80dd7c77b6 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 \ }"