mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-18 19:04:38 +00:00
efi_loader: suppress executable stack warning
When linking EFI binaries the linker emits: ld.bfd: warning: lib/efi_loader/efi_crt0.o: missing .note.GNU-stack section implies executable stack Suppress the warning. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
parent
868353daa3
commit
a8d52f9a9b
1 changed files with 2 additions and 2 deletions
|
@ -426,8 +426,8 @@ $(obj)/%.efi: $(obj)/%_efi.so
|
|||
$(call cmd,efi_objcopy)
|
||||
|
||||
quiet_cmd_efi_ld = LD $@
|
||||
cmd_efi_ld = $(LD) -nostdlib -znocombreloc -T $(EFI_LDS_PATH) -shared \
|
||||
-Bsymbolic -znorelro -s $^ -o $@
|
||||
cmd_efi_ld = $(LD) -nostdlib -zexecstack -znocombreloc -T $(EFI_LDS_PATH) \
|
||||
-shared -Bsymbolic -znorelro -s $^ -o $@
|
||||
|
||||
EFI_LDS_PATH = $(srctree)/arch/$(ARCH)/lib/$(EFI_LDS)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue