[AArch64] Fall back to -fPIC if no support of -fpic relocation modifer in assembler

Jiong Wang jiong.wang@arm.com
Mon Jun 29 13:07:00 GMT 2015


This patch fix the breakage caused by

  https://gcc.gnu.org/ml/gcc-patches/2015-06/msg01913.html

We fall back to -fPIC if there is no assembler support on those new
relocation modifiers for -fpic.

OK for trunk?

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.
-- 
Regards,
Jiong

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.patch
Type: text/x-diff
Size: 3250 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150629/fec21fe3/attachment.bin>


More information about the Gcc-patches mailing list