blob: 214c82ef2ee58ed62ecd4fbb710318a8acca3e1d [file]
<html lang="en">
<head>
<title>TIC6X Directives - Using as</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using as">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="TIC6X_002dDependent.html#TIC6X_002dDependent" title="TIC6X-Dependent">
<link rel="prev" href="TIC6X-Syntax.html#TIC6X-Syntax" title="TIC6X 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, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
2000, 2001, 2002, 2006, 2007, 2008, 2009, 2010, 2011 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.3
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''.
-->
<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; }
span.sansserif { font-family:sans-serif; font-weight:normal; }
--></style>
</head>
<body>
<div class="node">
<a name="TIC6X-Directives"></a>
<p>
Previous:&nbsp;<a rel="previous" accesskey="p" href="TIC6X-Syntax.html#TIC6X-Syntax">TIC6X Syntax</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="TIC6X_002dDependent.html#TIC6X_002dDependent">TIC6X-Dependent</a>
<hr>
</div>
<h4 class="subsection">9.41.3 TIC6X Directives</h4>
<p><a name="index-machine-directives_002c-TIC6X-2010"></a><a name="index-TIC6X-machine-directives-2011"></a>
Directives controlling the set of instructions accepted by the
assembler have effect for instructions between the directive and any
subsequent directive overriding it.
<a name="index-g_t_0040code_007b_002earch_007d-directive_002c-TIC6X-2012"></a>
<dl><dt><code>.arch </code><var>arch</var><dd>This has the same effect as <samp><span class="option">-march=</span><var>arch</var></samp>.
<p><a name="index-g_t_0040code_007b_002ecantunwind_007d-directive_002c-TIC6X-2013"></a><br><dt><code>.cantunwind</code><dd>Prevents unwinding through the current function. No personality routine
or exception table data is required or permitted.
<p>If this is not specified then frame unwinding information will be
constructed from CFI directives. see <a href="CFI-directives.html#CFI-directives">CFI directives</a>.
<p><a name="index-g_t_0040code_007b_002ec6xabi_005fattribute_007d-directive_002c-TIC6X-2014"></a><br><dt><code>.c6xabi_attribute </code><var>tag</var><code>, </code><var>value</var><dd>Set the C6000 EABI build attribute <var>tag</var> to <var>value</var>.
<p>The <var>tag</var> is either an attribute number or one of
<code>Tag_ISA</code>, <code>Tag_ABI_wchar_t</code>,
<code>Tag_ABI_stack_align_needed</code>,
<code>Tag_ABI_stack_align_preserved</code>, <code>Tag_ABI_DSBT</code>,
<code>Tag_ABI_PID</code>, <code>Tag_ABI_PIC</code>,
<code>TAG_ABI_array_object_alignment</code>,
<code>TAG_ABI_array_object_align_expected</code>,
<code>Tag_ABI_compatibility</code> and <code>Tag_ABI_conformance</code>. The
<var>value</var> is either a <code>number</code>, <code>"string"</code>, or
<code>number, "string"</code> depending on the tag.
<p><a name="index-g_t_0040code_007b_002eehtype_007d-directive_002c-TIC6X-2015"></a><br><dt><code>.ehtype </code><var>symbol</var><dd>Output an exception type table reference to <var>symbol</var>.
<p><a name="index-g_t_0040code_007b_002eendp_007d-directive_002c-TIC6X-2016"></a><br><dt><code>.endp</code><dd>Marks the end of and exception table or function. If preceeded by a
<code>.handlerdata</code> directive then this also switched back to the previous
text section.
<p><a name="index-g_t_0040code_007b_002ehandlerdata_007d-directive_002c-TIC6X-2017"></a><br><dt><code>.handlerdata</code><dd>Marks the end of the current function, and the start of the exception table
entry for that function. Anything between this directive and the
<code>.endp</code> directive will be added to the exception table entry.
<p>Must be preceded by a CFI block containing a <code>.cfi_lsda</code> directive.
<p><a name="index-g_t_0040code_007b_002enocmp_007d-directive_002c-TIC6X-2018"></a><br><dt><code>.nocmp</code><dd>Disallow use of C64x+ compact instructions in the current text
section.
<p><a name="index-g_t_0040code_007b_002epersonalityindex_007d-directive_002c-TIC6X-2019"></a><br><dt><code>.personalityindex </code><var>index</var><dd>Sets the personality routine for the current function to the ABI specified
compact routine number <var>index</var>
<p><a name="index-g_t_0040code_007b_002epersonality_007d-directive_002c-TIC6X-2020"></a><br><dt><code>.personality </code><var>name</var><dd>Sets the personality routine for the current function to <var>name</var>.
<p><a name="index-g_t_0040code_007b_002escomm_007d-directive_002c-TIC6X-2021"></a><br><dt><code>.scomm </code><var>symbol</var><code>, </code><var>size</var><code>, </code><var>align</var><dd>Like <code>.comm</code>, creating a common symbol <var>symbol</var> with size <var>size</var>
and alignment <var>align</var>, but unlike when using <code>.comm</code>, this symbol
will be placed into the small BSS section by the linker.
</dl>
<!-- Copyright 2011 -->
<!-- Free Software Foundation, Inc. -->
<!-- This is part of the GAS manual. -->
<!-- For copying conditions, see the file as.texinfo. -->
<!-- man end -->
</body></html>