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: PATCH to ld fixes the MIPS ECOFF --embedded-relocs BFD check bug


   Date: Wed, 7 Jun 00 19:45:17 CDT
   From: msokolov@ivan.Harhan.ORG (Michael Sokolov)

   +       /* As first-order business, make sure that each input BFD is ECOFF. It
   +          better be, as we are directly calling an ECOFF backend function.  */
   +       if (strncmp (bfd_get_target (abfd), "ecoff", 5))
   + 	einfo ("%F%B: all input objects must be ECOFF for --embedded-relocs\n");
   + 

Just check for bfd_target_ecoff_flavour here.  Don't make assumptions
about the target name.

Ian

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