Skip to content

x86 and x86_64 - missing common ELF relocations #5259

@notxvilka

Description

@notxvilka

Found these by running rz-find -S bla /usr/lib, rz-find -S bla /usr/bin and rz-find -S bla /usr/sbin on Ubuntu LTS.

X86

WARNING: Unhandled ELF reloc 14 (R_386_TLS_TPOFF)
WARNING: Unhandled ELF reloc 35 (R_386_TLS_DTPMOD32)
WARNING: Unhandled ELF reloc 36 (R_386_TLS_DTPOFF32)
WARNING: Unhandled ELF reloc 43 (R_386_GOT32X)
WARNING: Unhandled ELF reloc 4 (R_386_PLT32)

And these are unpatched:

WARNING: x86_32: Unhandled patching case for relocation 10.
WARNING: x86_32: Unhandled patching case for relocation 14.
WARNING: x86_32: Unhandled patching case for relocation 35.
WARNING: x86_32: Unhandled patching case for relocation 36.
WARNING: x86_32: Unhandled patching case for relocation 4.
WARNING: x86_32: Unhandled patching case for relocation 43.
WARNING: x86_32: Unhandled patching case for relocation 6.
WARNING: x86_32: Unhandled patching case for relocation 7.
WARNING: x86_32: Unhandled patching case for relocation 8.
WARNING: x86_32: Unhandled patching case for relocation 9.

X86_64

WARNING: Unhandled ELF reloc 16 (R_X86_64_DTPMOD64)
WARNING: Unhandled ELF reloc 17 (R_X86_64_DTPOFF64)
WARNING: Unhandled ELF reloc 18 (R_X86_64_TPOFF64)
WARNING: Unhandled ELF reloc 42 (R_X86_64_REX_GOTPCRRELX)

And these are unpatched:

WARNING: x86_64: Unhandled patching case for relocation 16.
WARNING: x86_64: Unhandled patching case for relocation 17.
WARNING: x86_64: Unhandled patching case for relocation 18.
WARNING: x86_64: Unhandled patching case for relocation 37.
WARNING: x86_64: Unhandled patching case for relocation 42.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions