* write.c (write_object_file) [! WORKING_DOT_WORD]: If defined,
authorHans-Peter Nilsson <hp@axis.com>
Mon, 3 Apr 2000 12:05:31 +0000 (12:05 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Mon, 3 Apr 2000 12:05:31 +0000 (12:05 +0000)
call TC_CHECK_ADJUSTED_BROKEN_DOT_WORD for each word after
adjustments.

gas/ChangeLog
gas/write.c

index c4aeb2a71c4e389ae33ae8ae3629a11b89407faf..b4194fdcc146d8c820141f1e3422736565831e6c 100644 (file)
@@ -1,3 +1,9 @@
+Mon Apr  3 13:56:03 2000  Hans-Peter Nilsson  <hp@axis.com>
+
+       * write.c (write_object_file) [! WORKING_DOT_WORD]: If defined,
+       call TC_CHECK_ADJUSTED_BROKEN_DOT_WORD for each word after
+       adjustments.
+
 2000-04-03  Alan Modra  <alan@linuxcare.com.au>
 
        * config/tc-i386.c (i386_immediate): Don't assume a constant
index e386ece343b5ebdf7c82272c8a0cfcb952f7f096..5a5c45b83aef144108d31dd4e8e857abf8f760fa 100644 (file)
@@ -1628,6 +1628,9 @@ write_object_file ()
            to_addr = table_addr - S_GET_VALUE (lie->sub);
 #ifdef BFD_ASSEMBLER
            to_addr -= symbol_get_frag (lie->sub)->fr_address;
+#endif
+#ifdef TC_CHECK_ADJUSTED_BROKEN_DOT_WORD
+           TC_CHECK_ADJUSTED_BROKEN_DOT_WORD (to_addr, lie);
 #endif
            md_number_to_chars (lie->word_goes_here, to_addr, 2);
            for (untruth = lie->next_broken_word; untruth && untruth->dispfrag == fragP; untruth = untruth->next_broken_word)