[Bug target/81863] [7 regression] -mword-relocations is unreliable
arnd at linaro dot org
gcc-bugzilla@gcc.gnu.org
Thu Aug 17 07:55:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81863
Arnd Bergmann <arnd at linaro dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work|6.3.1 |
--- Comment #1 from Arnd Bergmann <arnd at linaro dot org> ---
I originally couldn't reproduce this on gcc-6, but now I found another file
that shows very similar behavior with gcc-6.3.1 but not gcc-5 or gcc-7. In that
case we increment a global variable "cell->id = cmodio_id++;", reading the
variable uses a relative relocation, but writing it back uses
R_ARM_MOVW_ABS_NC.
More information about the Gcc-bugs
mailing list