[patch] Document --emit-relocs as ELF-only

John Marshall jmarshall@acm.org
Mon Jan 7 00:38:00 GMT 2002


For six months I've been anticipating that moving to binutils 2.11 with
its linker's --emit-relocs option will solve all my problems, but now
that I'm doing it I've realised it doesn't do anything on m68k-coff. :-)

I've got a patch that implements the option on COFF, and it might even
be more or less correct.  But it's pretty ugly (more so than the ELF
version), and I haven't decided whether it's worth submitting or whether
this is the last straw that will finally push me over to m68k-elf.

Here's a documentation tweak that will stop the next non-ELF diehard
from getting too excited.

2002-01-06  John Marshall  <jmarshall@acm.org>

        * ld.texinfo: Note that --emit-relocs is currently only
	implemented for ELF.

RCS file: /cvs/src/src/ld/ld.texinfo,v
retrieving revision 1.59
diff -u -r1.59 ld.texinfo
--- ld.texinfo	2001/12/19 09:20:22	1.59
+++ ld.texinfo	2002/01/06 16:26:53
@@ -689,6 +689,8 @@
 order to perform correct modifications of executables.  This results
 in larger executables.
 
+This option is currently only supported on ELF platforms.
+
 @cindex partial link
 @cindex relocatable output
 @kindex -r



More information about the Binutils mailing list