fix powerpc dynamic linker thread-pointer-relative relocations
authorRich Felker <dalias@aerifal.cx>
Tue, 17 Jun 2014 18:32:43 +0000 (14:32 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 17 Jun 2014 18:32:43 +0000 (14:32 -0400)
commit94cf991bf4b18bb87a15a96e7b5e7d92fab787ba
treeb3ed632b4751959c4a12d5350f2aaaaa2f0ad6e6
parentf4cc27601817f6decd773c24496bfbe892bcd244
fix powerpc dynamic linker thread-pointer-relative relocations

processing of R_PPC_TPREL32 was ignoring the addend provided by the
RELA-style relocation and instead using the inline value as the
addend. this presumably broke dynamic-linked access to initial TLS in
cases where the addend was nonzero.
arch/powerpc/reloc.h