riscv64-unknown-elf-as.1 116 KB

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