aboutsummaryrefslogtreecommitdiffstats
path: root/src/arch/x86/transitions/librm.S
diff options
context:
space:
mode:
authorGeert Stappers <stappers@stappers.it>2023-06-30 10:59:59 +0100
committerMichael Brown <mcb30@ipxe.org>2023-06-30 11:05:37 +0100
commite17568ad0642490143d0c6b154c874b9b9e285bf (patch)
treef1c70ecf61dbd0ee0ed60b266da02aec4de075ef /src/arch/x86/transitions/librm.S
parent2524a60550b7b81d32447782e42485997b9af175 (diff)
downloadipxe-e17568ad0642490143d0c6b154c874b9b9e285bf.tar.gz
[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 5dacb9b04..394313246 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
*