Hi all,
I am using Yagarto(GCC 4.4.2) version.In this GCC documents,they
are mentioned that,we have to use following code in linker script,
.eh_frame :
{
KEEP (*(.eh_frame))
} > sram
Plase explain why should we use this code in linker script?
Is there any specific reason?Because its consumes(0x848 bytes)ram?
How to avoid this(Memory is important for embedded systems) ?
In GCC4.1.1 i haven't face this Issue?
Thanks,
Hello Prabu,
please try to use:
//DISCARD// :
{
*(.eh_*)
}
instead. Use one slash instead of //.
Regards,
mifi
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
Log in with Google account
No account? Register here.