* Re: Gnu Linker query
2002-11-21 21:36 Gnu Linker query Amol Kumar Lad
@ 2002-11-21 17:15 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2002-11-21 17:15 UTC (permalink / raw)
To: Amol Kumar Lad; +Cc: linux-kernel
On Thu, Nov 21, 2002 at 04:36:16PM -0500, Amol Kumar Lad wrote:
> Hi,
> Please don't flame for posting in wrong list. I am not receiving any
> reply to my query from binutils@srouces.redhat.com. I know people here
> will surely help me out.
That's because you waited less than a day for an answer, IIRC. And if
you search the archives of the binutils list you'll find your answer.
You can't do this. You need to explicitly place things before or after
the hole in two different sections.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 2+ messages in thread
* Gnu Linker query
@ 2002-11-21 21:36 Amol Kumar Lad
2002-11-21 17:15 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Amol Kumar Lad @ 2002-11-21 21:36 UTC (permalink / raw)
To: linux-kernel
Hi,
Please don't flame for posting in wrong list. I am not receiving any
reply to my query from binutils@srouces.redhat.com. I know people here
will surely help me out.
--
I am using gcc linker on a mips architecture.
My .text segment for vmlinux starts at 0x80040000 and ends at 0x8010ffff
64K of memory region from 0x80060000 is reserved memory, I do not want
linker to generate any address of .text in this address range. How
should I do it . I tried using MEMORY command like
MEMORY
{
rom (!w!x) : ORIGIN = 0x80060000, LENGTH = 64K
}
.text 0x80040000 :
{
*(.text)
} = 0
but still ld is using address range 0x80060000 (+64K) for .text .
In a nutshell, How do I reserve a memory in one particular section
Please CC me.
Thanks
Amol
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-21 17:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-21 21:36 Gnu Linker query Amol Kumar Lad
2002-11-21 17:15 ` Daniel Jacobowitz
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.