This is what I found on my system:
./lib/gcc-lib/arm-elf/3.1/libgcc.a
_call_via_rX.o:
0000002c T _call_via_fp
00000030 T _call_via_ip
00000038 T _call_via_lr
00000000 T _call_via_r0
.......................
00000024 T _call_via_r9
00000028 T _call_via_sl
00000034 T _call_via_sp
_interwork_call_via_rX.o:
000000e4 T _interwork_call_via_fp
000000f8 T _interwork_call_via_ip
00000120 T _interwork_call_via_lr
00000008 T _interwork_call_via_r0
.................................
000000bc T _interwork_call_via_r9
000000d0 T _interwork_call_via_sl
0000010c T _interwork_call_via_sp
./lib/gcc-lib/arm-elf/3.1/thumb/libgcc.a
_call_via_rX.o:
0000002c T _call_via_fp
00000030 T _call_via_ip
00000038 T _call_via_lr
00000000 T _call_via_r0
.......................
00000024 T _call_via_r9
00000028 T _call_via_sl
00000034 T _call_via_sp
_interwork_call_via_rX.o:
000000e4 T _interwork_call_via_fp
000000f8 T _interwork_call_via_ip
00000120 T _interwork_call_via_lr
00000008 T _interwork_call_via_r0
.................................
000000bc T _interwork_call_via_r9
000000d0 T _interwork_call_via_sl
0000010c T _interwork_call_via_sp
Simply linking the required library in your
application should do the trick. And it will work with
ld. Whenever you're unsure about the location of a
symbol in the libraries use "nm" together with "grep"
for all the libraries in the GNU directory. If the
symbol is there, "nm" will find it.
--- James Dabbs <jdabbs@...> wrote:
> For posterity: the solution to this is to link with
> arm-elf-gcc, and not
> directly with arm-elf-ld.
>
> Thanks!
>
> -----Original Message-----
> From: James Dabbs [mailto:jdabbs@...]
> Sent: Thursday, January 22, 2004 5:46 PM
> To: lpc2100@yahoogroups.com
> Subject: [lpc2100] _call_via_r1, _call_via_r2, etc..
>
>
> The linker is bitching about these, which I'm sure
> are ARM<->Thumb
> interworking stubs, probably stripped out because of
> nostartupfiles, or
> nostdlib..
>
> I'd like to either (1) get gcc to do these for me,
> or (2) lift them from
> somewhere and drop them in a .s file. Any guidance
> would be greatly
> appreciated!
>
> -James
>
>
>
>
>
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/lpc2100/
>
> To unsubscribe from this group, send an email to:
> lpc2100-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to:
> http://docs.yahoo.com/info/terms/
>
>
>
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/Message
RE: [lpc2100] _call_via_r1, _call_via_r2, etc..
2004-01-23 by Bogdan Marinescu
Attachments
- No local attachments were found for this message.