[Bug target/81863] [7 regression] -mword-relocations is unreliable
ramana at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 27 14:07:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81863
--- Comment #21 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> ---
Author: ramana
Date: Tue Mar 27 14:06:20 2018
New Revision: 258886
URL: https://gcc.gnu.org/viewcvs?rev=258886&root=gcc&view=rev
Log:
[Patch ARM] Fix PR target/81863
This has been in my patch stack for quite some time. The problem here
was that we weren't handling arm_word_relocations in
arm_valid_symbolic_address and is the surest fix for this
for GCC8 and GCC7.
Regression tested on arm-none-linux-gnueabihf . Applying to
trunk and backporting to GCC-7 in a day or so.
regards
Ramana
2018-03-27 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
PR target/81863
* config/arm/arm.c (arm_valid_symbolic_address): Handle
arm_word_relocations
2018-03-27 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
PR target/81863
* gcc.target/arm/pr81863.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/arm/pr81863.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/arm/arm.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list