projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
463ba37
)
aarch64: Fix noexecstack note in libgcc
author
Szabolcs Nagy
<szabolcs.nagy@arm.com>
Fri, 3 Jul 2020 13:11:49 +0000
(14:11 +0100)
committer
Szabolcs Nagy
<szabolcs.nagy@arm.com>
Thu, 9 Jul 2020 08:50:25 +0000
(09:50 +0100)
lse.S did not have GNU stack note, this may cause missing
PT_GNU_STACK in binaries on Linux and FreeBSD.
2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
libgcc/ChangeLog:
* config/aarch64/lse.S: Add stack note.
libgcc/config/aarch64/lse.S
patch
|
blob
|
history
diff --git
a/libgcc/config/aarch64/lse.S
b/libgcc/config/aarch64/lse.S
index f3ccf5cf54343c682666f5bdcf204c834a73ff33..9e2acae806b6c72f37dfcb28f2f1b4452174bf1a 100644
(file)
--- a/
libgcc/config/aarch64/lse.S
+++ b/
libgcc/config/aarch64/lse.S
@@
-274,3
+274,7
@@
STARTFN NAME(LDNM)
ENDFN NAME(LDNM)
#endif
+
+#if defined(__linux__) || defined(__FreeBSD__)
+.section .note.GNU-stack, "", %progbits
+#endif