This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ld 2.18 --gc-sections bug? (with testcase)
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Rask Ingemann Lambertsen <rask at sygehus dot dk>
- Cc: binutils at sourceware dot org
- Date: Tue, 11 Dec 2007 10:13:35 +1030
- Subject: Re: ld 2.18 --gc-sections bug? (with testcase)
- References: <200709071301.32998.vda.linux@googlemail.com> <20070907131255.GA10933@lucon.org> <200709071446.22648.vda.linux@googlemail.com> <20070908110439.GG11390@bubble.grove.modra.org> <20071210161123.GJ17368@sygehus.dk>
On Mon, Dec 10, 2007 at 05:11:23PM +0100, Rask Ingemann Lambertsen wrote:
> 2) If it is really a warning rather than an error message, shouldn't it be
> prefixed with "warning: " or so? Dejagnu currently counts it as an error.
* elf.c (elf_fake_sections): Add "warning:" to "..changed to PROGBITS"
message.
Index: bfd/elf.c
===================================================================
RCS file: /cvs/src/src/bfd/elf.c,v
retrieving revision 1.424
diff -u -p -r1.424 elf.c
--- bfd/elf.c 13 Nov 2007 05:56:10 -0000 1.424
+++ bfd/elf.c 10 Dec 2007 23:35:36 -0000
@@ -2497,7 +2497,7 @@ elf_fake_sections (bfd *abfd, asection *
non-bss input sections to bss output sections, or emit data
to a bss output section via a linker script. */
(*_bfd_error_handler)
- (_("section `%A' type changed to PROGBITS"), asect);
+ (_("warning: section `%A' type changed to PROGBITS"), asect);
this_hdr->sh_type = sh_type;
}
--
Alan Modra
Australia Development Lab, IBM