[Bug ld/16744] '-z noexecstack' does not add .note.GNU-stack for relocatables
https://sourceware.org/bugzilla/show_bug.cgi?id=16744 Nick Desaulniers changed: What|Removed |Added CC||ndesaulniers at google dot com -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/16744] '-z noexecstack' does not add .note.GNU-stack for relocatables
https://sourceware.org/bugzilla/show_bug.cgi?id=16744 Nick Clifton nickc at redhat dot com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #8 from Nick Clifton nickc at redhat dot com --- Patch comitted. -- 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
[Bug ld/16744] '-z noexecstack' does not add .note.GNU-stack for relocatables
https://sourceware.org/bugzilla/show_bug.cgi?id=16744 --- Comment #3 from Mike Frysinger vapier at gentoo dot org --- (In reply to David Herrmann from comment #2) that's the CPU, not the OS/userland. what does ./config.guess show? -- 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
[Bug ld/16744] '-z noexecstack' does not add .note.GNU-stack for relocatables
https://sourceware.org/bugzilla/show_bug.cgi?id=16744 --- Comment #4 from David Herrmann dh.herrmann at gmail dot com --- Full target is: x86_64-unknown-linux-gnu -- 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
[Bug ld/16744] '-z noexecstack' does not add .note.GNU-stack for relocatables
https://sourceware.org/bugzilla/show_bug.cgi?id=16744 Nick Clifton nickc at redhat dot com changed: What|Removed |Added CC||nickc at redhat dot com --- Comment #5 from Nick Clifton nickc at redhat dot com --- Created attachment 7494 -- https://sourceware.org/bugzilla/attachment.cgi?id=7494action=edit Proposed patch Hi David, Please could you try out the uploaded patch and see if it works for you. Cheers Nick -- 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
[Bug ld/16744] '-z noexecstack' does not add .note.GNU-stack for relocatables
https://sourceware.org/bugzilla/show_bug.cgi?id=16744 --- Comment #6 from David Herrmann dh.herrmann at gmail dot com --- Looks good. I cannot tell whether the flags are correct, but seems fine. Thanks! Symbol table from objdump -t with patch applied is: SYMBOL TABLE: ld .rodata .rodata ld .note.GNU-stack .note.GNU-stack 0020ffbe g *ABS* _binary_src_font_unifont_data_bin_size 0020ffbe g .rodata _binary_src_font_unifont_data_bin_end g .rodata _binary_src_font_unifont_data_bin_start Without the patch, it was: SYMBOL TABLE: ld .rodata .rodata 0020ffbe g *ABS* _binary_src_font_unifont_data_bin_size 0020ffbe g .rodata _binary_src_font_unifont_data_bin_end g .rodata _binary_src_font_unifont_data_bin_start -- 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
[Bug ld/16744] '-z noexecstack' does not add .note.GNU-stack for relocatables
https://sourceware.org/bugzilla/show_bug.cgi?id=16744 --- Comment #2 from David Herrmann dh.herrmann at gmail dot com --- Host/build/target machine is x86-64 -- 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
[Bug ld/16744] '-z noexecstack' does not add .note.GNU-stack for relocatables
https://sourceware.org/bugzilla/show_bug.cgi?id=16744 Hans-Peter Nilsson hp at sourceware dot org changed: What|Removed |Added CC||hp at sourceware dot org --- Comment #1 from Hans-Peter Nilsson hp at sourceware dot org --- It might be incidental and having no consequence to the intent of this PR (you haven't mentioned the target), but it's worthwhile to note here that the semantics (the polarity) of a .note.GNU-stack presence is target-dependent. Thus, your observation is actually correct behaviour on some targets. -- 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