unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1/2] Map ABI/VERSION of rtld to ABI/VERSION of ld [BZ #28132]
@ 2021-08-02  4:29 H.J. Lu via Libc-alpha
  2021-08-02  4:29 ` [PATCH 2/2] ld.so: Hide _r_debug to support DT_DEBUG [BZ #28130] H.J. Lu via Libc-alpha
  2022-10-06 16:38 ` [PATCH 1/2] Map ABI/VERSION of rtld to ABI/VERSION of ld [BZ #28132] Carlos O'Donell via Libc-alpha
  0 siblings, 2 replies; 10+ messages in thread
From: H.J. Lu via Libc-alpha @ 2021-08-02  4:29 UTC (permalink / raw)
  To: libc-alpha

Since the module name of ld is rtld, map ABI/VERSION of rtld to ABI/VERSION
of ld.  This fixes BZ #28132.
---
 scripts/abi-versions.awk | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/scripts/abi-versions.awk b/scripts/abi-versions.awk
index c369793459..09c9432f5c 100644
--- a/scripts/abi-versions.awk
+++ b/scripts/abi-versions.awk
@@ -27,6 +27,11 @@ $2 == "=" {
 
   printf "#define ABI_%s_%s\tABI_%s_%s\n", libid, oldid, libid, newid;
   printf "#define VERSION_%s_%s\t%s\n", libid, oldid, new;
+  if (libid == "ld") {
+    # The module name of ld is rtld.
+    printf "#define ABI_rtld_%s\tABI_ld_%s\n", oldid, oldid
+    printf "#define VERSION_rtld_%s\tVERSION_ld_%s\n", oldid, oldid
+  }
 
   next;
 }
@@ -38,6 +43,11 @@ $2 == "=" {
 
   printf "#define ABI_%s_%s\t%d\t/* support %s */\n", libid, versid, ++n, vers;
   printf "#define VERSION_%s_%s\t%s\n", libid, versid, vers;
+  if (libid == "ld") {
+    # The module name of ld is rtld.
+    printf "#define ABI_rtld_%s\tABI_ld_%s\n", versid, versid
+    printf "#define VERSION_rtld_%s\tVERSION_ld_%s\n", versid, versid
+  }
   next;
 }
 
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-10-06 19:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-02  4:29 [PATCH 1/2] Map ABI/VERSION of rtld to ABI/VERSION of ld [BZ #28132] H.J. Lu via Libc-alpha
2021-08-02  4:29 ` [PATCH 2/2] ld.so: Hide _r_debug to support DT_DEBUG [BZ #28130] H.J. Lu via Libc-alpha
2021-08-02 13:29   ` Andreas Schwab
2021-08-02 20:43     ` H.J. Lu via Libc-alpha
2021-08-02 21:19     ` Florian Weimer via Libc-alpha
2021-08-02 21:46       ` H.J. Lu via Libc-alpha
2021-08-02 23:06         ` H.J. Lu via Libc-alpha
2022-10-06 16:38 ` [PATCH 1/2] Map ABI/VERSION of rtld to ABI/VERSION of ld [BZ #28132] Carlos O'Donell via Libc-alpha
2022-10-06 18:46   ` H.J. Lu via Libc-alpha
2022-10-06 19:52     ` H.J. Lu via Libc-alpha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).