mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 07:53:51 +08:00
* 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:
@ -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;
|
||||
|
Reference in New Issue
Block a user