diff --git a/sys/crypto/aesni/aeskeys_i386.S b/sys/crypto/aesni/aeskeys_i386.S --- a/sys/crypto/aesni/aeskeys_i386.S +++ b/sys/crypto/aesni/aeskeys_i386.S @@ -269,3 +269,5 @@ retl .cfi_endproc END(aesni_set_deckey) + + .section .note.GNU-stack,"",%progbits diff --git a/sys/i386/i386/bioscall.S b/sys/i386/i386/bioscall.S --- a/sys/i386/i386/bioscall.S +++ b/sys/i386/i386/bioscall.S @@ -156,3 +156,5 @@ pushl %ecx /* return address */ movl $KCSEL,4(%esp) lret /* reload %cs on the way out */ + + .section .note.GNU-stack,"",%progbits diff --git a/sys/i386/i386/exception.S b/sys/i386/i386/exception.S --- a/sys/i386/i386/exception.S +++ b/sys/i386/i386/exception.S @@ -682,3 +682,5 @@ #endif ENTRY(end_exceptions) + + .section .note.GNU-stack,"",%progbits diff --git a/sys/i386/i386/locore.S b/sys/i386/i386/locore.S --- a/sys/i386/i386/locore.S +++ b/sys/i386/i386/locore.S @@ -449,3 +449,5 @@ ENTRY(hypercall_page) .skip 0x1000, 0x90 /* Fill with "nop"s */ #endif + + .section .note.GNU-stack,"",%progbits diff --git a/sys/i386/i386/mpboot.S b/sys/i386/i386/mpboot.S --- a/sys/i386/i386/mpboot.S +++ b/sys/i386/i386/mpboot.S @@ -279,3 +279,5 @@ .globl bootMP_size bootMP_size: .long BOOTMP2 - BOOTMP1 + + .section .note.GNU-stack,"",%progbits diff --git a/sys/i386/i386/sigtramp.S b/sys/i386/i386/sigtramp.S --- a/sys/i386/i386/sigtramp.S +++ b/sys/i386/i386/sigtramp.S @@ -133,3 +133,5 @@ sz_lcall_tramp: .long esigcode-lcall_tramp #endif + + .section .note.GNU-stack,"",%progbits diff --git a/sys/i386/i386/support.S b/sys/i386/i386/support.S --- a/sys/i386/i386/support.S +++ b/sys/i386/i386/support.S @@ -586,3 +586,5 @@ pushl %eax iretl END(cpu_sync_core) + + .section .note.GNU-stack,"",%progbits diff --git a/sys/i386/i386/swtch.S b/sys/i386/i386/swtch.S --- a/sys/i386/i386/swtch.S +++ b/sys/i386/i386/swtch.S @@ -453,3 +453,5 @@ xorl %eax,%eax lret END(resumectx) + + .section .note.GNU-stack,"",%progbits diff --git a/sys/kern/subr_ticks.S b/sys/kern/subr_ticks.S --- a/sys/kern/subr_ticks.S +++ b/sys/kern/subr_ticks.S @@ -40,3 +40,5 @@ .type jiffies, %object jiffies = ticksl .size jiffies, __SIZEOF_LONG__ + + .section .note.GNU-stack,"",%progbits