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 on FreeBSD


   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

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