gcc: C6X Options
1
1 3.18.7 C6X Options
1 ------------------
1
1 '-march=NAME'
1 This specifies the name of the target architecture. GCC uses this
1 name to determine what kind of instructions it can emit when
1 generating assembly code. Permissible names are: 'c62x', 'c64x',
1 'c64x+', 'c67x', 'c67x+', 'c674x'.
1
1 '-mbig-endian'
1 Generate code for a big-endian target.
1
1 '-mlittle-endian'
1 Generate code for a little-endian target. This is the default.
1
1 '-msim'
1 Choose startup files and linker script suitable for the simulator.
1
1 '-msdata=default'
1 Put small global and static data in the '.neardata' section, which
1 is pointed to by register 'B14'. Put small uninitialized global
1 and static data in the '.bss' section, which is adjacent to the
1 '.neardata' section. Put small read-only data into the '.rodata'
1 section. The corresponding sections used for large pieces of data
1 are '.fardata', '.far' and '.const'.
1
1 '-msdata=all'
1 Put all data, not just small objects, into the sections reserved
1 for small data, and use addressing relative to the 'B14' register
1 to access them.
1
1 '-msdata=none'
1 Make no use of the sections reserved for small data, and use
1 absolute addresses to access all data. Put all initialized global
1 and static data in the '.fardata' section, and all uninitialized
1 data in the '.far' section. Put all constant data into the
1 '.const' section.
1