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