This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Reference to stub in libgcc.a
- From: Dirk Neumann <DirkNeumann at gmx dot ch>
- To: binutils at sources dot redhat dot com
- Subject: Reference to stub in libgcc.a
Hi,
I want to compile a project for arm/thumb. The GCC 3.1 and the binutils 2.12 are successfully compiled and installed for arm-elf (on pc-linux-gnu host). The gcc produces an assembler-output with "_call_via_r3". This stub exists definetly in the library libgcc.a, but the linker (arm-elf-ld) does not link this stub. The linker-flag is set to this directory, but arm-elf-ld produces the message
'undefined reference to _call_via_r3'.
Who can help?
Thanks
Dirk.