summaryrefslogtreecommitdiff
path: root/bfd/syms.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2000-06-29 15:06:34 +0000
committerDJ Delorie <dj@delorie.com>2000-06-29 15:06:34 +0000
commit1c3339ebb5a26c4231b2f0c436d3042998fbc5a6 (patch)
tree01ce048353fecbdd056bba6104ccf5f205828995 /bfd/syms.c
parent3bf77bbf39bf8f844b6cee756bb6fc63a2f7adca (diff)
downloadgdb-1c3339ebb5a26c4231b2f0c436d3042998fbc5a6.tar.gz
* syms.c (_bfd_stab_section_find_neares_line): Use IS_ABSOLUTE_PATH.
Diffstat (limited to 'bfd/syms.c')
-rw-r--r--bfd/syms.c2
1 files changed, 1 insertions, 1 deletions
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
{