arm.opt revision 169689
1; Options for the ARM port of the compiler. 2 3; Copyright (C) 2005 Free Software Foundation, Inc. 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 2, 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 COPYING. If not, write to the Free 19; Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 20; 02110-1301, USA. 21 22mabi= 23Target RejectNegative Joined Var(target_abi_name) 24Specify an ABI 25 26mabort-on-noreturn 27Target Report Mask(ABORT_NORETURN) 28Generate a call to abort if a noreturn function returns 29 30mapcs 31Target RejectNegative Mask(APCS_FRAME) MaskExists Undocumented 32 33mapcs-float 34Target Report Mask(APCS_FLOAT) 35Pass FP arguments in FP registers 36 37mapcs-frame 38Target Report Mask(APCS_FRAME) 39Generate APCS conformant stack frames 40 41mapcs-reentrant 42Target Report Mask(APCS_REENT) 43Generate re-entrant, PIC code 44 45mapcs-stack-check 46Target Report Mask(APCS_STACK) Undocumented 47 48march= 49Target RejectNegative Joined 50Specify the name of the target architecture 51 52marm 53Target RejectNegative InverseMask(THUMB) Undocumented 54 55mbig-endian 56Target Report RejectNegative Mask(BIG_END) 57Assume target CPU is configured as big endian 58 59mcallee-super-interworking 60Target Report Mask(CALLEE_INTERWORKING) 61Thumb: Assume non-static functions may be called from ARM code 62 63mcaller-super-interworking 64Target Report Mask(CALLER_INTERWORKING) 65Thumb: Assume function pointers may go to non-Thumb aware code 66 67mcirrus-fix-invalid-insns 68Target Report Mask(CIRRUS_FIX_INVALID_INSNS) 69Cirrus: Place NOPs to avoid invalid instruction combinations 70 71mcpu= 72Target RejectNegative Joined 73Specify the name of the target CPU 74 75mfloat-abi= 76Target RejectNegative Joined Var(target_float_abi_name) 77Specify if floating point hardware should be used 78 79mfp= 80Target RejectNegative Joined Undocumented Var(target_fpe_name) 81 82;; Now ignored. 83mfpe 84Target RejectNegative Mask(FPE) Undocumented 85 86mfpe= 87Target RejectNegative Joined Undocumented Var(target_fpe_name) 88 89mfpu= 90Target RejectNegative Joined Var(target_fpu_name) 91Specify the name of the target floating point hardware/format 92 93mhard-float 94Target RejectNegative 95Alias for -mfloat-abi=hard 96 97mlittle-endian 98Target Report RejectNegative InverseMask(BIG_END) 99Assume target CPU is configured as little endian 100 101mlong-calls 102Target Report Mask(LONG_CALLS) 103Generate call insns as indirect calls, if necessary 104 105mpic-register= 106Target RejectNegative Joined Var(arm_pic_register_string) 107Specify the register to be used for PIC addressing 108 109mpoke-function-name 110Target Report Mask(POKE_FUNCTION_NAME) 111Store function names in object code 112 113msched-prolog 114Target Report Mask(SCHED_PROLOG) 115Permit scheduling of a function's prologue sequence 116 117msingle-pic-base 118Target Report Mask(SINGLE_PIC_BASE) 119Do not load the PIC register in function prologues 120 121msoft-float 122Target RejectNegative 123Alias for -mfloat-abi=soft 124 125mstructure-size-boundary= 126Target RejectNegative Joined Var(structure_size_string) 127Specify the minimum bit alignment of structures 128 129mthumb 130Target Report Mask(THUMB) 131Compile for the Thumb not the ARM 132 133mthumb-interwork 134Target Report Mask(INTERWORK) 135Support calls between Thumb and ARM instruction sets 136 137mtp= 138Target RejectNegative Joined Var(target_thread_switch) 139Specify how to access the thread pointer 140 141mtpcs-frame 142Target Report Mask(TPCS_FRAME) 143Thumb: Generate (non-leaf) stack frames even if not needed 144 145mtpcs-leaf-frame 146Target Report Mask(TPCS_LEAF_FRAME) 147Thumb: Generate (leaf) stack frames even if not needed 148 149mtune= 150Target RejectNegative Joined 151Tune code for the given processor 152 153mwords-little-endian 154Target Report RejectNegative Mask(LITTLE_WORDS) 155Assume big endian bytes, little endian words 156