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