You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

108 lines
5.8 KiB
HTML

<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-2015 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.44.3 TIC6X Directives</h4>
<p><a name="index-machine-directives_002c-TIC6X-2210"></a><a name="index-TIC6X-machine-directives-2211"></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-2212"></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-2213"></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-2214"></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-2215"></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-2216"></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-2217"></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-2218"></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-2219"></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-2220"></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-2221"></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 (C) 2011-2015 Free Software Foundation, Inc. -->
<!-- This is part of the GAS manual. -->
<!-- For copying conditions, see the file as.texinfo. -->
<!-- man end -->
</body></html>