aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-w65.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-11-15 21:29:00 +0000
committerNick Clifton <nickc@redhat.com>2001-11-15 21:29:00 +0000
commit94f592af1baedbbe3957436c713fd58c02d55ef9 (patch)
treee0e9b543686a52f86aa0ab7d287cf60541e69b49 /gas/config/tc-w65.c
parentad10f812bfdac2cc9e42875246c8fe0ae5224440 (diff)
downloadfsf-binutils-gdb-94f592af1baedbbe3957436c713fd58c02d55ef9.zip
fsf-binutils-gdb-94f592af1baedbbe3957436c713fd58c02d55ef9.tar.gz
fsf-binutils-gdb-94f592af1baedbbe3957436c713fd58c02d55ef9.tar.bz2
Update all uses of md_apply_fix to use md_apply_fix3. Make it a void function.
Diffstat (limited to 'gas/config/tc-w65.c')
-rw-r--r--gas/config/tc-w65.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/gas/config/tc-w65.c b/gas/config/tc-w65.c
index dda8859..b3ddc68 100644
--- a/gas/config/tc-w65.c
+++ b/gas/config/tc-w65.c
@@ -978,10 +978,12 @@ md_section_align (seg, size)
}
void
-md_apply_fix (fixP, val)
+md_apply_fix3 (fixP, valP, seg)
fixS *fixP;
- long val;
+ vauleT * valP;
+ segT seg ATTRIBUTE_UNUSED;
{
+ long val = * (long *) valP;
char *buf = fixP->fx_where + fixP->fx_frag->fr_literal;
int addr = fixP->fx_frag->fr_address + fixP->fx_where;
@@ -1030,9 +1032,12 @@ md_apply_fix (fixP, val)
default:
abort ();
}
+
+ if (fixP->fx_addsy == NULL && fixP->fx_pcrel == 0)
+ fixP->fx_done = 1;
}
-/* Put number into target byte order */
+/* Put number into target byte order. */
void
md_number_to_chars (ptr, use, nbytes)