mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 15:40:44 +00:00
csu: Add missing GNU-stack annotations to note object files.
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
1f3b4f38a6
commit
74ad8d607d
|
@ -47,3 +47,5 @@ __FBSDID("$FreeBSD$");
|
|||
2: .p2align 2
|
||||
3: .4byte __FreeBSD_version
|
||||
4:
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
|
@ -40,3 +40,5 @@ __FBSDID("$FreeBSD$");
|
|||
2: .p2align 2
|
||||
3: .4byte 0
|
||||
4:
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
|
@ -41,3 +41,5 @@ __FBSDID("$FreeBSD$");
|
|||
2: .p2align 2
|
||||
3: .4byte 0
|
||||
4:
|
||||
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
|
|
Loading…
Reference in a new issue