Re: [PATCH] sparc all BSPs: Use function and data sections

2013-10-25 Thread Chris Johns
On 26/10/2013 1:28 am, Joel Sherrill wrote: > > I would love to do this across all BSPs but it can also > break a BSP. The first SPARC executables I got were 0x80 > bytes because I was missing some KEEP() and ENTRY() directives > in the linker script. > > In addition, this isn't a big deal on many

Re: [PATCH] sparc all BSPs: Use function and data sections

2013-10-25 Thread Gedare Bloom
Well, maybe some intrepid volunteer will step up to try it out with the raspberrypi. :) -Gedare On Fri, Oct 25, 2013 at 10:28 AM, Joel Sherrill wrote: > On 10/25/2013 9:15 AM, Gedare Bloom wrote: >> Looks ok. Do these options make the most sense with some kind of >> link-time optimizations enabl

Re: [PATCH] sparc all BSPs: Use function and data sections

2013-10-25 Thread Joel Sherrill
On 10/25/2013 9:15 AM, Gedare Bloom wrote: > Looks ok. Do these options make the most sense with some kind of > link-time optimizations enabled? These are the options which tell GCC to put each function and data element into their own linking section. Then the linker needs arguments to do the magi

Re: [PATCH] sparc all BSPs: Use function and data sections

2013-10-25 Thread Gedare Bloom
Looks ok. Do these options make the most sense with some kind of link-time optimizations enabled? -Gedare On Thu, Oct 24, 2013 at 7:45 PM, Joel Sherrill wrote: > Hi > > The attached patch turns on support for function > and data sections for all SPARC BSPs. In my testing,u > it has reduced test s

[PATCH] sparc all BSPs: Use function and data sections

2013-10-24 Thread Joel Sherrill
722-9985 >From 24a6943c66d64dd16f79eeeaf88e3af30ed6fb36 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 24 Oct 2013 18:37:17 -0500 Subject: [PATCH] sparc all BSPs: Use function and data sections This reduces the size of the RTEMS tests on average about 45%. --- c/src/lib/libbsp/sparc/erc32/make/custom/erc32.