riscv-none-embed-as.1 103 KB

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