| 62821e57 | 18-Jan-2018 |
Kyle Evans <[email protected]> |
stand: Move sections around to fix stand/ build with ld.lld on armv7
When building loader bits, lld fails with the following error: "ld: error: section: .dynamic is not contiguous with other relro s
stand: Move sections around to fix stand/ build with ld.lld on armv7
When building loader bits, lld fails with the following error: "ld: error: section: .dynamic is not contiguous with other relro sections" on both ubldr and EFI loader.
Move .dynamic up to make ld.lld happy, adjust .got as necessary for ubldr.
Tested on: OrangePi One (ld.lld, ubldr) Tested on: Banana Pi-M3 (ld.lld, ubldr) Tested on: qemu-armv7 (ld.lld, EFI) Tested on: qemu-armv7 (ld.bfd, EFI) Tested on: Raspberry Pi 2 (ld.bfd, ubldr) [manu] Tested on: Banana Pi-M2 (ld.bfd, ubldr) [manu] Reviewed by: andrew, emaste, imp Differential Revision: https://reviews.freebsd.org/D13942
show more ...
|