* ld.texinfo (Options, -r): Mention restrictions when using

different object formats.
This commit is contained in:
Hans-Peter Nilsson
2001-06-20 22:40:13 +00:00
parent d1d013c334
commit 62bf86b426
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-06-21 Hans-Peter Nilsson <hp@axis.com>
* ld.texinfo (Options, -r): Mention restrictions when using
different object formats.
2001-06-19 Hans-Peter Nilsson <hp@axis.com>
* ldlang.c (lang_check): Emit fatal error if relocatable link

View File

@ -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}