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)
Sun, Feb 8, 7:37 AM
Unknown Object (File)
Sun, Feb 8, 3:24 AM
Unknown Object (File)
Sat, Jan 31, 12:30 PM
Unknown Object (File)
Wed, Jan 28, 10:30 PM
Unknown Object (File)
Dec 28 2025, 4:25 PM
Unknown Object (File)
Dec 28 2025, 2:17 AM
Unknown Object (File)
Dec 20 2025, 8:46 AM
Unknown Object (File)
Dec 6 2025, 10:38 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 63540
Build 60424: arc lint + arc unit