This is the mail archive of the binutils@sources.redhat.com 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]

[applied ld mips patch] fix format specifier for printing bfd.


was always broken since we added the code, i guess...  Just noticed the
problem because the condition got hit (which caused binary spew to be
output).

(this change makes the format match the mips ECOFF code from which
this code is derived, plus for kicks i checked that it now prints
something sane.  8-)

2002-06-18  Chris Demetriou  <cgd@broadcom.com>

	* emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix
	format specifier used to print BFD name.

Index: emultempl/mipself.em
===================================================================
RCS file: /cvs/src/src/ld/emultempl/mipself.em,v
retrieving revision 1.1
diff -u -p -r1.1 mipself.em
--- emultempl/mipself.em	30 Jan 2002 02:22:14 -0000	1.1
+++ emultempl/mipself.em	19 Jun 2002 01:51:54 -0000
@@ -124,7 +124,7 @@ mips_elf${ELFSIZE}_check_sections (abfd,
   if ((bfd_get_section_flags (abfd, sec) & SEC_CODE) == 0
       && sec != (asection *) sdatasec
       && sec->reloc_count != 0)
-    einfo ("%F%X: section %s has relocs; cannot use --embedded-relocs\n",
+    einfo ("%B%X: section %s has relocs; cannot use --embedded-relocs\n",
 	   abfd, bfd_get_section_name (abfd, sec));
 }
 #endif /* SUPPORT_EMBEDDED_RELOCS */


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