]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Create crtsavres.o for powerpc builds
authorjhibbits <jhibbits@FreeBSD.org>
Sat, 12 Jan 2019 21:29:54 +0000 (21:29 +0000)
committerjhibbits <jhibbits@FreeBSD.org>
Sat, 12 Jan 2019 21:29:54 +0000 (21:29 +0000)
commita551224a60b73169fe0acbcd5ad64d3f6f283110
tree1c99f62b437e7dfe24cf3fd86a50eddf316e52f1
parent32f8cf00d68b8330e5c9b04dafe6ae451378cc5d
Create crtsavres.o for powerpc builds

Summary:
GCC expects to link in a crtsavres.o on powerpc platforms.  On
powerpc64 this is an empty file, but on powerpc and powerpcspe this does contain
some save/restore functions, which may not actually be necessary for newer
modern GCC and clang.  This appeases the in-tree gcc, though, and is needed in
order to switch to the BSD CRTRBEGIN.

PR: 233751
Reviewed By: andrew
Differential Revision: https://reviews.freebsd.org/D18826
gnu/lib/csu/Makefile
lib/csu/powerpc/Makefile
lib/csu/powerpc/crtsavres.S [new file with mode: 0644]
lib/csu/powerpc64/Makefile