dsigit wrote on Wednesday, October 07, 2009:
Hi all,
Recently, I try to build ARM7_LPC2368_Eclipse project using Eclipse+Yagarto and
found this error message :
error: no memory region specified for loadable section `.eh_frame’
In Yagarto’s site, it’s said that I have to add following part to linker file
lpc2368.ld :
. = ALIGN(4);
.eh_frame :
{
KEEP (*(.eh_frame))
} > ram
but the problem is, I’m not really sure where exactly should I put it in my
lpc2368.ld file. So, I take my chances by put it somewhere in SECTIONS { } part
of the file and got this error messages :
c:/program files/yagarto/bin/…/lib/gcc/arm-elf/4.4.1/…/…/…/…/arm-
elf/bin/ld.exe: RTOSDemo.elf section .eh_frame will not fit in region ram
c:/program files/yagarto/bin/…/lib/gcc/arm-elf/4.4.1/…/…/…/…/arm-
elf/bin/ld.exe: region ram overflowed by 7200 bytes
collect2: ld returned 1 exit status
make: *** Error 1
Can anyone help me? Thank you.