This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r277725 - in /branches/gcc-7-branch: gcc/Change...
- From: iains at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 01 Nov 2019 20:44:32 -0000
- Subject: r277725 - in /branches/gcc-7-branch: gcc/Change...
Author: iains
Date: Fri Nov 1 20:44:32 2019
New Revision: 277725
URL: https://gcc.gnu.org/viewcvs?rev=277725&root=gcc&view=rev
Log:
[Darwin] Some TLC for older Darwin versions.
The library handling and some of the options for creating the crts for
the older PPC Darwin versions had bit-rotted somewhat. This adjusts the
build criteria for the crts to avoid newer ld64 versions warnings about
mismatches in build and object versions.
Added to some of the comments that it's documented why the specs are as
they are.
gcc/
2019-11-01 Iain Sandoe <iain@sandoe.co.uk>
Backport from mainline
2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
* config/darwin.h (REAL_LIBGCC_SPEC): Adjust for earlier Darwin.
(STARTFILE_SPEC): Split crt3 into a separate spec.
(DARWIN_EXTRA_SPECS): Add crt2 and crt3 spec.
(DARWIN_CRT2_SPEC): New.
(DARWIN_CRT3_SPEC): New.
(MIN_LD64_OMIT_STUBS): Revise to 62.1.
* config/rs6000/darwin.h (DARWIN_CRT2_SPEC): Revise conditions.
(DARWIN_CRT3_SPEC): New.
libgcc/
2019-11-01 Iain Sandoe <iain@sandoe.co.uk>
Backport from mainline.
2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
* config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
list.
* config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
mmacosx-version-min for crts to run across all system versions.
* config/rs6000/t-darwin64 (LIB2ADD): Remove.
* config/t-darwin: Revise mmacosx-version-min for crts to run across
system versions >= 10.4.
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/config/darwin.h
branches/gcc-7-branch/gcc/config/rs6000/darwin.h
branches/gcc-7-branch/libgcc/ChangeLog
branches/gcc-7-branch/libgcc/config.host
branches/gcc-7-branch/libgcc/config/rs6000/t-darwin
branches/gcc-7-branch/libgcc/config/rs6000/t-darwin64
branches/gcc-7-branch/libgcc/config/t-darwin