]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Darwin, PPC] Use Darwin9 bundle header for Rosetta builds.
authorIain Sandoe <iain@sandoe.co.uk>
Wed, 25 Dec 2019 20:31:04 +0000 (20:31 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Wed, 25 Dec 2019 20:31:04 +0000 (20:31 +0000)
commit286b9428fed7536dba3406eeb06d5340a780bfe6
tree75031cc95c627167867c17871827ee2c4aabf20d
parent47e35d17d3662c6ac28b747861f59873e61df19e
[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:

Backport from mainline.
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: r279732
gcc/ChangeLog
gcc/config/darwin.h
gcc/config/rs6000/darwin.h