Next: CRIS Options, Previous: Blackfin Options, Up: Submodel Options [Contents][Index]
-march=nameThis specifies the name of the target architecture. GCC uses this name to determine what kind of instructions it can emit when generating assembly code. Permissible names are: ‘c62x’, ‘c64x’, ‘c64x+’, ‘c67x’, ‘c67x+’, ‘c674x’.
-mbig-endianGenerate code for a big-endian target.
-mlittle-endianGenerate code for a little-endian target. This is the default.
-msimChoose startup files and linker script suitable for the simulator.
-msdata=defaultPut small global and static data in the ‘.neardata’ section,
which is pointed to by register B14. Put small uninitialized
global and static data in the ‘.bss’ section, which is adjacent
to the ‘.neardata’ section. Put small read-only data into the
‘.rodata’ section. The corresponding sections used for large
pieces of data are ‘.fardata’, ‘.far’ and ‘.const’.
-msdata=allPut all data, not just small objects, into the sections reserved for
small data, and use addressing relative to the B14 register to
access them.
-msdata=noneMake no use of the sections reserved for small data, and use absolute addresses to access all data. Put all initialized global and static data in the ‘.fardata’ section, and all uninitialized data in the ‘.far’ section. Put all constant data into the ‘.const’ section.