* syms.c (_bfd_stab_section_find_nearest_line): Don't bomb on NULL

file_name.
This commit is contained in:
Alan Modra 2002-05-01 07:36:39 +00:00
parent dd70071f8b
commit 818c39a387
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-05-01 Alan Modra <amodra@bigpond.net.au>
* syms.c (_bfd_stab_section_find_nearest_line): Don't bomb on NULL
file_name.
2002-05-01 Alan Modra <amodra@bigpond.net.au>
* elf64-ppc.c (CROR_151515, CROR_313131): Define.

View File

@ -1297,7 +1297,8 @@ _bfd_stab_section_find_nearest_line (abfd, symbols, section, offset, pfound,
*pfound = true;
if (IS_ABSOLUTE_PATH(file_name) || directory_name == NULL)
if (file_name == NULL || IS_ABSOLUTE_PATH (file_name)
|| directory_name == NULL)
*pfilename = file_name;
else
{