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
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
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
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 (
https://sourceware.org/bugzilla/show_bug.cgi?id=16746
David Kredba changed:
What|Removed |Added
CC||nheghathivhistha at gmail dot
com
--
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)
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
https://sourceware.org/bugzilla/show_bug.cgi?id=16744
Hans-Peter Nilsson changed:
What|Removed |Added
CC||hp at sourceware dot org
--- Com