Re: scatter linking

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

 



arwong <arwong@xxxxxxxxx> writes:

> I would like to know if the linker for the gcc compiler supports scatter
> linking,
> ie, support for multiple text and data sections.  If it does, can you provide
> information on how to accomplish this for a mips processor ?
> The "Options that control linking" section of the online GCC manual does
> not touch on this subject.

The gcc project does not supply a linker.  The GNU binutils projects
does.  For information about the GNU binutils, including the
appropriate mailing lists, see http://sources.redhat.com/binutils/.

I'm not sure precisely what you mean by scatter linking, but the GNU
linker does support multiple text and data sections, and offers
various ways to control their placement via linker scripts.  See the
GNU linker manual.

You may also be interested in the gcc options -ffunction-sections and
-fdata-sections.

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