This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [RFC][PATCH] Check ELF relocs after opening all all input files
- From: Alan Modra <amodra at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Nick Clifton <nickc at redhat dot com>, Binutils <binutils at sourceware dot org>
- Date: Thu, 21 Apr 2016 09:02:06 +0930
- Subject: Re: [RFC][PATCH] Check ELF relocs after opening all all input files
- Authentication-results: sourceware.org; auth=none
- References: <20160419134956 dot GA12310 at intel dot com> <57165642 dot 1070808 at redhat dot com> <CAMe9rOrydGcortz2AsujVSQYZCRbSPsi7CFQRnA6ZZiicbUvTA at mail dot gmail dot com> <20160419232457 dot GB20119 at bubble dot grove dot modra dot org> <CAMe9rOrQ3QqrBmw206e3_F1f3zbnS7+tUGh5MxmUq-Z_EQskYQ at mail dot gmail dot com> <CAMe9rOqxcN=nG3mGpb_tgVrdxQTuJY1jF_=EmZGBXJT7OkewmA at mail dot gmail dot com>
On Wed, Apr 20, 2016 at 11:34:07AM -0700, H.J. Lu wrote:
> * ldlang.c (lang_check_relocs): New function.
> (lang_process): Call lang_check_relocs after lang_gc_sections.
> * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
> call _bfd_elf_link_check_relocs here.
OK.
--
Alan Modra
Australia Development Lab, IBM