* ldlang.c (new_afile): Don't pass unadorned NULL to concat.

* ldfile.c (ldfile_add_library_path): Likewise.
	* emultempl/elf32.em (check_ld_elf_hints, check_ld_so_conf): Likewise.
	* emultempl/lnk960.em (lnk960_before_parse): Likewise.
	* emultempl/spuelf.em (embedded_spu_file): Likewise.
This commit is contained in:
Alan Modra
2008-02-07 08:41:10 +00:00
parent 1bf57e9fa3
commit ff7a0acf26
6 changed files with 22 additions and 12 deletions

View File

@ -944,7 +944,7 @@ new_afile (const char *name,
p->is_archive = TRUE;
p->filename = name;
p->real = TRUE;
p->local_sym_name = concat ("-l", name, NULL);
p->local_sym_name = concat ("-l", name, (const char *) NULL);
p->just_syms_flag = FALSE;
p->search_dirs_flag = TRUE;
break;