From b4b415e5714b8d5e3ebc8c09c6d6da5dda67b464 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Thu, 29 Jun 2000 15:06:34 +0000 Subject: * syms.c (_bfd_stab_section_find_neares_line): Use IS_ABSOLUTE_PATH. --- bfd/syms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bfd/syms.c') diff --git a/bfd/syms.c b/bfd/syms.c index 6546f58..305c9b0 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 { -- cgit v1.1