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.