[En-Nut-Discussion] Some notes on using GCC 4.4.1 (eh_frame)

Michael Fischer fischermi at t-online.de
Sat Aug 22 14:18:48 CEST 2009


Hello list,

I do not know if this is a general 4.4.x problem, but if you
using YAGARTO based on GCC 4.4.1 and if you get an error like:

error: no memory region specified for loadable section `.eh_frame'

you must add an eh_frame in your linker script too.

In case of the at91sam7se512_ram.ld file, place the following
part after the .text section:

   . = ALIGN(4);
   .eh_frame :
   {
     KEEP (*(.eh_frame))
   } > ram


Best regards,

Michael



More information about the En-Nut-Discussion mailing list