EmbDev.net

Forum: ARM programming with GCC/GNU tools Long longs with Yagarto


von marks (Guest)


Rate this post
useful
not useful
Hi,

I am trying to use 64 bit maths on the STM32 compiled with Yagarto but 
get the link errors "undefined reference to `__exidx_start'" and 
"undefined reference to `__exidx_end'".

I am using the linker script written by Martin Thomas for the 'small 
digital picture frame' project (a great starting point!), adding in a 
section like:

__exidx_start = .;
.ARM.exidx   : { *(.ARM.exidx* .gnu.linkonce.armexidx.*) }
__exidx_end = .;

does not link.

Has anyone any pointers as to how to proceed?

Thanks

Marks

von (prx) A. K. (prx)


Rate this post
useful
not useful
First guesses:
- Disable exception handling when compiling C++.
- Use small ".c" instead of large ".C" when it actually is C code.

von marks (Guest)


Rate this post
useful
not useful
Don't think I am compiling c++ - all source ends in .c - any way of 
checking this?

Marks

von marks (Guest)


Rate this post
useful
not useful
Hi,
I have solved this - there was a modified linker file in a later version 
of the 'Small Digital Picture Frame' on Martin Thomas' website that 
includes a exidx section. Long longs now compile and link!

Marks

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.