This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/48783] ARM: kernel compiled at -O2 has a unused reference to __aeabi_uldivmod


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783

Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.05.31 22:28:11
                 CC|                            |ramana at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #5 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> 2011-05-31 22:28:11 UTC ---
IIUC the problem is because we externalize the label before the functions have
been deleted. 

Based on a quick look at the sources, I *think* this comes from the fact that
the default definition of ASM_OUTPUT_EXTERNAL_LIBCALL ends up generating a
.globl symname and somehow don't think this is a port specific problem ( which
I *think* comes from config/elfos.h )


cheers
Ramana


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]