https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125418

--- Comment #13 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
(In reply to H.J. Lu from comment #12)
> 1. As the testcase in comment #10 shows that the alpha linker is broken
> for all versions of GCC.

The original issue is from Glibc though, which was not triggering the breakage
previously. Considering the testcase, I don't know why not, it's surprising.

> 2. X86 linker doesn't suffer from
> 
> https://sourceware.org/bugzilla/show_bug.cgi?id=34165
> 
> Why should x86 GCC be penalized because of the broken alpha linker?

In this case it's not a penalization, we are aligning the behavior of '#pragma
weak' with __attribute__((weak)). As the attribute prevents TLS model upgrade,
the pragma should too.

Reply via email to