I am not an expert but my impression is that linking is a phenomenon related to an enclosing space. I.e. two spaces are not intrinsically linked, they are linked by virtue of their respective positions in some larger third space. Thus two tori which are linked in three - space cannot be unlinked there by any continuous deformation.
Also a space can be linked upon itself. Somebody who knows more please help out.