This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] TC_FORCE_RELOCATION_SUB_SAME documentation.
- From: "Andrew Burgess" <aburgess at broadcom dot com>
- To: Binutils <binutils at sourceware dot org>
- Date: Thu, 8 Dec 2011 10:44:06 +0000
- Subject: [PATCH] TC_FORCE_RELOCATION_SUB_SAME documentation.
Hi,
The documentation and code for TC_FORCE_RELOCATION_SUB_SAME don't match.
This commit changed the code and documentation:
http://sourceware.org/ml/binutils-cvs/2003-01/msg00117.html
This commit reverted the change to the code but left the documentation
out of sync:
http://sourceware.org/ml/binutils-cvs/2003-02/msg00067.html
Below is a patch to bring the documentation back into line. I don't
have commit access so could someone commit this please if it looks ok.
Thanks,
Andrew
gas/ChangeLog
2011-12-08 Andrew Burgess <aburgess@broadcom.com>
* doc/internals.texi (TC_FORCE_RELOCATION_SUB_SAME): Update
to match code.
Index: gas/doc/internals.texi
===================================================================
RCS file: /cvs/src/src/gas/doc/internals.texi,v
retrieving revision 1.66
diff -u -p -r1.66 internals.texi
--- gas/doc/internals.texi 16 Dec 2010 18:48:28 -0000 1.66
+++ gas/doc/internals.texi 8 Dec 2011 10:35:17 -0000
@@ -1306,8 +1306,7 @@ This macro controls resolution of fixup
difference of two symbols in the same section. If this macro returns
zero,
the subtrahend will be resolved and @code{fx_subsy} set to @code{NULL} for
@code{md_apply_fix}. If undefined, the default of
-@w{@code{! SEG_NORMAL (@var{seg}) || TC_FORCE_RELOCATION (@var{fix})}} will
-be used.
+@w{@code{! SEG_NORMAL (@var{seg})}} will be used.
@item TC_FORCE_RELOCATION_SUB_ABS (@var{fix}, @var{seg})
@cindex TC_FORCE_RELOCATION_SUB_ABS