| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | Re: [PATCH] catch "new" gcc 3.4.0 sections |
| From: | Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de> |
| Date: | Tue, 13 Apr 2004 21:31:58 +0200 |
| In-reply-to: | <028001c4218c$6d792350$8d01010a@prefect> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <028001c4218c$6d792350$8d01010a@prefect> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.5.1i |
Bradley D. LaRonde wrote: > 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? I'd guess to keep differently aligned strings in separate sections, as a preliminary for improved string merging. > 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); Why not just *(.rodata*); ? Thiemo |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] catch "new" gcc 3.4.0 sections, Bradley D. LaRonde |
|---|---|
| Next by Date: | Re: [PATCH] catch "new" gcc 3.4.0 sections, Bradley D. LaRonde |
| Previous by Thread: | [PATCH] catch "new" gcc 3.4.0 sections, Bradley D. LaRonde |
| Next by Thread: | Re: [PATCH] catch "new" gcc 3.4.0 sections, Bradley D. LaRonde |
| Indexes: | [Date] [Thread] [Top] [All Lists] |