public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* elf32.em
@ 1999-10-27 16:33 Geoff Keating
  1999-10-27 16:48 ` elf32.em Ian Lance Taylor
  0 siblings, 1 reply; 6+ messages in thread
From: Geoff Keating @ 1999-10-27 16:33 UTC (permalink / raw)
  To: binutils

In elf32.em, there's this code:

     FIXME: This approach--using bfd_elf_set_dt_needed_name--is not
     very pretty.  I haven't been able to think of anything that is
     pretty, though.  */
  if (bfd_check_format (entry->the_bfd, bfd_object)
      && (entry->the_bfd->flags & DYNAMIC) != 0)
    {
      char *filname, *needed_name;

      ASSERT (entry->is_archive && entry->search_dirs_flag);

      /* Rather than duplicating the logic above.  Just use the
	 filename we recorded earlier.o

	 First strip off everything before the last '/'.  */
      filename = strrchr (entry->filename, '/');

Shouldn't the variable be called 'filename'?

-- 
Geoffrey Keating <geoffk@cygnus.com>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1999-11-03  8:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-10-27 16:33 elf32.em Geoff Keating
1999-10-27 16:48 ` elf32.em Ian Lance Taylor
1999-10-27 23:27   ` elf32.em Jeffrey A Law
1999-11-03  7:49   ` elf32.em Jeffrey A Law
1999-11-03  7:49     ` elf32.em Jeffrey A Law
1999-11-03  8:24   ` elf32.em Jeffrey A Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).