Advice on the prefered way to brand ELF binaries as needed on FreeBSD
Ian Lance Taylor
ian@zembu.com
Tue Apr 11 23:28:00 GMT 2000
Date: Tue, 11 Apr 2000 21:31:01 -0700
From: "David O'Brien" <obrien@FreeBSD.org>
On Wed, Apr 12, 2000 at 12:25:15AM -0400, Michael Meissner wrote:
> Neither one is acceptable IMHO. This is because both of them rely on
> __FreeBSD__ being defined,
Is there an easy to use symbol that tells what the target arch is? I
could #ifdef on that instead.
Using a #ifdef at all is wrong. BFD is designed so that it can
support multiple targets simultaneously. Rather than a #ifdef based
on the target, you must add a different target.
Ian
More information about the Binutils
mailing list