diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2020-07-03 14:09:25 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2020-07-09 09:50:25 +0100 |
commit | 463ba375f7b857995068403a4c63690d03162c00 (patch) | |
tree | 8d06337b40bf0d3ca43bca581872b3d339e0a4d8 /libitm/config | |
parent | 63b6808e69699ba576492efa29d92b626cc26eba (diff) | |
download | gcc-463ba375f7b857995068403a4c63690d03162c00.tar.gz |
aarch64: Fix noexecstack note in libitm
sjlj.S only had the note on Linux, but it is supposed
to have it on FreeBSD too.
2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
libitm/ChangeLog:
* config/aarch64/sjlj.S: Add stack note if __FreeBSD__ is defined.
Diffstat (limited to 'libitm/config')
-rw-r--r-- | libitm/config/aarch64/sjlj.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libitm/config/aarch64/sjlj.S b/libitm/config/aarch64/sjlj.S index 27626c1f378..5b97b973e27 100644 --- a/libitm/config/aarch64/sjlj.S +++ b/libitm/config/aarch64/sjlj.S @@ -87,6 +87,6 @@ GTM_longjmp: cfi_endproc .size GTM_longjmp, . - GTM_longjmp -#ifdef __linux__ +#if defined(__linux__) || defined(__FreeBSD__) .section .note.GNU-stack, "", %progbits #endif |