Displaying 1 result from an estimated 1 matches for "r_hex_b22_pcrel".
2019 Dec 27
2
[LLD][ELF] Symbol/Relocation manipulation.
I'd like to convert the following
call A at GDPLT //R_HEX_GD_PLT_B22_PCREL
to
call __tls_get_addr //R_HEX_B22_PCREL
"A" is a TLS variable and preceding code has prepared for the call.
When the R_HEX_GD_PLT_B22_PCREL is found it will initially point to the TLS variable so at that point I'd like to define a __tls_get_addr symbol and update the relocation's type and symbol to point to it.
Is th...