This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SH3 memory allocation


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]