[Bug c/90289] an unnecessary relocation record

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 30 15:17:00 GMT 2019


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |MOVED

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
GCC produces:
        call    f

So it is up to the assembler to decide if there is a relocation or not to the
"global" symbol f.  The assembler comes from the binutils project.

NOTE this is most likely not a bug really and done on purpose.


More information about the Gcc-bugs mailing list