This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Advice on the prefered way to brand ELF binaries as needed onFreeBSD
- To: "David O'Brien" <obrien at FreeBSD dot org>
- Subject: Re: Advice on the prefered way to brand ELF binaries as needed onFreeBSD
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Wed, 12 Apr 2000 15:53:47 +1000 (EST)
- cc: binutils at sourceware dot cygnus dot com
On Tue, 11 Apr 2000, David O'Brien wrote:
> Is there an easy to use symbol that tells what the target arch is? I
> could #ifdef on that instead.
You could add some autoconf magic to bfd/acinclude.m4. Try something
similar to BFD_BINARY_FOPEN, but testing $target for freebsd. This will
get you a defined macro in config.h that you can test elsewhere. It may
not be a bad idea to move ELF_DYNAMIC_INTERPRETER into there too.
--
Linuxcare. Support for the Revolution.