This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: PR ld/13909: PR ld/12570 causes eh_frame_hdr section to be sometimes too large
- From: Alan Modra <amodra at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Wed, 23 May 2012 00:40:15 +0930
- Subject: Re: PATCH: PR ld/13909: PR ld/12570 causes eh_frame_hdr section to be sometimes too large
- References: <20120522141109.GA17595@intel.com>
On Tue, May 22, 2012 at 07:11:09AM -0700, H.J. Lu wrote:
>
> if (!info->no_ld_generated_unwind_info
> && htab->plt_eh_frame == NULL
> - && htab->elf.splt != NULL)
> + && htab->elf.splt != NULL
> + && bfd_get_section_by_name (dynobj, ".eh_frame") != NULL)
Doesn't look correct to me. dynobj is one of the input files, usually
the first one. Why should creating plt eh_frame info depend on one
file?
--
Alan Modra
Australia Development Lab, IBM