aboutsummaryrefslogtreecommitdiff
path: root/gas/write.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-11-01 10:42:26 +0000
committerAlan Modra <amodra@gmail.com>2002-11-01 10:42:26 +0000
commit4f3cafa2ebb6640d813cd2c2a0176f984482210d (patch)
tree8fc941eb43e80a7a7d677ddbc028ace5137ac4dd /gas/write.c
parent4d0b322074f52b3cd49e276290d7c7376901154f (diff)
downloadgdb-4f3cafa2ebb6640d813cd2c2a0176f984482210d.zip
gdb-4f3cafa2ebb6640d813cd2c2a0176f984482210d.tar.gz
gdb-4f3cafa2ebb6640d813cd2c2a0176f984482210d.tar.bz2
* 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.
Diffstat (limited to 'gas/write.c')
-rw-r--r--gas/write.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/gas/write.c b/gas/write.c
index b4cc7e0..73eb793 100644
--- a/gas/write.c
+++ b/gas/write.c
@@ -55,16 +55,14 @@
#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