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)
Mon, Nov 10, 1:45 PM
Unknown Object (File)
Tue, Nov 4, 9:28 AM
Unknown Object (File)
Sat, Nov 1, 8:25 PM
Unknown Object (File)
Thu, Oct 30, 2:53 PM
Unknown Object (File)
Wed, Oct 29, 1:02 PM
Unknown Object (File)
Mon, Oct 27, 9:13 AM
Unknown Object (File)
Sun, Oct 26, 12:38 PM
Unknown Object (File)
Sun, Oct 26, 2:16 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