Subject: Re: More on unusual N_TXTADDR() (Closed)
To: Paul Kranenburg <pk@cs.few.eur.nl>
From: Andrew Cagney <cagney@highland.oz.au>
List: tech-kern
Date: 06/18/1994 03:31:48
Hello,

Excerpts from mail: 17-Jun-94 Re: More on unusual N_TXTAD.. Paul
Kranenburg@cs.few.e (693)

> This is not quite what is done in ld. N_TXTADDR() or TEXT_START() is never
> applied to *input* object files. In stead, ld has a set of basic assumptions
> on how to handle (relocatable) address references in them, which boils down
> to this: all addresses are to be interpreted as referrring to locations as
> if the object text segment was loaded at address 0 with the data segment
> following immediately.

Ah,

Unfortunatly, gnu's BFD by default, trusts N_TXTADDR totally (even for
the case above).

For my version of BFD, I've totally removed the N_* definitions (well
almost,  not forgeting the magic number).  This makes both gas/binutils
work much better.

			thanks Andrew

------------------------------------------------------------------------------