This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [AArch64] Fall back to -fPIC if no support of -fpic relocation modifer in assembler
- From: Andreas Schwab <schwab at suse dot de>
- To: Jiong Wang <jiong dot wang at arm dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 30 Jun 2015 09:18:27 +0200
- Subject: Re: [AArch64] Fall back to -fPIC if no support of -fpic relocation modifer in assembler
- Authentication-results: sourceware.org; auth=none
- References: <n997fqmit0f dot fsf at arm dot com>
Jiong Wang <jiong.wang@arm.com> writes:
> gcc/
> * 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.
This fixes all testsuite regressions except this one:
gcc.target/aarch64/pic-small.c scan-assembler-times adrp\tx[0-9]+, _GLOBAL_OFFSET_TABLE 2
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."