[DynInst_API:] [dyninst/dyninst] 2c94ce: glibc r_debug extensions to support multiple names...


Date: Fri, 04 Feb 2022 12:35:47 -0800
From: Stan Cox <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 2c94ce: glibc r_debug extensions to support multiple names...
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: 2c94ce001356b55d6c83c2265b905de4f1e86a51
      https://github.com/dyninst/dyninst/commit/2c94ce001356b55d6c83c2265b905de4f1e86a51
  Author: Stan Cox <scox@xxxxxxxxxx>
  Date:   2022-02-04 (Fri, 04 Feb 2022)

  Changed paths:
    M symtabAPI/src/emitElf.C

  Log Message:
  -----------
  glibc r_debug extensions to support multiple namespaces (#1175)

* Remove interposed definition of _r_debug

Previously there was a dynamic relocation against _r_debug in the loader which picked up the interposed definition, but glibc now uses a direct internal hidden symbol reference and thus no longer updates the interposed object.

* Update the elf _DYNAMIC symbol

When the symbol table is created in emitElf<ElfTypes>::createSymbolTables, also update the elf _DYNAMIC symbol to reflect the new address of the .dynamic section.


[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 2c94ce: glibc r_debug extensions to support multiple names..., Stan Cox <=