Page MenuHomeFreeBSD

D56946.id177935.diff
No OneTemporary

D56946.id177935.diff

diff --git a/sys/amd64/amd64/cpu_switch.S b/sys/amd64/amd64/cpu_switch.S
--- a/sys/amd64/amd64/cpu_switch.S
+++ b/sys/amd64/amd64/cpu_switch.S
@@ -496,3 +496,5 @@
cmpq %rcx, %rdx
je 1b
jmp sw1cont
+
+ .section .note.GNU-stack,"",%progbits
diff --git a/sys/amd64/amd64/efirt_support.S b/sys/amd64/amd64/efirt_support.S
--- a/sys/amd64/amd64/efirt_support.S
+++ b/sys/amd64/amd64/efirt_support.S
@@ -117,3 +117,5 @@
END(efi_rt_fault)
efi_rt_panic_str: .asciz "efi_rt_arch_call: too many args"
+
+ .section .note.GNU-stack,"",%progbits
diff --git a/sys/amd64/amd64/exception.S b/sys/amd64/amd64/exception.S
--- a/sys/amd64/amd64/exception.S
+++ b/sys/amd64/amd64/exception.S
@@ -1373,3 +1373,5 @@
#ifdef HWPMC_HOOKS
ENTRY(end_exceptions)
#endif
+
+ .section .note.GNU-stack,"",%progbits
diff --git a/sys/amd64/amd64/kexec_tramp.S b/sys/amd64/amd64/kexec_tramp.S
--- a/sys/amd64/amd64/kexec_tramp.S
+++ b/sys/amd64/amd64/kexec_tramp.S
@@ -89,3 +89,5 @@
CNAME(kexec_do_reboot_size):
.globl kexec_do_reboot_size
.quad . - kexec_do_reboot
+
+ .section .note.GNU-stack,"",%progbits
diff --git a/sys/amd64/amd64/locore.S b/sys/amd64/amd64/locore.S
--- a/sys/amd64/amd64/locore.S
+++ b/sys/amd64/amd64/locore.S
@@ -194,3 +194,5 @@
.globl bootstack
.space BOOTSTACK_SIZE /* space for bootstack - temporary stack */
bootstack:
+
+ .section .note.GNU-stack,"",%progbits
diff --git a/sys/amd64/amd64/mpboot.S b/sys/amd64/amd64/mpboot.S
--- a/sys/amd64/amd64/mpboot.S
+++ b/sys/amd64/amd64/mpboot.S
@@ -276,3 +276,5 @@
wrmsr
jmp init_secondary
+
+ .section .note.GNU-stack,"",%progbits
diff --git a/sys/amd64/amd64/support.S b/sys/amd64/amd64/support.S
--- a/sys/amd64/amd64/support.S
+++ b/sys/amd64/amd64/support.S
@@ -1996,3 +1996,5 @@
pushq %rdx
iretq
END(cpu_sync_core)
+
+ .section .note.GNU-stack,"",%progbits
diff --git a/sys/amd64/amd64/xen-locore.S b/sys/amd64/amd64/xen-locore.S
--- a/sys/amd64/amd64/xen-locore.S
+++ b/sys/amd64/amd64/xen-locore.S
@@ -206,3 +206,5 @@
.long 0x0000ffff # %ds, %es, %ss
.long 0x00cf9200
gdt32end:
+
+ .section .note.GNU-stack,"",%progbits
diff --git a/sys/amd64/ia32/ia32_sigtramp.S b/sys/amd64/ia32/ia32_sigtramp.S
--- a/sys/amd64/ia32/ia32_sigtramp.S
+++ b/sys/amd64/ia32/ia32_sigtramp.S
@@ -138,3 +138,5 @@
ud2
#endif
.p2align 1
+
+ .section .note.GNU-stack,"",%progbits
diff --git a/sys/amd64/sgx/sgx_support.S b/sys/amd64/sgx/sgx_support.S
--- a/sys/amd64/sgx/sgx_support.S
+++ b/sys/amd64/sgx/sgx_support.S
@@ -66,3 +66,5 @@
popq %rbx
POP_FRAME_POINTER
ret
+
+ .section .note.GNU-stack,"",%progbits
diff --git a/sys/amd64/vmm/amd/svm_support.S b/sys/amd64/vmm/amd/svm_support.S
--- a/sys/amd64/vmm/amd/svm_support.S
+++ b/sys/amd64/vmm/amd/svm_support.S
@@ -155,3 +155,5 @@
VLEAVE
ret
END(svm_launch)
+
+ .section .note.GNU-stack,"",%progbits
diff --git a/sys/amd64/vmm/intel/vmx_support.S b/sys/amd64/vmm/intel/vmx_support.S
--- a/sys/amd64/vmm/intel/vmx_support.S
+++ b/sys/amd64/vmm/intel/vmx_support.S
@@ -268,3 +268,5 @@
VLEAVE
ret
END(vmx_call_isr)
+
+ .section .note.GNU-stack,"",%progbits
diff --git a/sys/crypto/aesni/aeskeys_amd64.S b/sys/crypto/aesni/aeskeys_amd64.S
--- a/sys/crypto/aesni/aeskeys_amd64.S
+++ b/sys/crypto/aesni/aeskeys_amd64.S
@@ -219,3 +219,5 @@
retq
.cfi_endproc
END(aesni_set_deckey)
+
+ .section .note.GNU-stack,"",%progbits
diff --git a/sys/dev/hyperv/vmbus/amd64/vmbus_vector.S b/sys/dev/hyperv/vmbus/amd64/vmbus_vector.S
--- a/sys/dev/hyperv/vmbus/amd64/vmbus_vector.S
+++ b/sys/dev/hyperv/vmbus/amd64/vmbus_vector.S
@@ -40,3 +40,5 @@
movq %rsp, %rdi
call vmbus_handle_intr
jmp doreti
+
+ .section .note.GNU-stack,"",%progbits
diff --git a/sys/tools/vdso_wrap.S b/sys/tools/vdso_wrap.S
--- a/sys/tools/vdso_wrap.S
+++ b/sys/tools/vdso_wrap.S
@@ -46,3 +46,5 @@
VDSO_BLOB_END(VDSO_NAME):
.globl VDSO_BLOB_SIZE(VDSO_NAME)
.set VDSO_BLOB_SIZE(VDSO_NAME), . - VDSO_BLOB_START(VDSO_NAME)
+
+ .section .note.GNU-stack,"",%progbits

File Metadata

Mime Type
text/plain
Expires
Wed, Jun 24, 2:53 AM (16 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34271778
Default Alt Text
D56946.id177935.diff (3 KB)

Event Timeline