[build] Inhibit more linker warnings about an implied executable stack

Add .note.GNU-stack section declarations to the autogenerated PCI
device ID list objects.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
pull/989/head
Michael Brown 2023-07-04 15:12:49 +01:00
parent daa9e54ab8
commit 8244410690
1 changed files with 1 additions and 0 deletions

View File

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