[Bug ld/12760] LTO doesn't work with .gnu.warning section

2014-03-27 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=12760 --- Comment #12 from cvs-commit at gcc dot gnu.org --- This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gdb and binutils". The branch

[Bug ld/12760] LTO doesn't work with .gnu.warning section

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

[Bug ld/12760] LTO doesn't work with .gnu.warning section

2011-05-29 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12760 Alan Modra changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug ld/12760] LTO doesn't work with .gnu.warning section

2011-05-29 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12760 --- Comment #10 from cvs-commit at gcc dot gnu.org 2011-05-29 04:52:59 UTC --- CVSROOT:/cvs/src Module name:src Branch: binutils-2_21-branch Changes by:amo...@sourceware.org2011-05-29 04:51:53 Modified files: bfd

[Bug ld/12760] LTO doesn't work with .gnu.warning section

2011-05-17 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12760 --- Comment #9 from cvs-commit at gcc dot gnu.org 2011-05-17 13:02:22 UTC --- CVSROOT:/cvs/src Module name:src Changes by:amo...@sourceware.org2011-05-17 13:02:18 Modified files: include: ChangeLog bfdlink.h bf

[Bug ld/12760] LTO doesn't work with .gnu.warning section

2011-05-16 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12760 --- Comment #8 from H.J. Lu 2011-05-16 14:01:01 UTC --- (In reply to comment #7) > modified bar.c testing other warning sym cases > > #define linker_warning(x, msg) \ > asm(".section .gnu.warning." #x "\n\t.previous"); \ > static cons

[Bug ld/12760] LTO doesn't work with .gnu.warning section

2011-05-16 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12760 --- Comment #7 from Alan Modra 2011-05-16 13:52:20 UTC --- modified bar.c testing other warning sym cases #define linker_warning(x, msg) \ asm(".section .gnu.warning." #x "\n\t.previous"); \ static const char __warn_##x[] \ __attr

[Bug ld/12760] LTO doesn't work with .gnu.warning section

2011-05-15 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12760 --- Comment #6 from H.J. Lu 2011-05-16 01:41:35 UTC --- (In reply to comment #5) > The patch I've committed isn't a full fix, since it results in a warning being > emitted when the real object file defines the warning symbol. This is too > ea

[Bug ld/12760] LTO doesn't work with .gnu.warning section

2011-05-15 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12760 --- Comment #5 from Alan Modra 2011-05-16 01:04:20 UTC --- The patch I've committed isn't a full fix, since it results in a warning being emitted when the real object file defines the warning symbol. This is too early. The symbol may not eve

[Bug ld/12760] LTO doesn't work with .gnu.warning section

2011-05-15 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12760 --- Comment #4 from cvs-commit at gcc dot gnu.org 2011-05-16 00:58:14 UTC --- CVSROOT:/cvs/src Module name:src Changes by:amo...@sourceware.org2011-05-16 00:58:11 Modified files: ld : ChangeLog plugin.c Log me

[Bug ld/12760] LTO doesn't work with .gnu.warning section

2011-05-15 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=12760 --- Comment #3 from cvs-commit at gcc dot gnu.org 2011-05-16 00:54:47 UTC --- CVSROOT:/cvs/src Module name:src Branch: binutils-2_21-branch Changes by:amo...@sourceware.org2011-05-16 00:54:45 Modified files: ld

[Bug ld/12760] LTO doesn't work with .gnu.warning section

2011-05-14 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12760 --- Comment #2 from H.J. Lu 2011-05-14 16:25:11 UTC --- To get proper linker warnings, plugin dummy should include those .gnu.warning sections. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are rece

[Bug ld/12760] LTO doesn't work with .gnu.warning section

2011-05-14 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12760 --- Comment #1 from H.J. Lu 2011-05-14 14:53:35 UTC --- This seems to work: diff --git a/ld/plugin.c b/ld/plugin.c index 8425fa3..2cf1fc2 100644 --- a/ld/plugin.c +++ b/ld/plugin.c @@ -940,12 +940,19 @@ plugin_notice (struct bfd_link_info *in