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: Wed, 20 Apr 2016 23:25:29 +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> <CAMe9rOp=4FOLLi25B3ohiqF8xZFy7FoQ67ZdoYXT3X9+-uLXGw at mail dot gmail dot com>
On Wed, Apr 20, 2016 at 05:23:11AM -0700, H.J. Lu wrote:
> ldemul_before_allocation is too late. It should be called before
> map_input_to_output_sections.
Oh yeah, check_relocs creates sections, that need to be mapped. Are
there any other reasons?
--
Alan Modra
Australia Development Lab, IBM