* [PATCH] MIPS gas: Handle sections create by -fdata-sections
@ 2006-06-23 21:00 Thiemo Seufer
0 siblings, 0 replies; only message in thread
From: Thiemo Seufer @ 2006-06-23 21:00 UTC (permalink / raw)
To: binutils
Hello All,
I applied this patch, it handles sections generated by -fdata-sections.
Thiemo
2006-06-23 Nigel Stephens <nigel@mips.com>
* config/tc-mips.c (nopic_need_relax): Handle -fdata-sections
generated .sbss.* and .gnu.linkonce.sb.*.
Index: gas/config/tc-mips.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-mips.c,v
retrieving revision 1.337
diff -u -p -r1.337 tc-mips.c
--- gas/config/tc-mips.c 19 May 2006 13:03:05 -0000 1.337
+++ gas/config/tc-mips.c 22 May 2006 10:16:28 -0000
@@ -13000,6 +13182,8 @@ nopic_need_relax (symbolS *sym, int befo
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-06-23 18:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-23 21:00 [PATCH] MIPS gas: Handle sections create by -fdata-sections Thiemo Seufer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).