From: Thiemo Seufer Date: Fri, 23 Jun 2006 18:31:17 +0000 (+0000) Subject: * config/tc-mips.c (nopic_need_relax): Handle -fdata-sections X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d4dc2f22f5996cf5b296206b87983b382ed64a43;p=binutils-gdb.git * config/tc-mips.c (nopic_need_relax): Handle -fdata-sections generated .sbss.* and .gnu.linkonce.sb.*. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 7c5c344c728..14c128b1d32 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2006-06-23 Nigel Stephens + + * config/tc-mips.c (nopic_need_relax): Handle -fdata-sections + generated .sbss.* and .gnu.linkonce.sb.*. + 2006-06-23 Thiemo Seufer David Ung diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 19e016130ea..9f995c44e40 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -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;