[DynInst_API:] [dyninst/dyninst] 87636e: Implement support for ELF's DT_RELR


Date: Thu, 09 Jul 2026 22:12:40 -0700
From: bbiiggppiigg <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 87636e: Implement support for ELF's DT_RELR
  Branch: refs/heads/bbiiggppiigg/2235-review
  Home:   https://github.com/dyninst/dyninst
  Commit: 87636e33b70454f8990f547c3a3317f23630c002
      https://github.com/dyninst/dyninst/commit/87636e33b70454f8990f547c3a3317f23630c002
  Author: Kian Cossettini <Kian.Cossettini@xxxxxxx>
  Date:   2026-06-26 (Fri, 26 Jun 2026)

  Changed paths:
    M symtabAPI/doc/API/Symtab/Region.tex
    M symtabAPI/h/Region.h
    M symtabAPI/src/Object-elf.C
    M symtabAPI/src/Object-elf.h
    M symtabAPI/src/Region.C
    M symtabAPI/src/emitElf.C
    M symtabAPI/src/emitElf.h

  Log Message:
  -----------
  Implement support for ELF's DT_RELR


  Commit: c3a52fe222a7692479f6aa8c6443535d010844c9
      https://github.com/dyninst/dyninst/commit/c3a52fe222a7692479f6aa8c6443535d010844c9
  Author: Kian Cossettini <Kian.Cossettini@xxxxxxx>
  Date:   2026-06-26 (Fri, 26 Jun 2026)

  Changed paths:
    M symtabAPI/src/Object-elf.C

  Log Message:
  -----------
  Move RELR defines to before getRegionType


  Commit: f588fc7240bee7ca11e5f1f027386ccc8b561896
      https://github.com/dyninst/dyninst/commit/f588fc7240bee7ca11e5f1f027386ccc8b561896
  Author: Kian Cossettini <Kian.Cossettini@xxxxxxx>
  Date:   2026-06-26 (Fri, 26 Jun 2026)

  Changed paths:
    M symtabAPI/src/Object-elf.h
    M symtabAPI/src/emitElf.C

  Log Message:
  -----------
  Preserve original entries from .gnu.version_r that were skipped through symbol version references


  Commit: d7b47dd64e572d56bc0a0f768a6e701599b7e09e
      https://github.com/dyninst/dyninst/commit/d7b47dd64e572d56bc0a0f768a6e701599b7e09e
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2026-07-09 (Thu, 09 Jul 2026)

  Changed paths:
    M symtabAPI/src/emitElf.C

  Log Message:
  -----------
  Emit RELR in packed encoding instead of expanded raw addresses

Re-encode preserved relative relocations using the standard RELR
bitmap packing (address entry + 63-word bitmap windows) rather than
one raw address entry per relocation. Output matches linker encoding
byte-for-byte modulo library_adjust; coreutils .relr.dyn stays 712
bytes instead of growing to 12960.

Prototype for review feedback on dyninst/dyninst#2235.

Co-Authored-By: Claude Fable 5 <noreply@xxxxxxxxxxxxx>


Compare: https://github.com/dyninst/dyninst/compare/87636e33b704%5E...d7b47dd64e57

To unsubscribe from these emails, change your notification settings at https://github.com/dyninst/dyninst/settings/notifications
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 87636e: Implement support for ELF's DT_RELR, bbiiggppiigg <=