This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[applied ld mips patch] fix format specifier for printing bfd.
- From: cgd at broadcom dot com
- To: binutils at sources dot redhat dot com
- Cc: cgd at broadcom dot com
- Date: Tue, 18 Jun 2002 18:57:04 -0700 (PDT)
- Subject: [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 */