This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: gold --emit-relocs
- From: Alan Modra <amodra at gmail dot com>
- To: Cary Coutant <ccoutant at gmail dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Thu, 20 Aug 2015 12:05:00 +0930
- Subject: Re: gold --emit-relocs
- Authentication-results: sourceware.org; auth=none
- References: <20150819051557 dot GF20393 at bubble dot grove dot modra dot org> <CAJimCsF+NugizLx8aNpVbvqYR1cJY-Lb6x8CNyetD1tDeS5YXw at mail dot gmail dot com>
On Wed, Aug 19, 2015 at 12:39:50AM -0700, Cary Coutant wrote:
> Rather than move this code to here, I'd prefer to leave it where it
> is, but promote "os" to the scope of the loop and adjust the addend
> using os->address():
OK, I probably would have written the patch this way myself if I'd
started with target-reloc.h. Patch revised as you suggest and
committed 9215b98b.
--
Alan Modra
Australia Development Lab, IBM