[build] Inhibit linker warnings about an implied executable stack

Signed-off-by: Geert Stappers <stappers@stappers.it>
Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Geert Stappers
2023-06-30 10:59:59 +01:00
committed by Michael Brown
parent 2524a60550
commit e17568ad06
32 changed files with 33 additions and 0 deletions

View File

@@ -9,6 +9,7 @@
* Interrupt handlers
****************************************************************************
*/
.section ".note.GNU-stack", "", @progbits
.section ".text", "ax", @progbits
.code32

View File

@@ -1,5 +1,6 @@
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )
.section ".note.GNU-stack", "", @progbits
.text
.arch i386
.code32

View File

@@ -1,3 +1,4 @@
.section ".note.GNU-stack", "", @progbits
.arch i386
.section ".data", "aw", @progbits