Back to lyrics overview

Dt_relr !!top!! (2027)

Matt Simons, Erik Matthiasson - 2016 / From 'Catch & Release'

There’s a place I go to

Dt_relr !!top!! (2027)

: Traditional relative relocations (like R_X86_64_RELATIVE ) require 24 bytes each on 64-bit systems. In large binaries with many global variables, these can take up significant disk space and memory. DT_RELR replaces these with a compact representation that can reduce the size of the relocation section by over 90% in some cases.

: When a linker (like LLD or GNU ld ) uses this feature, it adds three key entries to the dynamic section: dt_relr

In the ELF dynamic section, is accompanied by two other tags: : When a linker (like LLD or GNU

When a computer program is compiled, it often includes "relative addresses." Because modern operating systems use , a program cannot guarantee it will be loaded at the exact same memory address every time. To fix this, the system uses a process called relocation . dt_relr