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
This commit is contained in:
Andrew Turner 2020-09-10 14:13:49 +00:00
parent cb9050dd21
commit 6215ed7c5c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=365578

View File

@ -80,6 +80,7 @@ SECTIONS
_edata = .;
/* Unused sections */
.interp : { *(.interp) }
.dynstr : { *(.dynstr) }
.hash : { *(.hash) }
}