Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

TIC6X-Directives.html 7.0KB

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