[Bug target/63304] Aarch64 pc-relative load offset out of range

clyon at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 21 16:58:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63304

--- Comment #41 from Christophe Lyon <clyon at gcc dot gnu.org> ---
Indeed, having:

ifeq ($(CONFIG_ARM64_ERRATUM_843419), y)
KBUILD_CFLAGS_MODULE    += -mcmodel=large
KBUILD_CFLAGS_MODULE    += $(call cc-option, -mpc-relative-literal-loads)
endif

in arch/arm64/Makefile does the trick.


More information about the Gcc-bugs mailing list