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

2962 satır
114KB

  1. .\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28)
  2. .\"
  3. .\" Standard preamble:
  4. .\" ========================================================================
  5. .de Sp \" Vertical space (when we can't use .PP)
  6. .if t .sp .5v
  7. .if n .sp
  8. ..
  9. .de Vb \" Begin verbatim text
  10. .ft CW
  11. .nf
  12. .ne \\$1
  13. ..
  14. .de Ve \" End verbatim text
  15. .ft R
  16. .fi
  17. ..
  18. .\" Set up some character translations and predefined strings. \*(-- will
  19. .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
  20. .\" double quote, and \*(R" will give a right double quote. \*(C+ will
  21. .\" give a nicer C++. Capital omega is used to do unbreakable dashes and
  22. .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
  23. .\" nothing in troff, for use with C<>.
  24. .tr \(*W-
  25. .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
  26. .ie n \{\
  27. . ds -- \(*W-
  28. . ds PI pi
  29. . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
  30. . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
  31. . ds L" ""
  32. . ds R" ""
  33. . ds C` ""
  34. . ds C' ""
  35. 'br\}
  36. .el\{\
  37. . ds -- \|\(em\|
  38. . ds PI \(*p
  39. . ds L" ``
  40. . ds R" ''
  41. . ds C`
  42. . ds C'
  43. 'br\}
  44. .\"
  45. .\" Escape single quotes in literal strings from groff's Unicode transform.
  46. .ie \n(.g .ds Aq \(aq
  47. .el .ds Aq '
  48. .\"
  49. .\" If the F register is turned on, we'll generate index entries on stderr for
  50. .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
  51. .\" entries marked with X<> in POD. Of course, you'll have to process the
  52. .\" output yourself in some meaningful fashion.
  53. .\"
  54. .\" Avoid warning from groff about undefined register 'F'.
  55. .de IX
  56. ..
  57. .nr rF 0
  58. .if \n(.g .if rF .nr rF 1
  59. .if (\n(rF:(\n(.g==0)) \{
  60. . if \nF \{
  61. . de IX
  62. . tm Index:\\$1\t\\n%\t"\\$2"
  63. ..
  64. . if !\nF==2 \{
  65. . nr % 0
  66. . nr F 2
  67. . \}
  68. . \}
  69. .\}
  70. .rr rF
  71. .\"
  72. .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
  73. .\" Fear. Run. Save yourself. No user-serviceable parts.
  74. . \" fudge factors for nroff and troff
  75. .if n \{\
  76. . ds #H 0
  77. . ds #V .8m
  78. . ds #F .3m
  79. . ds #[ \f1
  80. . ds #] \fP
  81. .\}
  82. .if t \{\
  83. . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
  84. . ds #V .6m
  85. . ds #F 0
  86. . ds #[ \&
  87. . ds #] \&
  88. .\}
  89. . \" simple accents for nroff and troff
  90. .if n \{\
  91. . ds ' \&
  92. . ds ` \&
  93. . ds ^ \&
  94. . ds , \&
  95. . ds ~ ~
  96. . ds /
  97. .\}
  98. .if t \{\
  99. . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
  100. . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
  101. . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
  102. . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
  103. . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
  104. . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
  105. .\}
  106. . \" troff and (daisy-wheel) nroff accents
  107. .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
  108. .ds 8 \h'\*(#H'\(*b\h'-\*(#H'
  109. .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
  110. .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
  111. .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
  112. .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
  113. .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
  114. .ds ae a\h'-(\w'a'u*4/10)'e
  115. .ds Ae A\h'-(\w'A'u*4/10)'E
  116. . \" corrections for vroff
  117. .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
  118. .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
  119. . \" for low resolution devices (crt and lpr)
  120. .if \n(.H>23 .if \n(.V>19 \
  121. \{\
  122. . ds : e
  123. . ds 8 ss
  124. . ds o a
  125. . ds d- d\h'-1'\(ga
  126. . ds D- D\h'-1'\(hy
  127. . ds th \o'bp'
  128. . ds Th \o'LP'
  129. . ds ae ae
  130. . ds Ae AE
  131. .\}
  132. .rm #[ #] #H #V #F C
  133. .\" ========================================================================
  134. .\"
  135. .IX Title "AS 1"
  136. .TH AS 1 "2020-11-24" "binutils-2.35.1" "GNU Development Tools"
  137. .\" For nroff, turn off justification. Always turn off hyphenation; it makes
  138. .\" way too many mistakes in technical documents.
  139. .if n .ad l
  140. .nh
  141. .SH "NAME"
  142. AS \- the portable GNU assembler.
  143. .SH "SYNOPSIS"
  144. .IX Header "SYNOPSIS"
  145. as [\fB\-a\fR[\fBcdghlns\fR][=\fIfile\fR]] [\fB\-\-alternate\fR] [\fB\-D\fR]
  146. [\fB\-\-compress\-debug\-sections\fR] [\fB\-\-nocompress\-debug\-sections\fR]
  147. [\fB\-\-debug\-prefix\-map\fR \fIold\fR=\fInew\fR]
  148. [\fB\-\-defsym\fR \fIsym\fR=\fIval\fR] [\fB\-f\fR] [\fB\-g\fR] [\fB\-\-gstabs\fR]
  149. [\fB\-\-gstabs+\fR] [\fB\-\-gdwarf\-<N>\fR] [\fB\-\-gdwarf\-sections\fR]
  150. [\fB\-\-gdwarf\-cie\-version\fR=\fI\s-1VERSION\s0\fR]
  151. [\fB\-\-help\fR] [\fB\-I\fR \fIdir\fR] [\fB\-J\fR]
  152. [\fB\-K\fR] [\fB\-L\fR] [\fB\-\-listing\-lhs\-width\fR=\fI\s-1NUM\s0\fR]
  153. [\fB\-\-listing\-lhs\-width2\fR=\fI\s-1NUM\s0\fR] [\fB\-\-listing\-rhs\-width\fR=\fI\s-1NUM\s0\fR]
  154. [\fB\-\-listing\-cont\-lines\fR=\fI\s-1NUM\s0\fR] [\fB\-\-keep\-locals\fR]
  155. [\fB\-\-no\-pad\-sections\fR]
  156. [\fB\-o\fR \fIobjfile\fR] [\fB\-R\fR]
  157. [\fB\-\-hash\-size\fR=\fI\s-1NUM\s0\fR] [\fB\-\-reduce\-memory\-overheads\fR]
  158. [\fB\-\-statistics\fR]
  159. [\fB\-v\fR] [\fB\-version\fR] [\fB\-\-version\fR]
  160. [\fB\-W\fR] [\fB\-\-warn\fR] [\fB\-\-fatal\-warnings\fR] [\fB\-w\fR] [\fB\-x\fR]
  161. [\fB\-Z\fR] [\fB@\fR\fI\s-1FILE\s0\fR]
  162. [\fB\-\-sectname\-subst\fR] [\fB\-\-size\-check=[error|warning]\fR]
  163. [\fB\-\-elf\-stt\-common=[no|yes]\fR]
  164. [\fB\-\-generate\-missing\-build\-notes=[no|yes]\fR]
  165. [\fB\-\-target\-help\fR] [\fItarget-options\fR]
  166. [\fB\-\-\fR|\fIfiles\fR ...]
  167. .SH "TARGET"
  168. .IX Header "TARGET"
  169. \&\fITarget AArch64 options:\fR
  170. [\fB\-EB\fR|\fB\-EL\fR]
  171. [\fB\-mabi\fR=\fI\s-1ABI\s0\fR]
  172. .PP
  173. \&\fITarget Alpha options:\fR
  174. [\fB\-m\fR\fIcpu\fR]
  175. [\fB\-mdebug\fR | \fB\-no\-mdebug\fR]
  176. [\fB\-replace\fR | \fB\-noreplace\fR]
  177. [\fB\-relax\fR] [\fB\-g\fR] [\fB\-G\fR\fIsize\fR]
  178. [\fB\-F\fR] [\fB\-32addr\fR]
  179. .PP
  180. \&\fITarget \s-1ARC\s0 options:\fR
  181. [\fB\-mcpu=\fR\fIcpu\fR]
  182. [\fB\-mA6\fR|\fB\-mARC600\fR|\fB\-mARC601\fR|\fB\-mA7\fR|\fB\-mARC700\fR|\fB\-mEM\fR|\fB\-mHS\fR]
  183. [\fB\-mcode\-density\fR]
  184. [\fB\-mrelax\fR]
  185. [\fB\-EB\fR|\fB\-EL\fR]
  186. .PP
  187. \&\fITarget \s-1ARM\s0 options:\fR
  188. [\fB\-mcpu\fR=\fIprocessor\fR[+\fIextension\fR...]]
  189. [\fB\-march\fR=\fIarchitecture\fR[+\fIextension\fR...]]
  190. [\fB\-mfpu\fR=\fIfloating-point-format\fR]
  191. [\fB\-mfloat\-abi\fR=\fIabi\fR]
  192. [\fB\-meabi\fR=\fIver\fR]
  193. [\fB\-mthumb\fR]
  194. [\fB\-EB\fR|\fB\-EL\fR]
  195. [\fB\-mapcs\-32\fR|\fB\-mapcs\-26\fR|\fB\-mapcs\-float\fR|
  196. \fB\-mapcs\-reentrant\fR]
  197. [\fB\-mthumb\-interwork\fR] [\fB\-k\fR]
  198. .PP
  199. \&\fITarget Blackfin options:\fR
  200. [\fB\-mcpu\fR=\fIprocessor\fR[\-\fIsirevision\fR]]
  201. [\fB\-mfdpic\fR]
  202. [\fB\-mno\-fdpic\fR]
  203. [\fB\-mnopic\fR]
  204. .PP
  205. \&\fITarget \s-1BPF\s0 options:\fR
  206. [\fB\-EL\fR] [\fB\-EB\fR]
  207. .PP
  208. \&\fITarget \s-1CRIS\s0 options:\fR
  209. [\fB\-\-underscore\fR | \fB\-\-no\-underscore\fR]
  210. [\fB\-\-pic\fR] [\fB\-N\fR]
  211. [\fB\-\-emulation=criself\fR | \fB\-\-emulation=crisaout\fR]
  212. [\fB\-\-march=v0_v10\fR | \fB\-\-march=v10\fR | \fB\-\-march=v32\fR | \fB\-\-march=common_v10_v32\fR]
  213. .PP
  214. \&\fITarget C\-SKY options:\fR
  215. [\fB\-march=\fR\fIarch\fR] [\fB\-mcpu=\fR\fIcpu\fR]
  216. [\fB\-EL\fR] [\fB\-mlittle\-endian\fR] [\fB\-EB\fR] [\fB\-mbig\-endian\fR]
  217. [\fB\-fpic\fR] [\fB\-pic\fR]
  218. [\fB\-mljump\fR] [\fB\-mno\-ljump\fR]
  219. [\fB\-force2bsr\fR] [\fB\-mforce2bsr\fR] [\fB\-no\-force2bsr\fR] [\fB\-mno\-force2bsr\fR]
  220. [\fB\-jsri2bsr\fR] [\fB\-mjsri2bsr\fR] [\fB\-no\-jsri2bsr\fR ] [\fB\-mno\-jsri2bsr\fR]
  221. [\fB\-mnolrw\fR ] [\fB\-mno\-lrw\fR]
  222. [\fB\-melrw\fR] [\fB\-mno\-elrw\fR]
  223. [\fB\-mlaf\fR ] [\fB\-mliterals\-after\-func\fR]
  224. [\fB\-mno\-laf\fR] [\fB\-mno\-literals\-after\-func\fR]
  225. [\fB\-mlabr\fR] [\fB\-mliterals\-after\-br\fR]
  226. [\fB\-mno\-labr\fR] [\fB\-mnoliterals\-after\-br\fR]
  227. [\fB\-mistack\fR] [\fB\-mno\-istack\fR]
  228. [\fB\-mhard\-float\fR] [\fB\-mmp\fR] [\fB\-mcp\fR] [\fB\-mcache\fR]
  229. [\fB\-msecurity\fR] [\fB\-mtrust\fR]
  230. [\fB\-mdsp\fR] [\fB\-medsp\fR] [\fB\-mvdsp\fR]
  231. .PP
  232. \&\fITarget D10V options:\fR
  233. [\fB\-O\fR]
  234. .PP
  235. \&\fITarget D30V options:\fR
  236. [\fB\-O\fR|\fB\-n\fR|\fB\-N\fR]
  237. .PP
  238. \&\fITarget \s-1EPIPHANY\s0 options:\fR
  239. [\fB\-mepiphany\fR|\fB\-mepiphany16\fR]
  240. .PP
  241. \&\fITarget H8/300 options:\fR
  242. [\-h\-tick\-hex]
  243. .PP
  244. \&\fITarget i386 options:\fR
  245. [\fB\-\-32\fR|\fB\-\-x32\fR|\fB\-\-64\fR] [\fB\-n\fR]
  246. [\fB\-march\fR=\fI\s-1CPU\s0\fR[+\fI\s-1EXTENSION\s0\fR...]] [\fB\-mtune\fR=\fI\s-1CPU\s0\fR]
  247. .PP
  248. \&\fITarget \s-1IA\-64\s0 options:\fR
  249. [\fB\-mconstant\-gp\fR|\fB\-mauto\-pic\fR]
  250. [\fB\-milp32\fR|\fB\-milp64\fR|\fB\-mlp64\fR|\fB\-mp64\fR]
  251. [\fB\-mle\fR|\fBmbe\fR]
  252. [\fB\-mtune=itanium1\fR|\fB\-mtune=itanium2\fR]
  253. [\fB\-munwind\-check=warning\fR|\fB\-munwind\-check=error\fR]
  254. [\fB\-mhint.b=ok\fR|\fB\-mhint.b=warning\fR|\fB\-mhint.b=error\fR]
  255. [\fB\-x\fR|\fB\-xexplicit\fR] [\fB\-xauto\fR] [\fB\-xdebug\fR]
  256. .PP
  257. \&\fITarget \s-1IP2K\s0 options:\fR
  258. [\fB\-mip2022\fR|\fB\-mip2022ext\fR]
  259. .PP
  260. \&\fITarget M32C options:\fR
  261. [\fB\-m32c\fR|\fB\-m16c\fR] [\-relax] [\-h\-tick\-hex]
  262. .PP
  263. \&\fITarget M32R options:\fR
  264. [\fB\-\-m32rx\fR|\fB\-\-[no\-]warn\-explicit\-parallel\-conflicts\fR|
  265. \fB\-\-W[n]p\fR]
  266. .PP
  267. \&\fITarget M680X0 options:\fR
  268. [\fB\-l\fR] [\fB\-m68000\fR|\fB\-m68010\fR|\fB\-m68020\fR|...]
  269. .PP
  270. \&\fITarget M68HC11 options:\fR
  271. [\fB\-m68hc11\fR|\fB\-m68hc12\fR|\fB\-m68hcs12\fR|\fB\-mm9s12x\fR|\fB\-mm9s12xg\fR]
  272. [\fB\-mshort\fR|\fB\-mlong\fR]
  273. [\fB\-mshort\-double\fR|\fB\-mlong\-double\fR]
  274. [\fB\-\-force\-long\-branches\fR] [\fB\-\-short\-branches\fR]
  275. [\fB\-\-strict\-direct\-mode\fR] [\fB\-\-print\-insn\-syntax\fR]
  276. [\fB\-\-print\-opcodes\fR] [\fB\-\-generate\-example\fR]
  277. .PP
  278. \&\fITarget \s-1MCORE\s0 options:\fR
  279. [\fB\-jsri2bsr\fR] [\fB\-sifilter\fR] [\fB\-relax\fR]
  280. [\fB\-mcpu=[210|340]\fR]
  281. .PP
  282. \&\fITarget Meta options:\fR
  283. [\fB\-mcpu=\fR\fIcpu\fR] [\fB\-mfpu=\fR\fIcpu\fR] [\fB\-mdsp=\fR\fIcpu\fR]
  284. \&\fITarget \s-1MICROBLAZE\s0 options:\fR
  285. .PP
  286. \&\fITarget \s-1MIPS\s0 options:\fR
  287. [\fB\-nocpp\fR] [\fB\-EL\fR] [\fB\-EB\fR] [\fB\-O\fR[\fIoptimization level\fR]]
  288. [\fB\-g\fR[\fIdebug level\fR]] [\fB\-G\fR \fInum\fR] [\fB\-KPIC\fR] [\fB\-call_shared\fR]
  289. [\fB\-non_shared\fR] [\fB\-xgot\fR [\fB\-mvxworks\-pic\fR]
  290. [\fB\-mabi\fR=\fI\s-1ABI\s0\fR] [\fB\-32\fR] [\fB\-n32\fR] [\fB\-64\fR] [\fB\-mfp32\fR] [\fB\-mgp32\fR]
  291. [\fB\-mfp64\fR] [\fB\-mgp64\fR] [\fB\-mfpxx\fR]
  292. [\fB\-modd\-spreg\fR] [\fB\-mno\-odd\-spreg\fR]
  293. [\fB\-march\fR=\fI\s-1CPU\s0\fR] [\fB\-mtune\fR=\fI\s-1CPU\s0\fR] [\fB\-mips1\fR] [\fB\-mips2\fR]
  294. [\fB\-mips3\fR] [\fB\-mips4\fR] [\fB\-mips5\fR] [\fB\-mips32\fR] [\fB\-mips32r2\fR]
  295. [\fB\-mips32r3\fR] [\fB\-mips32r5\fR] [\fB\-mips32r6\fR] [\fB\-mips64\fR] [\fB\-mips64r2\fR]
  296. [\fB\-mips64r3\fR] [\fB\-mips64r5\fR] [\fB\-mips64r6\fR]
  297. [\fB\-construct\-floats\fR] [\fB\-no\-construct\-floats\fR]
  298. [\fB\-mignore\-branch\-isa\fR] [\fB\-mno\-ignore\-branch\-isa\fR]
  299. [\fB\-mnan=\fR\fIencoding\fR]
  300. [\fB\-trap\fR] [\fB\-no\-break\fR] [\fB\-break\fR] [\fB\-no\-trap\fR]
  301. [\fB\-mips16\fR] [\fB\-no\-mips16\fR]
  302. [\fB\-mmips16e2\fR] [\fB\-mno\-mips16e2\fR]
  303. [\fB\-mmicromips\fR] [\fB\-mno\-micromips\fR]
  304. [\fB\-msmartmips\fR] [\fB\-mno\-smartmips\fR]
  305. [\fB\-mips3d\fR] [\fB\-no\-mips3d\fR]
  306. [\fB\-mdmx\fR] [\fB\-no\-mdmx\fR]
  307. [\fB\-mdsp\fR] [\fB\-mno\-dsp\fR]
  308. [\fB\-mdspr2\fR] [\fB\-mno\-dspr2\fR]
  309. [\fB\-mdspr3\fR] [\fB\-mno\-dspr3\fR]
  310. [\fB\-mmsa\fR] [\fB\-mno\-msa\fR]
  311. [\fB\-mxpa\fR] [\fB\-mno\-xpa\fR]
  312. [\fB\-mmt\fR] [\fB\-mno\-mt\fR]
  313. [\fB\-mmcu\fR] [\fB\-mno\-mcu\fR]
  314. [\fB\-mcrc\fR] [\fB\-mno\-crc\fR]
  315. [\fB\-mginv\fR] [\fB\-mno\-ginv\fR]
  316. [\fB\-mloongson\-mmi\fR] [\fB\-mno\-loongson\-mmi\fR]
  317. [\fB\-mloongson\-cam\fR] [\fB\-mno\-loongson\-cam\fR]
  318. [\fB\-mloongson\-ext\fR] [\fB\-mno\-loongson\-ext\fR]
  319. [\fB\-mloongson\-ext2\fR] [\fB\-mno\-loongson\-ext2\fR]
  320. [\fB\-minsn32\fR] [\fB\-mno\-insn32\fR]
  321. [\fB\-mfix7000\fR] [\fB\-mno\-fix7000\fR]
  322. [\fB\-mfix\-rm7000\fR] [\fB\-mno\-fix\-rm7000\fR]
  323. [\fB\-mfix\-vr4120\fR] [\fB\-mno\-fix\-vr4120\fR]
  324. [\fB\-mfix\-vr4130\fR] [\fB\-mno\-fix\-vr4130\fR]
  325. [\fB\-mfix\-r5900\fR] [\fB\-mno\-fix\-r5900\fR]
  326. [\fB\-mdebug\fR] [\fB\-no\-mdebug\fR]
  327. [\fB\-mpdr\fR] [\fB\-mno\-pdr\fR]
  328. .PP
  329. \&\fITarget \s-1MMIX\s0 options:\fR
  330. [\fB\-\-fixed\-special\-register\-names\fR] [\fB\-\-globalize\-symbols\fR]
  331. [\fB\-\-gnu\-syntax\fR] [\fB\-\-relax\fR] [\fB\-\-no\-predefined\-symbols\fR]
  332. [\fB\-\-no\-expand\fR] [\fB\-\-no\-merge\-gregs\fR] [\fB\-x\fR]
  333. [\fB\-\-linker\-allocated\-gregs\fR]
  334. .PP
  335. \&\fITarget Nios \s-1II\s0 options:\fR
  336. [\fB\-relax\-all\fR] [\fB\-relax\-section\fR] [\fB\-no\-relax\fR]
  337. [\fB\-EB\fR] [\fB\-EL\fR]
  338. .PP
  339. \&\fITarget \s-1NDS32\s0 options:\fR
  340. [\fB\-EL\fR] [\fB\-EB\fR] [\fB\-O\fR] [\fB\-Os\fR] [\fB\-mcpu=\fR\fIcpu\fR]
  341. [\fB\-misa=\fR\fIisa\fR] [\fB\-mabi=\fR\fIabi\fR] [\fB\-mall\-ext\fR]
  342. [\fB\-m[no\-]16\-bit\fR] [\fB\-m[no\-]perf\-ext\fR] [\fB\-m[no\-]perf2\-ext\fR]
  343. [\fB\-m[no\-]string\-ext\fR] [\fB\-m[no\-]dsp\-ext\fR] [\fB\-m[no\-]mac\fR] [\fB\-m[no\-]div\fR]
  344. [\fB\-m[no\-]audio\-isa\-ext\fR] [\fB\-m[no\-]fpu\-sp\-ext\fR] [\fB\-m[no\-]fpu\-dp\-ext\fR]
  345. [\fB\-m[no\-]fpu\-fma\fR] [\fB\-mfpu\-freg=\fR\fI\s-1FREG\s0\fR] [\fB\-mreduced\-regs\fR]
  346. [\fB\-mfull\-regs\fR] [\fB\-m[no\-]dx\-regs\fR] [\fB\-mpic\fR] [\fB\-mno\-relax\fR]
  347. [\fB\-mb2bb\fR]
  348. .PP
  349. \&\fITarget \s-1PDP11\s0 options:\fR
  350. [\fB\-mpic\fR|\fB\-mno\-pic\fR] [\fB\-mall\fR] [\fB\-mno\-extensions\fR]
  351. [\fB\-m\fR\fIextension\fR|\fB\-mno\-\fR\fIextension\fR]
  352. [\fB\-m\fR\fIcpu\fR] [\fB\-m\fR\fImachine\fR]
  353. .PP
  354. \&\fITarget picoJava options:\fR
  355. [\fB\-mb\fR|\fB\-me\fR]
  356. .PP
  357. \&\fITarget PowerPC options:\fR
  358. [\fB\-a32\fR|\fB\-a64\fR]
  359. [\fB\-mpwrx\fR|\fB\-mpwr2\fR|\fB\-mpwr\fR|\fB\-m601\fR|\fB\-mppc\fR|\fB\-mppc32\fR|\fB\-m603\fR|\fB\-m604\fR|\fB\-m403\fR|\fB\-m405\fR|
  360. \fB\-m440\fR|\fB\-m464\fR|\fB\-m476\fR|\fB\-m7400\fR|\fB\-m7410\fR|\fB\-m7450\fR|\fB\-m7455\fR|\fB\-m750cl\fR|\fB\-mgekko\fR|
  361. \fB\-mbroadway\fR|\fB\-mppc64\fR|\fB\-m620\fR|\fB\-me500\fR|\fB\-e500x2\fR|\fB\-me500mc\fR|\fB\-me500mc64\fR|\fB\-me5500\fR|
  362. \fB\-me6500\fR|\fB\-mppc64bridge\fR|\fB\-mbooke\fR|\fB\-mpower4\fR|\fB\-mpwr4\fR|\fB\-mpower5\fR|\fB\-mpwr5\fR|\fB\-mpwr5x\fR|
  363. \fB\-mpower6\fR|\fB\-mpwr6\fR|\fB\-mpower7\fR|\fB\-mpwr7\fR|\fB\-mpower8\fR|\fB\-mpwr8\fR|\fB\-mpower9\fR|\fB\-mpwr9\fR\fB\-ma2\fR|
  364. \fB\-mcell\fR|\fB\-mspe\fR|\fB\-mspe2\fR|\fB\-mtitan\fR|\fB\-me300\fR|\fB\-mcom\fR]
  365. [\fB\-many\fR] [\fB\-maltivec\fR|\fB\-mvsx\fR|\fB\-mhtm\fR|\fB\-mvle\fR]
  366. [\fB\-mregnames\fR|\fB\-mno\-regnames\fR]
  367. [\fB\-mrelocatable\fR|\fB\-mrelocatable\-lib\fR|\fB\-K \s-1PIC\s0\fR] [\fB\-memb\fR]
  368. [\fB\-mlittle\fR|\fB\-mlittle\-endian\fR|\fB\-le\fR|\fB\-mbig\fR|\fB\-mbig\-endian\fR|\fB\-be\fR]
  369. [\fB\-msolaris\fR|\fB\-mno\-solaris\fR]
  370. [\fB\-nops=\fR\fIcount\fR]
  371. .PP
  372. \&\fITarget \s-1PRU\s0 options:\fR
  373. [\fB\-link\-relax\fR]
  374. [\fB\-mnolink\-relax\fR]
  375. [\fB\-mno\-warn\-regname\-label\fR]
  376. .PP
  377. \&\fITarget RISC-V options:\fR
  378. [\fB\-fpic\fR|\fB\-fPIC\fR|\fB\-fno\-pic\fR]
  379. [\fB\-march\fR=\fI\s-1ISA\s0\fR]
  380. [\fB\-mabi\fR=\fI\s-1ABI\s0\fR]
  381. .PP
  382. \&\fITarget \s-1RL78\s0 options:\fR
  383. [\fB\-mg10\fR]
  384. [\fB\-m32bit\-doubles\fR|\fB\-m64bit\-doubles\fR]
  385. .PP
  386. \&\fITarget \s-1RX\s0 options:\fR
  387. [\fB\-mlittle\-endian\fR|\fB\-mbig\-endian\fR]
  388. [\fB\-m32bit\-doubles\fR|\fB\-m64bit\-doubles\fR]
  389. [\fB\-muse\-conventional\-section\-names\fR]
  390. [\fB\-msmall\-data\-limit\fR]
  391. [\fB\-mpid\fR]
  392. [\fB\-mrelax\fR]
  393. [\fB\-mint\-register=\fR\fInumber\fR]
  394. [\fB\-mgcc\-abi\fR|\fB\-mrx\-abi\fR]
  395. .PP
  396. \&\fITarget s390 options:\fR
  397. [\fB\-m31\fR|\fB\-m64\fR] [\fB\-mesa\fR|\fB\-mzarch\fR] [\fB\-march\fR=\fI\s-1CPU\s0\fR]
  398. [\fB\-mregnames\fR|\fB\-mno\-regnames\fR]
  399. [\fB\-mwarn\-areg\-zero\fR]
  400. .PP
  401. \&\fITarget \s-1SCORE\s0 options:\fR
  402. [\fB\-EB\fR][\fB\-EL\fR][\fB\-FIXDD\fR][\fB\-NWARN\fR]
  403. [\fB\-SCORE5\fR][\fB\-SCORE5U\fR][\fB\-SCORE7\fR][\fB\-SCORE3\fR]
  404. [\fB\-march=score7\fR][\fB\-march=score3\fR]
  405. [\fB\-USE_R1\fR][\fB\-KPIC\fR][\fB\-O0\fR][\fB\-G\fR \fInum\fR][\fB\-V\fR]
  406. .PP
  407. \&\fITarget \s-1SPARC\s0 options:\fR
  408. [\fB\-Av6\fR|\fB\-Av7\fR|\fB\-Av8\fR|\fB\-Aleon\fR|\fB\-Asparclet\fR|\fB\-Asparclite\fR
  409. \fB\-Av8plus\fR|\fB\-Av8plusa\fR|\fB\-Av8plusb\fR|\fB\-Av8plusc\fR|\fB\-Av8plusd\fR
  410. \fB\-Av8plusv\fR|\fB\-Av8plusm\fR|\fB\-Av9\fR|\fB\-Av9a\fR|\fB\-Av9b\fR|\fB\-Av9c\fR
  411. \fB\-Av9d\fR|\fB\-Av9e\fR|\fB\-Av9v\fR|\fB\-Av9m\fR|\fB\-Asparc\fR|\fB\-Asparcvis\fR
  412. \fB\-Asparcvis2\fR|\fB\-Asparcfmaf\fR|\fB\-Asparcima\fR|\fB\-Asparcvis3\fR
  413. \fB\-Asparcvisr\fR|\fB\-Asparc5\fR]
  414. [\fB\-xarch=v8plus\fR|\fB\-xarch=v8plusa\fR]|\fB\-xarch=v8plusb\fR|\fB\-xarch=v8plusc\fR
  415. \fB\-xarch=v8plusd\fR|\fB\-xarch=v8plusv\fR|\fB\-xarch=v8plusm\fR|\fB\-xarch=v9\fR
  416. \fB\-xarch=v9a\fR|\fB\-xarch=v9b\fR|\fB\-xarch=v9c\fR|\fB\-xarch=v9d\fR|\fB\-xarch=v9e\fR
  417. \fB\-xarch=v9v\fR|\fB\-xarch=v9m\fR|\fB\-xarch=sparc\fR|\fB\-xarch=sparcvis\fR
  418. \fB\-xarch=sparcvis2\fR|\fB\-xarch=sparcfmaf\fR|\fB\-xarch=sparcima\fR
  419. \fB\-xarch=sparcvis3\fR|\fB\-xarch=sparcvisr\fR|\fB\-xarch=sparc5\fR
  420. \fB\-bump\fR]
  421. [\fB\-32\fR|\fB\-64\fR]
  422. [\fB\-\-enforce\-aligned\-data\fR][\fB\-\-dcti\-couples\-detect\fR]
  423. .PP
  424. \&\fITarget \s-1TIC54X\s0 options:\fR
  425. [\fB\-mcpu=54[123589]\fR|\fB\-mcpu=54[56]lp\fR] [\fB\-mfar\-mode\fR|\fB\-mf\fR]
  426. [\fB\-merrors\-to\-file\fR \fI<filename>\fR|\fB\-me\fR \fI<filename>\fR]
  427. .PP
  428. \&\fITarget \s-1TIC6X\s0 options:\fR
  429. [\fB\-march=\fR\fIarch\fR] [\fB\-mbig\-endian\fR|\fB\-mlittle\-endian\fR]
  430. [\fB\-mdsbt\fR|\fB\-mno\-dsbt\fR] [\fB\-mpid=no\fR|\fB\-mpid=near\fR|\fB\-mpid=far\fR]
  431. [\fB\-mpic\fR|\fB\-mno\-pic\fR]
  432. .PP
  433. \&\fITarget TILE-Gx options:\fR
  434. [\fB\-m32\fR|\fB\-m64\fR][\fB\-EB\fR][\fB\-EL\fR]
  435. .PP
  436. \&\fITarget Visium options:\fR
  437. [\fB\-mtune=\fR\fIarch\fR]
  438. .PP
  439. \&\fITarget Xtensa options:\fR
  440. [\fB\-\-[no\-]text\-section\-literals\fR] [\fB\-\-[no\-]auto\-litpools\fR]
  441. [\fB\-\-[no\-]absolute\-literals\fR]
  442. [\fB\-\-[no\-]target\-align\fR] [\fB\-\-[no\-]longcalls\fR]
  443. [\fB\-\-[no\-]transform\fR]
  444. [\fB\-\-rename\-section\fR \fIoldname\fR=\fInewname\fR]
  445. [\fB\-\-[no\-]trampolines\fR]
  446. [\fB\-\-abi\-windowed\fR|\fB\-\-abi\-call0\fR]
  447. .PP
  448. \&\fITarget Z80 options:\fR
  449. [\fB\-march=\fR\fI\s-1CPU\s0\fR\fI[\-EXT]\fR\fI[+EXT]\fR]
  450. [\fB\-local\-prefix=\fR\fI\s-1PREFIX\s0\fR]
  451. [\fB\-colonless\fR]
  452. [\fB\-sdcc\fR]
  453. [\fB\-fp\-s=\fR\fI\s-1FORMAT\s0\fR]
  454. [\fB\-fp\-d=\fR\fI\s-1FORMAT\s0\fR]
  455. .SH "DESCRIPTION"
  456. .IX Header "DESCRIPTION"
  457. \&\s-1GNU \s0\fBas\fR is really a family of assemblers.
  458. If you use (or have used) the \s-1GNU\s0 assembler on one architecture, you
  459. should find a fairly similar environment when you use it on another
  460. architecture. Each version has much in common with the others,
  461. including object file formats, most assembler directives (often called
  462. \&\fIpseudo-ops\fR) and assembler syntax.
  463. .PP
  464. \&\fBas\fR is primarily intended to assemble the output of the
  465. \&\s-1GNU C\s0 compiler \f(CW\*(C`gcc\*(C'\fR for use by the linker
  466. \&\f(CW\*(C`ld\*(C'\fR. Nevertheless, we've tried to make \fBas\fR
  467. assemble correctly everything that other assemblers for the same
  468. machine would assemble.
  469. Any exceptions are documented explicitly.
  470. This doesn't mean \fBas\fR always uses the same syntax as another
  471. assembler for the same architecture; for example, we know of several
  472. incompatible versions of 680x0 assembly language syntax.
  473. .PP
  474. Each time you run \fBas\fR it assembles exactly one source
  475. program. The source program is made up of one or more files.
  476. (The standard input is also a file.)
  477. .PP
  478. You give \fBas\fR a command line that has zero or more input file
  479. names. The input files are read (from left file name to right). A
  480. command-line argument (in any position) that has no special meaning
  481. is taken to be an input file name.
  482. .PP
  483. If you give \fBas\fR no file names it attempts to read one input file
  484. from the \fBas\fR standard input, which is normally your terminal. You
  485. may have to type \fBctl-D\fR to tell \fBas\fR there is no more program
  486. to assemble.
  487. .PP
  488. Use \fB\-\-\fR if you need to explicitly name the standard input file
  489. in your command line.
  490. .PP
  491. If the source is empty, \fBas\fR produces a small, empty object
  492. file.
  493. .PP
  494. \&\fBas\fR may write warnings and error messages to the standard error
  495. file (usually your terminal). This should not happen when a compiler
  496. runs \fBas\fR automatically. Warnings report an assumption made so
  497. that \fBas\fR could keep assembling a flawed program; errors report a
  498. grave problem that stops the assembly.
  499. .PP
  500. If you are invoking \fBas\fR via the \s-1GNU C\s0 compiler,
  501. you can use the \fB\-Wa\fR option to pass arguments through to the assembler.
  502. The assembler arguments must be separated from each other (and the \fB\-Wa\fR)
  503. by commas. For example:
  504. .PP
  505. .Vb 1
  506. \& gcc \-c \-g \-O \-Wa,\-alh,\-L file.c
  507. .Ve
  508. .PP
  509. This passes two options to the assembler: \fB\-alh\fR (emit a listing to
  510. standard output with high-level and assembly source) and \fB\-L\fR (retain
  511. local symbols in the symbol table).
  512. .PP
  513. Usually you do not need to use this \fB\-Wa\fR mechanism, since many compiler
  514. command-line options are automatically passed to the assembler by the compiler.
  515. (You can call the \s-1GNU\s0 compiler driver with the \fB\-v\fR option to see
  516. precisely what options it passes to each compilation pass, including the
  517. assembler.)
  518. .SH "OPTIONS"
  519. .IX Header "OPTIONS"
  520. .IP "\fB@\fR\fIfile\fR" 4
  521. .IX Item "@file"
  522. Read command-line options from \fIfile\fR. The options read are
  523. inserted in place of the original @\fIfile\fR option. If \fIfile\fR
  524. does not exist, or cannot be read, then the option will be treated
  525. literally, and not removed.
  526. .Sp
  527. Options in \fIfile\fR are separated by whitespace. A whitespace
  528. character may be included in an option by surrounding the entire
  529. option in either single or double quotes. Any character (including a
  530. backslash) may be included by prefixing the character to be included
  531. with a backslash. The \fIfile\fR may itself contain additional
  532. @\fIfile\fR options; any such options will be processed recursively.
  533. .IP "\fB\-a[cdghlmns]\fR" 4
  534. .IX Item "-a[cdghlmns]"
  535. Turn on listings, in any of a variety of ways:
  536. .RS 4
  537. .IP "\fB\-ac\fR" 4
  538. .IX Item "-ac"
  539. omit false conditionals
  540. .IP "\fB\-ad\fR" 4
  541. .IX Item "-ad"
  542. omit debugging directives
  543. .IP "\fB\-ag\fR" 4
  544. .IX Item "-ag"
  545. include general information, like as version and options passed
  546. .IP "\fB\-ah\fR" 4
  547. .IX Item "-ah"
  548. include high-level source
  549. .IP "\fB\-al\fR" 4
  550. .IX Item "-al"
  551. include assembly
  552. .IP "\fB\-am\fR" 4
  553. .IX Item "-am"
  554. include macro expansions
  555. .IP "\fB\-an\fR" 4
  556. .IX Item "-an"
  557. omit forms processing
  558. .IP "\fB\-as\fR" 4
  559. .IX Item "-as"
  560. include symbols
  561. .IP "\fB=file\fR" 4
  562. .IX Item "=file"
  563. set the name of the listing file
  564. .RE
  565. .RS 4
  566. .Sp
  567. You may combine these options; for example, use \fB\-aln\fR for assembly
  568. listing without forms processing. The \fB=file\fR option, if used, must be
  569. the last one. By itself, \fB\-a\fR defaults to \fB\-ahls\fR.
  570. .RE
  571. .IP "\fB\-\-alternate\fR" 4
  572. .IX Item "--alternate"
  573. Begin in alternate macro mode.
  574. .IP "\fB\-\-compress\-debug\-sections\fR" 4
  575. .IX Item "--compress-debug-sections"
  576. Compress \s-1DWARF\s0 debug sections using zlib with \s-1SHF_COMPRESSED\s0 from the
  577. \&\s-1ELF ABI. \s0 The resulting object file may not be compatible with older
  578. linkers and object file utilities. Note if compression would make a
  579. given section \fIlarger\fR then it is not compressed.
  580. .IP "\fB\-\-compress\-debug\-sections=none\fR" 4
  581. .IX Item "--compress-debug-sections=none"
  582. .PD 0
  583. .IP "\fB\-\-compress\-debug\-sections=zlib\fR" 4
  584. .IX Item "--compress-debug-sections=zlib"
  585. .IP "\fB\-\-compress\-debug\-sections=zlib\-gnu\fR" 4
  586. .IX Item "--compress-debug-sections=zlib-gnu"
  587. .IP "\fB\-\-compress\-debug\-sections=zlib\-gabi\fR" 4
  588. .IX Item "--compress-debug-sections=zlib-gabi"
  589. .PD
  590. These options control how \s-1DWARF\s0 debug sections are compressed.
  591. \&\fB\-\-compress\-debug\-sections=none\fR is equivalent to
  592. \&\fB\-\-nocompress\-debug\-sections\fR.
  593. \&\fB\-\-compress\-debug\-sections=zlib\fR and
  594. \&\fB\-\-compress\-debug\-sections=zlib\-gabi\fR are equivalent to
  595. \&\fB\-\-compress\-debug\-sections\fR.
  596. \&\fB\-\-compress\-debug\-sections=zlib\-gnu\fR compresses \s-1DWARF\s0 debug
  597. sections using zlib. The debug sections are renamed to begin with
  598. \&\fB.zdebug\fR. Note if compression would make a given section
  599. \&\fIlarger\fR then it is not compressed nor renamed.
  600. .IP "\fB\-\-nocompress\-debug\-sections\fR" 4
  601. .IX Item "--nocompress-debug-sections"
  602. Do not compress \s-1DWARF\s0 debug sections. This is usually the default for all
  603. targets except the x86/x86_64, but a configure time option can be used to
  604. override this.
  605. .IP "\fB\-D\fR" 4
  606. .IX Item "-D"
  607. Ignored. This option is accepted for script compatibility with calls to
  608. other assemblers.
  609. .IP "\fB\-\-debug\-prefix\-map\fR \fIold\fR\fB=\fR\fInew\fR" 4
  610. .IX Item "--debug-prefix-map old=new"
  611. When assembling files in directory \fI\fIold\fI\fR, record debugging
  612. information describing them as in \fI\fInew\fI\fR instead.
  613. .IP "\fB\-\-defsym\fR \fIsym\fR\fB=\fR\fIvalue\fR" 4
  614. .IX Item "--defsym sym=value"
  615. Define the symbol \fIsym\fR to be \fIvalue\fR before assembling the input file.
  616. \&\fIvalue\fR must be an integer constant. As in C, a leading \fB0x\fR
  617. indicates a hexadecimal value, and a leading \fB0\fR indicates an octal
  618. value. The value of the symbol can be overridden inside a source file via the
  619. use of a \f(CW\*(C`.set\*(C'\fR pseudo-op.
  620. .IP "\fB\-f\fR" 4
  621. .IX Item "-f"
  622. \&\*(L"fast\*(R"\-\-\-skip whitespace and comment preprocessing (assume source is
  623. compiler output).
  624. .IP "\fB\-g\fR" 4
  625. .IX Item "-g"
  626. .PD 0
  627. .IP "\fB\-\-gen\-debug\fR" 4
  628. .IX Item "--gen-debug"
  629. .PD
  630. Generate debugging information for each assembler source line using whichever
  631. debug format is preferred by the target. This currently means either \s-1STABS,
  632. ECOFF\s0 or \s-1DWARF2. \s0 When the debug format is \s-1DWARF\s0 then a \f(CW\*(C`.debug_info\*(C'\fR and
  633. \&\f(CW\*(C`.debug_line\*(C'\fR section is only emitted when the assembly file doesn't
  634. generate one itself.
  635. .IP "\fB\-\-gstabs\fR" 4
  636. .IX Item "--gstabs"
  637. Generate stabs debugging information for each assembler line. This
  638. may help debugging assembler code, if the debugger can handle it.
  639. .IP "\fB\-\-gstabs+\fR" 4
  640. .IX Item "--gstabs+"
  641. Generate stabs debugging information for each assembler line, with \s-1GNU\s0
  642. extensions that probably only gdb can handle, and that could make other
  643. debuggers crash or refuse to read your program. This
  644. may help debugging assembler code. Currently the only \s-1GNU\s0 extension is
  645. the location of the current working directory at assembling time.
  646. .IP "\fB\-\-gdwarf\-2\fR" 4
  647. .IX Item "--gdwarf-2"
  648. Generate \s-1DWARF2\s0 debugging information for each assembler line. This
  649. may help debugging assembler code, if the debugger can handle it. Note\-\-\-this
  650. option is only supported by some targets, not all of them.
  651. .IP "\fB\-\-gdwarf\-3\fR" 4
  652. .IX Item "--gdwarf-3"
  653. This option is the same as the \fB\-\-gdwarf\-2\fR option, except that it
  654. allows for the possibility of the generation of extra debug information as per
  655. version 3 of the \s-1DWARF\s0 specification. Note \- enabling this option does not
  656. guarantee the generation of any extra infortmation, the choice to do so is on a
  657. per target basis.
  658. .IP "\fB\-\-gdwarf\-4\fR" 4
  659. .IX Item "--gdwarf-4"
  660. This option is the same as the \fB\-\-gdwarf\-2\fR option, except that it
  661. allows for the possibility of the generation of extra debug information as per
  662. version 4 of the \s-1DWARF\s0 specification. Note \- enabling this option does not
  663. guarantee the generation of any extra infortmation, the choice to do so is on a
  664. per target basis.
  665. .IP "\fB\-\-gdwarf\-5\fR" 4
  666. .IX Item "--gdwarf-5"
  667. This option is the same as the \fB\-\-gdwarf\-2\fR option, except that it
  668. allows for the possibility of the generation of extra debug information as per
  669. version 5 of the \s-1DWARF\s0 specification. Note \- enabling this option does not
  670. guarantee the generation of any extra infortmation, the choice to do so is on a
  671. per target basis.
  672. .IP "\fB\-\-gdwarf\-sections\fR" 4
  673. .IX Item "--gdwarf-sections"
  674. Instead of creating a .debug_line section, create a series of
  675. \&.debug_line.\fIfoo\fR sections where \fIfoo\fR is the name of the
  676. corresponding code section. For example a code section called \fI.text.func\fR
  677. will have its dwarf line number information placed into a section called
  678. \&\fI.debug_line.text.func\fR. If the code section is just called \fI.text\fR
  679. then debug line section will still be called just \fI.debug_line\fR without any
  680. suffix.
  681. .IP "\fB\-\-gdwarf\-cie\-version=\fR\fIversion\fR" 4
  682. .IX Item "--gdwarf-cie-version=version"
  683. Control which version of \s-1DWARF\s0 Common Information Entries (CIEs) are produced.
  684. When this flag is not specificed the default is version 1, though some targets
  685. can modify this default. Other possible values for \fIversion\fR are 3 or 4.
  686. .IP "\fB\-\-size\-check=error\fR" 4
  687. .IX Item "--size-check=error"
  688. .PD 0
  689. .IP "\fB\-\-size\-check=warning\fR" 4
  690. .IX Item "--size-check=warning"
  691. .PD
  692. Issue an error or warning for invalid \s-1ELF \s0.size directive.
  693. .IP "\fB\-\-elf\-stt\-common=no\fR" 4
  694. .IX Item "--elf-stt-common=no"
  695. .PD 0
  696. .IP "\fB\-\-elf\-stt\-common=yes\fR" 4
  697. .IX Item "--elf-stt-common=yes"
  698. .PD
  699. These options control whether the \s-1ELF\s0 assembler should generate common
  700. symbols with the \f(CW\*(C`STT_COMMON\*(C'\fR type. The default can be controlled
  701. by a configure option \fB\-\-enable\-elf\-stt\-common\fR.
  702. .IP "\fB\-\-generate\-missing\-build\-notes=yes\fR" 4
  703. .IX Item "--generate-missing-build-notes=yes"
  704. .PD 0
  705. .IP "\fB\-\-generate\-missing\-build\-notes=no\fR" 4
  706. .IX Item "--generate-missing-build-notes=no"
  707. .PD
  708. These options control whether the \s-1ELF\s0 assembler should generate \s-1GNU\s0 Build
  709. attribute notes if none are present in the input sources.
  710. The default can be controlled by the \fB\-\-enable\-generate\-build\-notes\fR
  711. configure option.
  712. .IP "\fB\-\-help\fR" 4
  713. .IX Item "--help"
  714. Print a summary of the command-line options and exit.
  715. .IP "\fB\-\-target\-help\fR" 4
  716. .IX Item "--target-help"
  717. Print a summary of all target specific options and exit.
  718. .IP "\fB\-I\fR \fIdir\fR" 4
  719. .IX Item "-I dir"
  720. Add directory \fIdir\fR to the search list for \f(CW\*(C`.include\*(C'\fR directives.
  721. .IP "\fB\-J\fR" 4
  722. .IX Item "-J"
  723. Don't warn about signed overflow.
  724. .IP "\fB\-K\fR" 4
  725. .IX Item "-K"
  726. Issue warnings when difference tables altered for long displacements.
  727. .IP "\fB\-L\fR" 4
  728. .IX Item "-L"
  729. .PD 0
  730. .IP "\fB\-\-keep\-locals\fR" 4
  731. .IX Item "--keep-locals"
  732. .PD
  733. Keep (in the symbol table) local symbols. These symbols start with
  734. system-specific local label prefixes, typically \fB.L\fR for \s-1ELF\s0 systems
  735. or \fBL\fR for traditional a.out systems.
  736. .IP "\fB\-\-listing\-lhs\-width=\fR\fInumber\fR" 4
  737. .IX Item "--listing-lhs-width=number"
  738. Set the maximum width, in words, of the output data column for an assembler
  739. listing to \fInumber\fR.
  740. .IP "\fB\-\-listing\-lhs\-width2=\fR\fInumber\fR" 4
  741. .IX Item "--listing-lhs-width2=number"
  742. Set the maximum width, in words, of the output data column for continuation
  743. lines in an assembler listing to \fInumber\fR.
  744. .IP "\fB\-\-listing\-rhs\-width=\fR\fInumber\fR" 4
  745. .IX Item "--listing-rhs-width=number"
  746. Set the maximum width of an input source line, as displayed in a listing, to
  747. \&\fInumber\fR bytes.
  748. .IP "\fB\-\-listing\-cont\-lines=\fR\fInumber\fR" 4
  749. .IX Item "--listing-cont-lines=number"
  750. Set the maximum number of lines printed in a listing for a single line of input
  751. to \fInumber\fR + 1.
  752. .IP "\fB\-\-no\-pad\-sections\fR" 4
  753. .IX Item "--no-pad-sections"
  754. Stop the assembler for padding the ends of output sections to the alignment
  755. of that section. The default is to pad the sections, but this can waste space
  756. which might be needed on targets which have tight memory constraints.
  757. .IP "\fB\-o\fR \fIobjfile\fR" 4
  758. .IX Item "-o objfile"
  759. Name the object-file output from \fBas\fR \fIobjfile\fR.
  760. .IP "\fB\-R\fR" 4
  761. .IX Item "-R"
  762. Fold the data section into the text section.
  763. .IP "\fB\-\-hash\-size=\fR\fInumber\fR" 4
  764. .IX Item "--hash-size=number"
  765. Set the default size of \s-1GAS\s0's hash tables to a prime number close to
  766. \&\fInumber\fR. Increasing this value can reduce the length of time it takes the
  767. assembler to perform its tasks, at the expense of increasing the assembler's
  768. memory requirements. Similarly reducing this value can reduce the memory
  769. requirements at the expense of speed.
  770. .IP "\fB\-\-reduce\-memory\-overheads\fR" 4
  771. .IX Item "--reduce-memory-overheads"
  772. This option reduces \s-1GAS\s0's memory requirements, at the expense of making the
  773. assembly processes slower. Currently this switch is a synonym for
  774. \&\fB\-\-hash\-size=4051\fR, but in the future it may have other effects as well.
  775. .IP "\fB\-\-sectname\-subst\fR" 4
  776. .IX Item "--sectname-subst"
  777. Honor substitution sequences in section names.
  778. .IP "\fB\-\-statistics\fR" 4
  779. .IX Item "--statistics"
  780. Print the maximum space (in bytes) and total time (in seconds) used by
  781. assembly.
  782. .IP "\fB\-\-strip\-local\-absolute\fR" 4
  783. .IX Item "--strip-local-absolute"
  784. Remove local absolute symbols from the outgoing symbol table.
  785. .IP "\fB\-v\fR" 4
  786. .IX Item "-v"
  787. .PD 0
  788. .IP "\fB\-version\fR" 4
  789. .IX Item "-version"
  790. .PD
  791. Print the \fBas\fR version.
  792. .IP "\fB\-\-version\fR" 4
  793. .IX Item "--version"
  794. Print the \fBas\fR version and exit.
  795. .IP "\fB\-W\fR" 4
  796. .IX Item "-W"
  797. .PD 0
  798. .IP "\fB\-\-no\-warn\fR" 4
  799. .IX Item "--no-warn"
  800. .PD
  801. Suppress warning messages.
  802. .IP "\fB\-\-fatal\-warnings\fR" 4
  803. .IX Item "--fatal-warnings"
  804. Treat warnings as errors.
  805. .IP "\fB\-\-warn\fR" 4
  806. .IX Item "--warn"
  807. Don't suppress warning messages or treat them as errors.
  808. .IP "\fB\-w\fR" 4
  809. .IX Item "-w"
  810. Ignored.
  811. .IP "\fB\-x\fR" 4
  812. .IX Item "-x"
  813. Ignored.
  814. .IP "\fB\-Z\fR" 4
  815. .IX Item "-Z"
  816. Generate an object file even after errors.
  817. .IP "\fB\-\- |\fR \fIfiles\fR \fB...\fR" 4
  818. .IX Item "-- | files ..."
  819. Standard input, or source files to assemble.
  820. .PP
  821. The following options are available when as is configured for the
  822. 64\-bit mode of the \s-1ARM\s0 Architecture (AArch64).
  823. .IP "\fB\-EB\fR" 4
  824. .IX Item "-EB"
  825. This option specifies that the output generated by the assembler should
  826. be marked as being encoded for a big-endian processor.
  827. .IP "\fB\-EL\fR" 4
  828. .IX Item "-EL"
  829. This option specifies that the output generated by the assembler should
  830. be marked as being encoded for a little-endian processor.
  831. .IP "\fB\-mabi=\fR\fIabi\fR" 4
  832. .IX Item "-mabi=abi"
  833. Specify which \s-1ABI\s0 the source code uses. The recognized arguments
  834. are: \f(CW\*(C`ilp32\*(C'\fR and \f(CW\*(C`lp64\*(C'\fR, which decides the generated object
  835. file in \s-1ELF32\s0 and \s-1ELF64\s0 format respectively. The default is \f(CW\*(C`lp64\*(C'\fR.
  836. .IP "\fB\-mcpu=\fR\fIprocessor\fR\fB[+\fR\fIextension\fR\fB...]\fR" 4
  837. .IX Item "-mcpu=processor[+extension...]"
  838. This option specifies the target processor. The assembler will issue an error
  839. message if an attempt is made to assemble an instruction which will not execute
  840. on the target processor. The following processor names are recognized:
  841. \&\f(CW\*(C`cortex\-a34\*(C'\fR,
  842. \&\f(CW\*(C`cortex\-a35\*(C'\fR,
  843. \&\f(CW\*(C`cortex\-a53\*(C'\fR,
  844. \&\f(CW\*(C`cortex\-a55\*(C'\fR,
  845. \&\f(CW\*(C`cortex\-a57\*(C'\fR,
  846. \&\f(CW\*(C`cortex\-a65\*(C'\fR,
  847. \&\f(CW\*(C`cortex\-a65ae\*(C'\fR,
  848. \&\f(CW\*(C`cortex\-a72\*(C'\fR,
  849. \&\f(CW\*(C`cortex\-a73\*(C'\fR,
  850. \&\f(CW\*(C`cortex\-a75\*(C'\fR,
  851. \&\f(CW\*(C`cortex\-a76\*(C'\fR,
  852. \&\f(CW\*(C`cortex\-a76ae\*(C'\fR,
  853. \&\f(CW\*(C`cortex\-a77\*(C'\fR,
  854. \&\f(CW\*(C`ares\*(C'\fR,
  855. \&\f(CW\*(C`exynos\-m1\*(C'\fR,
  856. \&\f(CW\*(C`falkor\*(C'\fR,
  857. \&\f(CW\*(C`neoverse\-n1\*(C'\fR,
  858. \&\f(CW\*(C`neoverse\-v1\*(C'\fR,
  859. \&\f(CW\*(C`neoverse\-e1\*(C'\fR,
  860. \&\f(CW\*(C`qdf24xx\*(C'\fR,
  861. \&\f(CW\*(C`saphira\*(C'\fR,
  862. \&\f(CW\*(C`thunderx\*(C'\fR,
  863. \&\f(CW\*(C`vulcan\*(C'\fR,
  864. \&\f(CW\*(C`xgene1\*(C'\fR
  865. and
  866. \&\f(CW\*(C`xgene2\*(C'\fR.
  867. The special name \f(CW\*(C`all\*(C'\fR may be used to allow the assembler to accept
  868. instructions valid for any supported processor, including all optional
  869. extensions.
  870. .Sp
  871. In addition to the basic instruction set, the assembler can be told to
  872. accept, or restrict, various extension mnemonics that extend the
  873. processor.
  874. .Sp
  875. If some implementations of a particular processor can have an
  876. extension, then then those extensions are automatically enabled.
  877. Consequently, you will not normally have to specify any additional
  878. extensions.
  879. .IP "\fB\-march=\fR\fIarchitecture\fR\fB[+\fR\fIextension\fR\fB...]\fR" 4
  880. .IX Item "-march=architecture[+extension...]"
  881. This option specifies the target architecture. The assembler will
  882. issue an error message if an attempt is made to assemble an
  883. instruction which will not execute on the target architecture. The
  884. following architecture names are recognized: \f(CW\*(C`armv8\-a\*(C'\fR,
  885. \&\f(CW\*(C`armv8.1\-a\*(C'\fR, \f(CW\*(C`armv8.2\-a\*(C'\fR, \f(CW\*(C`armv8.3\-a\*(C'\fR, \f(CW\*(C`armv8.4\-a\*(C'\fR
  886. \&\f(CW\*(C`armv8.5\-a\*(C'\fR, and \f(CW\*(C`armv8.6\-a\*(C'\fR.
  887. .Sp
  888. If both \fB\-mcpu\fR and \fB\-march\fR are specified, the
  889. assembler will use the setting for \fB\-mcpu\fR. If neither are
  890. specified, the assembler will default to \fB\-mcpu=all\fR.
  891. .Sp
  892. The architecture option can be extended with the same instruction set
  893. extension options as the \fB\-mcpu\fR option. Unlike
  894. \&\fB\-mcpu\fR, extensions are not always enabled by default,
  895. .IP "\fB\-mverbose\-error\fR" 4
  896. .IX Item "-mverbose-error"
  897. This option enables verbose error messages for AArch64 gas. This option
  898. is enabled by default.
  899. .IP "\fB\-mno\-verbose\-error\fR" 4
  900. .IX Item "-mno-verbose-error"
  901. This option disables verbose error messages in AArch64 gas.
  902. .PP
  903. The following options are available when as is configured for an Alpha
  904. processor.
  905. .IP "\fB\-m\fR\fIcpu\fR" 4
  906. .IX Item "-mcpu"
  907. This option specifies the target processor. If an attempt is made to
  908. assemble an instruction which will not execute on the target processor,
  909. the assembler may either expand the instruction as a macro or issue an
  910. error message. This option is equivalent to the \f(CW\*(C`.arch\*(C'\fR directive.
  911. .Sp
  912. The following processor names are recognized:
  913. \&\f(CW21064\fR,
  914. \&\f(CW\*(C`21064a\*(C'\fR,
  915. \&\f(CW21066\fR,
  916. \&\f(CW21068\fR,
  917. \&\f(CW21164\fR,
  918. \&\f(CW\*(C`21164a\*(C'\fR,
  919. \&\f(CW\*(C`21164pc\*(C'\fR,
  920. \&\f(CW21264\fR,
  921. \&\f(CW\*(C`21264a\*(C'\fR,
  922. \&\f(CW\*(C`21264b\*(C'\fR,
  923. \&\f(CW\*(C`ev4\*(C'\fR,
  924. \&\f(CW\*(C`ev5\*(C'\fR,
  925. \&\f(CW\*(C`lca45\*(C'\fR,
  926. \&\f(CW\*(C`ev5\*(C'\fR,
  927. \&\f(CW\*(C`ev56\*(C'\fR,
  928. \&\f(CW\*(C`pca56\*(C'\fR,
  929. \&\f(CW\*(C`ev6\*(C'\fR,
  930. \&\f(CW\*(C`ev67\*(C'\fR,
  931. \&\f(CW\*(C`ev68\*(C'\fR.
  932. The special name \f(CW\*(C`all\*(C'\fR may be used to allow the assembler to accept
  933. instructions valid for any Alpha processor.
  934. .Sp
  935. In order to support existing practice in \s-1OSF/1\s0 with respect to \f(CW\*(C`.arch\*(C'\fR,
  936. and existing practice within \fB\s-1MILO\s0\fR (the Linux \s-1ARC\s0 bootloader), the
  937. numbered processor names (e.g. 21064) enable the processor-specific PALcode
  938. instructions, while the \*(L"electro-vlasic\*(R" names (e.g. \f(CW\*(C`ev4\*(C'\fR) do not.
  939. .IP "\fB\-mdebug\fR" 4
  940. .IX Item "-mdebug"
  941. .PD 0
  942. .IP "\fB\-no\-mdebug\fR" 4
  943. .IX Item "-no-mdebug"
  944. .PD
  945. Enables or disables the generation of \f(CW\*(C`.mdebug\*(C'\fR encapsulation for
  946. stabs directives and procedure descriptors. The default is to automatically
  947. enable \f(CW\*(C`.mdebug\*(C'\fR when the first stabs directive is seen.
  948. .IP "\fB\-relax\fR" 4
  949. .IX Item "-relax"
  950. This option forces all relocations to be put into the object file, instead
  951. of saving space and resolving some relocations at assembly time. Note that
  952. this option does not propagate all symbol arithmetic into the object file,
  953. because not all symbol arithmetic can be represented. However, the option
  954. can still be useful in specific applications.
  955. .IP "\fB\-replace\fR" 4
  956. .IX Item "-replace"
  957. .PD 0
  958. .IP "\fB\-noreplace\fR" 4
  959. .IX Item "-noreplace"
  960. .PD
  961. Enables or disables the optimization of procedure calls, both at assemblage
  962. and at link time. These options are only available for \s-1VMS\s0 targets and
  963. \&\f(CW\*(C`\-replace\*(C'\fR is the default. See section 1.4.1 of the OpenVMS Linker
  964. Utility Manual.
  965. .IP "\fB\-g\fR" 4
  966. .IX Item "-g"
  967. This option is used when the compiler generates debug information. When
  968. \&\fBgcc\fR is using \fBmips-tfile\fR to generate debug
  969. information for \s-1ECOFF,\s0 local labels must be passed through to the object
  970. file. Otherwise this option has no effect.
  971. .IP "\fB\-G\fR\fIsize\fR" 4
  972. .IX Item "-Gsize"
  973. A local common symbol larger than \fIsize\fR is placed in \f(CW\*(C`.bss\*(C'\fR,
  974. while smaller symbols are placed in \f(CW\*(C`.sbss\*(C'\fR.
  975. .IP "\fB\-F\fR" 4
  976. .IX Item "-F"
  977. .PD 0
  978. .IP "\fB\-32addr\fR" 4
  979. .IX Item "-32addr"
  980. .PD
  981. These options are ignored for backward compatibility.
  982. .PP
  983. The following options are available when as is configured for an \s-1ARC\s0
  984. processor.
  985. .IP "\fB\-mcpu=\fR\fIcpu\fR" 4
  986. .IX Item "-mcpu=cpu"
  987. This option selects the core processor variant.
  988. .IP "\fB\-EB | \-EL\fR" 4
  989. .IX Item "-EB | -EL"
  990. Select either big-endian (\-EB) or little-endian (\-EL) output.
  991. .IP "\fB\-mcode\-density\fR" 4
  992. .IX Item "-mcode-density"
  993. Enable Code Density extenssion instructions.
  994. .PP
  995. The following options are available when as is configured for the \s-1ARM\s0
  996. processor family.
  997. .IP "\fB\-mcpu=\fR\fIprocessor\fR\fB[+\fR\fIextension\fR\fB...]\fR" 4
  998. .IX Item "-mcpu=processor[+extension...]"
  999. Specify which \s-1ARM\s0 processor variant is the target.
  1000. .IP "\fB\-march=\fR\fIarchitecture\fR\fB[+\fR\fIextension\fR\fB...]\fR" 4
  1001. .IX Item "-march=architecture[+extension...]"
  1002. Specify which \s-1ARM\s0 architecture variant is used by the target.
  1003. .IP "\fB\-mfpu=\fR\fIfloating-point-format\fR" 4
  1004. .IX Item "-mfpu=floating-point-format"
  1005. Select which Floating Point architecture is the target.
  1006. .IP "\fB\-mfloat\-abi=\fR\fIabi\fR" 4
  1007. .IX Item "-mfloat-abi=abi"
  1008. Select which floating point \s-1ABI\s0 is in use.
  1009. .IP "\fB\-mthumb\fR" 4
  1010. .IX Item "-mthumb"
  1011. Enable Thumb only instruction decoding.
  1012. .IP "\fB\-mapcs\-32 | \-mapcs\-26 | \-mapcs\-float | \-mapcs\-reentrant\fR" 4
  1013. .IX Item "-mapcs-32 | -mapcs-26 | -mapcs-float | -mapcs-reentrant"
  1014. Select which procedure calling convention is in use.
  1015. .IP "\fB\-EB | \-EL\fR" 4
  1016. .IX Item "-EB | -EL"
  1017. Select either big-endian (\-EB) or little-endian (\-EL) output.
  1018. .IP "\fB\-mthumb\-interwork\fR" 4
  1019. .IX Item "-mthumb-interwork"
  1020. Specify that the code has been generated with interworking between Thumb and
  1021. \&\s-1ARM\s0 code in mind.
  1022. .IP "\fB\-mccs\fR" 4
  1023. .IX Item "-mccs"
  1024. Turns on CodeComposer Studio assembly syntax compatibility mode.
  1025. .IP "\fB\-k\fR" 4
  1026. .IX Item "-k"
  1027. Specify that \s-1PIC\s0 code has been generated.
  1028. .PP
  1029. The following options are available when as is configured for
  1030. the Blackfin processor family.
  1031. .IP "\fB\-mcpu=\fR\fIprocessor\fR[\fB\-\fR\fIsirevision\fR]" 4
  1032. .IX Item "-mcpu=processor[-sirevision]"
  1033. This option specifies the target processor. The optional \fIsirevision\fR
  1034. is not used in assembler. It's here such that \s-1GCC\s0 can easily pass down its
  1035. \&\f(CW\*(C`\-mcpu=\*(C'\fR option. The assembler will issue an
  1036. error message if an attempt is made to assemble an instruction which
  1037. will not execute on the target processor. The following processor names are
  1038. recognized:
  1039. \&\f(CW\*(C`bf504\*(C'\fR,
  1040. \&\f(CW\*(C`bf506\*(C'\fR,
  1041. \&\f(CW\*(C`bf512\*(C'\fR,
  1042. \&\f(CW\*(C`bf514\*(C'\fR,
  1043. \&\f(CW\*(C`bf516\*(C'\fR,
  1044. \&\f(CW\*(C`bf518\*(C'\fR,
  1045. \&\f(CW\*(C`bf522\*(C'\fR,
  1046. \&\f(CW\*(C`bf523\*(C'\fR,
  1047. \&\f(CW\*(C`bf524\*(C'\fR,
  1048. \&\f(CW\*(C`bf525\*(C'\fR,
  1049. \&\f(CW\*(C`bf526\*(C'\fR,
  1050. \&\f(CW\*(C`bf527\*(C'\fR,
  1051. \&\f(CW\*(C`bf531\*(C'\fR,
  1052. \&\f(CW\*(C`bf532\*(C'\fR,
  1053. \&\f(CW\*(C`bf533\*(C'\fR,
  1054. \&\f(CW\*(C`bf534\*(C'\fR,
  1055. \&\f(CW\*(C`bf535\*(C'\fR (not implemented yet),
  1056. \&\f(CW\*(C`bf536\*(C'\fR,
  1057. \&\f(CW\*(C`bf537\*(C'\fR,
  1058. \&\f(CW\*(C`bf538\*(C'\fR,
  1059. \&\f(CW\*(C`bf539\*(C'\fR,
  1060. \&\f(CW\*(C`bf542\*(C'\fR,
  1061. \&\f(CW\*(C`bf542m\*(C'\fR,
  1062. \&\f(CW\*(C`bf544\*(C'\fR,
  1063. \&\f(CW\*(C`bf544m\*(C'\fR,
  1064. \&\f(CW\*(C`bf547\*(C'\fR,
  1065. \&\f(CW\*(C`bf547m\*(C'\fR,
  1066. \&\f(CW\*(C`bf548\*(C'\fR,
  1067. \&\f(CW\*(C`bf548m\*(C'\fR,
  1068. \&\f(CW\*(C`bf549\*(C'\fR,
  1069. \&\f(CW\*(C`bf549m\*(C'\fR,
  1070. \&\f(CW\*(C`bf561\*(C'\fR,
  1071. and
  1072. \&\f(CW\*(C`bf592\*(C'\fR.
  1073. .IP "\fB\-mfdpic\fR" 4
  1074. .IX Item "-mfdpic"
  1075. Assemble for the \s-1FDPIC ABI.\s0
  1076. .IP "\fB\-mno\-fdpic\fR" 4
  1077. .IX Item "-mno-fdpic"
  1078. .PD 0
  1079. .IP "\fB\-mnopic\fR" 4
  1080. .IX Item "-mnopic"
  1081. .PD
  1082. Disable \-mfdpic.
  1083. .PP
  1084. The following options are available when as is configured for
  1085. the Linux kernel \s-1BPF\s0 processor family.
  1086. .PP
  1087. \&\f(CW@chapter\fR \s-1BPF\s0 Dependent Features
  1088. .SS "Options"
  1089. .IX Subsection "Options"
  1090. .IP "\fB\-EB\fR" 4
  1091. .IX Item "-EB"
  1092. This option specifies that the assembler should emit big-endian eBPF.
  1093. .IP "\fB\-EL\fR" 4
  1094. .IX Item "-EL"
  1095. This option specifies that the assembler should emit little-endian
  1096. eBPF.
  1097. .PP
  1098. Note that if no endianness option is specified in the command line,
  1099. the host endianness is used.
  1100. See the info pages for documentation of the CRIS-specific options.
  1101. .PP
  1102. The following options are available when as is configured for
  1103. the C\-SKY processor family.
  1104. .IP "\fB\-march=\fR\fIarchname\fR" 4
  1105. .IX Item "-march=archname"
  1106. Assemble for architecture \fIarchname\fR. The \fB\-\-help\fR option
  1107. lists valid values for \fIarchname\fR.
  1108. .IP "\fB\-mcpu=\fR\fIcpuname\fR" 4
  1109. .IX Item "-mcpu=cpuname"
  1110. Assemble for architecture \fIcpuname\fR. The \fB\-\-help\fR option
  1111. lists valid values for \fIcpuname\fR.
  1112. .IP "\fB\-EL\fR" 4
  1113. .IX Item "-EL"
  1114. .PD 0
  1115. .IP "\fB\-mlittle\-endian\fR" 4
  1116. .IX Item "-mlittle-endian"
  1117. .PD
  1118. Generate little-endian output.
  1119. .IP "\fB\-EB\fR" 4
  1120. .IX Item "-EB"
  1121. .PD 0
  1122. .IP "\fB\-mbig\-endian\fR" 4
  1123. .IX Item "-mbig-endian"
  1124. .PD
  1125. Generate big-endian output.
  1126. .IP "\fB\-fpic\fR" 4
  1127. .IX Item "-fpic"
  1128. .PD 0
  1129. .IP "\fB\-pic\fR" 4
  1130. .IX Item "-pic"
  1131. .PD
  1132. Generate position-independent code.
  1133. .IP "\fB\-mljump\fR" 4
  1134. .IX Item "-mljump"
  1135. .PD 0
  1136. .IP "\fB\-mno\-ljump\fR" 4
  1137. .IX Item "-mno-ljump"
  1138. .PD
  1139. Enable/disable transformation of the short branch instructions
  1140. \&\f(CW\*(C`jbf\*(C'\fR, \f(CW\*(C`jbt\*(C'\fR, and \f(CW\*(C`jbr\*(C'\fR to \f(CW\*(C`jmpi\*(C'\fR.
  1141. This option is for V2 processors only.
  1142. It is ignored on \s-1CK801\s0 and \s-1CK802\s0 targets, which do not support the \f(CW\*(C`jmpi\*(C'\fR
  1143. instruction, and is enabled by default for other processors.
  1144. .IP "\fB\-mbranch\-stub\fR" 4
  1145. .IX Item "-mbranch-stub"
  1146. .PD 0
  1147. .IP "\fB\-mno\-branch\-stub\fR" 4
  1148. .IX Item "-mno-branch-stub"
  1149. .PD
  1150. Pass through \f(CW\*(C`R_CKCORE_PCREL_IMM26BY2\*(C'\fR relocations for \f(CW\*(C`bsr\*(C'\fR
  1151. instructions to the linker.
  1152. .Sp
  1153. This option is only available for bare-metal C\-SKY V2 \s-1ELF\s0 targets,
  1154. where it is enabled by default. It cannot be used in code that will be
  1155. dynamically linked against shared libraries.
  1156. .IP "\fB\-force2bsr\fR" 4
  1157. .IX Item "-force2bsr"
  1158. .PD 0
  1159. .IP "\fB\-mforce2bsr\fR" 4
  1160. .IX Item "-mforce2bsr"
  1161. .IP "\fB\-no\-force2bsr\fR" 4
  1162. .IX Item "-no-force2bsr"
  1163. .IP "\fB\-mno\-force2bsr\fR" 4
  1164. .IX Item "-mno-force2bsr"
  1165. .PD
  1166. Enable/disable transformation of \f(CW\*(C`jbsr\*(C'\fR instructions to \f(CW\*(C`bsr\*(C'\fR.
  1167. This option is always enabled (and \fB\-mno\-force2bsr\fR is ignored)
  1168. for \s-1CK801/CK802\s0 targets. It is also always enabled when
  1169. \&\fB\-mbranch\-stub\fR is in effect.
  1170. .IP "\fB\-jsri2bsr\fR" 4
  1171. .IX Item "-jsri2bsr"
  1172. .PD 0
  1173. .IP "\fB\-mjsri2bsr\fR" 4
  1174. .IX Item "-mjsri2bsr"
  1175. .IP "\fB\-no\-jsri2bsr\fR" 4
  1176. .IX Item "-no-jsri2bsr"
  1177. .IP "\fB\-mno\-jsri2bsr\fR" 4
  1178. .IX Item "-mno-jsri2bsr"
  1179. .PD
  1180. Enable/disable transformation of \f(CW\*(C`jsri\*(C'\fR instructions to \f(CW\*(C`bsr\*(C'\fR.
  1181. This option is enabled by default.
  1182. .IP "\fB\-mnolrw\fR" 4
  1183. .IX Item "-mnolrw"
  1184. .PD 0
  1185. .IP "\fB\-mno\-lrw\fR" 4
  1186. .IX Item "-mno-lrw"
  1187. .PD
  1188. Enable/disable transformation of \f(CW\*(C`lrw\*(C'\fR instructions into a
  1189. \&\f(CW\*(C`movih\*(C'\fR/\f(CW\*(C`ori\*(C'\fR pair.
  1190. .IP "\fB\-melrw\fR" 4
  1191. .IX Item "-melrw"
  1192. .PD 0
  1193. .IP "\fB\-mno\-elrw\fR" 4
  1194. .IX Item "-mno-elrw"
  1195. .PD
  1196. Enable/disable extended \f(CW\*(C`lrw\*(C'\fR instructions.
  1197. This option is enabled by default for CK800\-series processors.
  1198. .IP "\fB\-mlaf\fR" 4
  1199. .IX Item "-mlaf"
  1200. .PD 0
  1201. .IP "\fB\-mliterals\-after\-func\fR" 4
  1202. .IX Item "-mliterals-after-func"
  1203. .IP "\fB\-mno\-laf\fR" 4
  1204. .IX Item "-mno-laf"
  1205. .IP "\fB\-mno\-literals\-after\-func\fR" 4
  1206. .IX Item "-mno-literals-after-func"
  1207. .PD
  1208. Enable/disable placement of literal pools after each function.
  1209. .IP "\fB\-mlabr\fR" 4
  1210. .IX Item "-mlabr"
  1211. .PD 0
  1212. .IP "\fB\-mliterals\-after\-br\fR" 4
  1213. .IX Item "-mliterals-after-br"
  1214. .IP "\fB\-mno\-labr\fR" 4
  1215. .IX Item "-mno-labr"
  1216. .IP "\fB\-mnoliterals\-after\-br\fR" 4
  1217. .IX Item "-mnoliterals-after-br"
  1218. .PD
  1219. Enable/disable placement of literal pools after unconditional branches.
  1220. This option is enabled by default.
  1221. .IP "\fB\-mistack\fR" 4
  1222. .IX Item "-mistack"
  1223. .PD 0
  1224. .IP "\fB\-mno\-istack\fR" 4
  1225. .IX Item "-mno-istack"
  1226. .PD
  1227. Enable/disable interrupt stack instructions. This option is enabled by
  1228. default on \s-1CK801, CK802,\s0 and \s-1CK802\s0 processors.
  1229. .PP
  1230. The following options explicitly enable certain optional instructions.
  1231. These features are also enabled implicitly by using \f(CW\*(C`\-mcpu=\*(C'\fR to specify
  1232. a processor that supports it.
  1233. .IP "\fB\-mhard\-float\fR" 4
  1234. .IX Item "-mhard-float"
  1235. Enable hard float instructions.
  1236. .IP "\fB\-mmp\fR" 4
  1237. .IX Item "-mmp"
  1238. Enable multiprocessor instructions.
  1239. .IP "\fB\-mcp\fR" 4
  1240. .IX Item "-mcp"
  1241. Enable coprocessor instructions.
  1242. .IP "\fB\-mcache\fR" 4
  1243. .IX Item "-mcache"
  1244. Enable cache prefetch instruction.
  1245. .IP "\fB\-msecurity\fR" 4
  1246. .IX Item "-msecurity"
  1247. Enable C\-SKY security instructions.
  1248. .IP "\fB\-mtrust\fR" 4
  1249. .IX Item "-mtrust"
  1250. Enable C\-SKY trust instructions.
  1251. .IP "\fB\-mdsp\fR" 4
  1252. .IX Item "-mdsp"
  1253. Enable \s-1DSP\s0 instructions.
  1254. .IP "\fB\-medsp\fR" 4
  1255. .IX Item "-medsp"
  1256. Enable enhanced \s-1DSP\s0 instructions.
  1257. .IP "\fB\-mvdsp\fR" 4
  1258. .IX Item "-mvdsp"
  1259. Enable vector \s-1DSP\s0 instructions.
  1260. .PP
  1261. The following options are available when as is configured for
  1262. an Epiphany processor.
  1263. .IP "\fB\-mepiphany\fR" 4
  1264. .IX Item "-mepiphany"
  1265. Specifies that the both 32 and 16 bit instructions are allowed. This is the
  1266. default behavior.
  1267. .IP "\fB\-mepiphany16\fR" 4
  1268. .IX Item "-mepiphany16"
  1269. Restricts the permitted instructions to just the 16 bit set.
  1270. .PP
  1271. The following options are available when as is configured for an H8/300
  1272. processor.
  1273. \&\f(CW@chapter\fR H8/300 Dependent Features
  1274. .SS "Options"
  1275. .IX Subsection "Options"
  1276. The Renesas H8/300 version of \f(CW\*(C`as\*(C'\fR has one
  1277. machine-dependent option:
  1278. .IP "\fB\-h\-tick\-hex\fR" 4
  1279. .IX Item "-h-tick-hex"
  1280. Support H'00 style hex constants in addition to 0x00 style.
  1281. .IP "\fB\-mach=\fR\fIname\fR" 4
  1282. .IX Item "-mach=name"
  1283. Sets the H8300 machine variant. The following machine names
  1284. are recognised:
  1285. \&\f(CW\*(C`h8300h\*(C'\fR,
  1286. \&\f(CW\*(C`h8300hn\*(C'\fR,
  1287. \&\f(CW\*(C`h8300s\*(C'\fR,
  1288. \&\f(CW\*(C`h8300sn\*(C'\fR,
  1289. \&\f(CW\*(C`h8300sx\*(C'\fR and
  1290. \&\f(CW\*(C`h8300sxn\*(C'\fR.
  1291. .PP
  1292. The following options are available when as is configured for
  1293. an i386 processor.
  1294. .IP "\fB\-\-32 | \-\-x32 | \-\-64\fR" 4
  1295. .IX Item "--32 | --x32 | --64"
  1296. Select the word size, either 32 bits or 64 bits. \fB\-\-32\fR
  1297. implies Intel i386 architecture, while \fB\-\-x32\fR and \fB\-\-64\fR
  1298. imply \s-1AMD\s0 x86\-64 architecture with 32\-bit or 64\-bit word-size
  1299. respectively.
  1300. .Sp
  1301. These options are only available with the \s-1ELF\s0 object file format, and
  1302. require that the necessary \s-1BFD\s0 support has been included (on a 32\-bit
  1303. platform you have to add \-\-enable\-64\-bit\-bfd to configure enable 64\-bit
  1304. usage and use x86\-64 as target platform).
  1305. .IP "\fB\-n\fR" 4
  1306. .IX Item "-n"
  1307. By default, x86 \s-1GAS\s0 replaces multiple nop instructions used for
  1308. alignment within code sections with multi-byte nop instructions such
  1309. as leal 0(%esi,1),%esi. This switch disables the optimization if a single
  1310. byte nop (0x90) is explicitly specified as the fill byte for alignment.
  1311. .IP "\fB\-\-divide\fR" 4
  1312. .IX Item "--divide"
  1313. On SVR4\-derived platforms, the character \fB/\fR is treated as a comment
  1314. character, which means that it cannot be used in expressions. The
  1315. \&\fB\-\-divide\fR option turns \fB/\fR into a normal character. This does
  1316. not disable \fB/\fR at the beginning of a line starting a comment, or
  1317. affect using \fB#\fR for starting a comment.
  1318. .IP "\fB\-march=\fR\fI\s-1CPU\s0\fR\fB[+\fR\fI\s-1EXTENSION\s0\fR\fB...]\fR" 4
  1319. .IX Item "-march=CPU[+EXTENSION...]"
  1320. This option specifies the target processor. The assembler will
  1321. issue an error message if an attempt is made to assemble an instruction
  1322. which will not execute on the target processor. The following
  1323. processor names are recognized:
  1324. \&\f(CW\*(C`i8086\*(C'\fR,
  1325. \&\f(CW\*(C`i186\*(C'\fR,
  1326. \&\f(CW\*(C`i286\*(C'\fR,
  1327. \&\f(CW\*(C`i386\*(C'\fR,
  1328. \&\f(CW\*(C`i486\*(C'\fR,
  1329. \&\f(CW\*(C`i586\*(C'\fR,
  1330. \&\f(CW\*(C`i686\*(C'\fR,
  1331. \&\f(CW\*(C`pentium\*(C'\fR,
  1332. \&\f(CW\*(C`pentiumpro\*(C'\fR,
  1333. \&\f(CW\*(C`pentiumii\*(C'\fR,
  1334. \&\f(CW\*(C`pentiumiii\*(C'\fR,
  1335. \&\f(CW\*(C`pentium4\*(C'\fR,
  1336. \&\f(CW\*(C`prescott\*(C'\fR,
  1337. \&\f(CW\*(C`nocona\*(C'\fR,
  1338. \&\f(CW\*(C`core\*(C'\fR,
  1339. \&\f(CW\*(C`core2\*(C'\fR,
  1340. \&\f(CW\*(C`corei7\*(C'\fR,
  1341. \&\f(CW\*(C`l1om\*(C'\fR,
  1342. \&\f(CW\*(C`k1om\*(C'\fR,
  1343. \&\f(CW\*(C`iamcu\*(C'\fR,
  1344. \&\f(CW\*(C`k6\*(C'\fR,
  1345. \&\f(CW\*(C`k6_2\*(C'\fR,
  1346. \&\f(CW\*(C`athlon\*(C'\fR,
  1347. \&\f(CW\*(C`opteron\*(C'\fR,
  1348. \&\f(CW\*(C`k8\*(C'\fR,
  1349. \&\f(CW\*(C`amdfam10\*(C'\fR,
  1350. \&\f(CW\*(C`bdver1\*(C'\fR,
  1351. \&\f(CW\*(C`bdver2\*(C'\fR,
  1352. \&\f(CW\*(C`bdver3\*(C'\fR,
  1353. \&\f(CW\*(C`bdver4\*(C'\fR,
  1354. \&\f(CW\*(C`znver1\*(C'\fR,
  1355. \&\f(CW\*(C`znver2\*(C'\fR,
  1356. \&\f(CW\*(C`btver1\*(C'\fR,
  1357. \&\f(CW\*(C`btver2\*(C'\fR,
  1358. \&\f(CW\*(C`generic32\*(C'\fR and
  1359. \&\f(CW\*(C`generic64\*(C'\fR.
  1360. .Sp
  1361. In addition to the basic instruction set, the assembler can be told to
  1362. accept various extension mnemonics. For example,
  1363. \&\f(CW\*(C`\-march=i686+sse4+vmx\*(C'\fR extends \fIi686\fR with \fIsse4\fR and
  1364. \&\fIvmx\fR. The following extensions are currently supported:
  1365. \&\f(CW8087\fR,
  1366. \&\f(CW287\fR,
  1367. \&\f(CW387\fR,
  1368. \&\f(CW687\fR,
  1369. \&\f(CW\*(C`no87\*(C'\fR,
  1370. \&\f(CW\*(C`no287\*(C'\fR,
  1371. \&\f(CW\*(C`no387\*(C'\fR,
  1372. \&\f(CW\*(C`no687\*(C'\fR,
  1373. \&\f(CW\*(C`cmov\*(C'\fR,
  1374. \&\f(CW\*(C`nocmov\*(C'\fR,
  1375. \&\f(CW\*(C`fxsr\*(C'\fR,
  1376. \&\f(CW\*(C`nofxsr\*(C'\fR,
  1377. \&\f(CW\*(C`mmx\*(C'\fR,
  1378. \&\f(CW\*(C`nommx\*(C'\fR,
  1379. \&\f(CW\*(C`sse\*(C'\fR,
  1380. \&\f(CW\*(C`sse2\*(C'\fR,
  1381. \&\f(CW\*(C`sse3\*(C'\fR,
  1382. \&\f(CW\*(C`sse4a\*(C'\fR,
  1383. \&\f(CW\*(C`ssse3\*(C'\fR,
  1384. \&\f(CW\*(C`sse4.1\*(C'\fR,
  1385. \&\f(CW\*(C`sse4.2\*(C'\fR,
  1386. \&\f(CW\*(C`sse4\*(C'\fR,
  1387. \&\f(CW\*(C`nosse\*(C'\fR,
  1388. \&\f(CW\*(C`nosse2\*(C'\fR,
  1389. \&\f(CW\*(C`nosse3\*(C'\fR,
  1390. \&\f(CW\*(C`nosse4a\*(C'\fR,
  1391. \&\f(CW\*(C`nossse3\*(C'\fR,
  1392. \&\f(CW\*(C`nosse4.1\*(C'\fR,
  1393. \&\f(CW\*(C`nosse4.2\*(C'\fR,
  1394. \&\f(CW\*(C`nosse4\*(C'\fR,
  1395. \&\f(CW\*(C`avx\*(C'\fR,
  1396. \&\f(CW\*(C`avx2\*(C'\fR,
  1397. \&\f(CW\*(C`noavx\*(C'\fR,
  1398. \&\f(CW\*(C`noavx2\*(C'\fR,
  1399. \&\f(CW\*(C`adx\*(C'\fR,
  1400. \&\f(CW\*(C`rdseed\*(C'\fR,
  1401. \&\f(CW\*(C`prfchw\*(C'\fR,
  1402. \&\f(CW\*(C`smap\*(C'\fR,
  1403. \&\f(CW\*(C`mpx\*(C'\fR,
  1404. \&\f(CW\*(C`sha\*(C'\fR,
  1405. \&\f(CW\*(C`rdpid\*(C'\fR,
  1406. \&\f(CW\*(C`ptwrite\*(C'\fR,
  1407. \&\f(CW\*(C`cet\*(C'\fR,
  1408. \&\f(CW\*(C`gfni\*(C'\fR,
  1409. \&\f(CW\*(C`vaes\*(C'\fR,
  1410. \&\f(CW\*(C`vpclmulqdq\*(C'\fR,
  1411. \&\f(CW\*(C`prefetchwt1\*(C'\fR,
  1412. \&\f(CW\*(C`clflushopt\*(C'\fR,
  1413. \&\f(CW\*(C`se1\*(C'\fR,
  1414. \&\f(CW\*(C`clwb\*(C'\fR,
  1415. \&\f(CW\*(C`movdiri\*(C'\fR,
  1416. \&\f(CW\*(C`movdir64b\*(C'\fR,
  1417. \&\f(CW\*(C`enqcmd\*(C'\fR,
  1418. \&\f(CW\*(C`serialize\*(C'\fR,
  1419. \&\f(CW\*(C`tsxldtrk\*(C'\fR,
  1420. \&\f(CW\*(C`avx512f\*(C'\fR,
  1421. \&\f(CW\*(C`avx512cd\*(C'\fR,
  1422. \&\f(CW\*(C`avx512er\*(C'\fR,
  1423. \&\f(CW\*(C`avx512pf\*(C'\fR,
  1424. \&\f(CW\*(C`avx512vl\*(C'\fR,
  1425. \&\f(CW\*(C`avx512bw\*(C'\fR,
  1426. \&\f(CW\*(C`avx512dq\*(C'\fR,
  1427. \&\f(CW\*(C`avx512ifma\*(C'\fR,
  1428. \&\f(CW\*(C`avx512vbmi\*(C'\fR,
  1429. \&\f(CW\*(C`avx512_4fmaps\*(C'\fR,
  1430. \&\f(CW\*(C`avx512_4vnniw\*(C'\fR,
  1431. \&\f(CW\*(C`avx512_vpopcntdq\*(C'\fR,
  1432. \&\f(CW\*(C`avx512_vbmi2\*(C'\fR,
  1433. \&\f(CW\*(C`avx512_vnni\*(C'\fR,
  1434. \&\f(CW\*(C`avx512_bitalg\*(C'\fR,
  1435. \&\f(CW\*(C`avx512_vp2intersect\*(C'\fR,
  1436. \&\f(CW\*(C`avx512_bf16\*(C'\fR,
  1437. \&\f(CW\*(C`noavx512f\*(C'\fR,
  1438. \&\f(CW\*(C`noavx512cd\*(C'\fR,
  1439. \&\f(CW\*(C`noavx512er\*(C'\fR,
  1440. \&\f(CW\*(C`noavx512pf\*(C'\fR,
  1441. \&\f(CW\*(C`noavx512vl\*(C'\fR,
  1442. \&\f(CW\*(C`noavx512bw\*(C'\fR,
  1443. \&\f(CW\*(C`noavx512dq\*(C'\fR,
  1444. \&\f(CW\*(C`noavx512ifma\*(C'\fR,
  1445. \&\f(CW\*(C`noavx512vbmi\*(C'\fR,
  1446. \&\f(CW\*(C`noavx512_4fmaps\*(C'\fR,
  1447. \&\f(CW\*(C`noavx512_4vnniw\*(C'\fR,
  1448. \&\f(CW\*(C`noavx512_vpopcntdq\*(C'\fR,
  1449. \&\f(CW\*(C`noavx512_vbmi2\*(C'\fR,
  1450. \&\f(CW\*(C`noavx512_vnni\*(C'\fR,
  1451. \&\f(CW\*(C`noavx512_bitalg\*(C'\fR,
  1452. \&\f(CW\*(C`noavx512_vp2intersect\*(C'\fR,
  1453. \&\f(CW\*(C`noavx512_bf16\*(C'\fR,
  1454. \&\f(CW\*(C`noenqcmd\*(C'\fR,
  1455. \&\f(CW\*(C`noserialize\*(C'\fR,
  1456. \&\f(CW\*(C`notsxldtrk\*(C'\fR,
  1457. \&\f(CW\*(C`vmx\*(C'\fR,
  1458. \&\f(CW\*(C`vmfunc\*(C'\fR,
  1459. \&\f(CW\*(C`smx\*(C'\fR,
  1460. \&\f(CW\*(C`xsave\*(C'\fR,
  1461. \&\f(CW\*(C`xsaveopt\*(C'\fR,
  1462. \&\f(CW\*(C`xsavec\*(C'\fR,
  1463. \&\f(CW\*(C`xsaves\*(C'\fR,
  1464. \&\f(CW\*(C`aes\*(C'\fR,
  1465. \&\f(CW\*(C`pclmul\*(C'\fR,
  1466. \&\f(CW\*(C`fsgsbase\*(C'\fR,
  1467. \&\f(CW\*(C`rdrnd\*(C'\fR,
  1468. \&\f(CW\*(C`f16c\*(C'\fR,
  1469. \&\f(CW\*(C`bmi2\*(C'\fR,
  1470. \&\f(CW\*(C`fma\*(C'\fR,
  1471. \&\f(CW\*(C`movbe\*(C'\fR,
  1472. \&\f(CW\*(C`ept\*(C'\fR,
  1473. \&\f(CW\*(C`lzcnt\*(C'\fR,
  1474. \&\f(CW\*(C`popcnt\*(C'\fR,
  1475. \&\f(CW\*(C`hle\*(C'\fR,
  1476. \&\f(CW\*(C`rtm\*(C'\fR,
  1477. \&\f(CW\*(C`invpcid\*(C'\fR,
  1478. \&\f(CW\*(C`clflush\*(C'\fR,
  1479. \&\f(CW\*(C`mwaitx\*(C'\fR,
  1480. \&\f(CW\*(C`clzero\*(C'\fR,
  1481. \&\f(CW\*(C`wbnoinvd\*(C'\fR,
  1482. \&\f(CW\*(C`pconfig\*(C'\fR,
  1483. \&\f(CW\*(C`waitpkg\*(C'\fR,
  1484. \&\f(CW\*(C`cldemote\*(C'\fR,
  1485. \&\f(CW\*(C`rdpru\*(C'\fR,
  1486. \&\f(CW\*(C`mcommit\*(C'\fR,
  1487. \&\f(CW\*(C`sev_es\*(C'\fR,
  1488. \&\f(CW\*(C`lwp\*(C'\fR,
  1489. \&\f(CW\*(C`fma4\*(C'\fR,
  1490. \&\f(CW\*(C`xop\*(C'\fR,
  1491. \&\f(CW\*(C`cx16\*(C'\fR,
  1492. \&\f(CW\*(C`syscall\*(C'\fR,
  1493. \&\f(CW\*(C`rdtscp\*(C'\fR,
  1494. \&\f(CW\*(C`3dnow\*(C'\fR,
  1495. \&\f(CW\*(C`3dnowa\*(C'\fR,
  1496. \&\f(CW\*(C`sse4a\*(C'\fR,
  1497. \&\f(CW\*(C`sse5\*(C'\fR,
  1498. \&\f(CW\*(C`svme\*(C'\fR and
  1499. \&\f(CW\*(C`padlock\*(C'\fR.
  1500. Note that rather than extending a basic instruction set, the extension
  1501. mnemonics starting with \f(CW\*(C`no\*(C'\fR revoke the respective functionality.
  1502. .Sp
  1503. When the \f(CW\*(C`.arch\*(C'\fR directive is used with \fB\-march\fR, the
  1504. \&\f(CW\*(C`.arch\*(C'\fR directive will take precedent.
  1505. .IP "\fB\-mtune=\fR\fI\s-1CPU\s0\fR" 4
  1506. .IX Item "-mtune=CPU"
  1507. This option specifies a processor to optimize for. When used in
  1508. conjunction with the \fB\-march\fR option, only instructions
  1509. of the processor specified by the \fB\-march\fR option will be
  1510. generated.
  1511. .Sp
  1512. Valid \fI\s-1CPU\s0\fR values are identical to the processor list of
  1513. \&\fB\-march=\fR\fI\s-1CPU\s0\fR.
  1514. .IP "\fB\-msse2avx\fR" 4
  1515. .IX Item "-msse2avx"
  1516. This option specifies that the assembler should encode \s-1SSE\s0 instructions
  1517. with \s-1VEX\s0 prefix.
  1518. .IP "\fB\-msse\-check=\fR\fInone\fR" 4
  1519. .IX Item "-msse-check=none"
  1520. .PD 0
  1521. .IP "\fB\-msse\-check=\fR\fIwarning\fR" 4
  1522. .IX Item "-msse-check=warning"
  1523. .IP "\fB\-msse\-check=\fR\fIerror\fR" 4
  1524. .IX Item "-msse-check=error"
  1525. .PD
  1526. These options control if the assembler should check \s-1SSE\s0 instructions.
  1527. \&\fB\-msse\-check=\fR\fInone\fR will make the assembler not to check \s-1SSE\s0
  1528. instructions, which is the default. \fB\-msse\-check=\fR\fIwarning\fR
  1529. will make the assembler issue a warning for any \s-1SSE\s0 instruction.
  1530. \&\fB\-msse\-check=\fR\fIerror\fR will make the assembler issue an error
  1531. for any \s-1SSE\s0 instruction.
  1532. .IP "\fB\-mavxscalar=\fR\fI128\fR" 4
  1533. .IX Item "-mavxscalar=128"
  1534. .PD 0
  1535. .IP "\fB\-mavxscalar=\fR\fI256\fR" 4
  1536. .IX Item "-mavxscalar=256"
  1537. .PD
  1538. These options control how the assembler should encode scalar \s-1AVX\s0
  1539. instructions. \fB\-mavxscalar=\fR\fI128\fR will encode scalar
  1540. \&\s-1AVX\s0 instructions with 128bit vector length, which is the default.
  1541. \&\fB\-mavxscalar=\fR\fI256\fR will encode scalar \s-1AVX\s0 instructions
  1542. with 256bit vector length.
  1543. .Sp
  1544. \&\s-1WARNING:\s0 Don't use this for production code \- due to \s-1CPU\s0 errata the
  1545. resulting code may not work on certain models.
  1546. .IP "\fB\-mvexwig=\fR\fI0\fR" 4
  1547. .IX Item "-mvexwig=0"
  1548. .PD 0
  1549. .IP "\fB\-mvexwig=\fR\fI1\fR" 4
  1550. .IX Item "-mvexwig=1"
  1551. .PD
  1552. These options control how the assembler should encode \s-1VEX\s0.W\-ignored (\s-1WIG\s0)
  1553. \&\s-1VEX\s0 instructions. \fB\-mvexwig=\fR\fI0\fR will encode \s-1WIG VEX\s0
  1554. instructions with vex.w = 0, which is the default.
  1555. \&\fB\-mvexwig=\fR\fI1\fR will encode \s-1WIG EVEX\s0 instructions with
  1556. vex.w = 1.
  1557. .Sp
  1558. \&\s-1WARNING:\s0 Don't use this for production code \- due to \s-1CPU\s0 errata the
  1559. resulting code may not work on certain models.
  1560. .IP "\fB\-mevexlig=\fR\fI128\fR" 4
  1561. .IX Item "-mevexlig=128"
  1562. .PD 0
  1563. .IP "\fB\-mevexlig=\fR\fI256\fR" 4
  1564. .IX Item "-mevexlig=256"
  1565. .IP "\fB\-mevexlig=\fR\fI512\fR" 4
  1566. .IX Item "-mevexlig=512"
  1567. .PD
  1568. These options control how the assembler should encode length-ignored
  1569. (\s-1LIG\s0) \s-1EVEX\s0 instructions. \fB\-mevexlig=\fR\fI128\fR will encode \s-1LIG
  1570. EVEX\s0 instructions with 128bit vector length, which is the default.
  1571. \&\fB\-mevexlig=\fR\fI256\fR and \fB\-mevexlig=\fR\fI512\fR will
  1572. encode \s-1LIG EVEX\s0 instructions with 256bit and 512bit vector length,
  1573. respectively.
  1574. .IP "\fB\-mevexwig=\fR\fI0\fR" 4
  1575. .IX Item "-mevexwig=0"
  1576. .PD 0
  1577. .IP "\fB\-mevexwig=\fR\fI1\fR" 4
  1578. .IX Item "-mevexwig=1"
  1579. .PD
  1580. These options control how the assembler should encode w\-ignored (\s-1WIG\s0)
  1581. \&\s-1EVEX\s0 instructions. \fB\-mevexwig=\fR\fI0\fR will encode \s-1WIG
  1582. EVEX\s0 instructions with evex.w = 0, which is the default.
  1583. \&\fB\-mevexwig=\fR\fI1\fR will encode \s-1WIG EVEX\s0 instructions with
  1584. evex.w = 1.
  1585. .IP "\fB\-mmnemonic=\fR\fIatt\fR" 4
  1586. .IX Item "-mmnemonic=att"
  1587. .PD 0
  1588. .IP "\fB\-mmnemonic=\fR\fIintel\fR" 4
  1589. .IX Item "-mmnemonic=intel"
  1590. .PD
  1591. This option specifies instruction mnemonic for matching instructions.
  1592. The \f(CW\*(C`.att_mnemonic\*(C'\fR and \f(CW\*(C`.intel_mnemonic\*(C'\fR directives will
  1593. take precedent.
  1594. .IP "\fB\-msyntax=\fR\fIatt\fR" 4
  1595. .IX Item "-msyntax=att"
  1596. .PD 0
  1597. .IP "\fB\-msyntax=\fR\fIintel\fR" 4
  1598. .IX Item "-msyntax=intel"
  1599. .PD
  1600. This option specifies instruction syntax when processing instructions.
  1601. The \f(CW\*(C`.att_syntax\*(C'\fR and \f(CW\*(C`.intel_syntax\*(C'\fR directives will
  1602. take precedent.
  1603. .IP "\fB\-mnaked\-reg\fR" 4
  1604. .IX Item "-mnaked-reg"
  1605. This option specifies that registers don't require a \fB%\fR prefix.
  1606. The \f(CW\*(C`.att_syntax\*(C'\fR and \f(CW\*(C`.intel_syntax\*(C'\fR directives will take precedent.
  1607. .IP "\fB\-madd\-bnd\-prefix\fR" 4
  1608. .IX Item "-madd-bnd-prefix"
  1609. This option forces the assembler to add \s-1BND\s0 prefix to all branches, even
  1610. if such prefix was not explicitly specified in the source code.
  1611. .IP "\fB\-mno\-shared\fR" 4
  1612. .IX Item "-mno-shared"
  1613. On \s-1ELF\s0 target, the assembler normally optimizes out non-PLT relocations
  1614. against defined non-weak global branch targets with default visibility.
  1615. The \fB\-mshared\fR option tells the assembler to generate code which
  1616. may go into a shared library where all non-weak global branch targets
  1617. with default visibility can be preempted. The resulting code is
  1618. slightly bigger. This option only affects the handling of branch
  1619. instructions.
  1620. .IP "\fB\-mbig\-obj\fR" 4
  1621. .IX Item "-mbig-obj"
  1622. On \s-1PE/COFF\s0 target this option forces the use of big object file
  1623. format, which allows more than 32768 sections.
  1624. .IP "\fB\-momit\-lock\-prefix=\fR\fIno\fR" 4
  1625. .IX Item "-momit-lock-prefix=no"
  1626. .PD 0
  1627. .IP "\fB\-momit\-lock\-prefix=\fR\fIyes\fR" 4
  1628. .IX Item "-momit-lock-prefix=yes"
  1629. .PD
  1630. These options control how the assembler should encode lock prefix.
  1631. This option is intended as a workaround for processors, that fail on
  1632. lock prefix. This option can only be safely used with single-core,
  1633. single-thread computers
  1634. \&\fB\-momit\-lock\-prefix=\fR\fIyes\fR will omit all lock prefixes.
  1635. \&\fB\-momit\-lock\-prefix=\fR\fIno\fR will encode lock prefix as usual,
  1636. which is the default.
  1637. .IP "\fB\-mfence\-as\-lock\-add=\fR\fIno\fR" 4
  1638. .IX Item "-mfence-as-lock-add=no"
  1639. .PD 0
  1640. .IP "\fB\-mfence\-as\-lock\-add=\fR\fIyes\fR" 4
  1641. .IX Item "-mfence-as-lock-add=yes"
  1642. .PD
  1643. These options control how the assembler should encode lfence, mfence and
  1644. sfence.
  1645. \&\fB\-mfence\-as\-lock\-add=\fR\fIyes\fR will encode lfence, mfence and
  1646. sfence as \fBlock addl \f(CB$0x0\fB, (%rsp)\fR in 64\-bit mode and
  1647. \&\fBlock addl \f(CB$0x0\fB, (%esp)\fR in 32\-bit mode.
  1648. \&\fB\-mfence\-as\-lock\-add=\fR\fIno\fR will encode lfence, mfence and
  1649. sfence as usual, which is the default.
  1650. .IP "\fB\-mrelax\-relocations=\fR\fIno\fR" 4
  1651. .IX Item "-mrelax-relocations=no"
  1652. .PD 0
  1653. .IP "\fB\-mrelax\-relocations=\fR\fIyes\fR" 4
  1654. .IX Item "-mrelax-relocations=yes"
  1655. .PD
  1656. These options control whether the assembler should generate relax
  1657. relocations, R_386_GOT32X, in 32\-bit mode, or R_X86_64_GOTPCRELX and
  1658. R_X86_64_REX_GOTPCRELX, in 64\-bit mode.
  1659. \&\fB\-mrelax\-relocations=\fR\fIyes\fR will generate relax relocations.
  1660. \&\fB\-mrelax\-relocations=\fR\fIno\fR will not generate relax
  1661. relocations. The default can be controlled by a configure option
  1662. \&\fB\-\-enable\-x86\-relax\-relocations\fR.
  1663. .IP "\fB\-malign\-branch\-boundary=\fR\fI\s-1NUM\s0\fR" 4
  1664. .IX Item "-malign-branch-boundary=NUM"
  1665. This option controls how the assembler should align branches with segment
  1666. prefixes or \s-1NOP. \s0\fI\s-1NUM\s0\fR must be a power of 2. It should be 0 or
  1667. no less than 16. Branches will be aligned within \fI\s-1NUM\s0\fR byte
  1668. boundary. \fB\-malign\-branch\-boundary=0\fR, which is the default,
  1669. doesn't align branches.
  1670. .IP "\fB\-malign\-branch=\fR\fI\s-1TYPE\s0\fR\fB[+\fR\fI\s-1TYPE\s0\fR\fB...]\fR" 4
  1671. .IX Item "-malign-branch=TYPE[+TYPE...]"
  1672. This option specifies types of branches to align. \fI\s-1TYPE\s0\fR is
  1673. combination of \fBjcc\fR, which aligns conditional jumps,
  1674. \&\fBfused\fR, which aligns fused conditional jumps, \fBjmp\fR,
  1675. which aligns unconditional jumps, \fBcall\fR which aligns calls,
  1676. \&\fBret\fR, which aligns rets, \fBindirect\fR, which aligns indirect
  1677. jumps and calls. The default is \fB\-malign\-branch=jcc+fused+jmp\fR.
  1678. .IP "\fB\-malign\-branch\-prefix\-size=\fR\fI\s-1NUM\s0\fR" 4
  1679. .IX Item "-malign-branch-prefix-size=NUM"
  1680. This option specifies the maximum number of prefixes on an instruction
  1681. to align branches. \fI\s-1NUM\s0\fR should be between 0 and 5. The default
  1682. \&\fI\s-1NUM\s0\fR is 5.
  1683. .IP "\fB\-mbranches\-within\-32B\-boundaries\fR" 4
  1684. .IX Item "-mbranches-within-32B-boundaries"
  1685. This option aligns conditional jumps, fused conditional jumps and
  1686. unconditional jumps within 32 byte boundary with up to 5 segment prefixes
  1687. on an instruction. It is equivalent to
  1688. \&\fB\-malign\-branch\-boundary=32\fR
  1689. \&\fB\-malign\-branch=jcc+fused+jmp\fR
  1690. \&\fB\-malign\-branch\-prefix\-size=5\fR.
  1691. The default doesn't align branches.
  1692. .IP "\fB\-mlfence\-after\-load=\fR\fIno\fR" 4
  1693. .IX Item "-mlfence-after-load=no"
  1694. .PD 0
  1695. .IP "\fB\-mlfence\-after\-load=\fR\fIyes\fR" 4
  1696. .IX Item "-mlfence-after-load=yes"
  1697. .PD
  1698. These options control whether the assembler should generate lfence
  1699. after load instructions. \fB\-mlfence\-after\-load=\fR\fIyes\fR will
  1700. generate lfence. \fB\-mlfence\-after\-load=\fR\fIno\fR will not generate
  1701. lfence, which is the default.
  1702. .IP "\fB\-mlfence\-before\-indirect\-branch=\fR\fInone\fR" 4
  1703. .IX Item "-mlfence-before-indirect-branch=none"
  1704. .PD 0
  1705. .IP "\fB\-mlfence\-before\-indirect\-branch=\fR\fIall\fR" 4
  1706. .IX Item "-mlfence-before-indirect-branch=all"
  1707. .IP "\fB\-mlfence\-before\-indirect\-branch=\fR\fIregister\fR" 4
  1708. .IX Item "-mlfence-before-indirect-branch=register"
  1709. .IP "\fB\-mlfence\-before\-indirect\-branch=\fR\fImemory\fR" 4
  1710. .IX Item "-mlfence-before-indirect-branch=memory"
  1711. .PD
  1712. These options control whether the assembler should generate lfence
  1713. before indirect near branch instructions.
  1714. \&\fB\-mlfence\-before\-indirect\-branch=\fR\fIall\fR will generate lfence
  1715. before indirect near branch via register and issue a warning before
  1716. indirect near branch via memory.
  1717. It also implicitly sets \fB\-mlfence\-before\-ret=\fR\fIshl\fR when
  1718. there's no explict \fB\-mlfence\-before\-ret=\fR.
  1719. \&\fB\-mlfence\-before\-indirect\-branch=\fR\fIregister\fR will generate
  1720. lfence before indirect near branch via register.
  1721. \&\fB\-mlfence\-before\-indirect\-branch=\fR\fImemory\fR will issue a
  1722. warning before indirect near branch via memory.
  1723. \&\fB\-mlfence\-before\-indirect\-branch=\fR\fInone\fR will not generate
  1724. lfence nor issue warning, which is the default. Note that lfence won't
  1725. be generated before indirect near branch via register with
  1726. \&\fB\-mlfence\-after\-load=\fR\fIyes\fR since lfence will be generated
  1727. after loading branch target register.
  1728. .IP "\fB\-mlfence\-before\-ret=\fR\fInone\fR" 4
  1729. .IX Item "-mlfence-before-ret=none"
  1730. .PD 0
  1731. .IP "\fB\-mlfence\-before\-ret=\fR\fIshl\fR" 4
  1732. .IX Item "-mlfence-before-ret=shl"
  1733. .IP "\fB\-mlfence\-before\-ret=\fR\fIor\fR" 4
  1734. .IX Item "-mlfence-before-ret=or"
  1735. .IP "\fB\-mlfence\-before\-ret=\fR\fIyes\fR" 4
  1736. .IX Item "-mlfence-before-ret=yes"
  1737. .IP "\fB\-mlfence\-before\-ret=\fR\fInot\fR" 4
  1738. .IX Item "-mlfence-before-ret=not"
  1739. .PD
  1740. These options control whether the assembler should generate lfence
  1741. before ret. \fB\-mlfence\-before\-ret=\fR\fIor\fR will generate
  1742. generate or instruction with lfence.
  1743. \&\fB\-mlfence\-before\-ret=\fR\fIshl/yes\fR will generate shl instruction
  1744. with lfence. \fB\-mlfence\-before\-ret=\fR\fInot\fR will generate not
  1745. instruction with lfence. \fB\-mlfence\-before\-ret=\fR\fInone\fR will not
  1746. generate lfence, which is the default.
  1747. .IP "\fB\-mx86\-used\-note=\fR\fIno\fR" 4
  1748. .IX Item "-mx86-used-note=no"
  1749. .PD 0
  1750. .IP "\fB\-mx86\-used\-note=\fR\fIyes\fR" 4
  1751. .IX Item "-mx86-used-note=yes"
  1752. .PD
  1753. These options control whether the assembler should generate
  1754. \&\s-1GNU_PROPERTY_X86_ISA_1_USED\s0 and \s-1GNU_PROPERTY_X86_FEATURE_2_USED
  1755. GNU\s0 property notes. The default can be controlled by the
  1756. \&\fB\-\-enable\-x86\-used\-note\fR configure option.
  1757. .IP "\fB\-mevexrcig=\fR\fIrne\fR" 4
  1758. .IX Item "-mevexrcig=rne"
  1759. .PD 0
  1760. .IP "\fB\-mevexrcig=\fR\fIrd\fR" 4
  1761. .IX Item "-mevexrcig=rd"
  1762. .IP "\fB\-mevexrcig=\fR\fIru\fR" 4
  1763. .IX Item "-mevexrcig=ru"
  1764. .IP "\fB\-mevexrcig=\fR\fIrz\fR" 4
  1765. .IX Item "-mevexrcig=rz"
  1766. .PD
  1767. These options control how the assembler should encode SAE-only
  1768. \&\s-1EVEX\s0 instructions. \fB\-mevexrcig=\fR\fIrne\fR will encode \s-1RC\s0 bits
  1769. of \s-1EVEX\s0 instruction with 00, which is the default.
  1770. \&\fB\-mevexrcig=\fR\fIrd\fR, \fB\-mevexrcig=\fR\fIru\fR
  1771. and \fB\-mevexrcig=\fR\fIrz\fR will encode SAE-only \s-1EVEX\s0 instructions
  1772. with 01, 10 and 11 \s-1RC\s0 bits, respectively.
  1773. .IP "\fB\-mamd64\fR" 4
  1774. .IX Item "-mamd64"
  1775. .PD 0
  1776. .IP "\fB\-mintel64\fR" 4
  1777. .IX Item "-mintel64"
  1778. .PD
  1779. This option specifies that the assembler should accept only \s-1AMD64\s0 or
  1780. Intel64 \s-1ISA\s0 in 64\-bit mode. The default is to accept common, Intel64
  1781. only and \s-1AMD64\s0 ISAs.
  1782. .IP "\fB\-O0 | \-O | \-O1 | \-O2 | \-Os\fR" 4
  1783. .IX Item "-O0 | -O | -O1 | -O2 | -Os"
  1784. Optimize instruction encoding with smaller instruction size. \fB\-O\fR
  1785. and \fB\-O1\fR encode 64\-bit register load instructions with 64\-bit
  1786. immediate as 32\-bit register load instructions with 31\-bit or 32\-bits
  1787. immediates, encode 64\-bit register clearing instructions with 32\-bit
  1788. register clearing instructions, encode 256\-bit/512\-bit \s-1VEX/EVEX\s0 vector
  1789. register clearing instructions with 128\-bit \s-1VEX\s0 vector register
  1790. clearing instructions, encode 128\-bit/256\-bit \s-1EVEX\s0 vector
  1791. register load/store instructions with \s-1VEX\s0 vector register load/store
  1792. instructions, and encode 128\-bit/256\-bit \s-1EVEX\s0 packed integer logical
  1793. instructions with 128\-bit/256\-bit \s-1VEX\s0 packed integer logical.
  1794. .Sp
  1795. \&\fB\-O2\fR includes \fB\-O1\fR optimization plus encodes
  1796. 256\-bit/512\-bit \s-1EVEX\s0 vector register clearing instructions with 128\-bit
  1797. \&\s-1EVEX\s0 vector register clearing instructions. In 64\-bit mode \s-1VEX\s0 encoded
  1798. instructions with commutative source operands will also have their
  1799. source operands swapped if this allows using the 2\-byte \s-1VEX\s0 prefix form
  1800. instead of the 3\-byte one. Certain forms of \s-1AND\s0 as well as \s-1OR\s0 with the
  1801. same (register) operand specified twice will also be changed to \s-1TEST.\s0
  1802. .Sp
  1803. \&\fB\-Os\fR includes \fB\-O2\fR optimization plus encodes 16\-bit, 32\-bit
  1804. and 64\-bit register tests with immediate as 8\-bit register test with
  1805. immediate. \fB\-O0\fR turns off this optimization.
  1806. .PP
  1807. The following options are available when as is configured for the
  1808. Ubicom \s-1IP2K\s0 series.
  1809. .IP "\fB\-mip2022ext\fR" 4
  1810. .IX Item "-mip2022ext"
  1811. Specifies that the extended \s-1IP2022\s0 instructions are allowed.
  1812. .IP "\fB\-mip2022\fR" 4
  1813. .IX Item "-mip2022"
  1814. Restores the default behaviour, which restricts the permitted instructions to
  1815. just the basic \s-1IP2022\s0 ones.
  1816. .PP
  1817. The following options are available when as is configured for the
  1818. Renesas M32C and M16C processors.
  1819. .IP "\fB\-m32c\fR" 4
  1820. .IX Item "-m32c"
  1821. Assemble M32C instructions.
  1822. .IP "\fB\-m16c\fR" 4
  1823. .IX Item "-m16c"
  1824. Assemble M16C instructions (the default).
  1825. .IP "\fB\-relax\fR" 4
  1826. .IX Item "-relax"
  1827. Enable support for link-time relaxations.
  1828. .IP "\fB\-h\-tick\-hex\fR" 4
  1829. .IX Item "-h-tick-hex"
  1830. Support H'00 style hex constants in addition to 0x00 style.
  1831. .PP
  1832. The following options are available when as is configured for the
  1833. Renesas M32R (formerly Mitsubishi M32R) series.
  1834. .IP "\fB\-\-m32rx\fR" 4
  1835. .IX Item "--m32rx"
  1836. Specify which processor in the M32R family is the target. The default
  1837. is normally the M32R, but this option changes it to the M32RX.
  1838. .IP "\fB\-\-warn\-explicit\-parallel\-conflicts or \-\-Wp\fR" 4
  1839. .IX Item "--warn-explicit-parallel-conflicts or --Wp"
  1840. Produce warning messages when questionable parallel constructs are
  1841. encountered.
  1842. .IP "\fB\-\-no\-warn\-explicit\-parallel\-conflicts or \-\-Wnp\fR" 4
  1843. .IX Item "--no-warn-explicit-parallel-conflicts or --Wnp"
  1844. Do not produce warning messages when questionable parallel constructs are
  1845. encountered.
  1846. .PP
  1847. The following options are available when as is configured for the
  1848. Motorola 68000 series.
  1849. .IP "\fB\-l\fR" 4
  1850. .IX Item "-l"
  1851. Shorten references to undefined symbols, to one word instead of two.
  1852. .IP "\fB\-m68000 | \-m68008 | \-m68010 | \-m68020 | \-m68030\fR" 4
  1853. .IX Item "-m68000 | -m68008 | -m68010 | -m68020 | -m68030"
  1854. .PD 0
  1855. .IP "\fB| \-m68040 | \-m68060 | \-m68302 | \-m68331 | \-m68332\fR" 4
  1856. .IX Item "| -m68040 | -m68060 | -m68302 | -m68331 | -m68332"
  1857. .IP "\fB| \-m68333 | \-m68340 | \-mcpu32 | \-m5200\fR" 4
  1858. .IX Item "| -m68333 | -m68340 | -mcpu32 | -m5200"
  1859. .PD
  1860. Specify what processor in the 68000 family is the target. The default
  1861. is normally the 68020, but this can be changed at configuration time.
  1862. .IP "\fB\-m68881 | \-m68882 | \-mno\-68881 | \-mno\-68882\fR" 4
  1863. .IX Item "-m68881 | -m68882 | -mno-68881 | -mno-68882"
  1864. The target machine does (or does not) have a floating-point coprocessor.
  1865. The default is to assume a coprocessor for 68020, 68030, and cpu32. Although
  1866. the basic 68000 is not compatible with the 68881, a combination of the
  1867. two can be specified, since it's possible to do emulation of the
  1868. coprocessor instructions with the main processor.
  1869. .IP "\fB\-m68851 | \-mno\-68851\fR" 4
  1870. .IX Item "-m68851 | -mno-68851"
  1871. The target machine does (or does not) have a memory-management
  1872. unit coprocessor. The default is to assume an \s-1MMU\s0 for 68020 and up.
  1873. .PP
  1874. The following options are available when as is configured for an
  1875. Altera Nios \s-1II\s0 processor.
  1876. .IP "\fB\-relax\-section\fR" 4
  1877. .IX Item "-relax-section"
  1878. Replace identified out-of-range branches with PC-relative \f(CW\*(C`jmp\*(C'\fR
  1879. sequences when possible. The generated code sequences are suitable
  1880. for use in position-independent code, but there is a practical limit
  1881. on the extended branch range because of the length of the sequences.
  1882. This option is the default.
  1883. .IP "\fB\-relax\-all\fR" 4
  1884. .IX Item "-relax-all"
  1885. Replace branch instructions not determinable to be in range
  1886. and all call instructions with \f(CW\*(C`jmp\*(C'\fR and \f(CW\*(C`callr\*(C'\fR sequences
  1887. (respectively). This option generates absolute relocations against the
  1888. target symbols and is not appropriate for position-independent code.
  1889. .IP "\fB\-no\-relax\fR" 4
  1890. .IX Item "-no-relax"
  1891. Do not replace any branches or calls.
  1892. .IP "\fB\-EB\fR" 4
  1893. .IX Item "-EB"
  1894. Generate big-endian output.
  1895. .IP "\fB\-EL\fR" 4
  1896. .IX Item "-EL"
  1897. Generate little-endian output. This is the default.
  1898. .IP "\fB\-march=\fR\fIarchitecture\fR" 4
  1899. .IX Item "-march=architecture"
  1900. This option specifies the target architecture. The assembler issues
  1901. an error message if an attempt is made to assemble an instruction which
  1902. will not execute on the target architecture. The following architecture
  1903. names are recognized:
  1904. \&\f(CW\*(C`r1\*(C'\fR,
  1905. \&\f(CW\*(C`r2\*(C'\fR.
  1906. The default is \f(CW\*(C`r1\*(C'\fR.
  1907. .PP
  1908. The following options are available when as is configured for a
  1909. \&\s-1PRU\s0 processor.
  1910. .IP "\fB\-mlink\-relax\fR" 4
  1911. .IX Item "-mlink-relax"
  1912. Assume that \s-1LD\s0 would optimize \s-1LDI32\s0 instructions by checking the upper
  1913. 16 bits of the \fIexpression\fR. If they are all zeros, then \s-1LD\s0 would
  1914. shorten the \s-1LDI32\s0 instruction to a single \s-1LDI.\s0 In such case \f(CW\*(C`as\*(C'\fR
  1915. will output \s-1DIFF\s0 relocations for diff expressions.
  1916. .IP "\fB\-mno\-link\-relax\fR" 4
  1917. .IX Item "-mno-link-relax"
  1918. Assume that \s-1LD\s0 would not optimize \s-1LDI32\s0 instructions. As a consequence,
  1919. \&\s-1DIFF\s0 relocations will not be emitted.
  1920. .IP "\fB\-mno\-warn\-regname\-label\fR" 4
  1921. .IX Item "-mno-warn-regname-label"
  1922. Do not warn if a label name matches a register name. Usually assembler
  1923. programmers will want this warning to be emitted. C compilers may want
  1924. to turn this off.
  1925. .PP
  1926. The following options are available when as is configured for
  1927. a \s-1MIPS\s0 processor.
  1928. .IP "\fB\-G\fR \fInum\fR" 4
  1929. .IX Item "-G num"
  1930. This option sets the largest size of an object that can be referenced
  1931. implicitly with the \f(CW\*(C`gp\*(C'\fR register. It is only accepted for targets that
  1932. use \s-1ECOFF\s0 format, such as a DECstation running Ultrix. The default value is 8.
  1933. .IP "\fB\-EB\fR" 4
  1934. .IX Item "-EB"
  1935. Generate \*(L"big endian\*(R" format output.
  1936. .IP "\fB\-EL\fR" 4
  1937. .IX Item "-EL"
  1938. Generate \*(L"little endian\*(R" format output.
  1939. .IP "\fB\-mips1\fR" 4
  1940. .IX Item "-mips1"
  1941. .PD 0
  1942. .IP "\fB\-mips2\fR" 4
  1943. .IX Item "-mips2"
  1944. .IP "\fB\-mips3\fR" 4
  1945. .IX Item "-mips3"
  1946. .IP "\fB\-mips4\fR" 4
  1947. .IX Item "-mips4"
  1948. .IP "\fB\-mips5\fR" 4
  1949. .IX Item "-mips5"
  1950. .IP "\fB\-mips32\fR" 4
  1951. .IX Item "-mips32"
  1952. .IP "\fB\-mips32r2\fR" 4
  1953. .IX Item "-mips32r2"
  1954. .IP "\fB\-mips32r3\fR" 4
  1955. .IX Item "-mips32r3"
  1956. .IP "\fB\-mips32r5\fR" 4
  1957. .IX Item "-mips32r5"
  1958. .IP "\fB\-mips32r6\fR" 4
  1959. .IX Item "-mips32r6"
  1960. .IP "\fB\-mips64\fR" 4
  1961. .IX Item "-mips64"
  1962. .IP "\fB\-mips64r2\fR" 4
  1963. .IX Item "-mips64r2"
  1964. .IP "\fB\-mips64r3\fR" 4
  1965. .IX Item "-mips64r3"
  1966. .IP "\fB\-mips64r5\fR" 4
  1967. .IX Item "-mips64r5"
  1968. .IP "\fB\-mips64r6\fR" 4
  1969. .IX Item "-mips64r6"
  1970. .PD
  1971. Generate code for a particular \s-1MIPS\s0 Instruction Set Architecture level.
  1972. \&\fB\-mips1\fR is an alias for \fB\-march=r3000\fR, \fB\-mips2\fR is an
  1973. alias for \fB\-march=r6000\fR, \fB\-mips3\fR is an alias for
  1974. \&\fB\-march=r4000\fR and \fB\-mips4\fR is an alias for \fB\-march=r8000\fR.
  1975. \&\fB\-mips5\fR, \fB\-mips32\fR, \fB\-mips32r2\fR, \fB\-mips32r3\fR,
  1976. \&\fB\-mips32r5\fR, \fB\-mips32r6\fR, \fB\-mips64\fR, \fB\-mips64r2\fR,
  1977. \&\fB\-mips64r3\fR, \fB\-mips64r5\fR, and \fB\-mips64r6\fR correspond to generic
  1978. \&\s-1MIPS V, MIPS32, MIPS32\s0 Release 2, \s-1MIPS32\s0 Release 3, \s-1MIPS32\s0 Release 5, \s-1MIPS32\s0
  1979. Release 6, \s-1MIPS64, MIPS64\s0 Release 2, \s-1MIPS64\s0 Release 3, \s-1MIPS64\s0 Release 5, and
  1980. \&\s-1MIPS64\s0 Release 6 \s-1ISA\s0 processors, respectively.
  1981. .IP "\fB\-march=\fR\fIcpu\fR" 4
  1982. .IX Item "-march=cpu"
  1983. Generate code for a particular \s-1MIPS CPU.\s0
  1984. .IP "\fB\-mtune=\fR\fIcpu\fR" 4
  1985. .IX Item "-mtune=cpu"
  1986. Schedule and tune for a particular \s-1MIPS CPU.\s0
  1987. .IP "\fB\-mfix7000\fR" 4
  1988. .IX Item "-mfix7000"
  1989. .PD 0
  1990. .IP "\fB\-mno\-fix7000\fR" 4
  1991. .IX Item "-mno-fix7000"
  1992. .PD
  1993. Cause nops to be inserted if the read of the destination register
  1994. of an mfhi or mflo instruction occurs in the following two instructions.
  1995. .IP "\fB\-mfix\-rm7000\fR" 4
  1996. .IX Item "-mfix-rm7000"
  1997. .PD 0
  1998. .IP "\fB\-mno\-fix\-rm7000\fR" 4
  1999. .IX Item "-mno-fix-rm7000"
  2000. .PD
  2001. Cause nops to be inserted if a dmult or dmultu instruction is
  2002. followed by a load instruction.
  2003. .IP "\fB\-mfix\-r5900\fR" 4
  2004. .IX Item "-mfix-r5900"
  2005. .PD 0
  2006. .IP "\fB\-mno\-fix\-r5900\fR" 4
  2007. .IX Item "-mno-fix-r5900"
  2008. .PD
  2009. Do not attempt to schedule the preceding instruction into the delay slot
  2010. of a branch instruction placed at the end of a short loop of six
  2011. instructions or fewer and always schedule a \f(CW\*(C`nop\*(C'\fR instruction there
  2012. instead. The short loop bug under certain conditions causes loops to
  2013. execute only once or twice, due to a hardware bug in the R5900 chip.
  2014. .IP "\fB\-mdebug\fR" 4
  2015. .IX Item "-mdebug"
  2016. .PD 0
  2017. .IP "\fB\-no\-mdebug\fR" 4
  2018. .IX Item "-no-mdebug"
  2019. .PD
  2020. Cause stabs-style debugging output to go into an ECOFF-style .mdebug
  2021. section instead of the standard \s-1ELF \s0.stabs sections.
  2022. .IP "\fB\-mpdr\fR" 4
  2023. .IX Item "-mpdr"
  2024. .PD 0
  2025. .IP "\fB\-mno\-pdr\fR" 4
  2026. .IX Item "-mno-pdr"
  2027. .PD
  2028. Control generation of \f(CW\*(C`.pdr\*(C'\fR sections.
  2029. .IP "\fB\-mgp32\fR" 4
  2030. .IX Item "-mgp32"
  2031. .PD 0
  2032. .IP "\fB\-mfp32\fR" 4
  2033. .IX Item "-mfp32"
  2034. .PD
  2035. The register sizes are normally inferred from the \s-1ISA\s0 and \s-1ABI,\s0 but these
  2036. flags force a certain group of registers to be treated as 32 bits wide at
  2037. all times. \fB\-mgp32\fR controls the size of general-purpose registers
  2038. and \fB\-mfp32\fR controls the size of floating-point registers.
  2039. .IP "\fB\-mgp64\fR" 4
  2040. .IX Item "-mgp64"
  2041. .PD 0
  2042. .IP "\fB\-mfp64\fR" 4
  2043. .IX Item "-mfp64"
  2044. .PD
  2045. The register sizes are normally inferred from the \s-1ISA\s0 and \s-1ABI,\s0 but these
  2046. flags force a certain group of registers to be treated as 64 bits wide at
  2047. all times. \fB\-mgp64\fR controls the size of general-purpose registers
  2048. and \fB\-mfp64\fR controls the size of floating-point registers.
  2049. .IP "\fB\-mfpxx\fR" 4
  2050. .IX Item "-mfpxx"
  2051. The register sizes are normally inferred from the \s-1ISA\s0 and \s-1ABI,\s0 but using
  2052. this flag in combination with \fB\-mabi=32\fR enables an \s-1ABI\s0 variant
  2053. which will operate correctly with floating-point registers which are
  2054. 32 or 64 bits wide.
  2055. .IP "\fB\-modd\-spreg\fR" 4
  2056. .IX Item "-modd-spreg"
  2057. .PD 0
  2058. .IP "\fB\-mno\-odd\-spreg\fR" 4
  2059. .IX Item "-mno-odd-spreg"
  2060. .PD
  2061. Enable use of floating-point operations on odd-numbered single-precision
  2062. registers when supported by the \s-1ISA. \s0\fB\-mfpxx\fR implies
  2063. \&\fB\-mno\-odd\-spreg\fR, otherwise the default is \fB\-modd\-spreg\fR.
  2064. .IP "\fB\-mips16\fR" 4
  2065. .IX Item "-mips16"
  2066. .PD 0
  2067. .IP "\fB\-no\-mips16\fR" 4
  2068. .IX Item "-no-mips16"
  2069. .PD
  2070. Generate code for the \s-1MIPS 16\s0 processor. This is equivalent to putting
  2071. \&\f(CW\*(C`.module mips16\*(C'\fR at the start of the assembly file. \fB\-no\-mips16\fR
  2072. turns off this option.
  2073. .IP "\fB\-mmips16e2\fR" 4
  2074. .IX Item "-mmips16e2"
  2075. .PD 0
  2076. .IP "\fB\-mno\-mips16e2\fR" 4
  2077. .IX Item "-mno-mips16e2"
  2078. .PD
  2079. Enable the use of MIPS16e2 instructions in \s-1MIPS16\s0 mode. This is equivalent
  2080. to putting \f(CW\*(C`.module mips16e2\*(C'\fR at the start of the assembly file.
  2081. \&\fB\-mno\-mips16e2\fR turns off this option.
  2082. .IP "\fB\-mmicromips\fR" 4
  2083. .IX Item "-mmicromips"
  2084. .PD 0
  2085. .IP "\fB\-mno\-micromips\fR" 4
  2086. .IX Item "-mno-micromips"
  2087. .PD
  2088. Generate code for the microMIPS processor. This is equivalent to putting
  2089. \&\f(CW\*(C`.module micromips\*(C'\fR at the start of the assembly file.
  2090. \&\fB\-mno\-micromips\fR turns off this option. This is equivalent to putting
  2091. \&\f(CW\*(C`.module nomicromips\*(C'\fR at the start of the assembly file.
  2092. .IP "\fB\-msmartmips\fR" 4
  2093. .IX Item "-msmartmips"
  2094. .PD 0
  2095. .IP "\fB\-mno\-smartmips\fR" 4
  2096. .IX Item "-mno-smartmips"
  2097. .PD
  2098. Enables the SmartMIPS extension to the \s-1MIPS32\s0 instruction set. This is
  2099. equivalent to putting \f(CW\*(C`.module smartmips\*(C'\fR at the start of the assembly
  2100. file. \fB\-mno\-smartmips\fR turns off this option.
  2101. .IP "\fB\-mips3d\fR" 4
  2102. .IX Item "-mips3d"
  2103. .PD 0
  2104. .IP "\fB\-no\-mips3d\fR" 4
  2105. .IX Item "-no-mips3d"
  2106. .PD
  2107. Generate code for the \s-1MIPS\-3D\s0 Application Specific Extension.
  2108. This tells the assembler to accept \s-1MIPS\-3D\s0 instructions.
  2109. \&\fB\-no\-mips3d\fR turns off this option.
  2110. .IP "\fB\-mdmx\fR" 4
  2111. .IX Item "-mdmx"
  2112. .PD 0
  2113. .IP "\fB\-no\-mdmx\fR" 4
  2114. .IX Item "-no-mdmx"
  2115. .PD
  2116. Generate code for the \s-1MDMX\s0 Application Specific Extension.
  2117. This tells the assembler to accept \s-1MDMX\s0 instructions.
  2118. \&\fB\-no\-mdmx\fR turns off this option.
  2119. .IP "\fB\-mdsp\fR" 4
  2120. .IX Item "-mdsp"
  2121. .PD 0
  2122. .IP "\fB\-mno\-dsp\fR" 4
  2123. .IX Item "-mno-dsp"
  2124. .PD
  2125. Generate code for the \s-1DSP\s0 Release 1 Application Specific Extension.
  2126. This tells the assembler to accept \s-1DSP\s0 Release 1 instructions.
  2127. \&\fB\-mno\-dsp\fR turns off this option.
  2128. .IP "\fB\-mdspr2\fR" 4
  2129. .IX Item "-mdspr2"
  2130. .PD 0
  2131. .IP "\fB\-mno\-dspr2\fR" 4
  2132. .IX Item "-mno-dspr2"
  2133. .PD
  2134. Generate code for the \s-1DSP\s0 Release 2 Application Specific Extension.
  2135. This option implies \fB\-mdsp\fR.
  2136. This tells the assembler to accept \s-1DSP\s0 Release 2 instructions.
  2137. \&\fB\-mno\-dspr2\fR turns off this option.
  2138. .IP "\fB\-mdspr3\fR" 4
  2139. .IX Item "-mdspr3"
  2140. .PD 0
  2141. .IP "\fB\-mno\-dspr3\fR" 4
  2142. .IX Item "-mno-dspr3"
  2143. .PD
  2144. Generate code for the \s-1DSP\s0 Release 3 Application Specific Extension.
  2145. This option implies \fB\-mdsp\fR and \fB\-mdspr2\fR.
  2146. This tells the assembler to accept \s-1DSP\s0 Release 3 instructions.
  2147. \&\fB\-mno\-dspr3\fR turns off this option.
  2148. .IP "\fB\-mmsa\fR" 4
  2149. .IX Item "-mmsa"
  2150. .PD 0
  2151. .IP "\fB\-mno\-msa\fR" 4
  2152. .IX Item "-mno-msa"
  2153. .PD
  2154. Generate code for the \s-1MIPS SIMD\s0 Architecture Extension.
  2155. This tells the assembler to accept \s-1MSA\s0 instructions.
  2156. \&\fB\-mno\-msa\fR turns off this option.
  2157. .IP "\fB\-mxpa\fR" 4
  2158. .IX Item "-mxpa"
  2159. .PD 0
  2160. .IP "\fB\-mno\-xpa\fR" 4
  2161. .IX Item "-mno-xpa"
  2162. .PD
  2163. Generate code for the \s-1MIPS\s0 eXtended Physical Address (\s-1XPA\s0) Extension.
  2164. This tells the assembler to accept \s-1XPA\s0 instructions.
  2165. \&\fB\-mno\-xpa\fR turns off this option.
  2166. .IP "\fB\-mmt\fR" 4
  2167. .IX Item "-mmt"
  2168. .PD 0
  2169. .IP "\fB\-mno\-mt\fR" 4
  2170. .IX Item "-mno-mt"
  2171. .PD
  2172. Generate code for the \s-1MT\s0 Application Specific Extension.
  2173. This tells the assembler to accept \s-1MT\s0 instructions.
  2174. \&\fB\-mno\-mt\fR turns off this option.
  2175. .IP "\fB\-mmcu\fR" 4
  2176. .IX Item "-mmcu"
  2177. .PD 0
  2178. .IP "\fB\-mno\-mcu\fR" 4
  2179. .IX Item "-mno-mcu"
  2180. .PD
  2181. Generate code for the \s-1MCU\s0 Application Specific Extension.
  2182. This tells the assembler to accept \s-1MCU\s0 instructions.
  2183. \&\fB\-mno\-mcu\fR turns off this option.
  2184. .IP "\fB\-mcrc\fR" 4
  2185. .IX Item "-mcrc"
  2186. .PD 0
  2187. .IP "\fB\-mno\-crc\fR" 4
  2188. .IX Item "-mno-crc"
  2189. .PD
  2190. Generate code for the \s-1MIPS\s0 cyclic redundancy check (\s-1CRC\s0) Application
  2191. Specific Extension. This tells the assembler to accept \s-1CRC\s0 instructions.
  2192. \&\fB\-mno\-crc\fR turns off this option.
  2193. .IP "\fB\-mginv\fR" 4
  2194. .IX Item "-mginv"
  2195. .PD 0
  2196. .IP "\fB\-mno\-ginv\fR" 4
  2197. .IX Item "-mno-ginv"
  2198. .PD
  2199. Generate code for the Global INValidate (\s-1GINV\s0) Application Specific
  2200. Extension. This tells the assembler to accept \s-1GINV\s0 instructions.
  2201. \&\fB\-mno\-ginv\fR turns off this option.
  2202. .IP "\fB\-mloongson\-mmi\fR" 4
  2203. .IX Item "-mloongson-mmi"
  2204. .PD 0
  2205. .IP "\fB\-mno\-loongson\-mmi\fR" 4
  2206. .IX Item "-mno-loongson-mmi"
  2207. .PD
  2208. Generate code for the Loongson MultiMedia extensions Instructions (\s-1MMI\s0)
  2209. Application Specific Extension. This tells the assembler to accept \s-1MMI\s0
  2210. instructions.
  2211. \&\fB\-mno\-loongson\-mmi\fR turns off this option.
  2212. .IP "\fB\-mloongson\-cam\fR" 4
  2213. .IX Item "-mloongson-cam"
  2214. .PD 0
  2215. .IP "\fB\-mno\-loongson\-cam\fR" 4
  2216. .IX Item "-mno-loongson-cam"
  2217. .PD
  2218. Generate code for the Loongson Content Address Memory (\s-1CAM\s0) instructions.
  2219. This tells the assembler to accept Loongson \s-1CAM\s0 instructions.
  2220. \&\fB\-mno\-loongson\-cam\fR turns off this option.
  2221. .IP "\fB\-mloongson\-ext\fR" 4
  2222. .IX Item "-mloongson-ext"
  2223. .PD 0
  2224. .IP "\fB\-mno\-loongson\-ext\fR" 4
  2225. .IX Item "-mno-loongson-ext"
  2226. .PD
  2227. Generate code for the Loongson EXTensions (\s-1EXT\s0) instructions.
  2228. This tells the assembler to accept Loongson \s-1EXT\s0 instructions.
  2229. \&\fB\-mno\-loongson\-ext\fR turns off this option.
  2230. .IP "\fB\-mloongson\-ext2\fR" 4
  2231. .IX Item "-mloongson-ext2"
  2232. .PD 0
  2233. .IP "\fB\-mno\-loongson\-ext2\fR" 4
  2234. .IX Item "-mno-loongson-ext2"
  2235. .PD
  2236. Generate code for the Loongson EXTensions R2 (\s-1EXT2\s0) instructions.
  2237. This option implies \fB\-mloongson\-ext\fR.
  2238. This tells the assembler to accept Loongson \s-1EXT2\s0 instructions.
  2239. \&\fB\-mno\-loongson\-ext2\fR turns off this option.
  2240. .IP "\fB\-minsn32\fR" 4
  2241. .IX Item "-minsn32"
  2242. .PD 0
  2243. .IP "\fB\-mno\-insn32\fR" 4
  2244. .IX Item "-mno-insn32"
  2245. .PD
  2246. Only use 32\-bit instruction encodings when generating code for the
  2247. microMIPS processor. This option inhibits the use of any 16\-bit
  2248. instructions. This is equivalent to putting \f(CW\*(C`.set insn32\*(C'\fR at
  2249. the start of the assembly file. \fB\-mno\-insn32\fR turns off this
  2250. option. This is equivalent to putting \f(CW\*(C`.set noinsn32\*(C'\fR at the
  2251. start of the assembly file. By default \fB\-mno\-insn32\fR is
  2252. selected, allowing all instructions to be used.
  2253. .IP "\fB\-\-construct\-floats\fR" 4
  2254. .IX Item "--construct-floats"
  2255. .PD 0
  2256. .IP "\fB\-\-no\-construct\-floats\fR" 4
  2257. .IX Item "--no-construct-floats"
  2258. .PD
  2259. The \fB\-\-no\-construct\-floats\fR option disables the construction of
  2260. double width floating point constants by loading the two halves of the
  2261. value into the two single width floating point registers that make up
  2262. the double width register. By default \fB\-\-construct\-floats\fR is
  2263. selected, allowing construction of these floating point constants.
  2264. .IP "\fB\-\-relax\-branch\fR" 4
  2265. .IX Item "--relax-branch"
  2266. .PD 0
  2267. .IP "\fB\-\-no\-relax\-branch\fR" 4
  2268. .IX Item "--no-relax-branch"
  2269. .PD
  2270. The \fB\-\-relax\-branch\fR option enables the relaxation of out-of-range
  2271. branches. By default \fB\-\-no\-relax\-branch\fR is selected, causing any
  2272. out-of-range branches to produce an error.
  2273. .IP "\fB\-mignore\-branch\-isa\fR" 4
  2274. .IX Item "-mignore-branch-isa"
  2275. .PD 0
  2276. .IP "\fB\-mno\-ignore\-branch\-isa\fR" 4
  2277. .IX Item "-mno-ignore-branch-isa"
  2278. .PD
  2279. Ignore branch checks for invalid transitions between \s-1ISA\s0 modes. The
  2280. semantics of branches does not provide for an \s-1ISA\s0 mode switch, so in
  2281. most cases the \s-1ISA\s0 mode a branch has been encoded for has to be the
  2282. same as the \s-1ISA\s0 mode of the branch's target label. Therefore \s-1GAS\s0 has
  2283. checks implemented that verify in branch assembly that the two \s-1ISA\s0
  2284. modes match. \fB\-mignore\-branch\-isa\fR disables these checks. By
  2285. default \fB\-mno\-ignore\-branch\-isa\fR is selected, causing any invalid
  2286. branch requiring a transition between \s-1ISA\s0 modes to produce an error.
  2287. .IP "\fB\-mnan=\fR\fIencoding\fR" 4
  2288. .IX Item "-mnan=encoding"
  2289. Select between the \s-1IEEE 754\-2008 \s0(\fB\-mnan=2008\fR) or the legacy
  2290. (\fB\-mnan=legacy\fR) NaN encoding format. The latter is the default.
  2291. .IP "\fB\-\-emulation=\fR\fIname\fR" 4
  2292. .IX Item "--emulation=name"
  2293. This option was formerly used to switch between \s-1ELF\s0 and \s-1ECOFF\s0 output
  2294. on targets like \s-1IRIX 5\s0 that supported both. \s-1MIPS ECOFF\s0 support was
  2295. removed in \s-1GAS 2.24,\s0 so the option now serves little purpose.
  2296. It is retained for backwards compatibility.
  2297. .Sp
  2298. The available configuration names are: \fBmipself\fR, \fBmipslelf\fR and
  2299. \&\fBmipsbelf\fR. Choosing \fBmipself\fR now has no effect, since the output
  2300. is always \s-1ELF. \s0\fBmipslelf\fR and \fBmipsbelf\fR select little\- and
  2301. big-endian output respectively, but \fB\-EL\fR and \fB\-EB\fR are now the
  2302. preferred options instead.
  2303. .IP "\fB\-nocpp\fR" 4
  2304. .IX Item "-nocpp"
  2305. \&\fBas\fR ignores this option. It is accepted for compatibility with
  2306. the native tools.
  2307. .IP "\fB\-\-trap\fR" 4
  2308. .IX Item "--trap"
  2309. .PD 0
  2310. .IP "\fB\-\-no\-trap\fR" 4
  2311. .IX Item "--no-trap"
  2312. .IP "\fB\-\-break\fR" 4
  2313. .IX Item "--break"
  2314. .IP "\fB\-\-no\-break\fR" 4
  2315. .IX Item "--no-break"
  2316. .PD
  2317. Control how to deal with multiplication overflow and division by zero.
  2318. \&\fB\-\-trap\fR or \fB\-\-no\-break\fR (which are synonyms) take a trap exception
  2319. (and only work for Instruction Set Architecture level 2 and higher);
  2320. \&\fB\-\-break\fR or \fB\-\-no\-trap\fR (also synonyms, and the default) take a
  2321. break exception.
  2322. .IP "\fB\-n\fR" 4
  2323. .IX Item "-n"
  2324. When this option is used, \fBas\fR will issue a warning every
  2325. time it generates a nop instruction from a macro.
  2326. .PP
  2327. The following options are available when as is configured for a
  2328. Meta processor.
  2329. .ie n .IP """\-mcpu=metac11""" 4
  2330. .el .IP "\f(CW\-mcpu=metac11\fR" 4
  2331. .IX Item "-mcpu=metac11"
  2332. Generate code for Meta 1.1.
  2333. .ie n .IP """\-mcpu=metac12""" 4
  2334. .el .IP "\f(CW\-mcpu=metac12\fR" 4
  2335. .IX Item "-mcpu=metac12"
  2336. Generate code for Meta 1.2.
  2337. .ie n .IP """\-mcpu=metac21""" 4
  2338. .el .IP "\f(CW\-mcpu=metac21\fR" 4
  2339. .IX Item "-mcpu=metac21"
  2340. Generate code for Meta 2.1.
  2341. .ie n .IP """\-mfpu=metac21""" 4
  2342. .el .IP "\f(CW\-mfpu=metac21\fR" 4
  2343. .IX Item "-mfpu=metac21"
  2344. Allow code to use \s-1FPU\s0 hardware of Meta 2.1.
  2345. .PP
  2346. See the info pages for documentation of the MMIX-specific options.
  2347. .PP
  2348. The following options are available when as is configured for a
  2349. \&\s-1NDS32\s0 processor.
  2350. .ie n .IP """\-O1""" 4
  2351. .el .IP "\f(CW\-O1\fR" 4
  2352. .IX Item "-O1"
  2353. Optimize for performance.
  2354. .ie n .IP """\-Os""" 4
  2355. .el .IP "\f(CW\-Os\fR" 4
  2356. .IX Item "-Os"
  2357. Optimize for space.
  2358. .ie n .IP """\-EL""" 4
  2359. .el .IP "\f(CW\-EL\fR" 4
  2360. .IX Item "-EL"
  2361. Produce little endian data output.
  2362. .ie n .IP """\-EB""" 4
  2363. .el .IP "\f(CW\-EB\fR" 4
  2364. .IX Item "-EB"
  2365. Produce little endian data output.
  2366. .ie n .IP """\-mpic""" 4
  2367. .el .IP "\f(CW\-mpic\fR" 4
  2368. .IX Item "-mpic"
  2369. Generate \s-1PIC.\s0
  2370. .ie n .IP """\-mno\-fp\-as\-gp\-relax""" 4
  2371. .el .IP "\f(CW\-mno\-fp\-as\-gp\-relax\fR" 4
  2372. .IX Item "-mno-fp-as-gp-relax"
  2373. Suppress fp-as-gp relaxation for this file.
  2374. .ie n .IP """\-mb2bb\-relax""" 4
  2375. .el .IP "\f(CW\-mb2bb\-relax\fR" 4
  2376. .IX Item "-mb2bb-relax"
  2377. Back-to-back branch optimization.
  2378. .ie n .IP """\-mno\-all\-relax""" 4
  2379. .el .IP "\f(CW\-mno\-all\-relax\fR" 4
  2380. .IX Item "-mno-all-relax"
  2381. Suppress all relaxation for this file.
  2382. .ie n .IP """\-march=<arch name>""" 4
  2383. .el .IP "\f(CW\-march=<arch name>\fR" 4
  2384. .IX Item "-march=<arch name>"
  2385. Assemble for architecture <arch name> which could be v3, v3j, v3m, v3f,
  2386. v3s, v2, v2j, v2f, v2s.
  2387. .ie n .IP """\-mbaseline=<baseline>""" 4
  2388. .el .IP "\f(CW\-mbaseline=<baseline>\fR" 4
  2389. .IX Item "-mbaseline=<baseline>"
  2390. Assemble for baseline <baseline> which could be v2, v3, v3m.
  2391. .ie n .IP """\-mfpu\-freg=\f(CIFREG\f(CW""" 4
  2392. .el .IP "\f(CW\-mfpu\-freg=\f(CIFREG\f(CW\fR" 4
  2393. .IX Item "-mfpu-freg=FREG"
  2394. Specify a \s-1FPU\s0 configuration.
  2395. .RS 4
  2396. .ie n .IP """0 8 SP / 4 DP registers""" 4
  2397. .el .IP "\f(CW0 8 SP / 4 DP registers\fR" 4
  2398. .IX Item "0 8 SP / 4 DP registers"
  2399. .PD 0
  2400. .ie n .IP """1 16 SP / 8 DP registers""" 4
  2401. .el .IP "\f(CW1 16 SP / 8 DP registers\fR" 4
  2402. .IX Item "1 16 SP / 8 DP registers"
  2403. .ie n .IP """2 32 SP / 16 DP registers""" 4
  2404. .el .IP "\f(CW2 32 SP / 16 DP registers\fR" 4
  2405. .IX Item "2 32 SP / 16 DP registers"
  2406. .ie n .IP """3 32 SP / 32 DP registers""" 4
  2407. .el .IP "\f(CW3 32 SP / 32 DP registers\fR" 4
  2408. .IX Item "3 32 SP / 32 DP registers"
  2409. .RE
  2410. .RS 4
  2411. .RE
  2412. .ie n .IP """\-mabi=\f(CIabi\f(CW""" 4
  2413. .el .IP "\f(CW\-mabi=\f(CIabi\f(CW\fR" 4
  2414. .IX Item "-mabi=abi"
  2415. .PD
  2416. Specify a abi version <abi> could be v1, v2, v2fp, v2fpp.
  2417. .ie n .IP """\-m[no\-]mac""" 4
  2418. .el .IP "\f(CW\-m[no\-]mac\fR" 4
  2419. .IX Item "-m[no-]mac"
  2420. Enable/Disable Multiply instructions support.
  2421. .ie n .IP """\-m[no\-]div""" 4
  2422. .el .IP "\f(CW\-m[no\-]div\fR" 4
  2423. .IX Item "-m[no-]div"
  2424. Enable/Disable Divide instructions support.
  2425. .ie n .IP """\-m[no\-]16bit\-ext""" 4
  2426. .el .IP "\f(CW\-m[no\-]16bit\-ext\fR" 4
  2427. .IX Item "-m[no-]16bit-ext"
  2428. Enable/Disable 16\-bit extension
  2429. .ie n .IP """\-m[no\-]dx\-regs""" 4
  2430. .el .IP "\f(CW\-m[no\-]dx\-regs\fR" 4
  2431. .IX Item "-m[no-]dx-regs"
  2432. Enable/Disable d0/d1 registers
  2433. .ie n .IP """\-m[no\-]perf\-ext""" 4
  2434. .el .IP "\f(CW\-m[no\-]perf\-ext\fR" 4
  2435. .IX Item "-m[no-]perf-ext"
  2436. Enable/Disable Performance extension
  2437. .ie n .IP """\-m[no\-]perf2\-ext""" 4
  2438. .el .IP "\f(CW\-m[no\-]perf2\-ext\fR" 4
  2439. .IX Item "-m[no-]perf2-ext"
  2440. Enable/Disable Performance extension 2
  2441. .ie n .IP """\-m[no\-]string\-ext""" 4
  2442. .el .IP "\f(CW\-m[no\-]string\-ext\fR" 4
  2443. .IX Item "-m[no-]string-ext"
  2444. Enable/Disable String extension
  2445. .ie n .IP """\-m[no\-]reduced\-regs""" 4
  2446. .el .IP "\f(CW\-m[no\-]reduced\-regs\fR" 4
  2447. .IX Item "-m[no-]reduced-regs"
  2448. Enable/Disable Reduced Register configuration (\s-1GPR16\s0) option
  2449. .ie n .IP """\-m[no\-]audio\-isa\-ext""" 4
  2450. .el .IP "\f(CW\-m[no\-]audio\-isa\-ext\fR" 4
  2451. .IX Item "-m[no-]audio-isa-ext"
  2452. Enable/Disable \s-1AUDIO ISA\s0 extension
  2453. .ie n .IP """\-m[no\-]fpu\-sp\-ext""" 4
  2454. .el .IP "\f(CW\-m[no\-]fpu\-sp\-ext\fR" 4
  2455. .IX Item "-m[no-]fpu-sp-ext"
  2456. Enable/Disable \s-1FPU SP\s0 extension
  2457. .ie n .IP """\-m[no\-]fpu\-dp\-ext""" 4
  2458. .el .IP "\f(CW\-m[no\-]fpu\-dp\-ext\fR" 4
  2459. .IX Item "-m[no-]fpu-dp-ext"
  2460. Enable/Disable \s-1FPU DP\s0 extension
  2461. .ie n .IP """\-m[no\-]fpu\-fma""" 4
  2462. .el .IP "\f(CW\-m[no\-]fpu\-fma\fR" 4
  2463. .IX Item "-m[no-]fpu-fma"
  2464. Enable/Disable \s-1FPU\s0 fused-multiply-add instructions
  2465. .ie n .IP """\-mall\-ext""" 4
  2466. .el .IP "\f(CW\-mall\-ext\fR" 4
  2467. .IX Item "-mall-ext"
  2468. Turn on all extensions and instructions support
  2469. .PP
  2470. The following options are available when as is configured for a
  2471. PowerPC processor.
  2472. .IP "\fB\-a32\fR" 4
  2473. .IX Item "-a32"
  2474. Generate \s-1ELF32\s0 or \s-1XCOFF32.\s0
  2475. .IP "\fB\-a64\fR" 4
  2476. .IX Item "-a64"
  2477. Generate \s-1ELF64\s0 or \s-1XCOFF64.\s0
  2478. .IP "\fB\-K \s-1PIC\s0\fR" 4
  2479. .IX Item "-K PIC"
  2480. Set \s-1EF_PPC_RELOCATABLE_LIB\s0 in \s-1ELF\s0 flags.
  2481. .IP "\fB\-mpwrx | \-mpwr2\fR" 4
  2482. .IX Item "-mpwrx | -mpwr2"
  2483. Generate code for \s-1POWER/2 \s0(\s-1RIOS2\s0).
  2484. .IP "\fB\-mpwr\fR" 4
  2485. .IX Item "-mpwr"
  2486. Generate code for \s-1POWER \s0(\s-1RIOS1\s0)
  2487. .IP "\fB\-m601\fR" 4
  2488. .IX Item "-m601"
  2489. Generate code for PowerPC 601.
  2490. .IP "\fB\-mppc, \-mppc32, \-m603, \-m604\fR" 4
  2491. .IX Item "-mppc, -mppc32, -m603, -m604"
  2492. Generate code for PowerPC 603/604.
  2493. .IP "\fB\-m403, \-m405\fR" 4
  2494. .IX Item "-m403, -m405"
  2495. Generate code for PowerPC 403/405.
  2496. .IP "\fB\-m440\fR" 4
  2497. .IX Item "-m440"
  2498. Generate code for PowerPC 440. BookE and some 405 instructions.
  2499. .IP "\fB\-m464\fR" 4
  2500. .IX Item "-m464"
  2501. Generate code for PowerPC 464.
  2502. .IP "\fB\-m476\fR" 4
  2503. .IX Item "-m476"
  2504. Generate code for PowerPC 476.
  2505. .IP "\fB\-m7400, \-m7410, \-m7450, \-m7455\fR" 4
  2506. .IX Item "-m7400, -m7410, -m7450, -m7455"
  2507. Generate code for PowerPC 7400/7410/7450/7455.
  2508. .IP "\fB\-m750cl, \-mgekko, \-mbroadway\fR" 4
  2509. .IX Item "-m750cl, -mgekko, -mbroadway"
  2510. Generate code for PowerPC 750CL/Gekko/Broadway.
  2511. .IP "\fB\-m821, \-m850, \-m860\fR" 4
  2512. .IX Item "-m821, -m850, -m860"
  2513. Generate code for PowerPC 821/850/860.
  2514. .IP "\fB\-mppc64, \-m620\fR" 4
  2515. .IX Item "-mppc64, -m620"
  2516. Generate code for PowerPC 620/625/630.
  2517. .IP "\fB\-me500, \-me500x2\fR" 4
  2518. .IX Item "-me500, -me500x2"
  2519. Generate code for Motorola e500 core complex.
  2520. .IP "\fB\-me500mc\fR" 4
  2521. .IX Item "-me500mc"
  2522. Generate code for Freescale e500mc core complex.
  2523. .IP "\fB\-me500mc64\fR" 4
  2524. .IX Item "-me500mc64"
  2525. Generate code for Freescale e500mc64 core complex.
  2526. .IP "\fB\-me5500\fR" 4
  2527. .IX Item "-me5500"
  2528. Generate code for Freescale e5500 core complex.
  2529. .IP "\fB\-me6500\fR" 4
  2530. .IX Item "-me6500"
  2531. Generate code for Freescale e6500 core complex.
  2532. .IP "\fB\-mspe\fR" 4
  2533. .IX Item "-mspe"
  2534. Generate code for Motorola \s-1SPE\s0 instructions.
  2535. .IP "\fB\-mspe2\fR" 4
  2536. .IX Item "-mspe2"
  2537. Generate code for Freescale \s-1SPE2\s0 instructions.
  2538. .IP "\fB\-mtitan\fR" 4
  2539. .IX Item "-mtitan"
  2540. Generate code for AppliedMicro Titan core complex.
  2541. .IP "\fB\-mppc64bridge\fR" 4
  2542. .IX Item "-mppc64bridge"
  2543. Generate code for PowerPC 64, including bridge insns.
  2544. .IP "\fB\-mbooke\fR" 4
  2545. .IX Item "-mbooke"
  2546. Generate code for 32\-bit BookE.
  2547. .IP "\fB\-ma2\fR" 4
  2548. .IX Item "-ma2"
  2549. Generate code for A2 architecture.
  2550. .IP "\fB\-me300\fR" 4
  2551. .IX Item "-me300"
  2552. Generate code for PowerPC e300 family.
  2553. .IP "\fB\-maltivec\fR" 4
  2554. .IX Item "-maltivec"
  2555. Generate code for processors with AltiVec instructions.
  2556. .IP "\fB\-mvle\fR" 4
  2557. .IX Item "-mvle"
  2558. Generate code for Freescale PowerPC \s-1VLE\s0 instructions.
  2559. .IP "\fB\-mvsx\fR" 4
  2560. .IX Item "-mvsx"
  2561. Generate code for processors with Vector-Scalar (\s-1VSX\s0) instructions.
  2562. .IP "\fB\-mhtm\fR" 4
  2563. .IX Item "-mhtm"
  2564. Generate code for processors with Hardware Transactional Memory instructions.
  2565. .IP "\fB\-mpower4, \-mpwr4\fR" 4
  2566. .IX Item "-mpower4, -mpwr4"
  2567. Generate code for Power4 architecture.
  2568. .IP "\fB\-mpower5, \-mpwr5, \-mpwr5x\fR" 4
  2569. .IX Item "-mpower5, -mpwr5, -mpwr5x"
  2570. Generate code for Power5 architecture.
  2571. .IP "\fB\-mpower6, \-mpwr6\fR" 4
  2572. .IX Item "-mpower6, -mpwr6"
  2573. Generate code for Power6 architecture.
  2574. .IP "\fB\-mpower7, \-mpwr7\fR" 4
  2575. .IX Item "-mpower7, -mpwr7"
  2576. Generate code for Power7 architecture.
  2577. .IP "\fB\-mpower8, \-mpwr8\fR" 4
  2578. .IX Item "-mpower8, -mpwr8"
  2579. Generate code for Power8 architecture.
  2580. .IP "\fB\-mpower9, \-mpwr9\fR" 4
  2581. .IX Item "-mpower9, -mpwr9"
  2582. Generate code for Power9 architecture.
  2583. .IP "\fB\-mpower10, \-mpwr10\fR" 4
  2584. .IX Item "-mpower10, -mpwr10"
  2585. Generate code for Power10 architecture.
  2586. .IP "\fB\-mcell\fR" 4
  2587. .IX Item "-mcell"
  2588. .PD 0
  2589. .IP "\fB\-mcell\fR" 4
  2590. .IX Item "-mcell"
  2591. .PD
  2592. Generate code for Cell Broadband Engine architecture.
  2593. .IP "\fB\-mcom\fR" 4
  2594. .IX Item "-mcom"
  2595. Generate code Power/PowerPC common instructions.
  2596. .IP "\fB\-many\fR" 4
  2597. .IX Item "-many"
  2598. Generate code for any architecture (\s-1PWR/PWRX/PPC\s0).
  2599. .IP "\fB\-mregnames\fR" 4
  2600. .IX Item "-mregnames"
  2601. Allow symbolic names for registers.
  2602. .IP "\fB\-mno\-regnames\fR" 4
  2603. .IX Item "-mno-regnames"
  2604. Do not allow symbolic names for registers.
  2605. .IP "\fB\-mrelocatable\fR" 4
  2606. .IX Item "-mrelocatable"
  2607. Support for \s-1GCC\s0's \-mrelocatable option.
  2608. .IP "\fB\-mrelocatable\-lib\fR" 4
  2609. .IX Item "-mrelocatable-lib"
  2610. Support for \s-1GCC\s0's \-mrelocatable\-lib option.
  2611. .IP "\fB\-memb\fR" 4
  2612. .IX Item "-memb"
  2613. Set \s-1PPC_EMB\s0 bit in \s-1ELF\s0 flags.
  2614. .IP "\fB\-mlittle, \-mlittle\-endian, \-le\fR" 4
  2615. .IX Item "-mlittle, -mlittle-endian, -le"
  2616. Generate code for a little endian machine.
  2617. .IP "\fB\-mbig, \-mbig\-endian, \-be\fR" 4
  2618. .IX Item "-mbig, -mbig-endian, -be"
  2619. Generate code for a big endian machine.
  2620. .IP "\fB\-msolaris\fR" 4
  2621. .IX Item "-msolaris"
  2622. Generate code for Solaris.
  2623. .IP "\fB\-mno\-solaris\fR" 4
  2624. .IX Item "-mno-solaris"
  2625. Do not generate code for Solaris.
  2626. .IP "\fB\-nops=\fR\fIcount\fR" 4
  2627. .IX Item "-nops=count"
  2628. If an alignment directive inserts more than \fIcount\fR nops, put a
  2629. branch at the beginning to skip execution of the nops.
  2630. .PP
  2631. The following options are available when as is configured for a
  2632. RISC-V processor.
  2633. .IP "\fB\-fpic\fR" 4
  2634. .IX Item "-fpic"
  2635. .PD 0
  2636. .IP "\fB\-fPIC\fR" 4
  2637. .IX Item "-fPIC"
  2638. .PD
  2639. Generate position-independent code
  2640. .IP "\fB\-fno\-pic\fR" 4
  2641. .IX Item "-fno-pic"
  2642. Don't generate position-independent code (default)
  2643. .IP "\fB\-march=ISA\fR" 4
  2644. .IX Item "-march=ISA"
  2645. Select the base isa, as specified by \s-1ISA. \s0 For example \-march=rv32ima.
  2646. If this option and the architecture attributes aren't set, then assembler
  2647. will check the default configure setting \-\-with\-arch=ISA.
  2648. .IP "\fB\-misa\-spec=ISAspec\fR" 4
  2649. .IX Item "-misa-spec=ISAspec"
  2650. Select the default isa spec version. If the version of \s-1ISA\s0 isn't set
  2651. by \-march, then assembler helps to set the version according to
  2652. the default chosen spec. If this option isn't set, then assembler will
  2653. check the default configure setting \-\-with\-isa\-spec=ISAspec.
  2654. .IP "\fB\-mpriv\-spec=PRIVspec\fR" 4
  2655. .IX Item "-mpriv-spec=PRIVspec"
  2656. Select the privileged spec version. We can decide whether the \s-1CSR\s0 is valid or
  2657. not according to the chosen spec. If this option and the privilege attributes
  2658. aren't set, then assembler will check the default configure setting
  2659. \&\-\-with\-priv\-spec=PRIVspec.
  2660. .IP "\fB\-mabi=ABI\fR" 4
  2661. .IX Item "-mabi=ABI"
  2662. Selects the \s-1ABI,\s0 which is either \*(L"ilp32\*(R" or \*(L"lp64\*(R", optionally followed
  2663. by \*(L"f\*(R", \*(L"d\*(R", or \*(L"q\*(R" to indicate single-precision, double-precision, or
  2664. quad-precision floating-point calling convention, or none to indicate
  2665. the soft-float calling convention. Also, \*(L"ilp32\*(R" can optionally be followed
  2666. by \*(L"e\*(R" to indicate the \s-1RVE ABI,\s0 which is always soft-float.
  2667. .IP "\fB\-mrelax\fR" 4
  2668. .IX Item "-mrelax"
  2669. Take advantage of linker relaxations to reduce the number of instructions
  2670. required to materialize symbol addresses. (default)
  2671. .IP "\fB\-mno\-relax\fR" 4
  2672. .IX Item "-mno-relax"
  2673. Don't do linker relaxations.
  2674. .IP "\fB\-march\-attr\fR" 4
  2675. .IX Item "-march-attr"
  2676. Generate the default contents for the riscv elf attribute section if the
  2677. \&.attribute directives are not set. This section is used to record the
  2678. information that a linker or runtime loader needs to check compatibility.
  2679. This information includes \s-1ISA\s0 string, stack alignment requirement, unaligned
  2680. memory accesses, and the major, minor and revision version of privileged
  2681. specification.
  2682. .IP "\fB\-mno\-arch\-attr\fR" 4
  2683. .IX Item "-mno-arch-attr"
  2684. Don't generate the default riscv elf attribute section if the .attribute
  2685. directives are not set.
  2686. .IP "\fB\-mcsr\-check\fR" 4
  2687. .IX Item "-mcsr-check"
  2688. Enable the \s-1CSR\s0 checking for the ISA-dependent \s-1CRS\s0 and the read-only \s-1CSR.\s0
  2689. The ISA-dependent \s-1CSR\s0 are only valid when the specific \s-1ISA\s0 is set. The
  2690. read-only \s-1CSR\s0 can not be written by the \s-1CSR\s0 instructions.
  2691. .IP "\fB\-mno\-csr\-check\fR" 4
  2692. .IX Item "-mno-csr-check"
  2693. Don't do \s-1CSR\s0 cheching.
  2694. .PP
  2695. See the info pages for documentation of the RX-specific options.
  2696. .PP
  2697. The following options are available when as is configured for the s390
  2698. processor family.
  2699. .IP "\fB\-m31\fR" 4
  2700. .IX Item "-m31"
  2701. .PD 0
  2702. .IP "\fB\-m64\fR" 4
  2703. .IX Item "-m64"
  2704. .PD
  2705. Select the word size, either 31/32 bits or 64 bits.
  2706. .IP "\fB\-mesa\fR" 4
  2707. .IX Item "-mesa"
  2708. .PD 0
  2709. .IP "\fB\-mzarch\fR" 4
  2710. .IX Item "-mzarch"
  2711. .PD
  2712. Select the architecture mode, either the Enterprise System
  2713. Architecture (esa) or the z/Architecture mode (zarch).
  2714. .IP "\fB\-march=\fR\fIprocessor\fR" 4
  2715. .IX Item "-march=processor"
  2716. Specify which s390 processor variant is the target, \fBg5\fR (or
  2717. \&\fBarch3\fR), \fBg6\fR, \fBz900\fR (or \fBarch5\fR), \fBz990\fR (or
  2718. \&\fBarch6\fR), \fBz9\-109\fR, \fBz9\-ec\fR (or \fBarch7\fR), \fBz10\fR (or
  2719. \&\fBarch8\fR), \fBz196\fR (or \fBarch9\fR), \fBzEC12\fR (or \fBarch10\fR),
  2720. \&\fBz13\fR (or \fBarch11\fR), \fBz14\fR (or \fBarch12\fR), or \fBz15\fR
  2721. (or \fBarch13\fR).
  2722. .IP "\fB\-mregnames\fR" 4
  2723. .IX Item "-mregnames"
  2724. .PD 0
  2725. .IP "\fB\-mno\-regnames\fR" 4
  2726. .IX Item "-mno-regnames"
  2727. .PD
  2728. Allow or disallow symbolic names for registers.
  2729. .IP "\fB\-mwarn\-areg\-zero\fR" 4
  2730. .IX Item "-mwarn-areg-zero"
  2731. Warn whenever the operand for a base or index register has been specified
  2732. but evaluates to zero.
  2733. .PP
  2734. The following options are available when as is configured for a
  2735. \&\s-1TMS320C6000\s0 processor.
  2736. .IP "\fB\-march=\fR\fIarch\fR" 4
  2737. .IX Item "-march=arch"
  2738. Enable (only) instructions from architecture \fIarch\fR. By default,
  2739. all instructions are permitted.
  2740. .Sp
  2741. The following values of \fIarch\fR are accepted: \f(CW\*(C`c62x\*(C'\fR,
  2742. \&\f(CW\*(C`c64x\*(C'\fR, \f(CW\*(C`c64x+\*(C'\fR, \f(CW\*(C`c67x\*(C'\fR, \f(CW\*(C`c67x+\*(C'\fR, \f(CW\*(C`c674x\*(C'\fR.
  2743. .IP "\fB\-mdsbt\fR" 4
  2744. .IX Item "-mdsbt"
  2745. .PD 0
  2746. .IP "\fB\-mno\-dsbt\fR" 4
  2747. .IX Item "-mno-dsbt"
  2748. .PD
  2749. The \fB\-mdsbt\fR option causes the assembler to generate the
  2750. \&\f(CW\*(C`Tag_ABI_DSBT\*(C'\fR attribute with a value of 1, indicating that the
  2751. code is using \s-1DSBT\s0 addressing. The \fB\-mno\-dsbt\fR option, the
  2752. default, causes the tag to have a value of 0, indicating that the code
  2753. does not use \s-1DSBT\s0 addressing. The linker will emit a warning if
  2754. objects of different type (\s-1DSBT\s0 and non-DSBT) are linked together.
  2755. .IP "\fB\-mpid=no\fR" 4
  2756. .IX Item "-mpid=no"
  2757. .PD 0
  2758. .IP "\fB\-mpid=near\fR" 4
  2759. .IX Item "-mpid=near"
  2760. .IP "\fB\-mpid=far\fR" 4
  2761. .IX Item "-mpid=far"
  2762. .PD
  2763. The \fB\-mpid=\fR option causes the assembler to generate the
  2764. \&\f(CW\*(C`Tag_ABI_PID\*(C'\fR attribute with a value indicating the form of data
  2765. addressing used by the code. \fB\-mpid=no\fR, the default,
  2766. indicates position-dependent data addressing, \fB\-mpid=near\fR
  2767. indicates position-independent addressing with \s-1GOT\s0 accesses using near
  2768. \&\s-1DP\s0 addressing, and \fB\-mpid=far\fR indicates position-independent
  2769. addressing with \s-1GOT\s0 accesses using far \s-1DP\s0 addressing. The linker will
  2770. emit a warning if objects built with different settings of this option
  2771. are linked together.
  2772. .IP "\fB\-mpic\fR" 4
  2773. .IX Item "-mpic"
  2774. .PD 0
  2775. .IP "\fB\-mno\-pic\fR" 4
  2776. .IX Item "-mno-pic"
  2777. .PD
  2778. The \fB\-mpic\fR option causes the assembler to generate the
  2779. \&\f(CW\*(C`Tag_ABI_PIC\*(C'\fR attribute with a value of 1, indicating that the
  2780. code is using position-independent code addressing, The
  2781. \&\f(CW\*(C`\-mno\-pic\*(C'\fR option, the default, causes the tag to have a value of
  2782. 0, indicating position-dependent code addressing. The linker will
  2783. emit a warning if objects of different type (position-dependent and
  2784. position-independent) are linked together.
  2785. .IP "\fB\-mbig\-endian\fR" 4
  2786. .IX Item "-mbig-endian"
  2787. .PD 0
  2788. .IP "\fB\-mlittle\-endian\fR" 4
  2789. .IX Item "-mlittle-endian"
  2790. .PD
  2791. Generate code for the specified endianness. The default is
  2792. little-endian.
  2793. .PP
  2794. The following options are available when as is configured for a TILE-Gx
  2795. processor.
  2796. .IP "\fB\-m32 | \-m64\fR" 4
  2797. .IX Item "-m32 | -m64"
  2798. Select the word size, either 32 bits or 64 bits.
  2799. .IP "\fB\-EB | \-EL\fR" 4
  2800. .IX Item "-EB | -EL"
  2801. Select the endianness, either big-endian (\-EB) or little-endian (\-EL).
  2802. .PP
  2803. The following option is available when as is configured for a Visium
  2804. processor.
  2805. .IP "\fB\-mtune=\fR\fIarch\fR" 4
  2806. .IX Item "-mtune=arch"
  2807. This option specifies the target architecture. If an attempt is made to
  2808. assemble an instruction that will not execute on the target architecture,
  2809. the assembler will issue an error message.
  2810. .Sp
  2811. The following names are recognized:
  2812. \&\f(CW\*(C`mcm24\*(C'\fR
  2813. \&\f(CW\*(C`mcm\*(C'\fR
  2814. \&\f(CW\*(C`gr5\*(C'\fR
  2815. \&\f(CW\*(C`gr6\*(C'\fR
  2816. .PP
  2817. The following options are available when as is configured for an
  2818. Xtensa processor.
  2819. .IP "\fB\-\-text\-section\-literals | \-\-no\-text\-section\-literals\fR" 4
  2820. .IX Item "--text-section-literals | --no-text-section-literals"
  2821. Control the treatment of literal pools. The default is
  2822. \&\fB\-\-no\-text\-section\-literals\fR, which places literals in
  2823. separate sections in the output file. This allows the literal pool to be
  2824. placed in a data \s-1RAM/ROM. \s0 With \fB\-\-text\-section\-literals\fR, the
  2825. literals are interspersed in the text section in order to keep them as
  2826. close as possible to their references. This may be necessary for large
  2827. assembly files, where the literals would otherwise be out of range of the
  2828. \&\f(CW\*(C`L32R\*(C'\fR instructions in the text section. Literals are grouped into
  2829. pools following \f(CW\*(C`.literal_position\*(C'\fR directives or preceding
  2830. \&\f(CW\*(C`ENTRY\*(C'\fR instructions. These options only affect literals referenced
  2831. via PC-relative \f(CW\*(C`L32R\*(C'\fR instructions; literals for absolute mode
  2832. \&\f(CW\*(C`L32R\*(C'\fR instructions are handled separately.
  2833. .IP "\fB\-\-auto\-litpools | \-\-no\-auto\-litpools\fR" 4
  2834. .IX Item "--auto-litpools | --no-auto-litpools"
  2835. Control the treatment of literal pools. The default is
  2836. \&\fB\-\-no\-auto\-litpools\fR, which in the absence of
  2837. \&\fB\-\-text\-section\-literals\fR places literals in separate sections
  2838. in the output file. This allows the literal pool to be placed in a data
  2839. \&\s-1RAM/ROM. \s0 With \fB\-\-auto\-litpools\fR, the literals are interspersed
  2840. in the text section in order to keep them as close as possible to their
  2841. references, explicit \f(CW\*(C`.literal_position\*(C'\fR directives are not
  2842. required. This may be necessary for very large functions, where single
  2843. literal pool at the beginning of the function may not be reachable by
  2844. \&\f(CW\*(C`L32R\*(C'\fR instructions at the end. These options only affect
  2845. literals referenced via PC-relative \f(CW\*(C`L32R\*(C'\fR instructions; literals
  2846. for absolute mode \f(CW\*(C`L32R\*(C'\fR instructions are handled separately.
  2847. When used together with \fB\-\-text\-section\-literals\fR,
  2848. \&\fB\-\-auto\-litpools\fR takes precedence.
  2849. .IP "\fB\-\-absolute\-literals | \-\-no\-absolute\-literals\fR" 4
  2850. .IX Item "--absolute-literals | --no-absolute-literals"
  2851. Indicate to the assembler whether \f(CW\*(C`L32R\*(C'\fR instructions use absolute
  2852. or PC-relative addressing. If the processor includes the absolute
  2853. addressing option, the default is to use absolute \f(CW\*(C`L32R\*(C'\fR
  2854. relocations. Otherwise, only the PC-relative \f(CW\*(C`L32R\*(C'\fR relocations
  2855. can be used.
  2856. .IP "\fB\-\-target\-align | \-\-no\-target\-align\fR" 4
  2857. .IX Item "--target-align | --no-target-align"
  2858. Enable or disable automatic alignment to reduce branch penalties at some
  2859. expense in code size. This optimization is enabled by default. Note
  2860. that the assembler will always align instructions like \f(CW\*(C`LOOP\*(C'\fR that
  2861. have fixed alignment requirements.
  2862. .IP "\fB\-\-longcalls | \-\-no\-longcalls\fR" 4
  2863. .IX Item "--longcalls | --no-longcalls"
  2864. Enable or disable transformation of call instructions to allow calls
  2865. across a greater range of addresses. This option should be used when call
  2866. targets can potentially be out of range. It may degrade both code size
  2867. and performance, but the linker can generally optimize away the
  2868. unnecessary overhead when a call ends up within range. The default is
  2869. \&\fB\-\-no\-longcalls\fR.
  2870. .IP "\fB\-\-transform | \-\-no\-transform\fR" 4
  2871. .IX Item "--transform | --no-transform"
  2872. Enable or disable all assembler transformations of Xtensa instructions,
  2873. including both relaxation and optimization. The default is
  2874. \&\fB\-\-transform\fR; \fB\-\-no\-transform\fR should only be used in the
  2875. rare cases when the instructions must be exactly as specified in the
  2876. assembly source. Using \fB\-\-no\-transform\fR causes out of range
  2877. instruction operands to be errors.
  2878. .IP "\fB\-\-rename\-section\fR \fIoldname\fR\fB=\fR\fInewname\fR" 4
  2879. .IX Item "--rename-section oldname=newname"
  2880. Rename the \fIoldname\fR section to \fInewname\fR. This option can be used
  2881. multiple times to rename multiple sections.
  2882. .IP "\fB\-\-trampolines | \-\-no\-trampolines\fR" 4
  2883. .IX Item "--trampolines | --no-trampolines"
  2884. Enable or disable transformation of jump instructions to allow jumps
  2885. across a greater range of addresses. This option should be used when jump targets can
  2886. potentially be out of range. In the absence of such jumps this option
  2887. does not affect code size or performance. The default is
  2888. \&\fB\-\-trampolines\fR.
  2889. .IP "\fB\-\-abi\-windowed | \-\-abi\-call0\fR" 4
  2890. .IX Item "--abi-windowed | --abi-call0"
  2891. Choose \s-1ABI\s0 tag written to the \f(CW\*(C`.xtensa.info\*(C'\fR section. \s-1ABI\s0 tag
  2892. indicates \s-1ABI\s0 of the assembly code. A warning is issued by the linker
  2893. on an attempt to link object files with inconsistent \s-1ABI\s0 tags.
  2894. Default \s-1ABI\s0 is chosen by the Xtensa core configuration.
  2895. .PP
  2896. The following options are available when as is configured for an
  2897. Z80 processor.
  2898. .PP
  2899. \&\f(CW@chapter\fR Z80 Dependent Features
  2900. .SS "Command-line Options"
  2901. .IX Subsection "Command-line Options"
  2902. .IP "\fB\-march=\fR\fI\s-1CPU\s0\fR\fB[\-\fR\fI\s-1EXT\s0\fR\fB...][+\fR\fI\s-1EXT\s0\fR\fB...]\fR" 4
  2903. .IX Item "-march=CPU[-EXT...][+EXT...]"
  2904. This option specifies the target processor. The assembler will issue
  2905. an error message if an attempt is made to assemble an instruction which
  2906. will not execute on the target processor. The following processor names
  2907. are recognized:
  2908. \&\f(CW\*(C`z80\*(C'\fR,
  2909. \&\f(CW\*(C`z180\*(C'\fR,
  2910. \&\f(CW\*(C`ez80\*(C'\fR,
  2911. \&\f(CW\*(C`gbz80\*(C'\fR,
  2912. \&\f(CW\*(C`z80n\*(C'\fR,
  2913. \&\f(CW\*(C`r800\*(C'\fR.
  2914. In addition to the basic instruction set, the assembler can be told to
  2915. accept some extention mnemonics. For example,
  2916. \&\f(CW\*(C`\-march=z180+sli+infc\*(C'\fR extends \fIz180\fR with \fI\s-1SLI\s0\fR instructions and
  2917. \&\fI\s-1IN F,\s0(C)\fR. The following extentions are currently supported:
  2918. \&\f(CW\*(C`full\*(C'\fR (all known instructions),
  2919. \&\f(CW\*(C`adl\*(C'\fR (\s-1ADL CPU\s0 mode by default, eZ80 only),
  2920. \&\f(CW\*(C`sli\*(C'\fR (instruction known as \fI\s-1SLI\s0\fR, \fI\s-1SLL\s0\fR or \fI\s-1SL1\s0\fR),
  2921. \&\f(CW\*(C`xyhl\*(C'\fR (instructions with halves of index registers: \fI\s-1IXL\s0\fR, \fI\s-1IXH\s0\fR,
  2922. \&\fI\s-1IYL\s0\fR, \fI\s-1IYH\s0\fR),
  2923. \&\f(CW\*(C`xdcb\*(C'\fR (instructions like \fIRotOp (II+d),R\fR and \fIBitOp n,(II+d),R\fR),
  2924. \&\f(CW\*(C`infc\*(C'\fR (instruction \fI\s-1IN F,\s0(C)\fR or \fI\s-1IN \s0(C)\fR),
  2925. \&\f(CW\*(C`outc0\*(C'\fR (instruction \fI\s-1OUT \s0(C),0\fR).
  2926. Note that rather than extending a basic instruction set, the extention
  2927. mnemonics starting with \f(CW\*(C`\-\*(C'\fR revoke the respective functionality:
  2928. \&\f(CW\*(C`\-march=z80\-full+xyhl\*(C'\fR first removes all default extentions and adds
  2929. support for index registers halves only.
  2930. .Sp
  2931. If this option is not specified then \f(CW\*(C`\-march=z80+xyhl+infc\*(C'\fR is assumed.
  2932. .IP "\fB\-local\-prefix=\fR\fIprefix\fR" 4
  2933. .IX Item "-local-prefix=prefix"
  2934. Mark all labels with specified prefix as local. But such label can be
  2935. marked global explicitly in the code. This option do not change default
  2936. local label prefix \f(CW\*(C`.L\*(C'\fR, it is just adds new one.
  2937. .IP "\fB\-colonless\fR" 4
  2938. .IX Item "-colonless"
  2939. Accept colonless labels. All symbols at line begin are treated as labels.
  2940. .IP "\fB\-sdcc\fR" 4
  2941. .IX Item "-sdcc"
  2942. Accept assembler code produced by \s-1SDCC.\s0
  2943. .IP "\fB\-fp\-s=\fR\fI\s-1FORMAT\s0\fR" 4
  2944. .IX Item "-fp-s=FORMAT"
  2945. Single precision floating point numbers format. Default: ieee754 (32 bit).
  2946. .IP "\fB\-fp\-d=\fR\fI\s-1FORMAT\s0\fR" 4
  2947. .IX Item "-fp-d=FORMAT"
  2948. Double precision floating point numbers format. Default: ieee754 (64 bit).
  2949. .SH "SEE ALSO"
  2950. .IX Header "SEE ALSO"
  2951. \&\fIgcc\fR\|(1), \fIld\fR\|(1), and the Info entries for \fIbinutils\fR and \fIld\fR.
  2952. .SH "COPYRIGHT"
  2953. .IX Header "COPYRIGHT"
  2954. Copyright (c) 1991\-2020 Free Software Foundation, Inc.
  2955. .PP
  2956. Permission is granted to copy, distribute and/or modify this document
  2957. under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.3
  2958. or any later version published by the Free Software Foundation;
  2959. with no Invariant Sections, with no Front-Cover Texts, and with no
  2960. Back-Cover Texts. A copy of the license is included in the
  2961. section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".