SH3 memory allocation

Jim Wilson wilson@tuliptree.org
Mon Aug 11 21:25:00 GMT 2003


Raul Ito wrote:
> I would like to know if there is any equivalent command to '#pragma 
> section' in gnu. In the SuperH C (SHC) environment this command reserves 
> a predefined (size and address) physical memory block.

See the attribute section info in the gcc manual.  This just maps to a 
object file section.  You have to use a linker script to specify where 
the section goes in memory.  See the linker manual for info on linker 
scripts.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



More information about the Gcc mailing list