This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: SH3 memory allocation
- From: Jim Wilson <wilson at tuliptree dot org>
- To: Raul Ito <itokoba at hotmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 11 Aug 2003 13:55:20 -0700
- Subject: Re: SH3 memory allocation
- References: <Law10-F86xiMMFFNoGH000434e3@hotmail.com>
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