aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-02-21 23:19:43 +0000
committerIan Lance Taylor <ian@airs.com>1994-02-21 23:19:43 +0000
commitef76742fc5cd3885488abe7c2f4fb8a3f8cba72c (patch)
tree466fcc2105f53962739fc6a0288bc36080252376 /ld/ldlang.c
parentc8d02404ea99ae0add8ccaa656c2444c53bf9e4b (diff)
downloadgdb-ef76742fc5cd3885488abe7c2f4fb8a3f8cba72c.zip
gdb-ef76742fc5cd3885488abe7c2f4fb8a3f8cba72c.tar.gz
gdb-ef76742fc5cd3885488abe7c2f4fb8a3f8cba72c.tar.bz2
* ldlang.c (new_afile): Pass NULL as last argument to concat.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 1ad0350..8e95b8a 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -338,7 +338,7 @@ new_afile (name, file_type, target)
p->is_archive = true;
p->filename = name;
p->real = true;
- p->local_sym_name = concat ("-l", name, "");
+ p->local_sym_name = concat ("-l", name, (const char *) NULL);
p->just_syms_flag = false;
p->search_dirs_flag = true;
break;