From 32d6e6c0f802264d4c5a6c99d5109d4cbb6f7337 Mon Sep 17 00:00:00 2001 From: Joey Ye Date: Tue, 19 Nov 2013 10:00:46 +0000 Subject: arm.opt (-marm-pic-data-is-text-relative): New option. 2013-11-19 Joey Ye * config/arm/arm.opt (-marm-pic-data-is-text-relative): New option. * doc/invoke.texi (-marm-pic-data-is-text-relative): Documentation for new option. * config/arm/arm.c (arm_option_override): By default disable -marm-pic-data-is-text-relative. (legitimize_pic_address): Use arm_pic_data_is_text_relative. (arm_assemble_integer): Likewise. * config/arm/arm.h (TARGET_DEFAULT_PIC_DATA_IS_TEXT_RELATIVE): New macro to initialize -marm-pic-data-is-text-relative. From-SVN: r205016 --- gcc/config/arm/arm.opt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/config/arm/arm.opt') diff --git a/gcc/config/arm/arm.opt b/gcc/config/arm/arm.opt index 9b74038..fa0839a 100644 --- a/gcc/config/arm/arm.opt +++ b/gcc/config/arm/arm.opt @@ -158,6 +158,10 @@ mlong-calls Target Report Mask(LONG_CALLS) Generate call insns as indirect calls, if necessary +mpic-data-is-text-relative +Target Report Var(arm_pic_data_is_text_relative) Init(TARGET_DEFAULT_PIC_DATA_IS_TEXT_RELATIVE) +Assume data segments are relative to text segment. + mpic-register= Target RejectNegative Joined Var(arm_pic_register_string) Specify the register to be used for PIC addressing -- cgit v1.1