This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

spu-ld segfault on warning message


	* elf32-spu.c (spu_elf_size_stubs): Correct order of warning args.

Index: bfd/elf32-spu.c
===================================================================
RCS file: /cvs/src/src/bfd/elf32-spu.c,v
retrieving revision 1.2
diff -u -p -r1.2 elf32-spu.c
--- bfd/elf32-spu.c	15 Dec 2006 04:13:34 -0000	1.2
+++ bfd/elf32-spu.c	21 Feb 2007 02:46:47 -0000
@@ -1,6 +1,6 @@
 /* SPU specific support for 32-bit ELF
 
-   Copyright 2006 Free Software Foundation, Inc.
+   Copyright 2006, 2007 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
@@ -871,7 +871,7 @@ spu_elf_size_stubs (bfd *output_bfd,
 
 		      (*_bfd_error_handler) (_("warning: call to non-function"
 					       " symbol %s defined in %B"),
-					     sym_name, sym_sec->owner);
+					     sym_sec->owner, sym_name);
 		    }
 		  else
 		    continue;

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]