This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] PR gold/17641
- From: Cary Coutant <ccoutant at gmail dot com>
- To: Ilya Tocar <tocarip dot intel at gmail dot com>
- Cc: "H.J. Lu" <hjl dot tools at gmail dot com>, Binutils <binutils at sourceware dot org>
- Date: Fri, 3 Apr 2015 10:38:04 -0700
- Subject: Re: [PATCH] PR gold/17641
- Authentication-results: sourceware.org; auth=none
- References: <20150403152723 dot GD23405 at msticlxl7 dot ims dot intel dot com> <CAMe9rOoGVWW7MFKPP4Ri+1A_=wojQeb3F5HYg9iyZtAaJAG3tw at mail dot gmail dot com> <20150403170416 dot GE23405 at msticlxl7 dot ims dot intel dot com>
> +2015-04-03 Ilya Tocar <ilya.tocar@intel.com>
> +
> + PR gold/17641
> + * x86_64.cc (Target_x86_64::can_convert_mov_to_lea): New.
> + (Target_x86_64::Scan::local): Don't create GOT entry, when we
> + can convert mov to lea.
> + (Target_x86_64::Scan::global): Ditto.
> + (Target_x86_64::Relocate::relocate): Convert mov foo@GOTPCREL(%rip),
> + %reg to lea foo(%rip), %reg if possible.
> + * testsuite/Makefile.am (x86_64_mov_to_lea): New test.
> + * testsuite/x86_64_mov_to_lea1.s: New.
> + * testsuite/x86_64_mov_to_lea2.s: Ditto.
> + * testsuite/x86_64_mov_to_lea3.s: Ditto.
> + * testsuite/x86_64_mov_to_lea4.s: Ditto.
> + * testsuite/x86_64_mov_to_lea.sh: Ditto.
This is OK. Thanks!
-cary