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: objdump --debug and COFF weak functions


   From: "Mark E." <snowball3@bigfoot.com>
   Date: Sat, 24 Jun 2000 18:45:17 -0400

   Below is a patch that fixes it for me. In case you're wondering, I used the 
   COFF_WITH_PE guards like in bfd/coffcode.h since C_NT_WEAK clashes with another C_* 
   symbol.

That doesn't work, though.

bfd/coffcode.h is included by many coff-*.c files with differing
definitions.  It is compiled differently for each different COFF
target.

This is not true of binutils/rdcoff.c.  It is only compiled once, in
the same way.  A #ifdef test here is meaningless.

Ian

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