summaryrefslogtreecommitdiff
path: root/gcc/config/s390/linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/s390/linux.h')
-rw-r--r--gcc/config/s390/linux.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/s390/linux.h b/gcc/config/s390/linux.h
index 2048ddc025..21f9825bf6 100644
--- a/gcc/config/s390/linux.h
+++ b/gcc/config/s390/linux.h
@@ -90,4 +90,10 @@ along with GCC; see the file COPYING3. If not see
#undef TARGET_LIBC_HAS_FUNCTION
#define TARGET_LIBC_HAS_FUNCTION gnu_libc_has_function
+/* Uninitialized common symbols in non-PIE executables, even with
+ strong definitions in dependent shared libraries, will resolve
+ to COPY relocated symbol in the executable. See PR65780. */
+#undef TARGET_BINDS_LOCAL_P
+#define TARGET_BINDS_LOCAL_P default_binds_local_p_2
+
#endif