]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Darwin, PPC] Move the out of line register save/restore to an endfile.
authoriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Jun 2019 20:11:11 +0000 (20:11 +0000)
committeriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Jun 2019 20:11:11 +0000 (20:11 +0000)
commit38b69262a97f1c852028f85fd6a2c1c5281a2dae
treeb4fcc23a61599c949b013daff796639d4daf1694
parent4df25b14ca60e0f57506d97f13f67bb89c8d6b53
[Darwin, PPC] Move the out of line register save/restore to an endfile.

We have been including this in libgcc, which means that we have to append
-lgcc even when using shared libgcc. In preparation for revision of libgcc
split this into an endfile.

gcc/
2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>

* config/rs6000/darwin.h (ENDFILE_SPEC): New.

libgcc/
2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>

* config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
* config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
Build objects for the out of line save/restore register functions
so that they can be used for any supported Darwin version.
* config/t-darwin: Default the build Darwin version to Darwin8
(MacOS 10.4).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@272659 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/rs6000/darwin.h
libgcc/ChangeLog
libgcc/config/rs6000/t-darwin
libgcc/config/t-darwin