[gccsdk] [GCCSDK commit] joty - r2547 - in trunk/gcc4/recipe: files/gcc/config/arm files/ld/emulparams files/libscl/include files/libscl/riscos patches

John Tytgat John.Tytgat at aaug.net
Wed Mar 7 12:36:26 PST 2007


In message <ab4886070703060138k3ebe9ab4m34cca23378998bd2 at mail.gmail.com>
          "Nick Burrett" <nick at sqrt.co.uk> wrote:

> On 3/6/07, svnuser at riscos.info <svnuser at riscos.info> wrote:
> > Author: joty
> > Date: 2007-03-06 01:33:25 +0000 (Tue, 06 Mar 2007)
> > New Revision: 2547
> 
> > Modified: trunk/gcc4/recipe/files/ld/emulparams/armelf_riscos.sh
> > ===================================================================
> > --- trunk/gcc4/recipe/files/ld/emulparams/armelf_riscos.sh      2007-03-04 16:59:03 UTC (rev 2546)
> > +++ trunk/gcc4/recipe/files/ld/emulparams/armelf_riscos.sh      2007-03-06 01:33:25 UTC (rev 2547)
> > @@ -3,8 +3,8 @@
> >  OUTPUT_FORMAT="elf32-littlearm"
> >  BIG_OUTPUT_FORMAT="elf32-bigarm"
> >  LITTLE_OUTPUT_FORMAT="elf32-littlearm"
> > -MAXPAGESIZE=0x8000
> > -COMMONPAGESIZE=0x1000
> > +MAXPAGESIZE=0x4
> > +COMMONPAGESIZE=0x4
> 
> Is this correct?  I thought these two values were measured in bytes.

Well, define correct ;-).  Basically this disables the page alignment between
the .text and .data sections which is nice for modules and static builds
as it shaves off some dead memory space.  Not sure if this ruins the shared
lib story (I don't think so) as as long we don't make use of the fact that
the .text and .data/.bss in in separate pages, I don't think it makes a lot
of a difference.

John.
-- 
John Tytgat, in his comfy chair at home                                 BASS
John.Tytgat at aaug.net                             ARM powered, RISC OS driven




More information about the gcc mailing list