diff options
author | Alan Modra <amodra@gmail.com> | 2008-02-07 08:41:10 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2008-02-07 08:41:10 +0000 |
commit | ff7a0acf26799cbaff30be114d7a17d19d2d96a0 (patch) | |
tree | a4ae9832e349cc2b0a9c584d9c94ec1742d23f53 /ld/ldlang.c | |
parent | 1bf57e9fa369e12554ad304935972944ba8a7009 (diff) | |
download | gdb-ff7a0acf26799cbaff30be114d7a17d19d2d96a0.zip gdb-ff7a0acf26799cbaff30be114d7a17d19d2d96a0.tar.gz gdb-ff7a0acf26799cbaff30be114d7a17d19d2d96a0.tar.bz2 |
* 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.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r-- | ld/ldlang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c index 7ef8838..1e9b090 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -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; |