This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[AArch64] Disable pcrelative_literal_loads with fix-cortex-a53-843419


Hi,

This is a followup to PR63304.

As discussed in bugzilla, this patch disables pcrelative_literal_loads
when -mfix-cortex-a53-843419 (or its default configure option) is
used.

I copied the behavior of -mfix-cortex-a53-835769 (e.g. in
aarch64_can_inline_p), and I have tested by building the Linux kernel
using -mfix-cortex-a53-843419 and checked that
R_AARCH64_ADR_PREL_PG_HI21 relocations are not emitted anymore (under
CONFIG_ARM64_ERRATUM_843419).

For reference, this is motivated by:
https://bugs.linaro.org/show_bug.cgi?id=1994
and further details on Launchpad:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1533009

OK for trunk?

Thanks,

Christophe.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]