summaryrefslogtreecommitdiffstats
path: root/src/arch/x86/transitions/librm.S
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/transitions/librm.S
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/transitions/librm.S')
-rw-r--r--src/arch/x86/transitions/librm.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/x86/transitions/librm.S b/src/arch/x86/transitions/librm.S
index 5dacb9b0..39431324 100644
--- a/src/arch/x86/transitions/librm.S
+++ b/src/arch/x86/transitions/librm.S
@@ -83,6 +83,8 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )
#define if64 if 0
#endif
+ .section ".note.GNU-stack", "", @progbits
+
/****************************************************************************
* Global descriptor table
*