[Darwin, PPC] Use Darwin9 bundle header for Rosetta builds.
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 14 Dec 2019 08:25:02 +0000 (08:25 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Sat, 14 Dec 2019 08:25:02 +0000 (08:25 +0000)
commit4e62faf211557e6b469df749cc9612b6289f4f7e
treeffd802740d272e0812b8f21184ee7477b8991c4a
parentef29b12cfbb4979a89b3cbadbf485a77c8fd8fce
[Darwin, PPC] Use Darwin9 bundle header for Rosetta builds.

On Darwin10 it's possible to make a 32b PPC build using the
'Rosetta' emulator.  However, these builds need to make use of
Darwin9 crts (for exes, dylibs and bundles).  This adds the
change to cater for bundles.

gcc/ChangeLog:

2019-12-14  Iain Sandoe  <iain@sandoe.co.uk>

* config/darwin.h (DARWIN_EXTRA_SPECS): Add new
bundle spec. (DARWIN_BUNDLE1_SPEC): New.
(STARTFILE_SPEC): Use darwin bundle spec.
* config/rs6000/darwin.h (DARWIN_BUNDLE1_SPEC): New.
(DARWIN_DYLIB1_SPEC): Delete duplicate.

From-SVN: r279393
gcc/ChangeLog
gcc/config/darwin.h
gcc/config/rs6000/darwin.h