Re: [PATCH 01/31] Disable const sections for PA-RISC

2012-08-19 Thread Sam Ravnborg
On Sun, Aug 19, 2012 at 04:07:10AM +0200, Andi Kleen wrote: > > > +config BROKEN_RODATA > > > + bool > > > + default y > > > > Could you please change this so we have a commonly defined > > HAVE_BROKEN_RODATA > > symbol. Then arch's that have broken RO data can select this symbol. > > If we exper

Re: [PATCH 01/31] Disable const sections for PA-RISC

2012-08-18 Thread Andi Kleen
> > +config BROKEN_RODATA > > + bool > > + default y > > Could you please change this so we have a commonly defined HAVE_BROKEN_RODATA > symbol. Then arch's that have broken RO data can select this symbol. > If we experience tomorrow that sparc have the same issue then with > this patch sparc

Re: [PATCH 01/31] Disable const sections for PA-RISC

2012-08-18 Thread Sam Ravnborg
On Sat, Aug 18, 2012 at 10:29:52AM -0700, Andi Kleen wrote: > From: Andi Kleen > > The PA-RISC tool chain seems to have some problem with correct read/write > attributes on sections. This causes problems when the const sections > are fixed up for other architecture to only contain truly read-only

[PATCH 01/31] Disable const sections for PA-RISC

2012-08-18 Thread Andi Kleen
From: Andi Kleen The PA-RISC tool chain seems to have some problem with correct read/write attributes on sections. This causes problems when the const sections are fixed up for other architecture to only contain truly read-only data. Disable const sections for PA-RISC This can cause a bit of no