From: DJ Delorie Date: Thu, 29 Jun 2000 15:06:34 +0000 (+0000) Subject: * syms.c (_bfd_stab_section_find_neares_line): Use IS_ABSOLUTE_PATH. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b4b415e5714b8d5e3ebc8c09c6d6da5dda67b464;p=binutils-gdb.git * syms.c (_bfd_stab_section_find_neares_line): Use IS_ABSOLUTE_PATH. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index d69be7962ec..e0469e01e8e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2000-06-29 Mark Elbrecht + + * syms.c (_bfd_stab_section_find_neares_line): Use IS_ABSOLUTE_PATH. + 2000-06-28 Mark Elbrecht * go32stub.h: Update stub. diff --git a/bfd/syms.c b/bfd/syms.c index 6546f585054..305c9b06c4d 100644 --- a/bfd/syms.c +++ b/bfd/syms.c @@ -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 {