aboutsummaryrefslogtreecommitdiff
path: root/gas/write.c
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2000-04-03 12:05:31 +0000
committerHans-Peter Nilsson <hp@axis.com>2000-04-03 12:05:31 +0000
commit753f6b125b619a27329228dc35e49fe9462ed96e (patch)
tree5aa480c53ed55b35a35a203b15fdf00b6ec11ab9 /gas/write.c
parent1642229ef3ad766ccf41dd3fa2f0568aa0a3197c (diff)
downloadgdb-753f6b125b619a27329228dc35e49fe9462ed96e.zip
gdb-753f6b125b619a27329228dc35e49fe9462ed96e.tar.gz
gdb-753f6b125b619a27329228dc35e49fe9462ed96e.tar.bz2
* write.c (write_object_file) [! WORKING_DOT_WORD]: If defined,
call TC_CHECK_ADJUSTED_BROKEN_DOT_WORD for each word after adjustments.
Diffstat (limited to 'gas/write.c')
-rw-r--r--gas/write.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/write.c b/gas/write.c
index e386ece..5a5c45b 100644
--- a/gas/write.c
+++ b/gas/write.c
@@ -1629,6 +1629,9 @@ write_object_file ()
#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)
{