run-time helper-function ABI issue: __aeabi_idivmod
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

run-time helper-function ABI issue: __aeabi_idivmod



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. What library are the __aeabi functions in?

Can I force no floating point usage?

Please CC me on replies.

Cheers,
Chris