EmbDev.net

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


Author: marks (Guest)
Posted on:

Rate this post
0 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

Author: A. K. (prx)
Posted on:

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

Author: marks (Guest)
Posted on:

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

Marks

Author: marks (Guest)
Posted on:

Rate this post
0 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

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.