Re: PATCH: PR target/60151: HAVE_AS_GOTOFF_IN_DATA is mis-detected on x86-64

2014-02-12 Thread H.J. Lu
On Wed, Feb 12, 2014 at 12:20 AM, Uros Bizjak wrote: > On Tue, Feb 11, 2014 at 9:41 PM, H.J. Lu wrote: > >> HAVE_AS_GOTOFF_IN_DATA defines a 32-bit assembler feature, we need to >> pass --32 to assembler. Otherwise, we get the wrong result on x86-64. >> We already pass --32 to assembl

Re: PATCH: PR target/60151: HAVE_AS_GOTOFF_IN_DATA is mis-detected on x86-64

2014-02-12 Thread Uros Bizjak
On Tue, Feb 11, 2014 at 9:41 PM, H.J. Lu wrote: > HAVE_AS_GOTOFF_IN_DATA defines a 32-bit assembler feature, we need to > pass --32 to assembler. Otherwise, we get the wrong result on x86-64. > We already pass --32 to assembler on x86. It should be OK to do it > in configure. OK

Re: PATCH: PR target/60151: HAVE_AS_GOTOFF_IN_DATA is mis-detected on x86-64

2014-02-11 Thread H.J. Lu
On Tue, Feb 11, 2014 at 12:29 PM, Rainer Orth wrote: > "H.J. Lu" writes: > >> On Tue, Feb 11, 2014 at 11:40 AM, Rainer Orth >> wrote: >>> Hi H.J., >>> HAVE_AS_GOTOFF_IN_DATA defines a 32-bit assembler feature, we need to pass --32 to assembler. Otherwise, we get the wrong result on x86

Re: PATCH: PR target/60151: HAVE_AS_GOTOFF_IN_DATA is mis-detected on x86-64

2014-02-11 Thread Rainer Orth
"H.J. Lu" writes: > On Tue, Feb 11, 2014 at 11:40 AM, Rainer Orth > wrote: >> Hi H.J., >> >>> HAVE_AS_GOTOFF_IN_DATA defines a 32-bit assembler feature, we need to >>> pass --32 to assembler. Otherwise, we get the wrong result on x86-64. >>> We already pass --32 to assembler on x86. It should b

Re: PATCH: PR target/60151: HAVE_AS_GOTOFF_IN_DATA is mis-detected on x86-64

2014-02-11 Thread H.J. Lu
On Tue, Feb 11, 2014 at 11:40 AM, Rainer Orth wrote: > Hi H.J., > >> HAVE_AS_GOTOFF_IN_DATA defines a 32-bit assembler feature, we need to >> pass --32 to assembler. Otherwise, we get the wrong result on x86-64. >> We already pass --32 to assembler on x86. It should be OK to do it >> in configure

Re: PATCH: PR target/60151: HAVE_AS_GOTOFF_IN_DATA is mis-detected on x86-64

2014-02-11 Thread Uros Bizjak
On Tue, Feb 11, 2014 at 8:28 PM, H.J. Lu wrote: > HAVE_AS_GOTOFF_IN_DATA defines a 32-bit assembler feature, we need to > pass --32 to assembler. Otherwise, we get the wrong result on x86-64. > We already pass --32 to assembler on x86. It should be OK to do it > in configure. OK for trunk? Unf

Re: PATCH: PR target/60151: HAVE_AS_GOTOFF_IN_DATA is mis-detected on x86-64

2014-02-11 Thread Rainer Orth
Hi H.J., > HAVE_AS_GOTOFF_IN_DATA defines a 32-bit assembler feature, we need to > pass --32 to assembler. Otherwise, we get the wrong result on x86-64. > We already pass --32 to assembler on x86. It should be OK to do it > in configure. OK for trunk? This would break Solaris/x86 with as config

PATCH: PR target/60151: HAVE_AS_GOTOFF_IN_DATA is mis-detected on x86-64

2014-02-11 Thread H.J. Lu
Hi, HAVE_AS_GOTOFF_IN_DATA defines a 32-bit assembler feature, we need to pass --32 to assembler. Otherwise, we get the wrong result on x86-64. We already pass --32 to assembler on x86. It should be OK to do it in configure. OK for trunk? Thanks. H.J. --- 2014-02-11 H.J. Lu PR targ