mirror of
https://github.com/opnsense/src.git
synced 2026-04-28 09:37:08 -04:00
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:
parent
03bbe1845d
commit
69f6399c37
3 changed files with 6 additions and 0 deletions
|
|
@ -90,3 +90,5 @@ ENTRY(_longjmp)
|
|||
1: movq %rcx,0(%rsp)
|
||||
ret
|
||||
END(_longjmp)
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
|
|||
|
|
@ -75,3 +75,5 @@ ENTRY(_longjmp)
|
|||
1: movl %ecx,0(%esp)
|
||||
ret
|
||||
END(_longjmp)
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
|
|||
|
|
@ -115,3 +115,5 @@ ASENTRY_NOPROF(_longjmp)
|
|||
mr 3, 4
|
||||
blr
|
||||
ASEND(_longjmp)
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
|
|||
Loading…
Reference in a new issue