This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: PATCH: PR gas/12049: Unnecessary relaxation


On Sun, Oct 24, 2010 at 8:03 PM, Alan Modra <amodra@gmail.com> wrote:
> On Fri, Oct 22, 2010 at 12:44:21PM -0700, H.J. Lu wrote:
>> Your fix doesn't handle the new testcase in
>>
>> http://sourceware.org/bugzilla/show_bug.cgi?id=12049
>
> The comment says it all.
>
> ? ? ? ?PR gas/12049
> ? ? ? ?* write.c (relax_frag): Don't allow forward branches to temporarily
> ? ? ? ?becomde backward branches.
>

I added this testcase.

Thanks.


-- 
H.J.
---
2010-10-25  H.J. Lu  <hongjiu.lu@intel.com>

	PR gas/12049
	* gas/i386/i386.exp: Run relax-1 and relax-2 for all 32bit
	targets.  Run x86-64-relax-1.

	* gas/i386/x86-64-relax-1.d: New.
	* gas/i386/x86-64-relax-1.s: Likewise.

Attachment: gas-pr12049-5.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]