111 lines
		
	
	
	
		
			6 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
		
		
			
		
	
	
			111 lines
		
	
	
	
		
			6 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| 
								 | 
							
								<html lang="en">
							 | 
						||
| 
								 | 
							
								<head>
							 | 
						||
| 
								 | 
							
								<title>IA-64 Options - Using as</title>
							 | 
						||
| 
								 | 
							
								<meta http-equiv="Content-Type" content="text/html">
							 | 
						||
| 
								 | 
							
								<meta name="description" content="Using as">
							 | 
						||
| 
								 | 
							
								<meta name="generator" content="makeinfo 4.7">
							 | 
						||
| 
								 | 
							
								<link title="Top" rel="start" href="index.html#Top">
							 | 
						||
| 
								 | 
							
								<link rel="up" href="IA_002d64_002dDependent.html#IA_002d64_002dDependent" title="IA-64-Dependent">
							 | 
						||
| 
								 | 
							
								<link rel="next" href="IA_002d64-Syntax.html#IA_002d64-Syntax" title="IA-64 Syntax">
							 | 
						||
| 
								 | 
							
								<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
							 | 
						||
| 
								 | 
							
								<!--
							 | 
						||
| 
								 | 
							
								This file documents the GNU Assembler "as".
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001, 2002,
							 | 
						||
| 
								 | 
							
								2006, 2007 Free Software Foundation, Inc.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Permission is granted to copy, distribute and/or modify this document
							 | 
						||
| 
								 | 
							
								under the terms of the GNU Free Documentation License, Version 1.1
							 | 
						||
| 
								 | 
							
								or any later version published by the Free Software Foundation;
							 | 
						||
| 
								 | 
							
								with no Invariant Sections, with no Front-Cover Texts, and with no
							 | 
						||
| 
								 | 
							
								Back-Cover Texts.  A copy of the license is included in the
							 | 
						||
| 
								 | 
							
								section entitled ``GNU Free Documentation License''.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								man end-->
							 | 
						||
| 
								 | 
							
								<meta http-equiv="Content-Style-Type" content="text/css">
							 | 
						||
| 
								 | 
							
								<style type="text/css"><!--
							 | 
						||
| 
								 | 
							
								  pre.display { font-family:inherit }
							 | 
						||
| 
								 | 
							
								  pre.format  { font-family:inherit }
							 | 
						||
| 
								 | 
							
								  pre.smalldisplay { font-family:inherit; font-size:smaller }
							 | 
						||
| 
								 | 
							
								  pre.smallformat  { font-family:inherit; font-size:smaller }
							 | 
						||
| 
								 | 
							
								  pre.smallexample { font-size:smaller }
							 | 
						||
| 
								 | 
							
								  pre.smalllisp    { font-size:smaller }
							 | 
						||
| 
								 | 
							
								  span.sc { font-variant:small-caps }
							 | 
						||
| 
								 | 
							
								  span.roman { font-family: serif; font-weight: normal; } 
							 | 
						||
| 
								 | 
							
								--></style>
							 | 
						||
| 
								 | 
							
								</head>
							 | 
						||
| 
								 | 
							
								<body>
							 | 
						||
| 
								 | 
							
								<div class="node">
							 | 
						||
| 
								 | 
							
								<p>
							 | 
						||
| 
								 | 
							
								<a name="IA_002d64-Options"></a>Next: <a rel="next" accesskey="n" href="IA_002d64-Syntax.html#IA_002d64-Syntax">IA-64 Syntax</a>,
							 | 
						||
| 
								 | 
							
								Up: <a rel="up" accesskey="u" href="IA_002d64_002dDependent.html#IA_002d64_002dDependent">IA-64-Dependent</a>
							 | 
						||
| 
								 | 
							
								<hr><br>
							 | 
						||
| 
								 | 
							
								</div>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<h4 class="subsection">9.16.1 Options</h4>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<p><a name="index-IA_002d64-options-1003"></a><a name="index-options-for-IA_002d64-1004"></a>
							 | 
						||
| 
								 | 
							
								     
							 | 
						||
| 
								 | 
							
								<a name="index-_0040code_007b_002dmconstant_002dgp_007d-command-line-option_002c-IA_002d64-1005"></a>
							 | 
						||
| 
								 | 
							
								<dl>
							 | 
						||
| 
								 | 
							
								<dt><span class="option">-mconstant-gp</span><dd>This option instructs the assembler to mark the resulting object file
							 | 
						||
| 
								 | 
							
								as using the “constant GP” model.  With this model, it is assumed
							 | 
						||
| 
								 | 
							
								that the entire program uses a single global pointer (GP) value.  Note
							 | 
						||
