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 /gcc/configure.ac | |
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
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r-- | gcc/configure.ac | 7 |
1 files changed, 6 insertions, 1 deletions
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 |