Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/toolchain/gas/config Also apply a fix if there are ...



details:   https://anonhg.NetBSD.org/src/rev/59df65a8ac05
branches:  trunk
changeset: 514689:59df65a8ac05
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Sep 08 16:38:32 2001 +0000

description:
Also apply a fix if there are no symbols involved (which means that no
reloc will be emitted for the fix).

diffstat:

 gnu/dist/toolchain/gas/config/tc-vax.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 3d7758f6d978 -r 59df65a8ac05 gnu/dist/toolchain/gas/config/tc-vax.c
--- a/gnu/dist/toolchain/gas/config/tc-vax.c    Sat Sep 08 16:22:29 2001 +0000
+++ b/gnu/dist/toolchain/gas/config/tc-vax.c    Sat Sep 08 16:38:32 2001 +0000
@@ -314,7 +314,8 @@
      valueT *valP;
 {
 #ifdef OBJ_ELF
-  if (fixP->fx_r_type == NO_RELOC)
+  if ((fixP->fx_addsy == NULL && fixP->fx_subsy == NULL)
+      || fixP->fx_r_type == NO_RELOC)
 #endif
     number_to_chars_littleendian (fixP->fx_where + fixP->fx_frag->fr_literal,
                                  (valueT) *valP, fixP->fx_size);



Home | Main Index | Thread Index | Old Index