bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/16744] '-z noexecstack' does not add .note.GNU-stack for relocat


From: dh.herrmann at gmail dot com
Subject: [Bug ld/16744] '-z noexecstack' does not add .note.GNU-stack for relocatables
Date: Thu, 27 Mar 2014 17:18:40 +0000

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:
0000000000000000 l    d  .rodata        0000000000000000 .rodata
0000000000000000 l    d  .note.GNU-stack        0000000000000000
.note.GNU-stack
000000000020ffbe g       *ABS*  0000000000000000
_binary_src_font_unifont_data_bin_size
000000000020ffbe g       .rodata        0000000000000000
_binary_src_font_unifont_data_bin_end
0000000000000000 g       .rodata        0000000000000000
_binary_src_font_unifont_data_bin_start

Without the patch, it was:

SYMBOL TABLE:
0000000000000000 l    d  .rodata        0000000000000000 .rodata
000000000020ffbe g       *ABS*  0000000000000000
_binary_src_font_unifont_data_bin_size
000000000020ffbe g       .rodata        0000000000000000
_binary_src_font_unifont_data_bin_end
0000000000000000 g       .rodata        0000000000000000
_binary_src_font_unifont_data_bin_start

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]