This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/37280] [4.4 Regression] weak symbol regression breaks linux kernel
- From: "aldot at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Sep 2008 19:15:50 -0000
- Subject: [Bug middle-end/37280] [4.4 Regression] weak symbol regression breaks linux kernel
- References: <bug-37280-7834@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from aldot at gcc dot gnu dot org 2008-09-16 19:15 -------
(In reply to comment #9)
> Hi,
>
> I tried the following patch.
> http://gcc.gnu.org/ml/gcc-patches/2008-09/msg00195.html
>
> ".weak symbol" can be emitted, but with two same lines. Thanks!
So that would bring you into the same situation as PR31537 is in (FE emits
duplicate asm directives, quick workaround in the BE for weakrefs is attached
to PR31537).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37280