delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/17/17:56:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: localhost.localdomain: rth set sender to rth AT redhat DOT com using -f
Date: Fri, 17 Jan 2003 14:55:10 -0800
From: Richard Henderson <rth AT redhat DOT com>
To: Brian Ford <ford AT vss DOT fsi DOT com>
Cc: Nick Clifton <nickc AT redhat DOT com>, cygwin AT cygwin DOT com,
binutils AT sources DOT redhat DOT com, dave AT beermex DOT com, cgf AT redhat DOT com
Subject: Re: Support for DDWARF-2 debug info? (on Cygwin)
Message-ID: <20030117225510.GC1898@redhat.com>
References: <m31y3dqvw5 DOT fsf AT north-pole DOT nickc DOT cambridge DOT redhat DOT com> <Pine DOT GSO DOT 4 DOT 44 DOT 0301160902220 DOT 12926-100000 AT eos>
Mime-Version: 1.0
In-Reply-To: <Pine.GSO.4.44.0301160902220.12926-100000@eos>
User-Agent: Mutt/1.4i

On Thu, Jan 16, 2003 at 09:18:20AM -0600, Brian Ford wrote:
> I am still consulting the DWARF2 spec to see if gcc and gas are
> correct in generating VMA addresses.  If so, I guess I have to fix the
> dwarf parsing code in bfd and gdb to subtract the section base VMA.

No, dwarf specifies a section-relative address.  The issue is that,
with the exception of IA-64, no target has section-relative relocations.
So instead we force the VMA to zero such that the VMA address and
the section offset are identical.

If you cannot do this with PE, then you have to add new relocs.
There's no other way around it.


r~

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019