summaryrefslogtreecommitdiffstats
path: root/src/arch/x86/interface
diff options
context:
space:
mode:
authorGeert Stappers2023-06-30 11:59:59 +0200
committerMichael Brown2023-06-30 12:05:37 +0200
commite17568ad0642490143d0c6b154c874b9b9e285bf (patch)
treef1c70ecf61dbd0ee0ed60b266da02aec4de075ef /src/arch/x86/interface
parent[build] Avoid using multiple target patterns in pattern rules (diff)
downloadipxe-e17568ad0642490143d0c6b154c874b9b9e285bf.tar.gz
ipxe-e17568ad0642490143d0c6b154c874b9b9e285bf.tar.xz
ipxe-e17568ad0642490143d0c6b154c874b9b9e285bf.zip
[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>
Diffstat (limited to 'src/arch/x86/interface')
-rw-r--r--src/arch/x86/interface/pcbios/e820mangler.S1
-rw-r--r--src/arch/x86/interface/pxe/pxe_entry.S1
-rw-r--r--src/arch/x86/interface/syslinux/com32_wrapper.S1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/x86/interface/pcbios/e820mangler.S b/src/arch/x86/interface/pcbios/e820mangler.S
index 296a6488b..46e1cab4d 100644
--- a/src/arch/x86/interface/pcbios/e820mangler.S
+++ b/src/arch/x86/interface/pcbios/e820mangler.S
@@ -23,6 +23,7 @@
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )
+ .section ".note.GNU-stack", "", @progbits
.text
.arch i386
.code16
diff --git a/src/arch/x86/interface/pxe/pxe_entry.S b/src/arch/x86/interface/pxe/pxe_entry.S
index 3a5a100e3..354dd1b35 100644
--- a/src/arch/x86/interface/pxe/pxe_entry.S
+++ b/src/arch/x86/interface/pxe/pxe_entry.S
@@ -26,6 +26,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )
#include <librm.h>
+ .section ".note.GNU-stack", "", @progbits
.arch i386
/****************************************************************************
diff --git a/src/arch/x86/interface/syslinux/com32_wrapper.S b/src/arch/x86/interface/syslinux/com32_wrapper.S
index d59a3392c..501919565 100644
--- a/src/arch/x86/interface/syslinux/com32_wrapper.S
+++ b/src/arch/x86/interface/syslinux/com32_wrapper.S
@@ -21,6 +21,7 @@ FILE_LICENCE ( GPL2_OR_LATER )
#include "librm.h"
+ .section ".note.GNU-stack", "", @progbits
.text
.code32