* syms.c (_bfd_stab_section_find_neares_line): Use IS_ABSOLUTE_PATH.
authorDJ Delorie <dj@redhat.com>
Thu, 29 Jun 2000 15:06:34 +0000 (15:06 +0000)
committerDJ Delorie <dj@redhat.com>
Thu, 29 Jun 2000 15:06:34 +0000 (15:06 +0000)
bfd/ChangeLog
bfd/syms.c

index d69be79..e0469e0 100644 (file)
@@ -1,3 +1,7 @@
+2000-06-29  Mark Elbrecht  <snowball3@bigfoot.com>
+
+       * syms.c (_bfd_stab_section_find_neares_line): Use IS_ABSOLUTE_PATH.
+
 2000-06-28  Mark Elbrecht  <snowball3@bigfoot.com>
 
        * go32stub.h: Update stub.
index 6546f58..305c9b0 100644 (file)
@@ -1262,7 +1262,7 @@ _bfd_stab_section_find_nearest_line (abfd, symbols, section, offset, pfound,
 
   *pfound = true;
 
-  if (file_name[0] == '/' || directory_name == NULL)
+  if (IS_ABSOLUTE_PATH(file_name) || directory_name == NULL)
     *pfilename = file_name;
   else
     {