| 
								 | 
							
								that this option does not in any fashion affect the machine code
							 | 
						||
| 
								 | 
							
								emitted by the assembler.  All it does is turn on the EF_IA_64_CONS_GP
							 | 
						||
| 
								 | 
							
								flag in the ELF file header.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								     <br><dt><span class="option">-mauto-pic</span><dd>This option instructs the assembler to mark the resulting object file
							 | 
						||
| 
								 | 
							
								as using the “constant GP without function descriptor” data model. 
							 | 
						||
| 
								 | 
							
								This model is like the “constant GP” model, except that it
							 | 
						||
| 
								 | 
							
								additionally does away with function descriptors.  What this means is
							 | 
						||
| 
								 | 
							
								that the address of a function refers directly to the function's code
							 | 
						||
| 
								 | 
							
								entry-point.  Normally, such an address would refer to a function
							 | 
						||
| 
								 | 
							
								descriptor, which contains both the code entry-point and the GP-value
							 | 
						||
| 
								 | 
							
								needed by the function.  Note that this option does not in any fashion
							 | 
						||
| 
								 | 
							
								affect the machine code emitted by the assembler.  All it does is
							 | 
						||
| 
								 | 
							
								turn on the EF_IA_64_NOFUNCDESC_CONS_GP flag in the ELF file header.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								     <br><dt><span class="option">-milp32</span><br><dt><span class="option">-milp64</span><br><dt><span class="option">-mlp64</span><br><dt><span class="option">-mp64</span><dd>These options select the data model.  The assembler defaults to <code>-mlp64</code>
							 | 
						||
| 
								 | 
							
								(LP64 data model).
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								     <br><dt><span class="option">-mle</span><br><dt><span class="option">-mbe</span><dd>These options select the byte order.  The <code>-mle</code> option selects little-endian
							 | 
						||
| 
								 | 
							
								byte order (default) and <code>-mbe</code> selects big-endian byte order.  Note that
							 | 
						||
| 
								 | 
							
								IA-64 machine code always uses little-endian byte order.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								     <br><dt><span class="option">-mtune=itanium1</span><br><dt><span class="option">-mtune=itanium2</span><dd>Tune for a particular IA-64 CPU, <var>itanium1</var> or <var>itanium2</var>. The
							 | 
						||
| 
								 | 
							
								default is <var>itanium2</var>.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								     <br><dt><span class="option">-munwind-check=warning</span><br><dt><span class="option">-munwind-check=error</span><dd>These options control what the assembler will do when performing
							 | 
						||
| 
								 | 
							
								consistency checks on unwind directives.  <code>-munwind-check=warning</code>
							 | 
						||
| 
								 | 
							
								will make the assembler issue a warning when an unwind directive check
							 | 
						||
| 
								 | 
							
								fails.  This is the default.  <code>-munwind-check=error</code> will make the
							 | 
						||
| 
								 | 
							
								assembler issue an error when an unwind directive check fails.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								     <br><dt><span class="option">-mhint.b=ok</span><br><dt><span class="option">-mhint.b=warning</span><br><dt><span class="option">-mhint.b=error</span><dd>These options control what the assembler will do when the <span class="samp">hint.b</span>
							 | 
						||
| 
								 | 
							
								instruction is used.  <code>-mhint.b=ok</code> will make the assembler accept
							 | 
						||
| 
								 | 
							
								<span class="samp">hint.b</span>.  <code>-mint.b=warning</code> will make the assembler issue a
							 | 
						||
| 
								 | 
							
								warning when <span class="samp">hint.b</span> is used.  <code>-mhint.b=error</code> will make
							 | 
						||
| 
								 | 
							
								the assembler treat <span class="samp">hint.b</span> as an error, which is the default.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								     <br><dt><span class="option">-x</span><br><dt><span class="option">-xexplicit</span><dd>These options turn on dependency violation checking.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								     <br><dt><span class="option">-xauto</span><dd>This option instructs the assembler to automatically insert stop bits where necessary
							 | 
						||
| 
								 | 
							
								to remove dependency violations.  This is the default mode.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								     <br><dt><span class="option">-xnone</span><dd>This option turns off dependency violation checking.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								     <br><dt><span class="option">-xdebug</span><dd>This turns on debug output intended to help tracking down bugs in the dependency
							 | 
						||
| 
								 | 
							
								violation checker.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								     <br><dt><span class="option">-xdebugn</span><dd>This is a shortcut for -xnone -xdebug.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								     <br><dt><span class="option">-xdebugx</span><dd>This is a shortcut for -xexplicit -xdebug.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   </dl>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   <p><a name="index-IA_002d64-Syntax-1006"></a>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								   </body></html>
							 | 
						||
| 
								 | 
							
								
							 |