]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/doc/gcc/gcc-command-options/passing-options-to-the-assembler.rst
sphinx: copy files from texi2rst-generated repository
[thirdparty/gcc.git] / gcc / doc / gcc / gcc-command-options / passing-options-to-the-assembler.rst
1 ..
2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
5
6 .. _assembler-options:
7
8 Passing Options to the Assembler
9 ********************************
10
11 .. prevent bad page break with this line
12
13 You can pass options to the assembler.
14
15 .. option:: -Wa,option
16
17 Pass :samp:`{option}` as an option to the assembler. If :samp:`{option}`
18 contains commas, it is split into multiple options at the commas.
19
20 .. option:: -Xassembler {option}
21
22 Pass :samp:`{option}` as an option to the assembler. You can use this to
23 supply system-specific assembler options that GCC does not
24 recognize.
25
26 If you want to pass an option that takes an argument, you must use
27 :option:`-Xassembler` twice, once for the option and once for the argument.