aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2011-07-16 07:58:40 +0000
committerRoland McGrath <roland@gnu.org>2011-07-16 07:58:40 +0000
commit30824704e933a2dad20afc97be7bce651e4b5ac1 (patch)
tree49a5ba33578f0ab2f30b548e4dbd12af83baa7c1 /ld/ld.texinfo
parent436ce5e7e644c7b1746e83fa371b2fda18a83aad (diff)
downloadgdb-30824704e933a2dad20afc97be7bce651e4b5ac1.zip
gdb-30824704e933a2dad20afc97be7bce651e4b5ac1.tar.gz
gdb-30824704e933a2dad20afc97be7bce651e4b5ac1.tar.bz2
Implement ld --print-output-format.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 4fb649a..7547c0a5 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -1401,6 +1401,13 @@ default behaviour (of not listing the sections that are removed) can
be restored by specifying @samp{--no-print-gc-sections} on the command
line.
+@kindex --print-output-format
+@cindex output format
+@item --print-output-format
+Print the name of the default output format (perhaps influenced by
+other command-line options). This is the string that would appear
+in an @code{OUTPUT_FORMAT} linker script command (@pxref{File Commands}).
+
@cindex help
@cindex usage
@kindex --help