about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2022-08-25 16:34:20 +0200
committerFlorian Weimer <fweimer@redhat.com>2022-08-25 21:33:12 +0200
commit5ecc98241229d494aaad23a4a3fe106fe11e1f40 (patch)
tree96d65b3208bb8ce7b0cc2ff41571d09d761e1623 /sysdeps/unix
parent89baed0b93639180fd7d0ba922873b003649c7af (diff)
downloadglibc-5ecc98241229d494aaad23a4a3fe106fe11e1f40.tar.gz
glibc-5ecc98241229d494aaad23a4a3fe106fe11e1f40.tar.xz
glibc-5ecc98241229d494aaad23a4a3fe106fe11e1f40.zip
s390: Move hwcaps/platform names out of _rtld_global_ro
Changes to these arrays are often backported to stable releases,
but additions to these arrays shift the offsets of the following
_rltd_global_ro members, thus breaking the GLIBC_PRIVATE ABI.

Obviously, this change is itself an internal ABI break, but at least
it will avoid further ABI breaks going forward.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/s390/dl-procinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/s390/dl-procinfo.h b/sysdeps/unix/sysv/linux/s390/dl-procinfo.h
index 46790c2103..a8e27149fd 100644
--- a/sysdeps/unix/sysv/linux/s390/dl-procinfo.h
+++ b/sysdeps/unix/sysv/linux/s390/dl-procinfo.h
@@ -39,7 +39,7 @@ _dl_procinfo (unsigned int type, unsigned long int word)
 
   for (i = 0; i < _DL_HWCAP_COUNT; ++i)
     if (word & (1UL << i))
-      _dl_printf (" %s", GLRO(dl_s390_cap_flags)[i]);
+      _dl_printf (" %s", _dl_s390_cap_flags[i]);
 
   _dl_printf ("\n");