diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2014-02-12 16:12:36 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2014-02-12 08:12:36 -0800 |
commit | 0544c448697cb09283fbe26587202d4d0e7f2deb (patch) | |
tree | 1d13851123e3c2c5a4469f72a2b70793159944a1 | |
parent | 8a1701343871501d8e6f8fd3020a9881a1d9aa62 (diff) | |
download | gcc-0544c448697cb09283fbe26587202d4d0e7f2deb.zip gcc-0544c448697cb09283fbe26587202d4d0e7f2deb.tar.gz gcc-0544c448697cb09283fbe26587202d4d0e7f2deb.tar.bz2 |
Pass --32 to GNU assembler for .long foo@GOTOFF check
PR target/60151
* configure.ac (HAVE_AS_GOTOFF_IN_DATA): Pass --32 to GNU
assembler.
* configure: Regenerated.
Co-Authored-By: Uros Bizjak <ubizjak@gmail.com>
From-SVN: r207731
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rwxr-xr-x | gcc/configure | 6 | ||||
-rw-r--r-- | gcc/configure.ac | 7 |
3 files changed, 19 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cf01571..7ad4d3b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2014-02-12 H.J. Lu <hongjiu.lu@intel.com> + Uros Bizjak <ubizjak@gmail.com> + + PR target/60151 + * configure.ac (HAVE_AS_GOTOFF_IN_DATA): Pass --32 to GNU + assembler. + * configure: Regenerated. + 2014-02-12 Richard Biener <rguenther@suse.de> * vec.c (vec_prefix::calculate_allocation): Move as diff --git a/gcc/configure b/gcc/configure index 53e772f..3ecd194 100755 --- a/gcc/configure +++ b/gcc/configure @@ -25028,6 +25028,10 @@ fi # These two are used unconditionally by i386.[ch]; it is to be defined # to 1 if the feature is present, 0 otherwise. + as_ix86_gotoff_in_data_opt= + if test x$gas = xyes; then + as_ix86_gotoff_in_data_opt="--32" + fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for GOTOFF in data" >&5 $as_echo_n "checking assembler for GOTOFF in data... " >&6; } if test "${gcc_cv_as_ix86_gotoff_in_data+set}" = set; then : @@ -25044,7 +25048,7 @@ fi nop .data .long .L0@GOTOFF' > conftest.s - if { ac_try='$gcc_cv_as $gcc_cv_as_flags -o conftest.o conftest.s >&5' + if { ac_try='$gcc_cv_as $gcc_cv_as_flags $as_ix86_gotoff_in_data_opt -o conftest.o conftest.s >&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 (eval $ac_try) 2>&5 ac_status=$? diff --git a/gcc/configure.ac b/gcc/configure.ac index ac3d842..402494e 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -3867,8 +3867,13 @@ foo: nop # These two are used unconditionally by i386.[ch]; it is to be defined # to 1 if the feature is present, 0 otherwise. + as_ix86_gotoff_in_data_opt= + if test x$gas = xyes; then + as_ix86_gotoff_in_data_opt="--32" + fi gcc_GAS_CHECK_FEATURE([GOTOFF in data], - gcc_cv_as_ix86_gotoff_in_data, [2,11,0],, + gcc_cv_as_ix86_gotoff_in_data, [2,11,0], + [$as_ix86_gotoff_in_data_opt], [ .text .L0: nop |