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)
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)
Mon, Apr 27, 11:19 PM
Unknown Object (File)
Sun, Apr 26, 6:37 PM
Unknown Object (File)
Sun, Apr 26, 11:41 AM
Unknown Object (File)
Sun, Apr 26, 8:13 AM
Unknown Object (File)
Apr 17 2026, 5:42 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