linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Linker help: How to create "hole" in text segment?
@ 2000-08-03 14:32 Wolfgang Denk
  0 siblings, 0 replies; only message in thread
From: Wolfgang Denk @ 2000-08-03 14:32 UTC (permalink / raw)
  To: linuxppc-dev


Hi,

any linker experts out there?

This is for the PPCBoot project, and the background for  my  question
is the segmented structure of Flash memory chips:

I need to place some (read-only) data at a fixed address right in the
middle of the memory region that is intended to hold the text segment
- i.e, I want my memory map to look like this:

start + 0:	Begin of Text Segment
...
start + 32k-1	End of Text Segment (Part 1)

start + 32k	Begin of 16 k RO-Data
...
start + 48k -1	End of RO-Data

start + 48k	Begin of Text Segment (Part 2, continued)
...


Ideally, I want the linker to  make  the  code  "flow"  automatically
around the 16k gap - any hints how that can be arranged?

Thanks in advance,

Wolfgang

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Quote from a recent meeting:   "We are going to continue having these
meetings everyday until I find out why no work is getting done."

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-08-03 14:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-03 14:32 Linker help: How to create "hole" in text segment? Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).