]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[build] Inhibit more linker warnings about an implied executable stack
authorMichael Brown <mcb30@ipxe.org>
Tue, 4 Jul 2023 14:12:49 +0000 (15:12 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 4 Jul 2023 14:12:49 +0000 (15:12 +0100)
Add .note.GNU-stack section declarations to the autogenerated PCI
device ID list objects.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/Makefile.housekeeping

index 3b8ee2587fa7460f6c9ec96233f24d628e3a42e8..d13cb3671ba0ca397a7e0fac3f1cb800888f686a 100644 (file)
@@ -1009,6 +1009,7 @@ endif
 # Device ID tables (using IDs from ROM definition file)
 #
 define obj_pci_id_asm
+       .section ".note.GNU-stack", "", $(ASM_TCHAR)progbits
        .section ".pci_devlist.$(1)", "a", $(ASM_TCHAR)progbits
        .globl pci_devlist_$(1)
 pci_devlist_$(1):