public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [patch] Document --emit-relocs as ELF-only
@ 2002-01-07  0:38 John Marshall
  2002-01-07 11:41 ` Nick Clifton
  0 siblings, 1 reply; 2+ messages in thread
From: John Marshall @ 2002-01-07  0:38 UTC (permalink / raw)
  To: binutils

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

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

* Re: [patch] Document --emit-relocs as ELF-only
  2002-01-07  0:38 [patch] Document --emit-relocs as ELF-only John Marshall
@ 2002-01-07 11:41 ` Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2002-01-07 11:41 UTC (permalink / raw)
  To: John Marshall; +Cc: binutils

Hi John,

> 2002-01-06  John Marshall  <jmarshall@acm.org>
> 
>         * ld.texinfo: Note that --emit-relocs is currently only
> 	implemented for ELF.

Approved and applied.

Cheers
        Nick

PS.  If you feel motivated enough you could also add a warning message
in lexsup.c:parse_args() to be generated if the output format is not
an ELF format...

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

end of thread, other threads:[~2002-01-07 17:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-07  0:38 [patch] Document --emit-relocs as ELF-only John Marshall
2002-01-07 11:41 ` Nick Clifton

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).