| To: | <linux-mips@linux-mips.org> |
|---|---|
| Subject: | [PATCH] catch "new" gcc 3.4.0 sections |
| From: | "Bradley D. LaRonde" <brad@laronde.org> |
| Date: | Tue, 13 Apr 2004 15:20:48 -0400 |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
Building with gcc 3.4.0 emits a couple new sections, .rodata.cst4 and
.rodata.str1.4, which the current ld.script doesn't contemplate. Here is a
patch to catch them (and maybe some other latent ones).
Anyone know why or when these sections are emitted?
Regards,
Brad
diff -u -r1.1.1.1 ld.script.in
--- arch/mips/ld.script.in 10 Nov 2003 21:06:52 -0000 1.1.1.1
+++ arch/mips/ld.script.in 13 Apr 2004 19:18:25 -0000
@@ -11,6 +11,11 @@
*(.text)
*(.rodata)
*(.rodata1)
+ *(.rodata.str1.1);
+ *(.rodata.str1.4);
+ *(.rodata.str1.32);
+ *(.rodata.cst4);
+ *(.rodata.cst8);
/* .gnu.warning sections are handled specially by elf32.em. */
*(.gnu.warning)
} =0
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | The Linux binutils 2.15.90.0.2 is released, H. J. Lu |
|---|---|
| Next by Date: | Re: [PATCH] catch "new" gcc 3.4.0 sections, Thiemo Seufer |
| Previous by Thread: | The Linux binutils 2.15.90.0.2 is released, H. J. Lu |
| Next by Thread: | Re: [PATCH] catch "new" gcc 3.4.0 sections, Thiemo Seufer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |