aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2007-04-26 07:15:41 +0000
committerRichard Sandiford <richard@codesourcery.com>2007-04-26 07:15:41 +0000
commiteb966e9a41fef9a5be312a57c405c9ae9e8af2ed (patch)
tree010c4663638f6a5bafb1150041a9a53385dc84a9 /gcc/doc
parent9b79004d5c405b3d98f931c7cdb4fb87523c3f2f (diff)
gcc/
PR driver/31107 * doc/invoke.texi (%:print-asm-header): Document. * gcc.c (asm_options): Use %:print-asm-header() for --target-help and -ftarget-help. (static_spec_functions): Add print-asm-header. (main): Print a banner before the --target-help linker options. (print_asm_header_spec_function): New function. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@124175 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index fb960760562..cc5feb9c8fb 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -7663,6 +7663,19 @@ is a small example of its usage:
%@{fgnu-runtime:%:replace-outfile(-lobjc -lobjc-gnu)@}
@end smallexample
+@item @code{print-asm-header}
+The @code{print-asm-header} function takes no arguments and simply
+prints a banner like:
+
+@smallexample
+Assember options
+================
+
+Use "-Wa,OPTION" to pass "OPTION" to the assembler.
+@end smallexample
+
+It is used to separate compiler options from assembler options
+in the @option{--target-help} output.
@end table
@item %@{@code{S}@}