This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: FIx elf_object_p (Re: bug in binutils 2.11.90.0.31 strip ?)
- To: "H . J . Lu" <hjl at lucon dot org>
- Subject: Re: PATCH: FIx elf_object_p (Re: bug in binutils 2.11.90.0.31 strip ?)
- From: Alan Modra <amodra at bigpond dot net dot au>
- Date: Fri, 19 Oct 2001 19:34:01 +0930
- Cc: binutils at sourceware dot cygnus dot com
- References: <20011006193551.A17821@cyberhqz.com> <20011006231430.A1725@lucon.org> <20011014001418.C32135@cyberhqz.com> <20011014092728.A2374@lucon.org> <20011014130337.F32135@cyberhqz.com> <20011015000830.A2739@lucon.org> <20011015014540.A16133@cyberhqz.com> <20011015094027.A1218@lucon.org> <20011017231253.A23334@lucon.org>
On Wed, Oct 17, 2001 at 11:12:53PM -0700, H . J . Lu wrote:
>
> * elfcode.h (elf_object_p): Don't clear D_PAGED if the section
> is empty.
Surely it would be better to never create these sections in the first
place? Or has that already been addressed by Jakub's section.c patch?
I don't see any harm in the patch though, as it seems a logically
correct thing to do. Nick?