Omit output section from executable

Daniel Jacobowitz drow@false.org
Wed Aug 2 21:29:00 GMT 2006


On Wed, Aug 02, 2006 at 11:20:18PM +0200, Udo A. Steinberg wrote:
> But how can I achieve the same for C sources? When I write:
> 
>         unsigned foo __attribute__((section (".cpulocal")));
> 
> I get
>         .cpulocal     00000004  00000000  00000000  00000034  2**2
>                       CONTENTS, ALLOC, LOAD, DATA

I don't think you can do this from GCC.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Binutils mailing list