gcc/libgcc/config/rs6000
Iain Sandoe 179c7ef523 [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.

2019-07-03  Iain Sandoe  <iain@sandoe.co.uk>

gcc/

	* 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-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.

From-SVN: r273016
2019-07-03 18:36:28 +00:00
..
_divkc3.c
_mulkc3.c
_powikf2.c
aix-unwind.h aix-unwind.h (LR_REGNO): Rename to R_LR. 2019-06-05 12:45:57 -04:00
aixinitfini.c
atexit.c
crtcxa.c
crtdbase.S
crtresfpr.S
crtresgpr.S
crtrestvr.S
crtresxfpr.S
crtresxgpr.S
crtsavevr.S
crtsavfpr.S
crtsavgpr.S
cxa_atexit.c
cxa_finalize.c
darwin-asm.h
darwin-crt2.c
darwin-fallback.c
darwin-fpsave.S
darwin-gpsave.S
darwin-tramp.S
darwin-unwind.h
darwin-vecsave.S
darwin-world.S
e500crtres32gpr.S
e500crtres64gpr.S
e500crtres64gprctr.S
e500crtrest32gpr.S
e500crtrest64gpr.S
e500crtresx32gpr.S
e500crtresx64gpr.S
e500crtsav32gpr.S
e500crtsav64gpr.S
e500crtsav64gprctr.S
e500crtsavg32gpr.S
e500crtsavg64gpr.S
e500crtsavg64gprctr.S
eabi-ci.S
eabi-cn.S
eabi.S
exit.h
extendkftf2-sw.c
fixkfti.c
fixunskfti.c
float128-hw.c
float128-ifunc.c
float128-sed
float128-sed-hw
floattikf.c
floatuntikf.c
freebsd-unwind.h
gthr-aix.h
ibm-ldouble-format
ibm-ldouble.c
libgcc-aix-cxa.ver
libgcc-darwin.10.4.ver
libgcc-darwin.10.5.ver
libgcc-glibc.ver
libgcc-ibm-ldouble.ver
linux-unwind.h
morestack.S
on_exit.c
ppc64-fp.c
quad-float128.h
sfp-exceptions.c
sfp-machine.h
sol-ci.S
sol-cn.S
t-aix-cxa
t-crtstuff
t-darwin [Darwin] Some TLC for older Darwin versions. 2019-07-03 18:36:28 +00:00
t-darwin64 [Darwin] Some TLC for older Darwin versions. 2019-07-03 18:36:28 +00:00
t-e500v1-fp
t-e500v2-fp
t-float128
t-float128-hw
t-freebsd
t-freebsd64
t-ibm-ldouble
t-linux
t-lynx
t-netbsd
t-ppc64-fp
t-ppccomm
t-savresfgpr
t-slibgcc-aix
t-stack-rs6000
tramp.S
trunctfkf2-sw.c