Print this page
10471 ld(1) amd64 LD->LE TLS transition causes memory corruption

@@ -738,11 +738,10 @@
                  *      0x00 leaq x1@tpoff(%rax), %rcx
                  */
                 DBG_CALL(Dbg_reloc_transition(ofl->ofl_lml, M_MACH,
                     R_AMD64_TPOFF32, arsp, ld_reloc_sym_name));
                 arsp->rel_rtype = R_AMD64_TPOFF32;
-                arsp->rel_raddend = 0;
                 return (FIX_RELOC);
         }
 
         return (FIX_RELOC);
 }