aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/spuelf.em
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-02-07 08:41:10 +0000
committerAlan Modra <amodra@gmail.com>2008-02-07 08:41:10 +0000
commitff7a0acf26799cbaff30be114d7a17d19d2d96a0 (patch)
treea4ae9832e349cc2b0a9c584d9c94ec1742d23f53 /ld/emultempl/spuelf.em
parent1bf57e9fa369e12554ad304935972944ba8a7009 (diff)
downloadgdb-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/emultempl/spuelf.em')
-rw-r--r--ld/emultempl/spuelf.em6
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/emultempl/spuelf.em b/ld/emultempl/spuelf.em
index 7e618a5..bbaf098 100644
--- a/ld/emultempl/spuelf.em
+++ b/ld/emultempl/spuelf.em
@@ -1,5 +1,5 @@
# This shell script emits a C file. -*- C -*-
-# Copyright 2006, 2007 Free Software Foundation, Inc.
+# Copyright 2006, 2007, 2008 Free Software Foundation, Inc.
#
# This file is part of the GNU Binutils.
#
@@ -353,9 +353,9 @@ embedded_spu_file (lang_input_statement_type *entry, const char *flags)
if (strncmp (infile, "crtbegin", 8) == 0)
{
if (infile[8] == 'S')
- flags = concat (flags, " -fPIC", NULL);
+ flags = concat (flags, " -fPIC", (const char *) NULL);
else if (infile[8] == 'T')
- flags = concat (flags, " -fpie", NULL);
+ flags = concat (flags, " -fpie", (const char *) NULL);
break;
}
}