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

2014-03-24 Thread dh.herrmann at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16744 Bug ID: 16744 Summary: '-z noexecstack' does not add .note.GNU-stack for relocatables Product: binutils Version: 2.24 Status: NEW Severity: normal

[Bug ld/16746] New: ld complains about .gnu.warning symbols referenced by linker plugin inputs

2014-03-24 Thread rguenth at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=16746 Bug ID: 16746 Summary: ld complains about .gnu.warning symbols referenced by linker plugin inputs Product: binutils Version: 2.24 Status: NEW Severity: norma

[Bug ld/16746] ld complains about .gnu.warning symbols referenced by linker plugin inputs

2014-03-24 Thread rguenth at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=16746 --- Comment #1 from Richard Guenther --- Fix maybe as simple as doing diff --git a/ld/ldmain.c b/ld/ldmain.c index ffc9f84..71d41bf 100644 --- a/ld/ldmain.c +++ b/ld/ldmain.c @@ -1160,6 +1160,9 @@ warning_callback (struct bfd_link_info *info

[Bug ld/16746] ld complains about .gnu.warning symbols referenced by linker plugin inputs

2014-03-24 Thread rguenth at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=16746 --- Comment #3 from Richard Guenther --- (In reply to Richard Guenther from comment #2) > Hmm, but that breaks the case where the symbol is still referenced from the > linker plugin provided input > > extern void foobar (void); > int > main (

[Bug ld/16746] ld complains about .gnu.warning symbols referenced by linker plugin inputs

2014-03-24 Thread nheghathivhistha at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16746 David Kredba changed: What|Removed |Added CC||nheghathivhistha at gmail dot com --

[Bug ld/16746] ld complains about .gnu.warning symbols referenced by linker plugin inputs

2014-03-24 Thread rguenth at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=16746 --- Comment #2 from Richard Guenther --- Hmm, but that breaks the case where the symbol is still referenced from the linker plugin provided input extern void foobar (void); int main (int argc, char **argv) { if (!__builtin_constant_p (argc)

[Bug ld/16746] ld complains about .gnu.warning symbols referenced by linker plugin inputs

2014-03-24 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16746 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #4 f

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

2014-03-24 Thread hp at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=16744 Hans-Peter Nilsson changed: What|Removed |Added CC||hp at sourceware dot org --- Com