AS(1) GNU Development Tools AS(1) (NAME) as - (SYNOPSIS) as [-a[cdghilns][=file]] [--alternate] [--compress-debug-sections] [--nocompress-debug-sections] [-D] [--dump-config] [--debug-prefix-map old=new] [--defsym sym=val] [--elf-stt-common=[no|yes]] [--emulation=name] [-f] [-g] [--gstabs] [--gstabs+] [--gdwarf-] [--gdwarf-sections] [--gdwarf-cie-version=VERSION] [--generate-missing-build-notes=[no|yes]] [--gsframe] [--gsframe=[no|yes]] [--hash-size=N] [--help] [--target-help] [--info] [--no-info] [-I dir] [-J] [-K] [--keep-locals] [-L] [--listing-lhs-width=NUM] [--listing-lhs-width2=NUM] [--listing-rhs-width=NUM] [--listing-cont-lines=NUM] [--multibyte-handling=[allow|warn|warn-sym-only]] [--no-pad-sections] [-o objfile] [-R] [--scfi=experimental] [--sectname-subst] [--size-check=[error|warning]] [--statistics] [-v] [--verbose] [-version] [--version] [-W] [--no-warn] [--warn] [--fatal-warnings] [-w] [-x] [-Z] [@FILE] [target-options] [--|files ...] (TARGET) AArch64: [-EB|-EL] [-mabi=ABI] Alpha: [-mcpu] [-mdebug | -no-mdebug] [-replace | -noreplace] [-relax] [-g] [-Gsize] [-F] [-32addr] ARC: [-mcpu=cpu] [-mA6|-mARC600|-mARC601|-mA7|-mARC700|-mEM|-mHS] [-mcode-density] [-mrelax] [-EB|-EL] ARM: [-mcpu=processor[+extension...]] [-march=architecture[+extension...]] [-mfpu=floating-point-format] [-mfloat-abi=abi] [-meabi=ver] [-mthumb] [-EB|-EL] [-mapcs-32|-mapcs-26|-mapcs-float| -mapcs-reentrant] [-mthumb-interwork] [-k] Blackfin: [-mcpu=processor[-sirevision]] [-mfdpic] [-mno-fdpic] [-mnopic] BPF: [-EL] [-EB] CRIS: [--underscore | --no-underscore] [--pic] [-N] [--emulation=criself | --emulation=crisaout] [--march=v0_v10 | --march=v10 | --march=v32 | --march=common_v10_v32] C-SKY: [-march=arch] [-mcpu=cpu] [-EL] [-mlittle-endian] [-EB] [-mbig-endian] [-fpic] [-pic] [-mljump] [-mno-ljump] [-force2bsr] [-mforce2bsr] [-no-force2bsr] [-mno-force2bsr] [-jsri2bsr] [-mjsri2bsr] [-no-jsri2bsr ] [-mno-jsri2bsr] [-mnolrw ] [-mno-lrw] [-melrw] [-mno-elrw] [-mlaf ] [-mliterals-after-func] [-mno-laf] [-mno-literals-after-func] [-mlabr] [-mliterals-after-br] [-mno-labr] [-mnoliterals-after-br] [-mistack] [-mno-istack] [-mhard-float] [-mmp] [-mcp] [-mcache] [-msecurity] [-mtrust] [-mdsp] [-medsp] [-mvdsp] D10V: [-O] D30V: [-O|-n|-N] EPIPHANY: [-mepiphany|-mepiphany16] H8/300: [-h-tick-hex] i386: [--32|--x32|--64] [-n] [-march=CPU[+EXTENSION...]] [-mtune=CPU] IA-64: [-mconstant-gp|-mauto-pic] [-milp32|-milp64|-mlp64|-mp64] [-mle|mbe] [-mtune=itanium1|-mtune=itanium2] [-munwind-check=warning|-munwind-check=error] [-mhint.b=ok|-mhint.b=warning|-mhint.b=error] [-x|-xexplicit] [-xauto] [-xdebug] IP2K: [-mip2022|-mip2022ext].PP M32C: [-m32c|-m16c] [-relax] [-h-tick-hex] M32R: [--m32rx|--[no-]warn-explicit-parallel-conflicts| --W[n]p] M680X0: [-l] [-m68000|-m68010|-m68020|...] M68HC11: [-m68hc11|-m68hc12|-m68hcs12|-mm9s12x|-mm9s12xg] [-mshort|-mlong] [-mshort-double|-mlong-double] [--force-long-branches] [--short-branches] [--strict-direct-mode] [--print-insn-syntax] [--print-opcodes] [--generate-example] MCORE: [-jsri2bsr] [-sifilter] [-relax] [-mcpu=[210|340]] Meta: [-mcpu=cpu] [-mfpu=cpu] [-mdsp=cpu] MICROBLAZE: [-mlittle-endian] [-mbig-endian] MIPS: [-nocpp] [-EL] [-EB] [-O[optimization level]] [-g[debug level]] [-G num] [-KPIC] [-call_shared] [-non_shared] [-xgot [-mvxworks-pic] [-mabi=ABI] [-32] [-n32] [-64] [-mfp32] [-mgp32] [-mfp64] [-mgp64] [-mfpxx] [-modd-spreg] [-mno-odd-spreg] [-march=CPU] [-mtune=CPU] [-mips1] [-mips2] [-mips3] [-mips4] [-mips5] [-mips32] [-mips32r2] [-mips32r3] [-mips32r5] [-mips32r6] [-mips64] [-mips64r2] [-mips64r3] [-mips64r5] [-mips64r6] [-construct-floats] [-no-construct-floats] [-mignore-branch-isa] [-mno-ignore-branch-isa] [-mnan=encoding] [-trap] [-no-break] [-break] [-no-trap] [-mips16] [-no-mips16] [-mmips16e2] [-mno-mips16e2] [-mmicromips] [-mno-micromips] [-msmartmips] [-mno-smartmips] [-mips3d] [-no-mips3d] [-mdmx] [-no-mdmx] [-mdsp] [-mno-dsp] [-mdspr2] [-mno-dspr2] [-mdspr3] [-mno-dspr3] [-mmsa] [-mno-msa] [-mxpa] [-mno-xpa] [-mmt] [-mno-mt] [-mmcu] [-mno-mcu] [-mcrc] [-mno-crc] [-mginv] [-mno-ginv] [-mloongson-mmi] [-mno-loongson-mmi] [-mloongson-cam] [-mno-loongson-cam] [-mloongson-ext] [-mno-loongson-ext] [-mloongson-ext2] [-mno-loongson-ext2] [-minsn32] [-mno-insn32] [-mfix7000] [-mno-fix7000] [-mfix-rm7000] [-mno-fix-rm7000] [-mfix-vr4120] [-mno-fix-vr4120] [-mfix-vr4130] [-mno-fix-vr4130] [-mfix-r5900] [-mno-fix-r5900] [-mdebug] [-no-mdebug] [-mpdr] [-mno-pdr] MMIX: [--fixed-special-register-names] [--globalize-symbols] [--gnu-syntax] [--relax] [--no-predefined-symbols] [--no-expand] [--no-merge-gregs] [-x] [--linker-allocated-gregs] NDS32: [-EL] [-EB] [-O] [-Os] [-mcpu=cpu] [-misa=isa] [-mabi=abi] [-mall-ext] [-m[no-]16-bit] [-m[no-]perf-ext] [-m[no-]perf2-ext] [-m[no-]string-ext] [-m[no-]dsp-ext] [-m[no-]mac] [-m[no-]div] [-m[no-]audio-isa-ext] [-m[no-]fpu-sp-ext] [-m[no-]fpu-dp-ext] [-m[no-]fpu-fma] [-mfpu-freg=FREG] [-mreduced-regs] [-mfull-regs] [-m[no-]dx-regs] [-mpic] [-mno-relax] [-mb2bb] PDP11: [-mpic|-mno-pic] [-mall] [-mno-extensions] [-mextension|-mno-extension] [-mcpu] [-mmachine] picoJava: [-mb|-me] PowerPC: [-a32|-a64] [-mpwrx|-mpwr2|-mpwr|-m601|-mppc|-mppc32|-m603|-m604|-m403|-m405| -m440|-m464|-m476|-m7400|-m7410|-m7450|-m7455|-m750cl|-mgekko| -mbroadway|-mppc64|-m620|-me500|-e500x2|-me500mc|-me500mc64|-me5500| -me6500|-mppc64bridge|-mbooke|-mpower4|-mpwr4|-mpower5|-mpwr5|-mpwr5x| -mpower6|-mpwr6|-mpower7|-mpwr7|-mpower8|-mpwr8|-mpower9|-mpwr9-ma2| -mcell|-mspe|-mspe2|-mtitan|-me300|-mcom] [-many] [-maltivec|-mvsx|-mhtm|-mvle] [-mregnames|-mno-regnames] [-mrelocatable|-mrelocatable-lib|-K PIC] [-memb] [-mlittle|-mlittle-endian|-le|-mbig|-mbig-endian|-be] [-msolaris|-mno-solaris] [-nops=count] PRU: [-link-relax] [-mnolink-relax] [-mno-warn-regname-label] RISC-V: [-fpic|-fPIC|-fno-pic] [-march=ISA|Profiles|Profiles_ISA] [-mabi=ABI] [-mlittle-endian|-mbig-endian] RL78: [-mg10] [-m32bit-doubles|-m64bit-doubles] RX: [-mlittle-endian|-mbig-endian] [-m32bit-doubles|-m64bit-doubles] [-muse-conventional-section-names] [-msmall-data-limit] [-mpid] [-mrelax] [-mint-register=number] [-mgcc-abi|-mrx-abi] s390: [-m31|-m64] [-mesa|-mzarch] [-march=CPU] [-mregnames|-mno-regnames] [-mwarn-areg-zero] [-mwarn-regtype-mismatch=strict -mwarn-regtype-mismatch=relaxed -mwarn-regtype-mismatch=no -mno-warn-regtype-mismatch] SCORE: [-EB][-EL][-FIXDD][-NWARN] [-SCORE5][-SCORE5U][-SCORE7][-SCORE3] [-march=score7][-march=score3] [-USE_R1][-KPIC][-O0][-G num][-V] SPARC: [-Av6|-Av7|-Av8|-Aleon|-Asparclet|-Asparclite -Av8plus|-Av8plusa|-Av8plusb|-Av8plusc|-Av8plusd -Av8plusv|-Av8plusm|-Av9|-Av9a|-Av9b|-Av9c -Av9d|-Av9e|-Av9v|-Av9m|-Asparc|-Asparcvis -Asparcvis2|-Asparcfmaf|-Asparcima|-Asparcvis3 -Asparcvisr|-Asparc5] [-xarch=v8plus|-xarch=v8plusa]|-xarch=v8plusb|-xarch=v8plusc -xarch=v8plusd|-xarch=v8plusv|-xarch=v8plusm|-xarch=v9 -xarch=v9a|-xarch=v9b|-xarch=v9c|-xarch=v9d|-xarch=v9e -xarch=v9v|-xarch=v9m|-xarch=sparc|-xarch=sparcvis -xarch=sparcvis2|-xarch=sparcfmaf|-xarch=sparcima -xarch=sparcvis3|-xarch=sparcvisr|-xarch=sparc5 -bump] [-32|-64] [--enforce-aligned-data][--dcti-couples-detect] TIC54X: [-mcpu=54[123589]|-mcpu=54[56]lp] [-mfar-mode|-mf] [-merrors-to-file |-me ] TIC6X: [-march=arch] [-mbig-endian|-mlittle-endian] [-mdsbt|-mno-dsbt] [-mpid=no|-mpid=near|-mpid=far] [-mpic|-mno-pic] TILE-Gx: [-m32|-m64][-EB][-EL] Visium: [-mtune=arch] Xtensa: [--[no-]text-section-literals] [--[no-]auto-litpools] [--[no-]absolute-literals] [--[no-]target-align] [--[no-]longcalls] [--[no-]transform] [--rename-section oldname=newname] [--[no-]trampolines] [--abi-windowed|--abi-call0] Z80: [-march=CPU[-EXT][+EXT]] [-local-prefix=PREFIX] [-colonless] [-sdcc] [-fp-s=FORMAT] [-fp-d=FORMAT].SH " (DESCRIPTION)" as . ( ) . ( pseudo-ops ) . as "gcc" "ld" . as . . as 680x0 . as . . ( .) as . ( ). ( ) . as as ( ) . ctl-D as . -- . as . as ( ) . as . as . as -Wa . ( -Wa) . : gcc -c -g -O -Wa,-alh,-L file.c : -alh ( ) -L ( ). -Wa . ( -v .) (OPTIONS) @file file. @file . file () . file (whitespace) . . ( ) . file @file . -a[cdghilmns] (listing) : -ac -ad -ag as -ah -al -ali ginsn -am -an -as =file -aln . =file . -a -ahls . --alternate (alternate macro mode). --compress-debug-sections DWARF zlib SHF_COMPRESSED ELF ABI. . . --compress-debug-sections=none --compress-debug-sections=zlib --compress-debug-sections=zlib-gnu --compress-debug-sections=zlib-gabi --compress-debug-sections=zstd DWARF . --compress-debug-sections=none --nocompress-debug-sections . --compress-debug-sections=zlib --compress-debug-sections=zlib-gabi --compress-debug-sections . --compress-debug-sections=zlib-gnu DWARF zlib-gnu . .zdebug . --compress-debug-sections=zstd DWARF zstd . - . --nocompress-debug-sections DWARF . x86/x86_64 . -D (backends) . . . --debug-prefix-map old=new old new . --defsym sym=value sym value . value . C 0x 0 ( ) . ".set" . --dump-config . --elf-stt-common=no --elf-stt-common=yes ELF (common symbols) "STT_COMMON" . --enable-elf-stt-common . --emit-local-absolute () . --strip-local-absolute . --emulation=name . -f <<>>--- ( ). -g . STABS ECOFF DWARF2 . DWARF ".debug_info" ".debug_line" . --gstabs stabs . . --gstabs+ stabs GNU gdb . . GNU . --gdwarf-2 DWARF2 . . --- . --gdwarf-3 --gdwarf-2 DWARF . - . --gdwarf-4 --gdwarf-2 DWARF . - . --gdwarf-5 --gdwarf-2 DWARF . - . --gdwarf-sections .debug_line .debug_line.foo foo . .text.func dwarf .debug_line.text.func . .text .debug_line . --gdwarf-cie-version=version DWARF (CIE) . . version . --generate-missing-build-notes=yes --generate-missing-build-notes=no ELF GNU . --enable-generate-build-notes . --gsframe --gsframe --gsframe=no --gsframe=yes .sframe CFI . --gsframe=yes --gsframe . --gsframe=no . --hash-size N . . --help . --target-help . --info . --no-info . -I dir dir ".include". -J . -K . -L --keep-locals ( ). .L ELF L a.out. --listing-lhs-width=number ( ) number. --listing-lhs-width2=number ( ) number. --listing-rhs-width=number number . --listing-cont-lines=number number + 1. --multibyte-handling=allow --multibyte-handling=warn --multibyte-handling=warn-sym-only --multibyte-handling=warn_sym_only . ( allow ) . warn . warn-sym-only . ( ). --no-pad-sections (padding) . . -o objfile as objfile. -R /. --reduce-memory-overheads . . --scfi=experimental CFI (synthesize) . CFI . "--scfi=experimental" . . System V AMD64 ABI . ".type" ".size" . SCFI ".type" GAS FDE ( Function Descriptor Entry) . ".type" ( ) FDE . --sectname-subst . --size-check=error --size-check=warning ELF .size. --statistics ( ) ( ) . --strip-local-absolute . -v --verbose as..IP --version 4 -version as . -W --no-warn . --warn . --fatal-warnings . -w . -x . -Z . -- | files ... . as ARM (AArch64) . -EB big-endian . -EL little-endian . -mabi=abi ABI . : "ilp32" "lp64" ELF32 ELF64 . "lp64" . -mcpu=processor[+extension...] . . : "cortex-a34", "cortex-a35", "cortex-a53", "cortex-a55", "cortex-a57", "cortex-a65", "cortex-a65ae", "cortex-a72", "cortex-a73", "cortex-a75", "cortex-a76", "cortex-a76ae", "cortex-a77", "cortex-a78", "cortex-a78ae", "cortex-a78c", "cortex-a510", "cortex-a520", "cortex-a710", "cortex-a720", "ares", "exynos-m1", "falkor", "neoverse-n1", "neoverse-n2", "neoverse-e1", "neoverse-v1", "qdf24xx", "saphira", "thunderx", "vulcan", "xgene1" "xgene2", "cortex-r82", "cortex-x1", "cortex-x2", "cortex-x3", "cortex-x4". "all" . (mnemonics) . . . -march=architecture[+extension...] . . : "armv8-a", "armv8.1-a", "armv8.2-a", "armv8.3-a", "armv8.4-a" "armv8.5-a", "armv8.6-a", "armv8.7-a", "armv8.8-a", "armv8.9-a", "armv8-r", "armv9-a", "armv9.1-a", "armv9.2-a", "armv9.3-a", "armv9.4-a" "armv9.5-a". -mcpu -march -mcpu . -mcpu=all . -mcpu . -mcpu . -mverbose-error (verbose) gas AArch64 . . -mno-verbose-error gas AArch64 . -menable-sysreg-checking . as Alpha . -mcpu . . ".arch" . : 21064, "21064a", 21066, 21068, 21164, "21164a", "21164pc", 21264, "21264a", "21264b", "ev4", "ev5", "lca45", "ev5", "ev56", "pca56", "ev6", "ev67", "ev68". "all" Alpha . OSF/1 ".arch" MILO ( ARC ) ( 21064) PALcode <> ( "ev4") . -mdebug -no-mdebug ".mdebug" stabs . ".mdebug" stabs . -relax (relocations) . . . -replace -noreplace . VMS "-replace" . 1.4.1 OpenVMS Linker Utility Manual . -g . gcc mips-tfile ECOFF . ..IP -Gsize 4 (common symbol) size ".bss" ".sbss" . -F -32addr . as ARC . -mcpu=cpu (core) . -EB | -EL big-endian (-EB) little-endian (-EL) . -mcode-density Code Density . as ARM . -mcpu=processor[+extension...] ARM . -march=architecture[+extension...] ARM . -mfpu=floating-point-format . -mfloat-abi=abi ABI . -mthumb Thumb . -mapcs-32 | -mapcs-26 | -mapcs-float | -mapcs-reentrant (calling convention) . -EB | -EL big-endian (-EB) little-endian (-EL) . -mthumb-interwork (interworking) Thumb ARM . -mccs CodeComposer Studio . -k PIC . as Blackfin . -mcpu=processor[-sirevision] . sirevision . GCC "-mcpu=" . . : "bf504", "bf506", "bf512", "bf514", "bf516", "bf518", "bf522", "bf523", "bf524", "bf525", "bf526", "bf527", "bf531", "bf532", "bf533", "bf534", "bf535" ( ) "bf536", "bf537", "bf538", "bf539", "bf542", "bf542m", "bf544", "bf544m", "bf547", "bf547m", "bf548", "bf548m", "bf549", "bf549m", "bf561", "bf592". -mfdpic FDPIC ABI. -mno-fdpic -mnopic -mfdpic. as BPF . @chapter BPF Dependent Features BPF (BPF Options) -EB eBPF big-endian . -EL eBPF little-endian . -mdialect=dialect (dialect) . normal pseudoc . -misa-spec=spec BPF . BPF ISA v1 v2 v3 v4. xbpf GCC . BPF . -mno-relax (relax) . endianness (host endianness) . CRIS info . as C-SKY . -march=archname archname. --help archname . -mcpu=cpuname cpuname. --help cpuname . -EL -mlittle-endian little-endian. -EB -mbig-endian big-endian. -fpic -pic (position-independent code). -mljump -mno-ljump / "jbf" "jbt" "jbr" "jmpi". V2 . CK801 CK802 "jmpi" . -mbranch-stub -mno-branch-stub (relocations) "R_CKCORE_PCREL_IMM26BY2" "bsr" (linker). ELF (bare-metal) C-SKY V2 . ..IP -force2bsr 4 -mforce2bsr -no-force2bsr -mno-force2bsr "jbsr" "bsr" / . CK801/CK802 ( -mno-force2bsr ). -mbranch-stub . -jsri2bsr -mjsri2bsr -no-jsri2bsr -mno-jsri2bsr "jsri" "bsr" / . . -mnolrw -mno-lrw "lrw" "movih"/"ori" / . -melrw -mno-elrw "lrw" / . CK800 . -mlaf -mliterals-after-func -mno-laf -mno-literals-after-func (literal pools) / . -mlabr -mliterals-after-br -mno-labr -mnoliterals-after-br (literal pools) / . . -mistack -mno-istack / . CK801 CK802 CK802 . . "-mcpu=" . -mhard-float . -mmp . -mcp . -mcache . -msecurity C-SKY . -mtrust (trust) C-SKY . -mdsp DSP . -medsp DSP . -mvdsp DSP . as Epiphany . -mepiphany . . -mepiphany16 . as H8/300 . @chapter H8/300 (Options) Renesas H8/300 "as" : -h-tick-hex 0x00 H'00 . -mach=name H8300 . : "h8300h" "h8300hn" "h8300s" "h8300sn" "h8300sx" "h8300sxn". as i386 . --32 | --x32 | --64 (word size) . --32 Intel i386 --x32 --64 AMD x86-64 . ELF BFD ( --enable-64-bit-bfd configure x86-64 ). -n x86 GAS nop nop leal 0(%esi,1),%esi . nop (0x90) . --divide SVR4 / . --divide / . / # . -march=CPU[+EXTENSION...] . . : "i8086" "i186" "i286" "i386" "i486" "i586" "i686" "pentium" "pentiumpro" "pentiumii" "pentiumiii" "pentium4" "prescott" "nocona" "core" "core2" "corei7" "iamcu" "k6" "k6_2" "athlon" "opteron" "k8" "amdfam10" "bdver1" "bdver2" "bdver3" "bdver4" "znver1" "znver2" "znver3" "znver4" "znver5" "btver1" "btver2" "generic32" "generic64". (mnemonics) . "-march=i686+sse4+vmx" i686 sse4 vmx . : 8087 287 387 687 "cmov" "fxsr" "mmx" "sse" "sse2" "sse3" "sse4a" "ssse3" "sse4.1" "sse4.2" "sse4" "avx" "avx2" "lahf_sahf" "monitor" "adx" "rdseed" "prfchw" "smap" "mpx" "sha" "rdpid" "ptwrite" "cet" "gfni" "vaes" "vpclmulqdq" "prefetchwt1" "clflushopt" "se1" "clwb" "movdiri" "movdir64b" "enqcmd" "serialize" "tsxldtrk" "kl" "widekl" "hreset" "avx512f" "avx512cd" "avx512er" "avx512pf" "avx512vl" "avx512bw" "avx512dq" "avx512ifma" "avx512vbmi" "avx512_4fmaps" "avx512_4vnniw" "avx512_vpopcntdq" "avx512_vbmi2" "avx512_vnni" "avx512_bitalg" "avx512_vp2intersect" "tdx" "avx512_bf16" "avx_vnni" "avx512_fp16" "prefetchi" "avx_ifma" "avx_vnni_int8" "cmpccxadd" "wrmsrns" "msrlist" "avx_ne_convert" "rao_int" "fred" "lkgs" "avx_vnni_int16" "sha512" "sm3" "sm4" "pbndkb" "avx10.1" "avx10.1/512" "avx10.1/256" "avx10.1/128" "user_msr" "msr_imm" "apx_f" "avx10.2" "avx10.2/512" "avx10.2/256" "avx10.2/128" "movrs" "amx_int8" "amx_bf16" "amx_fp16" "amx_complex" "amx_transpose" "amx_tf32" "amx_fp8" "amx_movrs" "amx_avx512" "amx_tile" "vmx" "vmfunc" "smx" "xsave" "xsaveopt" "xsavec" "xsaves" "aes" "pclmul" "fsgsbase" "rdrnd" "f16c" "bmi2" "fma" "movbe" "ept" "lzcnt" "popcnt" "hle" "rtm" "tsx" "invpcid" "clflush" "mwaitx" "clzero" "wbnoinvd" "pconfig" "waitpkg" "uintr" "cldemote" "rdpru" "mcommit" "sev_es" "lwp" "fma4" "xop" "cx16" "syscall" "rdtscp" "3dnow" "3dnowa" "sse4a" "sse5" "snp" "invlpgb" "tlbsync" "rmpquery" "rmpread" "svme" "gmism2" "gmiccs" "padlockrng2" "padlockphe2" "padlockxmodx" "padlock". "no" ( ) . "-march=avx10." <<>> . ".arch" -march ".arch" ..IP -mtune=CPU 4 . -march -march . CPU -march=CPU . -moperand-check=none -moperand-check=warning -moperand-check=error . . -moperand-check=none . -moperand-check=warning . -moperand-check=error . -msse2avx SSE VEX AVX . SSE GPR EVEX AVX512 AVX10 . -muse-unaligned-vector-move (aligned) (unaligned) . -msse-check=none -msse-check=warning -msse-check=error SSE . -msse-check=none SSE . -msse-check=warning SSE . -msse-check=error SSE . -mavxscalar=128 -mavxscalar=256 AVX . -mavxscalar=128 AVX . -mavxscalar=256 AVX . : - (CPU errata) . -mvexwig=0 -mvexwig=1 VEX VEX.W ( WIG) . -mvexwig=0 WIG VEX vex.w = 0 . -mvexwig=1 WIG EVEX vex.w = 1 . : - (CPU errata) . -mevexlig=128 -mevexlig=256 -mevexlig=512 EVEX (LIG) . -mevexlig=128 LIG EVEX . -mevexlig=256 -mevexlig=512 LIG EVEX . -mevexwig=0 -mevexwig=1 EVEX w ( WIG) . -mevexwig=0 WIG EVEX evex.w = 0 . -mevexwig=1 WIG EVEX evex.w = 1 . -mmnemonic=att -mmnemonic=intel . ".att_mnemonic" ".intel_mnemonic" . -msyntax=att -msyntax=intel (syntax) . ".att_syntax" ".intel_syntax" . -mnaked-reg % . ".att_syntax" ".intel_syntax" . -madd-bnd-prefix BND . -mno-shared ELF PLT . -mshared . . . -mbig-obj PE/COFF (big object) . -momit-lock-prefix=no -momit-lock-prefix=yes lock . lock . . -momit-lock-prefix=yes lock . -momit-lock-prefix=no lock . -mfence-as-lock-add=no -mfence-as-lock-add=yes lfence mfence sfence . -mfence-as-lock-add=yes lfence mfence sfence lock addl $0x0, (%rsp) lock addl $0x0, (%esp) . -mfence-as-lock-add=no lfence mfence sfence . -mrelax-relocations=no -mrelax-relocations=yes (relax relocations) R_386_GOT32X R_X86_64_GOTPCRELX R_X86_64_REX_GOTPCRELX . -mrelax-relocations=yes . -mrelax-relocations=no . --enable-x86-relax-relocations . -mtls-check=no -mtls-check=yes tls . -mtls-check=yes tls . -mtls-check=no tls . --enable-x86-tls-check . -malign-branch-boundary=NUM NOP . NUM . . NUM . -malign-branch-boundary=0 . -malign-branch=TYPE[+TYPE...] . TYPE jcc fused jmp call ret indirect . -malign-branch=jcc+fused+jmp ..IP -malign-branch-prefix-size=NUM 4 (branches) . NUM 0 5 . NUM 5 . -mbranches-within-32B-boundaries (fused) 32 5 . : -malign-branch-boundary=32 -malign-branch=jcc+fused+jmp -malign-branch-prefix-size=5. . -mlfence-after-load=no -mlfence-after-load=yes load lfence . -mlfence-after-load=yes lfence . -mlfence-after-load=no lfence . -mlfence-before-indirect-branch=none -mlfence-before-indirect-branch=all -mlfence-before-indirect-branch=register -mlfence-before-indirect-branch=memory (indirect near branch) lfence . -mlfence-before-indirect-branch=all lfence . -mlfence-before-ret= -mlfence-before-ret=shl . -mlfence-before-indirect-branch=register lfence . -mlfence-before-indirect-branch=memory . -mlfence-before-indirect-branch=none lfence . -mlfence-after-load=yes lfence lfence . -mlfence-before-ret=none -mlfence-before-ret=shl -mlfence-before-ret=or -mlfence-before-ret=yes -mlfence-before-ret=not ret lfence . -mlfence-before-ret=or or lfence . -mlfence-before-ret=shl/yes shl lfence . -mlfence-before-ret=not not lfence . -mlfence-before-ret=none lfence . -mx86-used-note=no -mx86-used-note=yes (GNU property notes) GNU_PROPERTY_X86_ISA_1_USED GNU_PROPERTY_X86_FEATURE_2_USED . --enable-x86-used-note . -mevexrcig=rne -mevexrcig=rd -mevexrcig=ru -mevexrcig=rz EVEX -SAE . -mevexrcig=rne RC EVEX 00 . -mevexrcig=rd -mevexrcig=ru -mevexrcig=rz EVEX -SAE RC 01 10 11 . -mamd64 -mintel64 64 ISA AMD64 Intel64 . ISA Intel64 AMD64 . -O0 | -O | -O1 | -O2 | -Os . -O -O1 64 64 32 31 32 64 32 256 /512 VEX/EVEX 128 VEX / 128 /256 EVEX / VEX (packed integer logical) 128 /256 EVEX 128 /256 VEX . -O2 -O1 256 /512 EVEX 128 EVEX . 64 VEX (commutative) 2 VEX 3 . AND OR () TEST . -Os -O2 16 32 64 8 . -O0 . as Ubicom IP2K . -mip2022ext IP2022 . -mip2022 IP2022 . as Renesas M32C M16C . -m32c M32C. -m16c M16C (). -relax (link-time relaxations). -h-tick-hex H'00 0x00. as Renesas M32R ( Mitsubishi M32R) . --m32rx M32R . M32R M32RX . --warn-explicit-parallel-conflicts or --Wp . --no-warn-explicit-parallel-conflicts or --Wnp . as Motorola 68000 . -l . -m68000 | -m68008 | -m68010 | -m68020 | -m68030 | -m68040 | -m68060 | -m68302 | -m68331 | -m68332 | -m68333 | -m68340 | -mcpu32 | -m5200 68000 . 68020 . -m68881 | -m68882 | -mno-68881 | -mno-68882 (floating-point coprocessor) ( ). 68020 68030 cpu32 . 68000 68881 . -m68851 | -mno-68851 (MMU) ( ). 68020 MMU . PDP-11 PDP-11-Options . -mpic | -mno-pic ( ). -mpic ..IP -mall 4 -mall-extensions . . -mno-extensions . -mextension | -mno-extension ( ) . -mcpu CPU . -mmachine . as picoJava . -mb "big endian". -ml "little endian". as PRU . -mlink-relax LD expression LDI32 . LD LDI32 LDI . "as" (diff expressions) DIFF . -mno-link-relax LD LDI32 . DIFF . -mno-warn-regname-label . . C . as MIPS . -G num "gp" . ECOFF DECstation Ultrix. . -EB "big endian". -EL "little endian". -mips1 -mips2 -mips3 -mips4 -mips5 -mips32 -mips32r2 -mips32r3 -mips32r5 -mips32r6 -mips64 -mips64r2 -mips64r3 -mips64r5 -mips64r6 (ISA) MIPS. -mips1 -march=r3000 -mips2 -march=r6000 -mips3 -march=r4000 -mips4 -march=r8000 . -mips5 -mips32 -mips32r2 -mips32r3 -mips32r5 -mips32r6 -mips64 -mips64r2 -mips64r3 -mips64r5 -mips64r6 MIPS V MIPS32 MIPS32 Release 2 MIPS32 Release 3 MIPS32 Release 5 MIPS32 Release 6 MIPS64 MIPS64 Release 2 MIPS64 Release 3 MIPS64 Release 5 MIPS64 Release 6 . -march=cpu (CPU) MIPS. -mtune=cpu CPU MIPS. -mfix7000 -mno-fix7000 mfhi mflo nop . -mfix-rm7000 -mno-fix-rm7000 dmult dmultu (load) nop . -mfix-r5900 -mno-fix-r5900 (delay slot) (branch) "nop" . R5900 . -mdebug -no-mdebug stabs .stabs ELF .mdebug ECOFF . -mpdr -mno-pdr ".pdr" . -mgp32 -mfp32 ISA ABI . -mgp32 (general-purpose) -mfp32 (floating-point) . -mgp64 -mfp64 ISA ABI . -mgp64 -mfp64 . -mfpxx ISA ABI -mabi=32 ABI . -modd-spreg -mno-odd-spreg ISA (single-precision) . -mfpxx -mno-odd-spreg -modd-spreg . -mips16 -no-mips16 MIPS 16. ".module mips16" . -no-mips16 . -mmips16e2 -mno-mips16e2 MIPS16e2 MIPS16 . ".module mips16e2" . -mno-mips16e2 ..IP -mmicromips 4 -mno-micromips microMIPS. ".module micromips" . -mno-micromips . ".module nomicromips" . -msmartmips -mno-smartmips SmartMIPS MIPS32 . ".module smartmips" . -mno-smartmips . -mips3d -no-mips3d MIPS-3D ( MIPS-3D Application Specific Extension). MIPS-3D . -no-mips3d . -mdmx -no-mdmx MDMX. MDMX . -no-mdmx . -mdsp -mno-dsp DSP Release 1. DSP Release 1 . -mno-dsp . -mdspr2 -mno-dspr2 DSP Release 2. -mdsp . DSP Release 2 . -mno-dspr2 . -mdspr3 -mno-dspr3 DSP Release 3. -mdsp -mdspr2 . DSP Release 3 . -mno-dspr3 . -mmsa -mno-msa (MIPS SIMD Architecture Extension). MSA . -mno-msa . -mxpa -mno-xpa MIPS (XPA). XPA . -mno-xpa . -mmt -mno-mt MT. MT . -mno-mt . -mmcu -mno-mcu MCU. MCU . -mno-mcu . -mcrc -mno-crc (CRC) MIPS. CRC . -mno-crc . -mginv -mno-ginv (GINV). GINV . -mno-ginv . -mloongson-mmi -mno-loongson-mmi (Loongson MMI). MMI . -mno-loongson-mmi . -mloongson-cam -mno-loongson-cam (CAM) Loongson. Loongson CAM . -mno-loongson-cam . -mloongson-ext -mno-loongson-ext (Loongson EXT). Loongson EXT . -mno-loongson-ext . -mloongson-ext2 -mno-loongson-ext2 (Loongson EXT2). -mloongson-ext . Loongson EXT2 . -mno-loongson-ext2 . -minsn32 -mno-insn32 microMIPS . . ".set insn32" . -mno-insn32 . ".set noinsn32" . -mno-insn32 . --construct-floats --no-construct-floats --no-construct-floats . --construct-floats . --relax-branch --no-relax-branch --relax-branch (branch relaxation) . --no-relax-branch . -mignore-branch-isa -mno-ignore-branch-isa ISA . ISA ISA ISA . GAS ISA . -mignore-branch-isa . -mno-ignore-branch-isa ISA ..IP -mnan=encoding 4 NaN IEEE 754-2008 (-mnan=2008) (-mnan=legacy). . --emulation=name ELF ECOFF IRIX 5 . MIPS ECOFF GAS 2.24 . . : mipself mipslelf mipsbelf. mipself ELF . mipslelf mipsbelf little- big-endian -EL -EB . -nocpp as . . --trap --no-trap --break --no-break . --trap --no-break ( ) trap ( ) --break --no-trap ( ) break . -n as nop . as LoongArch . -fpic -fPIC (PIC) -fno-pic () as Meta . "-mcpu=metac11" Meta 1.1. "-mcpu=metac12" Meta 1.2. "-mcpu=metac21" Meta 2.1. "-mfpu=metac21" FPU Meta 2.1. MMIX info . as NDS32 . "-O1" . "-Os" . "-EL" little-endian. "-EB" little-endian. "-mpic" PIC. "-mno-fp-as-gp-relax" fp-as-gp relaxation . "-mb2bb-relax" (Back-to-back). "-mno-all-relax" relaxation . "-march=" v3 v3j v3m v3f v3s v2 v2j v2f v2s . "-mbaseline=" v2 v3 v3m . "-mfpu-freg=FREG" FPU. "0 8 SP / 4 DP registers" "1 16 SP / 8 DP registers" "2 32 SP / 16 DP registers" "3 32 SP / 32 DP registers" "-mabi=abi" abi v1 v2 v2fp v2fpp . "-m[no-]mac" / (Multiply). "-m[no-]div" / (Divide). "-m[no-]16bit-ext" / "-m[no-]dx-regs" / d0/d1 "-m[no-]perf-ext" / (Performance) "-m[no-]perf2-ext" / (Performance 2) "-m[no-]string-ext" / (String) "-m[no-]reduced-regs" / (GPR16) "-m[no-]audio-isa-ext" / (AUDIO ISA) "-m[no-]fpu-sp-ext" / FPU SP "-m[no-]fpu-dp-ext" / FPU DP "-m[no-]fpu-fma" / fused-multiply-add FPU "-mall-ext" as PowerPC . -a32 ELF32 XCOFF32..IP -a64 4 ELF64 XCOFF64. -K PIC EF_PPC_RELOCATABLE_LIB ELF. -mpwrx | -mpwr2 POWER/2 (RIOS2). -mpwr POWER (RIOS1). -m601 PowerPC 601. -mppc, -mppc32, -m603, -m604 PowerPC 603/604. -m403, -m405 PowerPC 403/405. -m440 PowerPC 440. BookE 405. -m464 PowerPC 464. -m476 PowerPC 476. -m7400, -m7410, -m7450, -m7455 PowerPC 7400/7410/7450/7455. -m750cl, -mgekko, -mbroadway PowerPC 750CL/Gekko/Broadway. -m821, -m850, -m860 PowerPC 821/850/860. -mppc64, -m620 PowerPC 620/625/630. -me200z2, -me200z4 e200 e200z2 LSP e200z4 SPE. -me300 PowerPC e300. -me500, -me500x2 Motorola e500. -me500mc Freescale e500mc. -me500mc64 Freescale e500mc64. -me5500 Freescale e5500. -me6500 Freescale e6500. -mlsp LSP. ( SPE SPE2.) -mspe Motorola SPE. ( LSP.) -mspe2 Freescale SPE2. ( LSP.) -mtitan AppliedMicro Titan. -mppc64bridge PowerPC 64 bridge. -mbooke BookE -. -ma2 A2. -maltivec AltiVec. -mvle Freescale PowerPC VLE. -mvsx Vector-Scalar (VSX). -mhtm (Hardware Transactional Memory). -mpower4, -mpwr4 Power4. -mpower5, -mpwr5, -mpwr5x Power5. -mpower6, -mpwr6 Power6. -mpower7, -mpwr7 Power7. -mpower8, -mpwr8 Power8. -mpower9, -mpwr9 Power9. -mpower10, -mpwr10 Power10. -mpower11, -mpwr11 Power11. -mfuture 'future'. -mcell -mcell Cell Broadband Engine. -mcom Power/PowerPC. -many (PWR/PWRX/PPC). -mregnames . -mno-regnames . -mrelocatable -mrelocatable GCC. -mrelocatable-lib -mrelocatable-lib GCC. -memb PPC_EMB ELF. -mlittle, -mlittle-endian, -le (little endian). -mbig, -mbig-endian, -be (big endian). -msolaris Solaris. -mno-solaris Solaris. -nops=count count nop nop . as RISC-V . -fpic -fPIC (position-independent). -fno-pic (). -march=ISA|Profiles|Profiles_ISA isa ISA Profiles Profiles_ISA . -march=rv32ima -march=RVI20U64 -march=RVI20U64_d. --with-arch=ISA . -misa-spec=ISAspec (spec) isa. ISA -march . --with-isa-spec=ISAspec . -mpriv-spec=PRIVspec (privileged spec). CSR . --with-priv-spec=PRIVspec . -mabi=ABI ABI "ilp32" "lp64" "f" "d" "q" (single-precision) (double-precision) (quad-precision) "e" (soft-float) ("e" ABI soft-float RVE )..IP -mrelax 4 (linker relaxations) . () -mno-relax . -march-attr riscv elf .attribute . (runtime loader) . ISA (stack alignment) (privileged specification) . -mno-arch-attr .attribute riscv elf . -mcsr-check CSR CSR ISA CSR . CSR ISA ISA . CSR CSR . -mno-csr-check CSR . -mlittle-endian (little-endian). -mbig-endian (big- endian). RX info . as s390 . -m31 -m64 / . -mesa -mzarch Enterprise System Architecture (esa) z/Architecture (zarch). -march=processor s390 : g5 ( arch3) g6 z900 ( arch5) z990 ( arch6) z9-109 z9-ec ( arch7) z10 ( arch8) z196 ( arch9) zEC12 ( arch10) z13 ( arch11) z14 ( arch12) z15 ( arch13) z16 ( arch14) z17 ( arch15). -mregnames -mno-regnames . -mwarn-areg-zero (base) (index) . -mwarn-regtype-mismatch=strict -mwarn-regtype-mismatch=relaxed -mwarn-regtype-mismatch=no -mno-warn-regtype-mismatch . ( relaxed ) (FPR) %f0 %f15 (VR) (VR) %v0 %v15 (FPR) . FPR VR . strict . no -mno-warn-regtype-mismatch . as TMS320C6000 . -march=arch () arch. . arch : "c62x" "c64x" "c64x+" "c67x" "c67x+" "c674x". -mdsbt -mno-dsbt -mdsbt "Tag_ABI_DSBT" 1 DSBT . -mno-dsbt 0 DSBT . (objects) (DSBT DSBT) . -mpid=no -mpid=near -mpid=far -mpid= "Tag_ABI_PID" . -mpid=no -mpid=near GOT DP -mpid=far GOT DP . . -mpic -mno-pic -mpic "Tag_ABI_PIC" 1 . "-mno-pic" 0 . ( ) . -mbig-endian -mlittle-endian . little-endian . as TILE-Gx . -m32 | -m64 . -EB | -EL (-EB) (-EL). as Visium . -mtune=arch . . : "mcm24" "mcm" "gr5" "gr6" as Xtensa . --text-section-literals | --no-text-section-literals (literal pools) . --no-text-section-literals . RAM/ROM . --text-section-literals text . "L32R" text . ".literal_position" "ENTRY" . (PC-relative) "L32R" "L32R" . --auto-litpools | --no-auto-litpools . --no-auto-litpools --text-section-literals . RAM/ROM . --auto-litpools text ".literal_position" . "L32R" . (PC-relative) "L32R" "L32R" . --text-section-literals --auto-litpools ..IP "--absolute-literals | --no-absolute-literals" 4 "L32R" PC (PC-relative). (relocations) "L32R" . PC "L32R" . --target-align | --no-target-align (branch penalties) . . "LOOP" . --longcalls | --no-longcalls (call) . . (linker) . --no-longcalls . --transform | --no-transform Xtensa (relaxation) . --transform --no-transform . --no-transform . --rename-section oldname=newname oldname newname. . --trampolines | --no-trampolines (jump) . . . --trampolines . --abi-windowed | --abi-call0 ABI ".xtensa.info" . ABI ABI . ABI . ABI Xtensa . as Z80 . @chapter Z80 (Command-line Options) -march=CPU[-EXT...][+EXT...] . . : "z80" "z180" "ez80" "gbz80" "z80n" "r800". (mnemonics) . "-march=z180+sli+infc" SLI IN F,(C) z180 . : "full" ( ) "adl" ( ADL eZ80) "sli" ( SLI SLL SL1 ) "xyhl" ( : IXL IXH IYL IYH) "xdcb" ( RotOp (II+d),R BitOp n,(II+d),R) "infc" ( IN F,(C) IN (C)) "outc0" ( OUT (C),0). "-" : "-march=z80-full+xyhl" . "-march=z80+xyhl+infc" . -local-prefix=prefix (local) . (global) . ".L" . -colonless (:). . -sdcc SDCC. -fp-s=FORMAT . : ieee754 ( ). -fp-d=FORMAT . : ieee754 ( ). (SEE ALSO) gcc(1) ld(1) Info binutils ld. (COPYRIGHT) Copyright (c) 1991-2025 Free Software Foundation, Inc. / (GNU Free Documentation License) . . <> . binutils-2.45.1 2026-01-23 AS(1)