From mint-bounce@lists.fishpool.fi Wed Dec 23 07:49:26 2009 Message-ID: <4B320F56.7060600@freesbee.fr> Date: Wed, 23 Dec 2009 13:38:46 +0100 From: =?ISO-8859-1?Q?Vincent_Rivi=E8re?= User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: mint Subject: Re: [MiNT] ld -r -o problem ?? References: <1261568789.16683.70.camel@jetpack.demon.co.uk> In-Reply-To: <1261568789.16683.70.camel@jetpack.demon.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Antivirus: avast! (VPS 091222-1, 22/12/2009), Outbound message X-Antivirus-Status: Clean X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: vincent.riviere@freesbee.fr Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id nBNCnP97017491 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. -- Vincent Rivière