[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] linker problem with -r (relocateable)



On Fri, 2009-04-24 at 12:36 +0200, Andreas Schwab wrote:
> Alan Hourihane <alanh@fairlite.co.uk> writes:
> 
> > ld -r -o main2.o main.o
> 
> This is supposed to be equivalent to cp main.o main2.o

O.k. it seems this is not the case.

> > Now -r means generate relocateable code and I don't think we should be
> > allowing that with our a.out format ? Maybe just silently ignore the -r
> > option as quite a few tools use it.
> 
> I see nothing wrong with using -r with a.out.

O.k, it was a question, so thanks for clarifying.

Alan.