From ff7a0acf26799cbaff30be114d7a17d19d2d96a0 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 7 Feb 2008 08:41:10 +0000 Subject: * 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. --- ld/emultempl/spuelf.em | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ld/emultempl/spuelf.em') diff --git a/ld/emultempl/spuelf.em b/ld/emultempl/spuelf.em index 7e618a55642..bbaf098c050 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; } } -- cgit v1.2.3