diff options
author | Nick Clifton <nickc@redhat.com> | 2021-04-29 13:11:29 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2021-04-29 13:11:29 +0100 |
commit | 5edb8e3f5ad8d74a83fc0df7f6e4514eed0aa77f (patch) | |
tree | 5653bbe69ee33393e8bbb3a7198b8867c01cc28a | |
parent | 3abbafc2aacc6706fea3e3e326e2f08d107c3672 (diff) | |
download | gdb-5edb8e3f5ad8d74a83fc0df7f6e4514eed0aa77f.zip gdb-5edb8e3f5ad8d74a83fc0df7f6e4514eed0aa77f.tar.gz gdb-5edb8e3f5ad8d74a83fc0df7f6e4514eed0aa77f.tar.bz2 |
Correct the text describing windres's --processor option.
PR 27594
* doc/binutils.texi (windres): Correct the description of the
default value of the --preprocessor argument.
-rw-r--r-- | binutils/ChangeLog | 6 | ||||
-rw-r--r-- | binutils/doc/binutils.texi | 7 |
2 files changed, 12 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index a260313..67fff0b 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2021-04-29 Nick Clifton <nickc@redhat.com> + + PR 27594 + * doc/binutils.texi (windres): Correct the description of the + default value of the --preprocessor argument. + 2021-04-27 Nick Clifton <nickc@redhat.com> PR 27779 diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index a8157ad..9578c08 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -4279,7 +4279,7 @@ format, which is the first one listed by the @option{--help} option. When @command{windres} reads an @code{rc} file, it runs it through the C preprocessor first. This option may be used to specify the preprocessor to use, including any leading arguments. The default preprocessor -argument is @code{gcc -E -xc-header -DRC_INVOKED}. +argument is @code{gcc}. @item --preprocessor-arg @var{option} When @command{windres} reads an @code{rc} file, it runs it through @@ -4287,6 +4287,11 @@ the C preprocessor first. This option may be used to specify additional text to be passed to preprocessor on its command line. This option can be used multiple times to add multiple options to the preprocessor command line. +If the @option{--preprocessor} option has not been specified then a +default set of preprocessor arguments will be used, with any +@option{--preprocessor-arg} options being placed after them on the +command line. These default arguments are @code{-E -xc-header +-DRC_INVOKED}. @item -I @var{directory} @itemx --include-dir @var{directory} |