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