public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Re: A patch for binutils.texi
@ 2000-06-15 12:20 Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2000-06-15 12:20 UTC (permalink / raw)
  To: hjl; +Cc: binutils, ian

Hi H.J.

: 2000-06-15  H.J. Lu  <hjl@gnu.org>
: 
: 	* binutils.texi: Put a warning on copying relocatable object
: 	files between two different formats.

Approved.

Cheers
	Nick

^ permalink raw reply	[flat|nested] 2+ messages in thread

* A patch for binutils.texi
@ 2000-06-15 12:01 H . J . Lu
  0 siblings, 0 replies; 2+ messages in thread
From: H . J . Lu @ 2000-06-15 12:01 UTC (permalink / raw)
  To: binutils; +Cc: Ian Lance Taylor

Ian told me that you cannot use objcopy to copy a relocatable object
file between any two formats. But I know some users do that and
expect it to work. Here is a patch to binutils.texi to clear it
up.

-- 
H.J. Lu (hjl@gnu.org)
---
2000-06-15  H.J. Lu  <hjl@gnu.org>

	* binutils.texi: Put a warning on copying relocatable object
	files between two different formats.

--- /work/gnu/import/binutils/src/binutils/binutils.texi	Wed Apr  5 11:14:05 2000
+++ ./binutils.texi	Thu Jun 15 10:51:50 2000
@@ -895,6 +895,9 @@ file to another.  @code{objcopy} uses th
 read and write the object files.  It can write the destination object
 file in a format different from that of the source object file.  The
 exact behavior of @code{objcopy} is controlled by command-line options.
+Note that @code{objcopy} should be able to copy a fully linked file
+between any two formats. However, copying a relocatable object file
+between any two formats may not work as expected.
 
 @code{objcopy} creates temporary files to do its translations and
 deletes them afterward.  @code{objcopy} uses @sc{bfd} to do all its

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-06-15 12:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-15 12:20 A patch for binutils.texi Nick Clifton
  -- strict thread matches above, loose matches on Subject: below --
2000-06-15 12:01 H . J . Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).