[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] ld -r -o problem ??
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.