From mint-bounce@lists.fishpool.fi  Fri Apr 24 06:41:10 2009
X-Virus-Scanned: amavisd-new at mnet-online.de
From: Andreas Schwab <schwab@linux-m68k.org>
To: Alan Hourihane <alanh@fairlite.co.uk>
Cc: mint <mint@fishpool.com>
Subject: Re: [MiNT] linker problem with -r (relocateable)
References: <1240568043.23168.85.camel@localhost>
X-Yow: Well, I'm INVISIBLE AGAIN..  I might as well pay a visit to the
 LADIES ROOM...
Date: Fri, 24 Apr 2009 12:36:38 +0200
In-Reply-To: <1240568043.23168.85.camel@localhost> (Alan Hourihane's message
	of "Fri, 24 Apr 2009 11:14:03 +0100")
Message-ID: <m2ljpq5oeh.fsf@igel.home>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-to: mint-bounce@lists.fishpool.fi
X-original-sender: schwab@linux-m68k.org
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>

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

> 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.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


