aboutsummaryrefslogtreecommitdiff
path: root/src/liblink/asm6.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/liblink/asm6.c')
-rw-r--r--src/liblink/asm6.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/liblink/asm6.c b/src/liblink/asm6.c
index 0403665211..07ca35edae 100644
--- a/src/liblink/asm6.c
+++ b/src/liblink/asm6.c
@@ -2415,21 +2415,6 @@ putrelv:
r = addrel(ctxt->cursym);
*r = rel;
r->off = ctxt->curp->pc + ctxt->andptr - ctxt->and;
- } else if(ctxt->iself && ctxt->linkmode == LinkExternal && a->type == D_INDIR+D_FS
- && ctxt->headtype != Hopenbsd) {
- Reloc *r;
- LSym *s;
-
- r = addrel(ctxt->cursym);
- r->off = ctxt->curp->pc + ctxt->andptr - ctxt->and;
- r->add = a->offset - ctxt->tlsoffset;
- r->xadd = r->add;
- r->siz = 4;
- r->type = D_TLS;
- s = linklookup(ctxt, "runtime.tlsgm", 0);
- r->sym = s;
- r->xsym = s;
- v = 0;
}
put4(ctxt, v);