diff options
author | Alan Modra <amodra@gmail.com> | 2002-11-01 10:42:26 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-11-01 10:42:26 +0000 |
commit | 4f3cafa2ebb6640d813cd2c2a0176f984482210d (patch) | |
tree | 8fc941eb43e80a7a7d677ddbc028ace5137ac4dd /gas | |
parent | 4d0b322074f52b3cd49e276290d7c7376901154f (diff) | |
download | gdb-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')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/doc/internals.texi | 3 | ||||
-rw-r--r-- | gas/write.c | 8 |
3 files changed, 9 insertions, 7 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 66cd0f4..ceea5ec 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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> diff --git a/gas/doc/internals.texi b/gas/doc/internals.texi index 647d273..6d38790 100644 --- a/gas/doc/internals.texi +++ b/gas/doc/internals.texi @@ -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 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 |