This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Advice on the prefered way to brand ELF binaries as needed onFreeBSD


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]