Commits

Aram Hăvărneanu committed 7e937be

liblink: add missing Hsolaris

Comments (0)

Files changed (1)

src/liblink/obj6.c

 	}
 	if(ctxt->headtype == Hlinux || ctxt->headtype == Hfreebsd
 	|| ctxt->headtype == Hopenbsd || ctxt->headtype == Hnetbsd
-	|| ctxt->headtype == Hplan9 || ctxt->headtype == Hdragonfly) {
+	|| ctxt->headtype == Hplan9 || ctxt->headtype == Hdragonfly
+	|| ctxt->headtype == Hsolaris) {
 		// ELF uses FS instead of GS.
 		if(p->from.type == D_INDIR+D_GS)
 			p->from.type = D_INDIR+D_FS;