Merge -r 127928:132243 from trunk
[official-gcc.git] / gcc / config / avr / avr.opt
blob52382d75b2f3017aacc92622d9798d7f4414cb47
1 ; Options for the ATMEL AVR port of the compiler.
3 ; Copyright (C) 2005, 2007 Free Software Foundation, Inc.
5 ; This file is part of GCC.
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.
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.
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/>.
21 mcall-prologues
22 Target Report Mask(CALL_PROLOGUES)
23 Use subroutines for function prologues and epilogues
25 mmcu=
26 Target RejectNegative Joined Var(avr_mcu_name) Init("avr2")
27 -mmcu=MCU       Select the target MCU
29 mdeb
30 Target Report Undocumented Mask(ALL_DEBUG)
32 mint8
33 Target Report Mask(INT8)
34 Use an 8-bit 'int' type
36 mno-interrupts
37 Target Report RejectNegative Mask(NO_INTERRUPTS)
38 Change the stack pointer without disabling interrupts
40 mno-tablejump
41 Target Report RejectNegative Mask(NO_TABLEJUMP)
42 Do not generate tablejump insns
44 morder1
45 Target Report Undocumented Mask(ORDER_1)
47 morder2
48 Target Report Undocumented Mask(ORDER_2)
50 mshort-calls
51 Target Report Mask(SHORT_CALLS)
52 Use rjmp/rcall (limited range) on >8K devices
54 msize
55 Target Report Mask(INSN_SIZE_DUMP)
56 Output instruction sizes to the asm file
58 mtiny-stack
59 Target Report Mask(TINY_STACK)
60 Change only the low 8 bits of the stack pointer
62 mrelax
63 Target Report
64 Relax branches
66 mpmem-wrap-around
67 Target Report
68 Make the linker relaxation machine assume that a program counter wrap-around occures.