aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-02-24 13:16:07 +0000
committerNick Clifton <nickc@redhat.com>2005-02-24 13:16:07 +0000
commitf3f4bccaf6189a2a28e9c1436fabf2d668f8ef03 (patch)
treec706e9e9dc39780ddd86c9d42c41df4ce657bcd6 /ld/emultempl
parent729d81e30ef3e9273f0b98ddfeb8046a9a4cb050 (diff)
downloadgdb-f3f4bccaf6189a2a28e9c1436fabf2d668f8ef03.zip
gdb-f3f4bccaf6189a2a28e9c1436fabf2d668f8ef03.tar.gz
gdb-f3f4bccaf6189a2a28e9c1436fabf2d668f8ef03.tar.bz2
(lnk960_before_parse): Remove redundant empty string from calls to concat.
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/lnk960.em9
1 files changed, 4 insertions, 5 deletions
diff --git a/ld/emultempl/lnk960.em b/ld/emultempl/lnk960.em
index 2c294ec..f3bc901 100644
--- a/ld/emultempl/lnk960.em
+++ b/ld/emultempl/lnk960.em
@@ -2,7 +2,7 @@
# It does some substitutions.
cat >e${EMULATION_NAME}.c <<EOF
/* intel coff loader emulation specific stuff
- Copyright 1991, 1992, 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2003
+ Copyright 1991, 1992, 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2003, 2005
Free Software Foundation, Inc.
Written by Steve Chamberlain steve@cygnus.com
@@ -94,12 +94,12 @@ lnk960_before_parse (void)
{
env = (char *) getenv (*p);
if (env)
- ldfile_add_library_path (concat (env, "/lib/libcoff", ""), FALSE);
+ ldfile_add_library_path (concat (env, "/lib/libcoff", NULL), FALSE);
}
env = (char *) getenv ("I960BASE");
if (env)
- ldfile_add_library_path(concat (env, "/lib", ""), FALSE);
+ ldfile_add_library_path (concat (env, "/lib", NULL), FALSE);
ldfile_output_architecture = bfd_arch_i960;
ldfile_output_machine = bfd_mach_i960_core;
@@ -119,8 +119,7 @@ lnk960_before_parse (void)
einfo ("%P%F I960BASE and G960BASE not set\n");
}
-
- ldfile_add_library_path (concat (name, "/lib", ""), FALSE);
+ ldfile_add_library_path (concat (name, "/lib", NULL), FALSE);
ldfile_output_architecture = bfd_arch_i960;
ldfile_output_machine = bfd_mach_i960_core;
}