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, May 26, 9:29 AM
Unknown Object (File)
Mon, May 25, 8:39 AM
Unknown Object (File)
Mon, May 25, 1:10 AM
Unknown Object (File)
Thu, May 21, 4:38 PM
Unknown Object (File)
Sat, May 16, 1:03 AM
Unknown Object (File)
Sat, May 16, 1:03 AM
Unknown Object (File)
Sat, May 16, 1:02 AM
Unknown Object (File)
Apr 27 2026, 11:19 PM
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