freebsd-dev/stand/arm/uboot
Kyle Evans 62821e5720 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
2018-01-18 22:46:47 +00:00
..
conf.c
help.uboot
ldscript.arm stand: Move sections around to fix stand/ build with ld.lld on armv7 2018-01-18 22:46:47 +00:00
Makefile Move loader help file definitions to being 100% inside of loader.mk. 2017-12-18 04:51:34 +00:00
start.S Save and restore r9 register in arm ubldr. In old gcc 4.2, r9 was a callee- 2017-12-10 21:51:27 +00:00
version