'ld' backward incompatibility.

Ian Lance Taylor ian@zembu.com
Mon Mar 27 08:39:00 GMT 2000


   From: Sergei Organov <osv@javad.ru>
   Date: 27 Mar 2000 20:22:44 +0400

   The output is attached.

Thanks.  I have no easy explanation.  Can you debug this?  The
relevant check in ldmain.c is this:

  if (lang_has_input_file == false)
    {
      if (version_printed)
	xexit (0);
      einfo (_("%P%F: no input files\n"));
    }

That check has been there since at least 1993.  So the question is: in
the version that works, why is lang_has_input_file being set to true?

Ian


More information about the Binutils mailing list