• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/toolchains/hndtools-armeabi-2011.09/share/doc/arm-arm-none-eabi/html/gcc/
1<html lang="en">
2<head>
3<title>MN10300 Options - Using the GNU Compiler Collection (GCC)</title>
4<meta http-equiv="Content-Type" content="text/html">
5<meta name="description" content="Using the GNU Compiler Collection (GCC)">
6<meta name="generator" content="makeinfo 4.13">
7<link title="Top" rel="start" href="index.html#Top">
8<link rel="up" href="Submodel-Options.html#Submodel-Options" title="Submodel Options">
9<link rel="prev" href="MMIX-Options.html#MMIX-Options" title="MMIX Options">
10<link rel="next" href="PDP_002d11-Options.html#PDP_002d11-Options" title="PDP-11 Options">
11<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
12<!--
13Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997,
141998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
152010 Free Software Foundation, Inc.
16
17Permission is granted to copy, distribute and/or modify this document
18under the terms of the GNU Free Documentation License, Version 1.3 or
19any later version published by the Free Software Foundation; with the
20Invariant Sections being ``Funding Free Software'', the Front-Cover
21Texts being (a) (see below), and with the Back-Cover Texts being (b)
22(see below).  A copy of the license is included in the section entitled
23``GNU Free Documentation License''.
24
25(a) The FSF's Front-Cover Text is:
26
27     A GNU Manual
28
29(b) The FSF's Back-Cover Text is:
30
31     You have freedom to copy and modify this GNU Manual, like GNU
32     software.  Copies published by the Free Software Foundation raise
33     funds for GNU development.-->
34<meta http-equiv="Content-Style-Type" content="text/css">
35<style type="text/css"><!--
36  pre.display { font-family:inherit }
37  pre.format  { font-family:inherit }
38  pre.smalldisplay { font-family:inherit; font-size:smaller }
39  pre.smallformat  { font-family:inherit; font-size:smaller }
40  pre.smallexample { font-size:smaller }
41  pre.smalllisp    { font-size:smaller }
42  span.sc    { font-variant:small-caps }
43  span.roman { font-family:serif; font-weight:normal; } 
44  span.sansserif { font-family:sans-serif; font-weight:normal; } 
45--></style>
46<link rel="stylesheet" type="text/css" href="../cs.css">
47</head>
48<body>
49<div class="node">
50<a name="MN10300-Options"></a>
51<p>
52Next:&nbsp;<a rel="next" accesskey="n" href="PDP_002d11-Options.html#PDP_002d11-Options">PDP-11 Options</a>,
53Previous:&nbsp;<a rel="previous" accesskey="p" href="MMIX-Options.html#MMIX-Options">MMIX Options</a>,
54Up:&nbsp;<a rel="up" accesskey="u" href="Submodel-Options.html#Submodel-Options">Submodel Options</a>
55<hr>
56</div>
57
58<h4 class="subsection">3.17.29 MN10300 Options</h4>
59
60<p><a name="index-MN10300-options-1757"></a>
61These <samp><span class="option">-m</span></samp> options are defined for Matsushita MN10300 architectures:
62
63     <dl>
64<dt><code>-mmult-bug</code><dd><a name="index-mmult_002dbug-1758"></a>Generate code to avoid bugs in the multiply instructions for the MN10300
65processors.  This is the default.
66
67     <br><dt><code>-mno-mult-bug</code><dd><a name="index-mno_002dmult_002dbug-1759"></a>Do not generate code to avoid bugs in the multiply instructions for the
68MN10300 processors.
69
70     <br><dt><code>-mam33</code><dd><a name="index-mam33-1760"></a>Generate code which uses features specific to the AM33 processor.
71
72     <br><dt><code>-mno-am33</code><dd><a name="index-mno_002dam33-1761"></a>Do not generate code which uses features specific to the AM33 processor.  This
73is the default.
74
75     <br><dt><code>-mam33-2</code><dd><a name="index-mam33_002d2-1762"></a>Generate code which uses features specific to the AM33/2.0 processor.
76
77     <br><dt><code>-mam34</code><dd><a name="index-mam34-1763"></a>Generate code which uses features specific to the AM34 processor.
78
79     <br><dt><code>-mtune=</code><var>cpu-type</var><dd><a name="index-mtune-1764"></a>Use the timing characteristics of the indicated CPU type when
80scheduling instructions.  This does not change the targeted processor
81type.  The CPU type must be one of &lsquo;<samp><span class="samp">mn10300</span></samp>&rsquo;, &lsquo;<samp><span class="samp">am33</span></samp>&rsquo;,
82&lsquo;<samp><span class="samp">am33-2</span></samp>&rsquo; or &lsquo;<samp><span class="samp">am34</span></samp>&rsquo;.
83
84     <br><dt><code>-mreturn-pointer-on-d0</code><dd><a name="index-mreturn_002dpointer_002don_002dd0-1765"></a>When generating a function which returns a pointer, return the pointer
85in both <code>a0</code> and <code>d0</code>.  Otherwise, the pointer is returned
86only in a0, and attempts to call such functions without a prototype
87would result in errors.  Note that this option is on by default; use
88<samp><span class="option">-mno-return-pointer-on-d0</span></samp> to disable it.
89
90     <br><dt><code>-mno-crt0</code><dd><a name="index-mno_002dcrt0-1766"></a>Do not link in the C run-time initialization object file.
91
92     <br><dt><code>-mrelax</code><dd><a name="index-mrelax-1767"></a>Indicate to the linker that it should perform a relaxation optimization pass
93to shorten branches, calls and absolute memory addresses.  This option only
94has an effect when used on the command line for the final link step.
95
96     <p>This option makes symbolic debugging impossible.
97
98     <br><dt><code>-mliw</code><dd><a name="index-mliw-1768"></a>Allow the compiler to generate <em>Long Instruction Word</em>
99instructions if the target is the &lsquo;<samp><span class="samp">AM33</span></samp>&rsquo; or later.  This is the
100default.  This option defines the preprocessor macro &lsquo;<samp><span class="samp">__LIW__</span></samp>&rsquo;.
101
102     <br><dt><code>-mnoliw</code><dd><a name="index-mnoliw-1769"></a>Do not allow the compiler to generate <em>Long Instruction Word</em>
103instructions.  This option defines the preprocessor macro
104&lsquo;<samp><span class="samp">__NO_LIW__</span></samp>&rsquo;.
105
106 </dl>
107
108 </body></html>
109
110