This is the mail archive of the gcc-help@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]

data type & sections



Hello all,


my question is:
Is it possible to set a data type (for example, the type "Matrix",customized by means of a struct, or a standard type, as "int") in a certain section (defined in the linker script, as ".data") in order for every Matrix-items (for example) to be placed in a dedicated memory?
maybe, by means of a #pragma...?


further details : the target processor is a microblaze. I have read about linker script
( http://sourceware.org/binutils/docs-2.17/ld/Scripts.html )


Thank you for your kindness!!!

Stefano Carucci

_________________________________________________________________
Windows Live OneCare: tutto per la cura del tuo PC ! Provalo Gratis! http://onecare.live.com/standard/it-it/default.htm



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