aarch64: Fix noexecstack note in libgcc

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.
This commit is contained in:
Szabolcs Nagy 2020-07-03 14:11:49 +01:00
parent 463ba375f7
commit e73ec75548
1 changed files with 4 additions and 0 deletions

View File

@ -274,3 +274,7 @@ STARTFN NAME(LDNM)
ENDFN NAME(LDNM)
#endif
#if defined(__linux__) || defined(__FreeBSD__)
.section .note.GNU-stack, "", %progbits
#endif