objdump --debug and COFF weak functions

Ian Lance Taylor ian@zembu.com
Sat Jun 24 15:48:00 GMT 2000


   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


More information about the Binutils mailing list