https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65780
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> --- And, shouldn't common_maybe_local for i?86/x86_64 be !flag_pic || (TARGET_64BIT && HAVE_LD_PIE_COPYRELOC != 0) ? What about other targets that are known to generate COPY relocations in this case for non-PIE executables? Should they pass !flag_pic? Perhaps there should be a generic default_binds_local_p* entry point that passes !flag_pic as common_maybe_local, that those targets could (after maintainers test it properly with various vintage linkers?) use as their TARGET_BINDS_LOCAL_P ? Clearly rs6000 should pass always false though, perhaps many others too.