diff options
author | Jiong Wang <jiong.wang@arm.com> | 2015-07-01 08:45:08 +0000 |
---|---|---|
committer | Jiong Wang <jiwang@gcc.gnu.org> | 2015-07-01 08:45:08 +0000 |
commit | 34ecdb0f20498d3cdde1a5be9614c2820cc4688f (patch) | |
tree | 88fa7395dc593ad418400dda519802a9345f60bd /gcc/config.in | |
parent | 1d628b1536253c8b18d1b800f287722a098a4dfe (diff) | |
download | gcc-34ecdb0f20498d3cdde1a5be9614c2820cc4688f.zip gcc-34ecdb0f20498d3cdde1a5be9614c2820cc4688f.tar.gz gcc-34ecdb0f20498d3cdde1a5be9614c2820cc4688f.tar.bz2 |
[AArch64] Fall back to -fPIC if no support of -fpic in binutils
2015-07-01 Jiong Wang <jiong.wang@arm.com>
* configure.ac: Add check for aarch64 assembler -fpic relocation
modifier support.
* configure: Regenerate.
* config.in: Regenerate.
* config/aarch64/aarch64.c (initialize_aarch64_code_model): Fall back
to -fPIC if not support of -fpic relocation modifier in assembler.
From-SVN: r225231
Diffstat (limited to 'gcc/config.in')
-rw-r--r-- | gcc/config.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config.in b/gcc/config.in index 3aee936..b031a62 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -606,6 +606,12 @@ #endif +/* Define if your assembler supports relocs needed by -fpic. */ +#ifndef USED_FOR_TARGET +#undef HAVE_AS_SMALL_PIC_RELOCS +#endif + + /* Define if your assembler and linker support thread-local storage. */ #ifndef USED_FOR_TARGET #undef HAVE_AS_TLS |