This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/48783] ARM: kernel compiled at -O2 has a unused reference to __aeabi_uldivmod
- From: "ramana at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 31 May 2011 22:28:30 +0000
- Subject: [Bug c/48783] ARM: kernel compiled at -O2 has a unused reference to __aeabi_uldivmod
- Auto-submitted: auto-generated
- References: <bug-48783-4@http.gcc.gnu.org/bugzilla/>
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