mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Amol Kumar Lad <amolk@ishoni.com>
To: linux-kernel@vger.kernel.org
Subject: Gnu Linker query
Date: 21 Nov 2002 16:36:16 -0500	[thread overview]
Message-ID: <1037914591.30043.57.camel@amol.in.ishoni.com> (raw)

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




             reply	other threads:[~2002-11-21 10:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-21 21:36 Amol Kumar Lad [this message]
2002-11-21 17:15 ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1037914591.30043.57.camel@amol.in.ishoni.com \
    --to=amolk@ishoni.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®