* config/tc-mips.c (nopic_need_relax): Handle -fdata-sections

generated .sbss.* and .gnu.linkonce.sb.*.
This commit is contained in:
Thiemo Seufer 2006-06-23 18:31:17 +00:00
parent 0faaaeb8fc
commit d4dc2f22f5
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2006-06-23 Nigel Stephens <nigel@mips.com>
* config/tc-mips.c (nopic_need_relax): Handle -fdata-sections
generated .sbss.* and .gnu.linkonce.sb.*.
2006-06-23 Thiemo Seufer <ths@mips.com>
David Ung <davidu@mips.com>

View file

@ -13113,6 +13113,8 @@ nopic_need_relax (symbolS *sym, int before_relaxing)
change = (strcmp (segname, ".sdata") != 0
&& strcmp (segname, ".sbss") != 0
&& strncmp (segname, ".sdata.", 7) != 0
&& strncmp (segname, ".sbss.", 6) != 0
&& strncmp (segname, ".gnu.linkonce.sb.", 17) != 0
&& strncmp (segname, ".gnu.linkonce.s.", 16) != 0);
}
return change;