aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2006-06-23 18:31:17 +0000
committerThiemo Seufer <ths@networkno.de>2006-06-23 18:31:17 +0000
commitd4dc2f22f5996cf5b296206b87983b382ed64a43 (patch)
tree42314aada10274562e15d19b549832a9b32b4b52 /gas/config
parent0faaaeb8fc6916f0edbe9736309f68ca59a15cf5 (diff)
downloadgdb-d4dc2f22f5996cf5b296206b87983b382ed64a43.zip
gdb-d4dc2f22f5996cf5b296206b87983b382ed64a43.tar.gz
gdb-d4dc2f22f5996cf5b296206b87983b382ed64a43.tar.bz2
* config/tc-mips.c (nopic_need_relax): Handle -fdata-sections
generated .sbss.* and .gnu.linkonce.sb.*.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-mips.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 19e0161..9f995c4 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;