1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html>
3<!-- This file documents the GNU Assembler "as".
4
5Copyright (C) 1991-2021 Free Software Foundation, Inc.
6
7Permission is granted to copy, distribute and/or modify this document
8under the terms of the GNU Free Documentation License, Version 1.3
9or any later version published by the Free Software Foundation;
10with no Invariant Sections, with no Front-Cover Texts, and with no
11Back-Cover Texts.  A copy of the license is included in the
12section entitled "GNU Free Documentation License".
13 -->
14<!-- Created by GNU Texinfo 5.1, http://www.gnu.org/software/texinfo/ -->
15<head>
16<title>Using as: TIC6X Directives</title>
17
18<meta name="description" content="Using as: TIC6X Directives">
19<meta name="keywords" content="Using as: TIC6X Directives">
20<meta name="resource-type" content="document">
21<meta name="distribution" content="global">
22<meta name="Generator" content="makeinfo">
23<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
24<link href="index.html#Top" rel="start" title="Top">
25<link href="AS-Index.html#AS-Index" rel="index" title="AS Index">
26<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
27<link href="TIC6X_002dDependent.html#TIC6X_002dDependent" rel="up" title="TIC6X-Dependent">
28<link href="TILE_002dGx_002dDependent.html#TILE_002dGx_002dDependent" rel="next" title="TILE-Gx-Dependent">
29<link href="TIC6X-Syntax.html#TIC6X-Syntax" rel="previous" title="TIC6X Syntax">
30<style type="text/css">
31<!--
32a.summary-letter {text-decoration: none}
33blockquote.smallquotation {font-size: smaller}
34div.display {margin-left: 3.2em}
35div.example {margin-left: 3.2em}
36div.indentedblock {margin-left: 3.2em}
37div.lisp {margin-left: 3.2em}
38div.smalldisplay {margin-left: 3.2em}
39div.smallexample {margin-left: 3.2em}
40div.smallindentedblock {margin-left: 3.2em; font-size: smaller}
41div.smalllisp {margin-left: 3.2em}
42kbd {font-style:oblique}
43pre.display {font-family: inherit}
44pre.format {font-family: inherit}
45pre.menu-comment {font-family: serif}
46pre.menu-preformatted {font-family: serif}
47pre.smalldisplay {font-family: inherit; font-size: smaller}
48pre.smallexample {font-size: smaller}
49pre.smallformat {font-family: inherit; font-size: smaller}
50pre.smalllisp {font-size: smaller}
51span.nocodebreak {white-space:nowrap}
52span.nolinebreak {white-space:nowrap}
53span.roman {font-family:serif; font-weight:normal}
54span.sansserif {font-family:sans-serif; font-weight:normal}
55ul.no-bullet {list-style: none}
56-->
57</style>
58
59
60</head>
61
62<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
63<a name="TIC6X-Directives"></a>
64<div class="header">
65<p>
66Previous: <a href="TIC6X-Syntax.html#TIC6X-Syntax" accesskey="p" rel="previous">TIC6X Syntax</a>, Up: <a href="TIC6X_002dDependent.html#TIC6X_002dDependent" accesskey="u" rel="up">TIC6X-Dependent</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="AS-Index.html#AS-Index" title="Index" rel="index">Index</a>]</p>
67</div>
68<hr>
69<a name="TIC6X-Directives-1"></a>
70<h4 class="subsection">9.46.3 TIC6X Directives</h4>
71
72<a name="index-machine-directives_002c-TIC6X"></a>
73<a name="index-TIC6X-machine-directives"></a>
74
75<p>Directives controlling the set of instructions accepted by the
76assembler have effect for instructions between the directive and any
77subsequent directive overriding it.
78</p>
79<dl compact="compact">
80<dd>
81<a name="index-_002earch-directive_002c-TIC6X"></a>
82</dd>
83<dt><code>.arch <var>arch</var></code></dt>
84<dd><p>This has the same effect as <samp>-march=<var>arch</var></samp>.
85</p>
86<a name="index-_002ecantunwind-directive_002c-TIC6X"></a>
87</dd>
88<dt><code>.cantunwind</code></dt>
89<dd><p>Prevents unwinding through the current function.  No personality routine
90or exception table data is required or permitted.
91</p>
92<p>If this is not specified then frame unwinding information will be
93constructed from CFI directives. see <a href="CFI-directives.html#CFI-directives">CFI directives</a>.
94</p>
95<a name="index-_002ec6xabi_005fattribute-directive_002c-TIC6X"></a>
96</dd>
97<dt><code>.c6xabi_attribute <var>tag</var>, <var>value</var></code></dt>
98<dd><p>Set the C6000 EABI build attribute <var>tag</var> to <var>value</var>.
99</p>
100<p>The <var>tag</var> is either an attribute number or one of
101<code>Tag_ISA</code>, <code>Tag_ABI_wchar_t</code>,
102<code>Tag_ABI_stack_align_needed</code>,
103<code>Tag_ABI_stack_align_preserved</code>, <code>Tag_ABI_DSBT</code>,
104<code>Tag_ABI_PID</code>, <code>Tag_ABI_PIC</code>,
105<code>TAG_ABI_array_object_alignment</code>,
106<code>TAG_ABI_array_object_align_expected</code>,
107<code>Tag_ABI_compatibility</code> and <code>Tag_ABI_conformance</code>.  The
108<var>value</var> is either a <code>number</code>, <code>&quot;string&quot;</code>, or
109<code>number, &quot;string&quot;</code> depending on the tag.
110</p>
111<a name="index-_002eehtype-directive_002c-TIC6X"></a>
112</dd>
113<dt><code>.ehtype <var>symbol</var></code></dt>
114<dd><p>Output an exception type table reference to <var>symbol</var>.
115</p>
116<a name="index-_002eendp-directive_002c-TIC6X"></a>
117</dd>
118<dt><code>.endp</code></dt>
119<dd><p>Marks the end of and exception table or function.  If preceded by a
120<code>.handlerdata</code> directive then this also switched back to the previous
121text section.
122</p>
123<a name="index-_002ehandlerdata-directive_002c-TIC6X"></a>
124</dd>
125<dt><code>.handlerdata</code></dt>
126<dd><p>Marks the end of the current function, and the start of the exception table
127entry for that function.  Anything between this directive and the
128<code>.endp</code> directive will be added to the exception table entry.
129</p>
130<p>Must be preceded by a CFI block containing a <code>.cfi_lsda</code> directive.
131</p>
132<a name="index-_002enocmp-directive_002c-TIC6X"></a>
133</dd>
134<dt><code>.nocmp</code></dt>
135<dd><p>Disallow use of C64x+ compact instructions in the current text
136section.
137</p>
138<a name="index-_002epersonalityindex-directive_002c-TIC6X"></a>
139</dd>
140<dt><code>.personalityindex <var>index</var></code></dt>
141<dd><p>Sets the personality routine for the current function to the ABI specified
142compact routine number <var>index</var>
143</p>
144<a name="index-_002epersonality-directive_002c-TIC6X"></a>
145</dd>
146<dt><code>.personality <var>name</var></code></dt>
147<dd><p>Sets the personality routine for the current function to <var>name</var>.
148</p>
149<a name="index-_002escomm-directive_002c-TIC6X"></a>
150</dd>
151<dt><code>.scomm <var>symbol</var>, <var>size</var>, <var>align</var></code></dt>
152<dd><p>Like <code>.comm</code>, creating a common symbol <var>symbol</var> with size <var>size</var>
153and alignment <var>align</var>, but unlike when using <code>.comm</code>, this symbol
154will be placed into the small BSS section by the linker.
155</p>
156</dd>
157</dl>
158
159
160<hr>
161<div class="header">
162<p>
163Previous: <a href="TIC6X-Syntax.html#TIC6X-Syntax" accesskey="p" rel="previous">TIC6X Syntax</a>, Up: <a href="TIC6X_002dDependent.html#TIC6X_002dDependent" accesskey="u" rel="up">TIC6X-Dependent</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="AS-Index.html#AS-Index" title="Index" rel="index">Index</a>]</p>
164</div>
165
166
167
168</body>
169</html>
170