This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: PR ld/4007: Linker failed to issue an error on bad section in segment
On Tue, Mar 27, 2007 at 06:43:16PM +0930, Alan Modra wrote:
> On Thu, Mar 22, 2007 at 08:47:41AM -0700, H. J. Lu wrote:
> > * ld-elf/note-1.d: New file.
> > * ld-elf/note-1.s: Likewise.
> > * ld-elf/note-1.t: Likewise.
>
> This fails on spu, due to that target rounding up the data segment
> p_filesz and p_memsz. readelf then thinks that the note is also
> in the data segment. Do you have any objection to modifying the
> test as follows?
>
Isn't it a bug in readelf? How can I reproduce it?
H.J.