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: Can I link a.out .o with ELF?


Hmm ...

   @@ -5030,10 +5033,8 @@ elf_link_output_extsym (h, data)
	     symbol foo@@GNU_1.2 is the default, which should be used when
	     foo is used with no version, then we add an indirect symbol
	     foo which points to foo@@GNU_1.2.  We ignore these symbols,
   -         since the indirected symbol is already in the hash table.  If
   -         the indirect symbol is non-ELF, fall through and output it.  */
   -      if ((h->elf_link_hash_flags & ELF_LINK_NON_ELF) == 0)
   -       return true;
   +         since the indirected symbol is already in the hash table.  */
   +      return true;

	  /* Fall through.  */
	case bfd_link_hash_warning:

... I find the "Fall through" just after `return true' rather
intriguing.

Mark

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