From 9f034ef97d927c4675bb2b50193676ef8205d84c Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 5 Aug 2021 01:20:12 +0900 Subject: [PATCH] Add .note.gnu.property sections --- coroutine/amd64/Context.S | 1 + coroutine/arm32/Context.S | 1 + coroutine/arm64/Context.S | 1 + coroutine/ppc64le/Context.S | 1 + coroutine/riscv64/Context.S | 1 + coroutine/x86/Context.S | 1 + 6 files changed, 6 insertions(+) diff --git a/coroutine/amd64/Context.S b/coroutine/amd64/Context.S index d50732adbc0..c2e6b180b90 100644 --- a/coroutine/amd64/Context.S +++ b/coroutine/amd64/Context.S @@ -43,4 +43,5 @@ PREFIXED_SYMBOL(SYMBOL_PREFIX,coroutine_transfer): #if (defined(__linux__) || defined(__FreeBSD__)) && defined(__ELF__) .section .note.GNU-stack,"",%progbits +.section .note.gnu.property,"a" #endif diff --git a/coroutine/arm32/Context.S b/coroutine/arm32/Context.S index 1850c4c4080..8b1d4a255f7 100644 --- a/coroutine/arm32/Context.S +++ b/coroutine/arm32/Context.S @@ -30,4 +30,5 @@ PREFIXED_SYMBOL(SYMBOL_PREFIX,coroutine_transfer): #if defined(__linux__) && defined(__ELF__) .section .note.GNU-stack,"",%progbits +.section .note.gnu.property,"a" #endif diff --git a/coroutine/arm64/Context.S b/coroutine/arm64/Context.S index 07d50d30df3..02888193e18 100644 --- a/coroutine/arm64/Context.S +++ b/coroutine/arm64/Context.S @@ -70,4 +70,5 @@ PREFIXED_SYMBOL(SYMBOL_PREFIX,coroutine_transfer): #if defined(__linux__) && defined(__ELF__) .section .note.GNU-stack,"",%progbits +.section .note.gnu.property,"a" #endif diff --git a/coroutine/ppc64le/Context.S b/coroutine/ppc64le/Context.S index 61be9efcf04..2520f644e9c 100644 --- a/coroutine/ppc64le/Context.S +++ b/coroutine/ppc64le/Context.S @@ -72,4 +72,5 @@ PREFIXED_SYMBOL(SYMBOL_PREFIX,coroutine_transfer): #if defined(__linux__) && defined(__ELF__) .section .note.GNU-stack,"",%progbits +.section .note.gnu.property,"a" #endif diff --git a/coroutine/riscv64/Context.S b/coroutine/riscv64/Context.S index cc4e872f84b..a5feb030b77 100644 --- a/coroutine/riscv64/Context.S +++ b/coroutine/riscv64/Context.S @@ -84,4 +84,5 @@ PREFIXED_SYMBOL(SYMBOL_PREFIX,coroutine_transfer): #if defined(__linux__) && defined(__ELF__) .section .note.GNU-stack,"",%progbits +.section .note.gnu.property,"a" #endif diff --git a/coroutine/x86/Context.S b/coroutine/x86/Context.S index f06a417084b..bd5e0c49fc0 100644 --- a/coroutine/x86/Context.S +++ b/coroutine/x86/Context.S @@ -39,4 +39,5 @@ PREFIXED_SYMBOL(SYMBOL_PREFIX,coroutine_transfer): #if (defined(__linux__) || defined(__FreeBSD__)) && defined(__ELF__) .section .note.GNU-stack,"",%progbits +.section .note.gnu.property,"a" #endif -- 2.32.0