c5d972
Downstream-only patch to preserve the 8.6.0 _rtld_global_ro ABI on s390x.
c5d972
c5d972
diff --git a/sysdeps/s390/dl-procinfo.c b/sysdeps/s390/dl-procinfo.c
c5d972
index f928b485609a3b8a..3f46b2785fafe51e 100644
c5d972
--- a/sysdeps/s390/dl-procinfo.c
c5d972
+++ b/sysdeps/s390/dl-procinfo.c
c5d972
@@ -20,6 +20,12 @@
c5d972
 /* The hwcap and platform strings are now in
c5d972
    sysdeps/s390/dl-procinfo-s390.c.  */
c5d972
 
c5d972
+/* Dummy entries to preserve ABI. */
c5d972
+#if defined SHARED && defined PROCINFO_DECL
c5d972
+const char _dl_s390_cap_flags_unused[23][9];
c5d972
+const char _dl_s390_platforms_unused[10][7];
c5d972
+#endif
c5d972
+
c5d972
 /* Needed by sysdeps/unix/sysv/linux/dl-vdso-setup.c (as included from
c5d972
    sysdeps/generic/ldsodefs.h).  */
c5d972
 #undef PROCINFO_DECL