aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2001-06-20 22:40:13 +0000
committerHans-Peter Nilsson <hp@axis.com>2001-06-20 22:40:13 +0000
commit62bf86b426b3408cd7a880d35ba44338397b8e54 (patch)
treef84b83bd23d0e2e7e6e076be76996688059fd847 /ld/ld.texinfo
parentd1d013c334d753a24f0c105eec070adc84c64404 (diff)
downloadgdb-62bf86b426b3408cd7a880d35ba44338397b8e54.zip
gdb-62bf86b426b3408cd7a880d35ba44338397b8e54.tar.gz
gdb-62bf86b426b3408cd7a880d35ba44338397b8e54.tar.bz2
* ld.texinfo (Options, -r): Mention restrictions when using
different object formats.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo9
1 files changed, 8 insertions, 1 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 166c4f1..db0cb28 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -52,7 +52,8 @@ END-INFO-DIR-ENTRY
@ifinfo
This file documents the @sc{gnu} linker LD version @value{VERSION}.
-Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc.
+Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000,
+2001 Free Software Foundation, Inc.
@ignore
@@ -701,6 +702,12 @@ If this option is not specified, an absolute file is produced. When
linking C++ programs, this option @emph{will not} resolve references to
constructors; to do that, use @samp{-Ur}.
+When an input file does not have the same format as the output file,
+partial linking is only supported if that input file does not contain any
+relocations. Different output formats can have further restrictions; for
+example some @code{a.out}-based formats do not support partial linking
+with input files in other formats at all.
+
This option does the same thing as @samp{-i}.
@kindex -R @var{file}