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

--- Comment #2 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
LLVM matches gcc -fPIC, the report is about -fpic (small pic).

LLVM's output does not contain redundant recomputation of _G_O_T_, because for
-fPIC both the adrp and ldr are relocated against the symbol ('f1' below):

        adrp    x8, :got:f1
        ldr     x8, [x8, :got_lo12:f1]

Reply via email to