ELF: process new entries DT_RELR and DT_ANDROID_RELA
Author: jreiserCreated Jun 23, 2026Updated Jun 23, 2026
What's the problem (or question)?
Recent compiler and binutils packages for ELF compiled binary files use new tags such as DT_RELR and DT_ANDROID_RELA which should be recognized and processed by class PackLinuxElf. Currently it looks like DT_RELR is a re-statement of DT_REL/DT_RELA, with both appearing in the same file. If so, then this is a compatibillity bridge similar to the previous (and sometimes current) DT_HASH versus DT_GNU_HASH.
Please tell us details about your environment.
- UPX version used (
upx --version): 5.2.0 - Host Operating System and version: Linux 6.X, Android 17
- Host CPU architecture: amd64, arm64
- Target Operating System and version:Linux 6.X, Android 17; gcc 14, binutils 41
- Target CPU architecture: amd64, arm64
Source: upx/upx