diff options
author | Nick Clifton <nickc@redhat.com> | 2001-11-15 21:29:00 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-11-15 21:29:00 +0000 |
commit | 94f592af1baedbbe3957436c713fd58c02d55ef9 (patch) | |
tree | e0e9b543686a52f86aa0ab7d287cf60541e69b49 /gas/config/tc-mmix.c | |
parent | ad10f812bfdac2cc9e42875246c8fe0ae5224440 (diff) | |
download | gdb-94f592af1baedbbe3957436c713fd58c02d55ef9.zip gdb-94f592af1baedbbe3957436c713fd58c02d55ef9.tar.gz 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-mmix.c')
-rw-r--r-- | gas/config/tc-mmix.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/gas/config/tc-mmix.c b/gas/config/tc-mmix.c index b769807..46d5dec 100644 --- a/gas/config/tc-mmix.c +++ b/gas/config/tc-mmix.c @@ -2369,15 +2369,15 @@ md_convert_frag (abfd, sec, fragP) Note that this function isn't called when linkrelax != 0. */ -int -md_apply_fix3 (fixP, valp, segment) +void +md_apply_fix3 (fixP, valP, segment) fixS * fixP; - valueT * valp; + valueT * valP; segT segment; { char *buf = fixP->fx_where + fixP->fx_frag->fr_literal; /* Note: use offsetT because it is signed, valueT is unsigned. */ - offsetT val = (offsetT) * valp; + offsetT val = (offsetT) * valP; segT symsec = (fixP->fx_addsy == NULL ? absolute_section : S_GET_SEGMENT (fixP->fx_addsy)); @@ -2397,7 +2397,7 @@ md_apply_fix3 (fixP, valp, segment) && symsec != real_reg_section))))) { fixP->fx_done = 0; - return 0; + return; } else if (fixP->fx_r_type == BFD_RELOC_MMIX_LOCAL || fixP->fx_r_type == BFD_RELOC_VTABLE_INHERIT @@ -2405,7 +2405,7 @@ md_apply_fix3 (fixP, valp, segment) { /* These are never "fixed". */ fixP->fx_done = 0; - return 0; + return; } else /* We assume every other relocation is "fixed". */ @@ -2517,7 +2517,7 @@ md_apply_fix3 (fixP, valp, segment) case BFD_RELOC_MMIX_BASE_PLUS_OFFSET: /* These are never "fixed". */ fixP->fx_done = 0; - return 0; + return; case BFD_RELOC_MMIX_PUSHJ_1: case BFD_RELOC_MMIX_PUSHJ_2: @@ -2541,8 +2541,6 @@ md_apply_fix3 (fixP, valp, segment) /* Make sure that for completed fixups we have the value around for use by e.g. mmix_frob_file. */ fixP->fx_offset = val; - - return 0; /* Return value is ignored. */ } /* A bsearch function for looking up a value against offsets for GREG |