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)
Thu, Oct 9, 5:36 PM
Unknown Object (File)
Thu, Oct 9, 12:42 PM
Unknown Object (File)
Fri, Oct 3, 4:27 AM
Unknown Object (File)
Wed, Oct 1, 1:03 AM
Unknown Object (File)
Tue, Sep 30, 8:12 AM
Unknown Object (File)
Sun, Sep 28, 4:32 PM
Unknown Object (File)
Sun, Sep 28, 5:21 AM
Unknown Object (File)
Sat, Sep 27, 6:23 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