Page MenuHomeFreeBSD

kboot: .note.GNU-stack is needed
ClosedPublic

Authored by imp on Wed, Apr 16, 7:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 19, 8:43 PM
Unknown Object (File)
Sat, Apr 19, 1:08 PM
Unknown Object (File)
Sat, Apr 19, 9:22 AM
Unknown Object (File)
Sat, Apr 19, 7:06 AM
Unknown Object (File)
Fri, Apr 18, 6:17 AM
Unknown Object (File)
Fri, Apr 18, 4:34 AM
Unknown Object (File)
Thu, Apr 17, 2:44 AM
Unknown Object (File)
Thu, Apr 17, 2:09 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