Page MenuHomeFreeBSD

kboot: .note.GNU-stack is needed
ClosedPublic

Authored by imp on Apr 16 2025, 7:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Sep 8, 11:31 AM
Unknown Object (File)
Fri, Aug 28, 1:59 PM
Unknown Object (File)
Fri, Aug 28, 1:15 PM
Unknown Object (File)
Thu, Aug 27, 2:45 AM
Unknown Object (File)
Wed, Aug 26, 5:42 PM
Unknown Object (File)
Wed, Aug 26, 1:37 PM
Unknown Object (File)
Mon, Aug 24, 9:07 AM
Unknown Object (File)
Sat, Aug 22, 9:56 AM
Subscribers

Details

Summary

Add '.section .note.GNU-stack,"",%progbits' to all assembler. Newer
versions of clang complain when this isn't present because executable
stacks are going away in the future. We don't need an executable stack
anyway.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable