https://sourceware.org/bugzilla/show_bug.cgi?id=20025
Bug ID: 20025 Summary: Warn by default about executable stacks Product: binutils Version: unspecified Status: NEW Severity: enhancement Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: josh at joshtriplett dot org Target Milestone: --- On targets that support marking the stack non-executable, ld should warn at link time if the stack ends up executable due to linking in an object file that doesn't explicitly indicate whether it needs an executable stack or not. This would help call attention to programs that would otherwise silently have executable stacks simply because someone forgot the metadata in a .S file. This should not warn if an object file includes explicit metadata stating that it does need an executable stack, only if the object file doesn't include the necessary metadata at all. This also shouldn't warn if the linker command line includes either -z execstack or -z noexecstack. And finally, there should be a -z option to disable this warning, such as -z nowarnexecstack. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils