|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0 |
|
| #
2bd50014 |
| 22-May-2024 |
Andrew Turner <[email protected]> |
stand/efi: Fix for binutils when targeting arm64
When linking with ld.bfd it complain with the following:
/usr/local/bin/aarch64-unknown-freebsd14.0-ld: start.o: relocation R_AARCH64_ABS32 against
stand/efi: Fix for binutils when targeting arm64
When linking with ld.bfd it complain with the following:
/usr/local/bin/aarch64-unknown-freebsd14.0-ld: start.o: relocation R_AARCH64_ABS32 against `__data_size' can not be used when making a shared object
Fix this by marking the __data_size with ABSOLUTE. This returns a non-relocatable value which appears to be the same behaviour of lld.
Reviewed by: imp Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D45257
(cherry picked from commit 9f44638ef2c46861565b89bb01bbeeab17755649)
show more ...
|
|
Revision tags: release/13.3.0 |
|
| #
6cad882b |
| 25-Feb-2024 |
Warner Losh <[email protected]> |
loader/efi: Linker sets not needed.
We don't need linker sets listed as sections. They are explicitly included in the objcopy we use to create the .efi file. This practice was added in 2002 by peter
loader/efi: Linker sets not needed.
We don't need linker sets listed as sections. They are explicitly included in the objcopy we use to create the .efi file. This practice was added in 2002 by peter@ in a6d81d83a280 to make ia64 builds self-hosted. However, it was added back to the objcopy in 2010 by rpaulo in 8df7a05edd36 for i386 EFI support, though the ldscript file then retained them needlessly. The gcc/binutils bug having been fixed in the interim. We've not needed them since then, but the redundancy didn't matter.
Sponsored by: Netflix Reviewed by: tsoome, kevans Differential Revision: https://reviews.freebsd.org/D44061
(cherry picked from commit d024bc7ff5e80537438b4556810782e9a8257b44)
show more ...
|
| #
5f4d3f8e |
| 25-Feb-2024 |
Warner Losh <[email protected]> |
loader: Move ldscripts to match more standard practices
In the larger open source community, ld scripts are foo.ldscrpt rather than ldscript.arch like we use here. This moves the EFI ldscripts.
Spo
loader: Move ldscripts to match more standard practices
In the larger open source community, ld scripts are foo.ldscrpt rather than ldscript.arch like we use here. This moves the EFI ldscripts.
Sponsored by: Netflix Reviewed by: tsoome, kevans, emaste Differential Revision: https://reviews.freebsd.org/D44056
(cherry picked from commit 5b3b9a58584b101e3ea0fd8dd50dc8d9157c058e)
show more ...
|