Forum: ARM programming with GCC/GNU tools Re:Yogarto GCC 4.4.2 Issue

von Prabu 8. (Company: Nimble) (prabu)

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


von Michael F. (mifi)

Rate this post
0 useful
not useful
Hello Prabu,

please try to use:

    //DISCARD// :

instead. Use one slash instead of //.




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.