aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2023-07-04 15:12:49 +0100
committerMichael Brown <mcb30@ipxe.org>2023-07-04 15:12:49 +0100
commit824441069010806b63cc5d110e5acd1f1d1ee858 (patch)
tree0680ab79f4cc14ef0dea185328789d2b51e717b0
parentdaa9e54ab8207ea9bae80db16d664d019d590fb2 (diff)
downloadipxe-824441069010806b63cc5d110e5acd1f1d1ee858.zip
ipxe-824441069010806b63cc5d110e5acd1f1d1ee858.tar.gz
ipxe-824441069010806b63cc5d110e5acd1f1d1ee858.tar.bz2
[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>
-rw-r--r--src/Makefile.housekeeping1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping
index 3b8ee25..d13cb36 100644
--- a/src/Makefile.housekeeping
+++ b/src/Makefile.housekeeping
@@ -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):