From mint-bounce@lists.fishpool.fi  Wed Dec 23 07:59:03 2009
X-Virus-Scanned: amavisd-new at demon.co.uk
Subject: Re: [MiNT] ld -r -o problem ??
From: Alan Hourihane <alanh@fairlite.co.uk>
To: Vincent =?ISO-8859-1?Q?Rivi=E8re?= <vincent.riviere@freesbee.fr>
Cc: mint <mint@fishpool.com>
In-Reply-To: <4B320F56.7060600@freesbee.fr>
References: <1261568789.16683.70.camel@jetpack.demon.co.uk>
	 <4B320F56.7060600@freesbee.fr>
Content-Type: text/plain; charset="ISO-8859-1"
Date: Wed, 23 Dec 2009 12:57:06 +0000
Message-Id: <1261573026.16683.71.camel@jetpack.demon.co.uk>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.3 
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-to: mint-bounce@lists.fishpool.fi
X-original-sender: alanh@fairlite.co.uk
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
List-owner: <mailto:tjhukkan@fishpool.fi>
List-post: <mailto:mint@lists.fishpool.fi>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id nBNCwvuN009746

On Wed, 2009-12-23 at 13:38 +0100, Vincent Rivière wrote:
> Alan Hourihane wrote:
> > ld -r -o test.so test.o
> > 
> > and I get....
> > 
> > 00000000 T _test
> > 00000000 t test.o
> > 
> > Notice the "test.o" as a symbol. I don't get that on Linux, and
> > wondering why that happens ?
> 
> Oh, yes, I noticed that. It is a feature of the a.out linker.
> 
> Additional symbols are added by the linker with the names of the 
> original .o files. It is to ease debugging, by using nm as you do you 
> can see at which address the original files have been merged.
> 
> Note the lowercase 't': these symbols are private, totally harmless.

Sure.

Thanks.

Alan.


