Re: good source for linker scripts



Knopf wrote:
Hi.

Do you have a good source that describes the linking process for
microprocessors and especially linker scripts in detail? What I found
on the web it looks like an arcane art and most of the time the vendor
supplied scripts work, but in my case it doesn't.

They are dependent on the linker you're using.

Also, the linker scripts depend on your hardware,
they are usually the last means to tell where
your embedded processor has its different memory
areas (such as RAM, ROM, I/O, EEPROM, etc).

For the GNU toolkit, look at the manuals page at
<http://www.gnu.org/manual/manual.html>. The linker
is in ld-2.9.1. You may also ne interested in the
GNU assembler manual, as the compilers all translate
their output to assembler and use gas to assemble it
and ld to link it.

HTH

--

Tauno Voipio
tauno voipio (at) iki fi

.



Relevant Pages

  • Re: good source for linker scripts
    ... Do you have a good source that describes the linking process for ... microprocessors and especially linker scripts in detail? ... In the end it's an arcane art, but in the beginning it's some poor SOB scratching around trying to make things work. ... Wescott Design Services ...
    (comp.arch.embedded)
  • Re: good source for linker scripts
    ... Do you have a good source that describes the linking process for ... microprocessors and especially linker scripts in detail? ... already knew the rest of the GNU toolchain fairly well). ...
    (comp.arch.embedded)
  • good source for linker scripts
    ... Do you have a good source that describes the linking process for ... microprocessors and especially linker scripts in detail? ... supplied scripts work, but in my case it doesn't. ...
    (comp.arch.embedded)