| 1 |
; Command line options for the Renesas RL78 port of GCC. |
| 2 |
; Copyright (C) 2011-2025 Free Software Foundation, Inc. |
| 3 |
; Contributed by Red Hat. |
| 4 |
; |
| 5 |
; This file is part of GCC. |
| 6 |
; |
| 7 |
; GCC is free software; you can redistribute it and/or modify it under |
| 8 |
; the terms of the GNU General Public License as published by the Free |
| 9 |
; Software Foundation; either version 3, or (at your option) any later |
| 10 |
; version. |
| 11 |
; |
| 12 |
; GCC is distributed in the hope that it will be useful, but WITHOUT ANY |
| 13 |
; WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 14 |
; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
| 15 |
; for more details. |
| 16 |
; |
| 17 |
; You should have received a copy of the GNU General Public License |
| 18 |
; along with GCC; see the file COPYING3. If not see |
| 19 |
; <http://www.gnu.org/licenses/>. |
| 20 |
;--------------------------------------------------- |
| 21 |
|
| 22 |
HeaderInclude |
| 23 |
config/rl78/rl78-opts.h |
| 24 |
|
| 25 |
msim |
| 26 |
Target |
| 27 |
Use the simulator runtime. |
| 28 |
|
| 29 |
mmul= |
| 30 |
Target RejectNegative Joined Var(rl78_mul_type) Tolower Enum(rl78_mul_types) Init(MUL_UNINIT) |
| 31 |
Selects the type of hardware multiplication and division to use (none/g13/g14). |
| 32 |
|
| 33 |
Enum |
| 34 |
Name(rl78_mul_types) Type(enum rl78_mul_types) |
| 35 |
|
| 36 |
EnumValue |
| 37 |
Enum(rl78_mul_types) String(g10) Value(MUL_NONE) |
| 38 |
|
| 39 |
EnumValue |
| 40 |
Enum(rl78_mul_types) String(g13) Value(MUL_G13) |
| 41 |
|
| 42 |
EnumValue |
| 43 |
Enum(rl78_mul_types) String(g14) Value(MUL_G14) |
| 44 |
|
| 45 |
EnumValue |
| 46 |
Enum(rl78_mul_types) String(rl78) Value(MUL_G14) |
| 47 |
|
| 48 |
mallregs |
| 49 |
Target Mask(ALLREGS) Optimization |
| 50 |
Use all registers, reserving none for interrupt handlers. |
| 51 |
|
| 52 |
mrelax |
| 53 |
Target Optimization |
| 54 |
Enable assembler and linker relaxation. Enabled by default at -Os. |
| 55 |
|
| 56 |
mcpu= |
| 57 |
Target RejectNegative Joined Var(rl78_cpu_type) ToLower Enum(rl78_cpu_types) Init(CPU_UNINIT) |
| 58 |
Selects the type of RL78 core being targeted (g10/g13/g14). The default is the G14. If set, also selects the hardware multiply support to be used. |
| 59 |
|
| 60 |
Enum |
| 61 |
Name(rl78_cpu_types) Type(enum rl78_cpu_types) |
| 62 |
|
| 63 |
EnumValue |
| 64 |
Enum(rl78_cpu_types) String(g10) Value(CPU_G10) |
| 65 |
|
| 66 |
EnumValue |
| 67 |
Enum(rl78_cpu_types) String(g13) Value(CPU_G13) |
| 68 |
|
| 69 |
EnumValue |
| 70 |
Enum(rl78_cpu_types) String(g14) Value(CPU_G14) |
| 71 |
|
| 72 |
EnumValue |
| 73 |
Enum(rl78_cpu_types) String(rl78) Value(CPU_G14) |
| 74 |
|
| 75 |
mg10 |
| 76 |
Target RejectNegative Alias(mcpu=, g10) |
| 77 |
Alias for -mcpu=g10. |
| 78 |
|
| 79 |
mg13 |
| 80 |
Target RejectNegative Alias(mcpu=, g13) |
| 81 |
Alias for -mcpu=g13. |
| 82 |
|
| 83 |
mg14 |
| 84 |
Target RejectNegative Alias(mcpu=, g14) |
| 85 |
Alias for -mcpu=g14. |
| 86 |
|
| 87 |
mrl78 |
| 88 |
Target RejectNegative Alias(mcpu=, g14) |
| 89 |
Alias for -mcpu=g14. |
| 90 |
|
| 91 |
mes0 |
| 92 |
Target Mask(ES0) |
| 93 |
Assume ES is zero throughout program execution, use ES: for read-only data. |
| 94 |
|
| 95 |
msave-mduc-in-interrupts |
| 96 |
Target Mask(SAVE_MDUC_REGISTERS) |
| 97 |
Stores the MDUC registers in interrupt handlers for G13 target. |