* write.c (write_object_file) [! WORKING_DOT_WORD]: If defined,

call TC_CHECK_ADJUSTED_BROKEN_DOT_WORD for each word after
	adjustments.
This commit is contained in:
Hans-Peter Nilsson
2000-04-03 12:05:31 +00:00
parent 1642229ef3
commit 753f6b125b
2 changed files with 9 additions and 0 deletions

View 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)