This dynamic relocation can appear in shared libraries. Fixes run-elflint-self.sh and run-reverse-sections-self.sh self-tests when built with -mtls-dialect=gnu2 on i386.
Signed-off-by: Sergei Zimmerman <[email protected]> --- Terribly sorry for the quoted-printable encoding, git am --quoted-cr strip should work fine to strip the encoding. backends/i386_reloc.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/i386_reloc.def b/backends/i386_reloc.def index a6a03f32..7a438158 100644 --- a/backends/i386_reloc.def +++ b/backends/i386_reloc.def @@ -66,6 +66,6 @@ RELOC_TYPE (TLS_DTPOFF32, EXEC|DYN) RELOC_TYPE (TLS_TPOFF32, EXEC|DYN) RELOC_TYPE (TLS_GOTDESC, REL) RELOC_TYPE (TLS_DESC_CALL, REL) -RELOC_TYPE (TLS_DESC, EXEC) +RELOC_TYPE (TLS_DESC, EXEC|DYN) RELOC_TYPE (IRELATIVE, EXEC|DYN) RELOC_TYPE (GOT32X, REL) -- 2.53.0
