diff options
author | Florian Weimer <fweimer@redhat.com> | 2022-01-27 16:03:58 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2022-01-27 18:52:05 +0100 |
commit | af121ae3e7cd12628c91ecfc46a9d65313a6e972 (patch) | |
tree | bf0667b0fd62ccd05c866ecb520a598be12c4aeb /sysdeps/unix/sysv/linux/riscv | |
parent | 501246c5e2dfcc278f0ebbdb72345cdd239521c7 (diff) | |
download | glibc-af121ae3e7cd12628c91ecfc46a9d65313a6e972.zip glibc-af121ae3e7cd12628c91ecfc46a9d65313a6e972.tar.gz glibc-af121ae3e7cd12628c91ecfc46a9d65313a6e972.tar.bz2 |
Fix glibc 2.34 ABI omission (missing GLIBC_2.34 in dynamic loader)
The glibc 2.34 release really should have added a GLIBC_2.34
symbol to the dynamic loader. With it, we could move functions such
as dlopen or pthread_key_create that work on process-global state
into the dynamic loader (once we have fixed a longstanding issue
with static linking). Without the GLIBC_2.34 symbol, yet another
new symbol version would be needed because old glibc will fail to
load binaries due to the missing symbol version in ld.so that newly
linked programs will require.
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/riscv')
-rw-r--r-- | sysdeps/unix/sysv/linux/riscv/rv32/ld.abilist | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/ld.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/ld.abilist index 4c67ea1..0683688 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv32/ld.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv32/ld.abilist @@ -3,6 +3,7 @@ GLIBC_2.33 __stack_chk_guard D 0x4 GLIBC_2.33 __tls_get_addr F GLIBC_2.33 _dl_mcount F GLIBC_2.33 _r_debug D 0x14 +GLIBC_2.34 __rtld_version_placeholder F GLIBC_2.35 __rseq_flags D 0x4 GLIBC_2.35 __rseq_offset D 0x4 GLIBC_2.35 __rseq_size D 0x4 diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist index 09596f0..48431c9 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist @@ -3,6 +3,7 @@ GLIBC_2.27 __stack_chk_guard D 0x8 GLIBC_2.27 __tls_get_addr F GLIBC_2.27 _dl_mcount F GLIBC_2.27 _r_debug D 0x28 +GLIBC_2.34 __rtld_version_placeholder F GLIBC_2.35 __rseq_flags D 0x4 GLIBC_2.35 __rseq_offset D 0x4 GLIBC_2.35 __rseq_size D 0x4 |