From ef76742fc5cd3885488abe7c2f4fb8a3f8cba72c Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 21 Feb 1994 23:19:43 +0000 Subject: [PATCH] * ldlang.c (new_afile): Pass NULL as last argument to concat. --- ld/ChangeLog | 4 ++++ ld/ldlang.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 4786d6c1370..d98567e4a57 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 1ad0350d65d..8e95b8a6a09 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; -- 2.30.2