as: RX-Opts
1
1 9.39.1 RX Options
1 -----------------
1
1 The Renesas RX port of 'as' has a few target specific command line
1 options:
1
1 '-m32bit-doubles'
1 This option controls the ABI and indicates to use a 32-bit float
1 ABI. It has no effect on the assembled instructions, but it does
1 influence the behaviour of the '.double' pseudo-op. This is the
1 default.
1
1 '-m64bit-doubles'
1 This option controls the ABI and indicates to use a 64-bit float
1 ABI. It has no effect on the assembled instructions, but it does
1 influence the behaviour of the '.double' pseudo-op.
1
1 '-mbig-endian'
1 This option controls the ABI and indicates to use a big-endian data
1 ABI. It has no effect on the assembled instructions, but it does
1 influence the behaviour of the '.short', '.hword', '.int', '.word',
1 '.long', '.quad' and '.octa' pseudo-ops.
1
1 '-mlittle-endian'
1 This option controls the ABI and indicates to use a little-endian
1 data ABI. It has no effect on the assembled instructions, but it
1 does influence the behaviour of the '.short', '.hword', '.int',
1 '.word', '.long', '.quad' and '.octa' pseudo-ops. This is the
1 default.
1
1 '-muse-conventional-section-names'
1 This option controls the default names given to the code (.text),
1 initialised data (.data) and uninitialised data sections (.bss).
1
1 '-muse-renesas-section-names'
1 This option controls the default names given to the code (.P),
1 initialised data (.D_1) and uninitialised data sections (.B_1).
1 This is the default.
1
1 '-msmall-data-limit'
1 This option tells the assembler that the small data limit feature
1 of the RX port of GCC is being used. This results in the assembler
1 generating an undefined reference to a symbol called '__gp' for use
1 by the relocations that are needed to support the small data limit
1 feature. This option is not enabled by default as it would
1 otherwise pollute the symbol table.
1
1 '-mpid'
1 This option tells the assembler that the position independent data
1 of the RX port of GCC is being used. This results in the assembler
1 generating an undefined reference to a symbol called '__pid_base',
1 and also setting the RX_PID flag bit in the e_flags field of the
1 ELF header of the object file.
1
1 '-mint-register=NUM'
1 This option tells the assembler how many registers have been
1 reserved for use by interrupt handlers. This is needed in order to
1 compute the correct values for the '%gpreg' and '%pidreg' meta
1 registers.
1
1 '-mgcc-abi'
1 This option tells the assembler that the old GCC ABI is being used
1 by the assembled code. With this version of the ABI function
1 arguments that are passed on the stack are aligned to a 32-bit
1 boundary.
1
1 '-mrx-abi'
1 This option tells the assembler that the official RX ABI is being
1 used by the assembled code. With this version of the ABI function
1 arguments that are passed on the stack are aligned to their natural
1 alignments. This option is the default.
1
1 '-mcpu=NAME'
1 This option tells the assembler the target CPU type. Currently the
1 'rx100', 'rx200', 'rx600', 'rx610' and 'rxv2' are recognised as
1 valid cpu names. Attempting to assemble an instruction not
1 supported by the indicated cpu type will result in an error message
1 being generated.
1
1 '-mno-allow-string-insns'
1 This option tells the assembler to mark the object file that it is
1 building as one that does not use the string instructions 'SMOVF',
1 'SCMPU', 'SMOVB', 'SMOVU', 'SUNTIL' 'SWHILE' or the 'RMPA'
1 instruction. In addition the mark tells the linker to complain if
1 an attempt is made to link the binary with another one that does
1 use any of these instructions.
1
1 Note - the inverse of this option, '-mallow-string-insns', is not
1 needed. The assembler automatically detects the use of the the
1 instructions in the source code and labels the resulting object
1 file appropriately. If no string instructions are detected then
1 the object file is labelled as being one that can be linked with
1 either string-using or string-banned object files.
1