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:
@@ -90,3 +90,5 @@ ENTRY(_longjmp)
|
|||||||
1: movq %rcx,0(%rsp)
|
1: movq %rcx,0(%rsp)
|
||||||
ret
|
ret
|
||||||
END(_longjmp)
|
END(_longjmp)
|
||||||
|
|
||||||
|
.section .note.GNU-stack,"",%progbits
|
||||||
|
|||||||
@@ -75,3 +75,5 @@ ENTRY(_longjmp)
|
|||||||
1: movl %ecx,0(%esp)
|
1: movl %ecx,0(%esp)
|
||||||
ret
|
ret
|
||||||
END(_longjmp)
|
END(_longjmp)
|
||||||
|
|
||||||
|
.section .note.GNU-stack,"",%progbits
|
||||||
|
|||||||
@@ -115,3 +115,5 @@ ASENTRY_NOPROF(_longjmp)
|
|||||||
mr 3, 4
|
mr 3, 4
|
||||||
blr
|
blr
|
||||||
ASEND(_longjmp)
|
ASEND(_longjmp)
|
||||||
|
|
||||||
|
.section .note.GNU-stack,"",%progbits
|
||||||
|
|||||||
Reference in New Issue
Block a user