Skip to content

Commit

Permalink
loader/efi: Only include interpreter's linker script
Browse files Browse the repository at this point in the history
For safety, only include the interpreter's linker script. Note that the
simple loader doesn't have one, but it's not an error to copy a ELF
section that does not exist. No functional change, however.

Sponsored by:		Netflix
Reviewed by:		tsoome, kevans
Differential Revision:	https://reviews.freebsd.org/D44064
  • Loading branch information
bsdimp committed Feb 25, 2024
1 parent 8ec8413 commit f5f08e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stand/efi/loader/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ ${LOADER}.efi: ${PROG}
${OBJCOPY} -j .peheader -j .text -j .sdata -j .data \
-j .dynamic -j .dynsym -j .rel.dyn \
-j .rela.dyn -j .reloc -j .eh_frame -j set_Xcommand_set \
-j set_X4th_compile_set -j set_Xlua_compile_set \
-j set_X${LOADER_INTERP}_compile_set \
--output-target=${EFI_TARGET} ${.ALLSRC} ${.TARGET}

LIBEFI= ${BOOTOBJ}/efi/libefi/libefi.a
Expand Down

0 comments on commit f5f08e4

Please sign in to comment.