aboutsummaryrefslogtreecommitdiff
path: root/binutils/doc
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2003-12-23 13:01:11 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2003-12-23 13:01:11 +0000
commit4087920c2bc1e852a6c623df3835bec21e654d69 (patch)
tree71451ea61c3233efed7677fae147197d9f14cc39 /binutils/doc
parent231bc717e91afa0707b1078177a5f0aadf282f66 (diff)
downloadgdb-4087920c2bc1e852a6c623df3835bec21e654d69.zip
gdb-4087920c2bc1e852a6c623df3835bec21e654d69.tar.gz
gdb-4087920c2bc1e852a6c623df3835bec21e654d69.tar.bz2
* objcopy.c (bfd_flags_to_set, bfd_flags_to_clear): New variables
to handle flags for tweaking. (copy_options): New options: impure, pure, readonly-text, writable-text. (copy_usage, copy_object, command_line_switch): Handle the new options. * doc/binutils.texi: Document the new options.
Diffstat (limited to 'binutils/doc')
-rw-r--r--binutils/doc/binutils.texi20
1 files changed, 20 insertions, 0 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
index ffa680f..2e78720 100644
--- a/binutils/doc/binutils.texi
+++ b/binutils/doc/binutils.texi
@@ -976,6 +976,10 @@ objcopy [@option{-F} @var{bfdname}|@option{--target=}@var{bfdname}]
[@option{--prefix-alloc-sections=}@var{string}]
[@option{--add-gnu-debuglink=}@var{path-to-file}]
[@option{--only-keep-debug}]
+ [@option{--writable-text}]
+ [@option{--readonly-text}]
+ [@option{--pure}]
+ [@option{--impure}]
[@option{-v}|@option{--verbose}]
[@option{-V}|@option{--version}]
[@option{--help}] [@option{--info}]
@@ -1357,6 +1361,22 @@ a machine is assigned an official code and the tool-chain adopts the
new code, but other applications still depend on the original code
being used.
+@item --writable-text
+Mark the output text as writable. This option isn't meaningful for all
+object file formats.
+
+@item --readonly-text
+Make the output text write protected. This option isn't meaningful for all
+object file formats.
+
+@item --pure
+Mark the output file as demand paged. This option isn't meaningful for all
+object file formats.
+
+@item --impure
+Mark the output file as impure. This option isn't meaningful for all
+object file formats.
+
@item --prefix-symbols=@var{string}
Prefix all symbols in the output file with @var{string}.