aboutsummaryrefslogtreecommitdiff
path: root/binutils/doc
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2020-02-10 16:22:00 +0000
committerNick Clifton <nickc@redhat.com>2020-02-10 16:22:00 +0000
commit3a5d12fbb4f7888525978f9fba46b977afabe391 (patch)
tree78ab7e8fb6f09ab337aaac2eeb44f3ef0eb824f4 /binutils/doc
parent46471187e440135c1f6e6b2c06df2139b61dfea2 (diff)
downloadgdb-3a5d12fbb4f7888525978f9fba46b977afabe391.zip
gdb-3a5d12fbb4f7888525978f9fba46b977afabe391.tar.gz
gdb-3a5d12fbb4f7888525978f9fba46b977afabe391.tar.bz2
Allow objcopy's --set-section-flags options to add or remove the SHF_EXCLUDE flag of ELF sections.
* objcopy.c (parse_flags): Handle "exclude". * doc/binutils.texi: Document the support.
Diffstat (limited to 'binutils/doc')
-rw-r--r--binutils/doc/binutils.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
index 669bee9..289d7b1 100644
--- a/binutils/doc/binutils.texi
+++ b/binutils/doc/binutils.texi
@@ -1644,10 +1644,10 @@ Set the flags for any sections matching @var{sectionpattern}. The
@var{flags} argument is a comma separated string of flag names. The
recognized names are @samp{alloc}, @samp{contents}, @samp{load},
@samp{noload}, @samp{readonly}, @samp{code}, @samp{data}, @samp{rom},
-@samp{share}, and @samp{debug}. You can set the @samp{contents} flag
-for a section which does not have contents, but it is not meaningful
-to clear the @samp{contents} flag of a section which does have
-contents--just remove the section instead. Not all flags are
+@samp{exclude}, @samp{share}, and @samp{debug}. You can set the
+@samp{contents} flag for a section which does not have contents, but it
+is not meaningful to clear the @samp{contents} flag of a section which
+does have contents--just remove the section instead. Not all flags are
meaningful for all object file formats.
@item --set-section-alignment @var{sectionpattern}=@var{align}