arm.c (arm_option_override): Set MASK_SINGLE_PIC_BASE when -mno-pic-data-is-text...
authorNathan Sidwell <nathan@gcc.gnu.org>
Tue, 12 Jul 2016 16:25:10 +0000 (16:25 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 12 Jul 2016 16:25:10 +0000 (16:25 +0000)
commitb88bd5e0ca120822fc2fbac03a903c5b2efdde06
treeeb3e8a9c9be49a7d0db808a3534a1b8d2e6aaa5f
parentf906f5edd3420d363eb442fe4b82eaa63131b978
arm.c (arm_option_override): Set MASK_SINGLE_PIC_BASE when -mno-pic-data-is-text-relative is in effect...

gcc/
* config/arm/arm.c (arm_option_override): Set MASK_SINGLE_PIC_BASE
when -mno-pic-data-is-text-relative is in effect, by default.
* doc/invoke.texi (mpic-data-is-text-relative): Document new
behavior and clarify.

gcc/testsuite/
* gcc.target/arm/data-rel-1.c: New.
* gcc.target/arm/data-rel-2.c: New.
* gcc.target/arm/data-rel-3.c: New.

From-SVN: r238254
gcc/config/arm/arm.c
gcc/doc/invoke.texi
gcc/testsuite/gcc.target/arm/data-rel-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/data-rel-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/data-rel-3.c [new file with mode: 0644]