libsa: Add missing GNU-stack annotations to _setjmp.S.

ld.bfd marks the stack as executable for the crt objects due to the
missing annotations which raises a fatal warning starting with version
2.39.
This commit is contained in:
John Baldwin 2022-11-22 08:36:40 -08:00
parent 03bbe1845d
commit 69f6399c37
3 changed files with 6 additions and 0 deletions

View File

@ -90,3 +90,5 @@ ENTRY(_longjmp)
1: movq %rcx,0(%rsp)
ret
END(_longjmp)
.section .note.GNU-stack,"",%progbits

View File

@ -75,3 +75,5 @@ ENTRY(_longjmp)
1: movl %ecx,0(%esp)
ret
END(_longjmp)
.section .note.GNU-stack,"",%progbits

View File

@ -115,3 +115,5 @@ ASENTRY_NOPROF(_longjmp)
mr 3, 4
blr
ASEND(_longjmp)
.section .note.GNU-stack,"",%progbits