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

--- Comment #10 from jcmvbkbc at gcc dot gnu.org ---
(In reply to Andrew Pinski from comment #9)
> (In reply to jcmvbkbc from comment #7)
> >It's the reference from .text* to .init*
> > which is not present in the source but is generated by gcc that is the 
> > issue.
> HUH?
> 
> You mean exp2_to_exp3_mask is in the .init section?

Yes, exactly.

> Well GCC can never know that cannot be referenced directly from a .text*
> section.

Then it probably should not have added that reference, right?

> THIS CANNOT be fixed in GCC as GCC does not know and should never know about
> the special semantics of .init section.

The issue is not about special semantics. Semantic correctness is taken care of
by the kernel developers. It's about gcc making references that are not present
in the source code and breaking these semantics.

Reply via email to