| 1 |
; SYSV4 options for PPC port. |
| 2 |
; |
| 3 |
; Copyright (C) 2005-2025 Free Software Foundation, Inc. |
| 4 |
; Contributed by Aldy Hernandez <[email protected]>. |
| 5 |
; |
| 6 |
; This file is part of GCC. |
| 7 |
; |
| 8 |
; GCC is free software; you can redistribute it and/or modify it under |
| 9 |
; the terms of the GNU General Public License as published by the Free |
| 10 |
; Software Foundation; either version 3, or (at your option) any later |
| 11 |
; version. |
| 12 |
; |
| 13 |
; GCC is distributed in the hope that it will be useful, but WITHOUT |
| 14 |
; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
| 15 |
; or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public |
| 16 |
; License for more details. |
| 17 |
; |
| 18 |
; You should have received a copy of the GNU General Public License |
| 19 |
; along with GCC; see the file COPYING3. If not see |
| 20 |
; <http://www.gnu.org/licenses/>. |
| 21 |
|
| 22 |
mcall- |
| 23 |
Target RejectNegative Joined Var(rs6000_abi_name) |
| 24 |
-mcall-ABI Select ABI calling convention. |
| 25 |
|
| 26 |
msdata= |
| 27 |
Target RejectNegative Joined Var(rs6000_sdata_name) |
| 28 |
-msdata=[none,data,sysv,eabi] Select method for sdata handling. |
| 29 |
|
| 30 |
mreadonly-in-sdata |
| 31 |
Target Var(rs6000_readonly_in_sdata) Init(1) Save |
| 32 |
Allow readonly data in sdata. |
| 33 |
|
| 34 |
mtls-size= |
| 35 |
Target RejectNegative Joined Var(rs6000_tls_size) Enum(rs6000_tls_size) |
| 36 |
-mtls-size=[16,32] Specify bit size of immediate TLS offsets. |
| 37 |
|
| 38 |
Enum |
| 39 |
Name(rs6000_tls_size) Type(int) |
| 40 |
|
| 41 |
EnumValue |
| 42 |
Enum(rs6000_tls_size) String(16) Value(16) |
| 43 |
|
| 44 |
EnumValue |
| 45 |
Enum(rs6000_tls_size) String(32) Value(32) |
| 46 |
|
| 47 |
EnumValue |
| 48 |
Enum(rs6000_tls_size) String(64) Value(64) |
| 49 |
|
| 50 |
mbit-align |
| 51 |
Target Var(TARGET_NO_BITFIELD_TYPE) Save |
| 52 |
Align to the base type of the bit-field. |
| 53 |
|
| 54 |
mstrict-align |
| 55 |
Target Mask(STRICT_ALIGN) Var(rs6000_isa_flags) |
| 56 |
Align to the base type of the bit-field. |
| 57 |
Don't assume that unaligned accesses are handled by the system. |
| 58 |
|
| 59 |
mrelocatable |
| 60 |
Target Mask(RELOCATABLE) Var(rs6000_isa_flags) |
| 61 |
Produce code relocatable at runtime. |
| 62 |
|
| 63 |
mrelocatable-lib |
| 64 |
Target |
| 65 |
Produce code relocatable at runtime. |
| 66 |
|
| 67 |
mlittle-endian |
| 68 |
Target RejectNegative Mask(LITTLE_ENDIAN) Var(rs6000_isa_flags) |
| 69 |
Produce little endian code. |
| 70 |
|
| 71 |
mlittle |
| 72 |
Target RejectNegative Mask(LITTLE_ENDIAN) Var(rs6000_isa_flags) |
| 73 |
Produce little endian code. |
| 74 |
|
| 75 |
mbig-endian |
| 76 |
Target RejectNegative InverseMask(LITTLE_ENDIAN) Var(rs6000_isa_flags) |
| 77 |
Produce big endian code. |
| 78 |
|
| 79 |
mbig |
| 80 |
Target RejectNegative InverseMask(LITTLE_ENDIAN) Var(rs6000_isa_flags) |
| 81 |
Produce big endian code. |
| 82 |
|
| 83 |
;; FIXME: This does nothing. What should be done? |
| 84 |
mno-toc |
| 85 |
Target RejectNegative |
| 86 |
No description yet. |
| 87 |
|
| 88 |
mtoc |
| 89 |
Target RejectNegative |
| 90 |
No description yet. |
| 91 |
|
| 92 |
mprototype |
| 93 |
Target Var(target_prototype) Save |
| 94 |
Assume all variable arg functions are prototyped. |
| 95 |
|
| 96 |
;; FIXME: Does nothing. |
| 97 |
mno-traceback |
| 98 |
Target RejectNegative |
| 99 |
No description yet. |
| 100 |
|
| 101 |
meabi |
| 102 |
Target Mask(EABI) Var(rs6000_isa_flags) |
| 103 |
Use EABI. |
| 104 |
|
| 105 |
mbit-word |
| 106 |
Target Var(TARGET_NO_BITFIELD_WORD) Save |
| 107 |
Allow bit-fields to cross word boundaries. |
| 108 |
|
| 109 |
mregnames |
| 110 |
Target Var(rs6000_regnames) Save |
| 111 |
Use alternate register names. |
| 112 |
|
| 113 |
;; This option does nothing and only exists because the compiler |
| 114 |
;; driver passes all -m* options through. |
| 115 |
msdata |
| 116 |
Target |
| 117 |
Use default method for sdata handling. |
| 118 |
|
| 119 |
msim |
| 120 |
Target RejectNegative |
| 121 |
Link with libsim.a, libc.a and sim-crt0.o. |
| 122 |
|
| 123 |
mads |
| 124 |
Target RejectNegative |
| 125 |
Link with libads.a, libc.a and crt0.o. |
| 126 |
|
| 127 |
myellowknife |
| 128 |
Target RejectNegative |
| 129 |
Link with libyk.a, libc.a and crt0.o. |
| 130 |
|
| 131 |
mmvme |
| 132 |
Target RejectNegative |
| 133 |
Link with libmvme.a, libc.a and crt0.o. |
| 134 |
|
| 135 |
memb |
| 136 |
Target RejectNegative |
| 137 |
Set the PPC_EMB bit in the ELF flags header. |
| 138 |
|
| 139 |
mshlib |
| 140 |
Target RejectNegative |
| 141 |
No description yet. |
| 142 |
|
| 143 |
m64 |
| 144 |
Target RejectNegative Negative(m32) Mask(64BIT) Var(rs6000_isa_flags) |
| 145 |
Generate 64-bit code. |
| 146 |
|
| 147 |
m32 |
| 148 |
Target RejectNegative Negative(m64) InverseMask(64BIT) Var(rs6000_isa_flags) |
| 149 |
Generate 32-bit code. |
| 150 |
|
| 151 |
mnewlib |
| 152 |
Target RejectNegative |
| 153 |
No description yet. |
| 154 |
|
| 155 |
msecure-plt |
| 156 |
Target RejectNegative Var(secure_plt, 1) Save |
| 157 |
Generate code to use a non-exec PLT and GOT. |
| 158 |
|
| 159 |
mbss-plt |
| 160 |
Target RejectNegative Var(secure_plt, 0) Save |
| 161 |
Generate code for old exec BSS PLT. |
| 162 |
|
| 163 |
mpltseq |
| 164 |
Target Var(rs6000_pltseq) Init(1) Save |
| 165 |
Use inline plt sequences to implement long calls and -fno-plt. |
| 166 |
|
| 167 |
mgnu-attribute |
| 168 |
Target Var(rs6000_gnu_attr) Init(1) Save |
| 169 |
Emit .gnu_attribute tags. |