* write.c (TC_FORCE_RELOCATION_SUB_ABS): Default to zero.
authorAlan Modra <amodra@gmail.com>
Fri, 1 Nov 2002 10:42:26 +0000 (10:42 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 1 Nov 2002 10:42:26 +0000 (10:42 +0000)
(TC_FORCE_RELOCATION_SUB_LOCAL): Likewise when DIFF_EXPR_OK.
* doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS): Document changed
default.

gas/ChangeLog
gas/doc/internals.texi
gas/write.c

index 66cd0f4c525da4aab59d9e4ffe41e008c2b34053..ceea5ececa3884f283805f7586f3f362dfce83b1 100644 (file)
@@ -1,5 +1,10 @@
 2002-11-01  Alan Modra  <amodra@bigpond.net.au>
 
+       * write.c (TC_FORCE_RELOCATION_SUB_ABS): Default to zero.
+       (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise when DIFF_EXPR_OK.
+       * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS): Document changed
+       default.
+
        * dep-in.sed: Fix typo.
 
 2002-10-30  Daniel Jacobowitz  <drow@mvista.com>
index 647d2736556a31e16227f94234bf559bf5e0dbe2..6d38790b061fdb90e615b3c51c402fc34f7284d4 100644 (file)
@@ -1304,8 +1304,7 @@ the subtrahend will be resolved and @code{fx_subsy} set to @code{NULL} for
 @item TC_FORCE_RELOCATION_SUB_ABS (@var{fix})
 @cindex TC_FORCE_RELOCATION_SUB_ABS
 Like @code{TC_FORCE_RELOCATION_SUB_SAME}, but used when the subtrahend is an
-absolute symbol.  If the macro is undefined a default of
-@w{@code{(S_FORCE_RELOC ((@var{fix})->fx_subsy))}} is used.
+absolute symbol.  If the macro is undefined a default of @code{0} is used.
 
 @item TC_FORCE_RELOCATION_SUB_LOCAL (@var{fix})
 @cindex TC_FORCE_RELOCATION_SUB_LOCAL
index b4cc7e090b05a43dadde81548461cfbcc9ae1da1..73eb793e1f07bcc4617ec7c7d60ff56152690010 100644 (file)
 #endif
 
 #ifndef TC_FORCE_RELOCATION_SUB_ABS
-#define TC_FORCE_RELOCATION_SUB_ABS(FIX)       \
-  (S_FORCE_RELOC ((FIX)->fx_subsy))
+#define TC_FORCE_RELOCATION_SUB_ABS(FIX)       0
 #endif
 
 #ifndef TC_FORCE_RELOCATION_SUB_LOCAL
 #ifdef DIFF_EXPR_OK
-#define TC_FORCE_RELOCATION_SUB_LOCAL(FIX)     \
-  (S_FORCE_RELOC ((FIX)->fx_subsy))
+#define TC_FORCE_RELOCATION_SUB_LOCAL(FIX)     0
 #else
-#define TC_FORCE_RELOCATION_SUB_LOCAL(FIX) 1
+#define TC_FORCE_RELOCATION_SUB_LOCAL(FIX)     1
 #endif
 #endif