Skip to content

TLS GOT Relocations + Addends #510

Description

@lenary

Following on from #188

There are some more HI20 relocations that are used to get the address of a specific GOT slot, where I'm not sure an addend is logical:

  • R_RISCV_TLS_GOT_HI20 used by TLS IE
  • R_RISCV_TLS_GD_HI20 used by TLS GD
  • R_RISCV_TLSDESC_HI20 used by TLSDESC

I think none of these should take into account the Addend, as I understand.

I am less sure about R_RISCV_GOT32_PCREL but it could be another one that must have a zero addend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions