aboutsummaryrefslogtreecommitdiff
path: root/ld
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
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')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/ldlang.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 4786d6c..d98567e 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+Mon Feb 21 15:15:29 1994 Ian Lance Taylor (ian@cygnus.com)
+
+ * ldlang.c (new_afile): Pass NULL as last argument to concat.
+
Thu Feb 17 15:51:23 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* ldlang.c, ldmain.c: Include libiberty.h.
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;