[Bug target/79041] aarch64 backend emits R_AARCH64_ADR_PREL_PG_HI21 relocation despite -mpc-relative-literal-loads option being used

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 25 22:04:00 GMT 2017


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

--- Comment #14 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Wilco from comment #13)
> It doesn't run in the testsuite with -fpic, so is it a problem?

I run the testsuite with RUNTESTFLAGS='--target_board=unix/\{,-fpic\}' and this
testcase fails in the -fpic is selected.  Note this is done as we don't have
enough coverage for -fpic code in the normal testsuite run; running the
testsuite this way has allowed me to file PIC related bugs in the past.


More information about the Gcc-bugs mailing list