]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix PPC64 kernel build with clang8 + lld8
authorLeandro Lupori <luporl@FreeBSD.org>
Wed, 22 May 2019 15:56:41 +0000 (15:56 +0000)
committerLeandro Lupori <luporl@FreeBSD.org>
Wed, 22 May 2019 15:56:41 +0000 (15:56 +0000)
commit0632bb89dbbfb405061ecbeb634d73e6661942b1
tree07723ac9483917e9630fa72a427360e53e960271
parent0a3b1d8090f30e6c28df2ee6c84926fd7298d926
Fix PPC64 kernel build with clang8 + lld8

This patch fixes the following lld link errors:

- unsupported dynamic relocations on read-only sections
- out-of-range TOC references

Submitted by: git_bdragon.rtk0.net
Reviewed by: jhibbits, luporl
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D19352
sys/conf/ldscript.powerpc64
sys/powerpc/aim/trap_subr64.S
sys/powerpc/powerpc/cpu_subr64.S