On 23 April 2015 at 17:36, Jakub Jelinek <ja...@redhat.com> wrote: > Hi! > > This patch undoes the PR65780 performance regressions on a few targets > I have tested to work fine. > This PR was about an access to uninitialized COMMON symbol defined in > executable (or PIE) where there is a normal symbol definition in a shared > library. The PR65780 fix that got committed stopped treating > such COMMONs as binding local on all architectures, except for i?86 (for > normal execs only) and x86_64 (for normal execs and PIEs, but the latter > only with recent linker). As s390/arm/aarch64 seems to work fine > (generate a COPY relocation and thus define symbol locally) in non-PIE > executables, this patch changes those to a function that has been added for > that behavior. E.g. powerpc64{,le} on the other side isn't able to link > that case neither in normal execs nor PIEs.
> * config/aarch64/aarch64-linux.h (TARGET_BINDS_LOCAL_P): Likewise. AArch64 chunk is fine with me. Cheers /Marcus