Re: Linker script question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Johannes Bauer <JB.Imm@xxxxxx> writes:

> I have a question regarding linker scripts.

Note that linker scripts are a feature of the linker (obviously) and
the linker is not part of gcc.  The linker is part of the GNU
binutils; see http://sourceware.org/binutils/ .


> Is there a way to refer to the previously defined LENGTH and ORIGIN
> attributes within the SECTION definition, for example like (pseudo
> syntax):
>
> __ramend = MEMORY_LENGTH(SRAM) + __data_start__;

As far as I know this is not possible.  I would recommend generating
the linker script through some sort of preprocessor.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux