Actions
| Post | |
| Subscribe | |
| Unsubscribe |
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [arm-gnu] run-time helper-function ABI issue: __aeabi_idivmod
- To: arm-gnu@xxxxxxxxxxxxxxxx
- Subject: Re: [arm-gnu] run-time helper-function ABI issue: __aeabi_idivmod
- From: Paul Brook <paul@xxxxxxxxxxxxxxxx>
- Date: Tue, 26 Jul 2005 00:21:16 +0100
On Tuesday 26 July 2005 00:15, Chris Hiszpanski wrote: > Hello, > > I am compiling C code containing division of two type int variables, stored > to a type int. Compilation goes well, but linking produces: > > obj/tcp_in.o(.text+0x2064): In function `tcp_receive': > src/lwip-1.1.0/src/core/tcp_in.c:776: undefined reference to > `__aeabi_idivmod' > > From this it seems that arm-none-eabi-gcc (release 2005-Q1C), is > interpretting this division as a floating point operation referenced in a > library that I am not passing to arm-none-eabi-ld. Arm does not have an integer divide instuction, so integer division is implmemented with a library call. This is not a floating point operation. > What library are the __aeabi functions in? libgcc Paul
- Follow-Ups:
- Re: [arm-gnu] run-time helper-function ABI issue: __aeabi_idivmod
- From: Chris Hiszpanski
- Re: [arm-gnu] run-time helper-function ABI issue: __aeabi_idivmod
- References:
- run-time helper-function ABI issue: __aeabi_idivmod
- From: Chris Hiszpanski
- run-time helper-function ABI issue: __aeabi_idivmod
- Prev by Date: run-time helper-function ABI issue: __aeabi_idivmod
- Next by Date: Re: [arm-gnu] run-time helper-function ABI issue: __aeabi_idivmod
- Previous by thread: run-time helper-function ABI issue: __aeabi_idivmod
- Next by thread: Re: [arm-gnu] run-time helper-function ABI issue: __aeabi_idivmod
- Index(es):