diff options
author | Andrew Turner <andrew@FreeBSD.org> | 2020-09-10 14:13:49 +0000 |
---|---|---|
committer | Andrew Turner <andrew@FreeBSD.org> | 2020-09-10 14:13:49 +0000 |
commit | 6215ed7c5c0e8cdd536123ec658a081748cfc85c (patch) | |
tree | 901766c2788442e00e2d6c524788fa20906951cc /stand/efi/loader | |
parent | cb9050dd21b28f6e735649556ca63d09c4ba4efb (diff) | |
download | src-6215ed7c5c0e8cdd536123ec658a081748cfc85c.tar.gz src-6215ed7c5c0e8cdd536123ec658a081748cfc85c.zip |
Ignore the .interp section in the arm64 EFI loader
When building the loader an unneeded .interp section may be added. Move
this to the unused section region so offsets of used sections don't
change.
Obtained from: CheriBSD
Sponsored by: Innovate UK
Notes
Notes:
svn path=/head/; revision=365578
Diffstat (limited to 'stand/efi/loader')
-rw-r--r-- | stand/efi/loader/arch/arm64/ldscript.arm64 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stand/efi/loader/arch/arm64/ldscript.arm64 b/stand/efi/loader/arch/arm64/ldscript.arm64 index 685c0967840d..d0ed320a319c 100644 --- a/stand/efi/loader/arch/arm64/ldscript.arm64 +++ b/stand/efi/loader/arch/arm64/ldscript.arm64 @@ -80,6 +80,7 @@ SECTIONS _edata = .; /* Unused sections */ + .interp : { *(.interp) } .dynstr : { *(.dynstr) } .hash : { *(.hash) } } |