summaryrefslogtreecommitdiff
path: root/gnu-efi/gnuefi
diff options
context:
space:
mode:
Diffstat (limited to 'gnu-efi/gnuefi')
-rw-r--r--gnu-efi/gnuefi/crt0-efi-aarch64.S1
-rw-r--r--gnu-efi/gnuefi/crt0-efi-arm.S1
-rw-r--r--gnu-efi/gnuefi/crt0-efi-ia32.S1
-rw-r--r--gnu-efi/gnuefi/crt0-efi-ia64.S1
-rw-r--r--gnu-efi/gnuefi/crt0-efi-mips64el.S1
-rw-r--r--gnu-efi/gnuefi/crt0-efi-x86_64.S1
-rw-r--r--gnu-efi/gnuefi/reloc_ia64.S1
7 files changed, 7 insertions, 0 deletions
diff --git a/gnu-efi/gnuefi/crt0-efi-aarch64.S b/gnu-efi/gnuefi/crt0-efi-aarch64.S
index 0fefec0c..6a45aabe 100644
--- a/gnu-efi/gnuefi/crt0-efi-aarch64.S
+++ b/gnu-efi/gnuefi/crt0-efi-aarch64.S
@@ -51,3 +51,4 @@ _start:
.4byte .dummy1-.dummy0 // Page RVA
.4byte 10 // Block Size (2*4+2)
.2byte (IMAGE_REL_ABSOLUTE<<12) + 0 // reloc for dummy
+ .section .note.GNU-stack,"a"
diff --git a/gnu-efi/gnuefi/crt0-efi-arm.S b/gnu-efi/gnuefi/crt0-efi-arm.S
index 1efc21c3..2a674382 100644
--- a/gnu-efi/gnuefi/crt0-efi-arm.S
+++ b/gnu-efi/gnuefi/crt0-efi-arm.S
@@ -191,3 +191,4 @@ _start:
.L_DYNAMIC:
.word _DYNAMIC - .
+ .section .note.GNU-stack,"a"
diff --git a/gnu-efi/gnuefi/crt0-efi-ia32.S b/gnu-efi/gnuefi/crt0-efi-ia32.S
index c9b3ea67..35c65411 100644
--- a/gnu-efi/gnuefi/crt0-efi-ia32.S
+++ b/gnu-efi/gnuefi/crt0-efi-ia32.S
@@ -75,3 +75,4 @@ _start:
.4byte .dummy1-.dummy0 // Page RVA
.4byte 10 // Block Size (2*4+2)
.2byte (IMAGE_REL_ABSOLUTE<<12) + 0 // reloc for dummy
+ .section .note.GNU-stack,"a"
diff --git a/gnu-efi/gnuefi/crt0-efi-ia64.S b/gnu-efi/gnuefi/crt0-efi-ia64.S
index 40c3c837..cfe603b1 100644
--- a/gnu-efi/gnuefi/crt0-efi-ia64.S
+++ b/gnu-efi/gnuefi/crt0-efi-ia64.S
@@ -85,3 +85,4 @@ _start_plabel:
data4 12 // Block Size (2*4+2*2)
data2 (IMAGE_REL_BASED_DIR64<<12) + 0 // reloc for plabel's entry point
data2 (IMAGE_REL_BASED_DIR64<<12) + 8 // reloc for plabel's global pointer
+ .section .note.GNU-stack,"a"
diff --git a/gnu-efi/gnuefi/crt0-efi-mips64el.S b/gnu-efi/gnuefi/crt0-efi-mips64el.S
index 6a62aca9..91696843 100644
--- a/gnu-efi/gnuefi/crt0-efi-mips64el.S
+++ b/gnu-efi/gnuefi/crt0-efi-mips64el.S
@@ -186,3 +186,4 @@ _pc:
.end _start
.set pop
+ .section .note.GNU-stack,"a"
diff --git a/gnu-efi/gnuefi/crt0-efi-x86_64.S b/gnu-efi/gnuefi/crt0-efi-x86_64.S
index 0d99c151..8a4aabf5 100644
--- a/gnu-efi/gnuefi/crt0-efi-x86_64.S
+++ b/gnu-efi/gnuefi/crt0-efi-x86_64.S
@@ -72,3 +72,4 @@ _start:
.4byte .dummy1-.dummy0 // Page RVA
.4byte 10 // Block Size (2*4+2)
.2byte (IMAGE_REL_ABSOLUTE<<12) + 0 // reloc for dummy
+ .section .note.GNU-stack,"a"
diff --git a/gnu-efi/gnuefi/reloc_ia64.S b/gnu-efi/gnuefi/reloc_ia64.S
index 40203bfb..6e55a154 100644
--- a/gnu-efi/gnuefi/reloc_ia64.S
+++ b/gnu-efi/gnuefi/reloc_ia64.S
@@ -225,3 +225,4 @@ apply_FPTR64:
fptr_mem_base:
.space MAX_FUNCTION_DESCRIPTORS*16
fptr_mem_limit:
+ .section .note.GNU-stack,"a"