public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Alan Modra <amodra@bigpond.net.au>
To: Deepen Mantri <Deepen.Mantri@kpitcummins.com>
Cc: binutils@sources.redhat.com
Subject: Re: No error for  Linker Section Overlapping
Date: Sat, 21 Apr 2007 05:01:00 -0000	[thread overview]
Message-ID: <20070421010118.GL6840@bubble.grove.modra.org> (raw)
In-Reply-To: <B9D27836A814694B95A1C294F71457667A5E7A@sohm.kpit.com>

On Thu, Apr 19, 2007 at 09:12:23PM +0530, Deepen Mantri wrote:
> 1. Error prints the LMA addresses instead of VMA addresses when VMAs of
>    the sections overlap. This might create confusion.	

VMA == LMA except when using overlays or when assigning LMA in the
linker script.  I don't think the error message is worth changing.

> 2. Also the allocation of the LMA address to non-loadable sections 	
>    (such as ".bss" section) is not prevented.	

Why is this a problem?  Changing this as you have done will break
other code in the linker, eg. _bfd_elf_map_sections_to_segments.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

  reply	other threads:[~2007-04-21  1:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-12 13:50 Deepen Mantri
2007-04-14  1:42 ` Alan Modra
2007-04-17 13:17   ` Deepen Mantri
2007-04-18  4:10     ` Alan Modra
2007-04-19 17:05       ` Deepen Mantri
2007-04-21  5:01         ` Alan Modra [this message]
2007-04-23 15:08           ` Deepen Mantri
2007-04-23 15:32             ` Alan Modra
2007-04-24 10:59               ` Deepen Mantri

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=20070421010118.GL6840@bubble.grove.modra.org \
    --to=amodra@bigpond.net.au \
    --cc=Deepen.Mantri@kpitcummins.com \
    --cc=binutils@sources.redhat.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).