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-mn10200.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-mn10200.c')
-rw-r--r-- | gas/config/tc-mn10200.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/gas/config/tc-mn10200.c b/gas/config/tc-mn10200.c index b2135d3..ff30fec 100644 --- a/gas/config/tc-mn10200.c +++ b/gas/config/tc-mn10200.c @@ -760,7 +760,7 @@ md_begin () op++; } - /* This is both a simplification (we don't have to write md_apply_fix) + /* This is both a simplification (we don't have to write md_apply_fix3) and support for future optimizations (branch shortening and similar stuff in the linker. */ linkrelax = 1; @@ -1300,16 +1300,15 @@ md_pcrel_from (fixp) #endif } -int -md_apply_fix3 (fixp, valuep, seg) - fixS *fixp; - valueT *valuep; - segT seg; +void +md_apply_fix3 (fixP, valP, seg) + fixS * fixP; + valueT * valP ATTRIBUTE_UNUSED; + segT seg ATTRIBUTE_UNUSED; { /* We shouldn't ever get here because linkrelax is nonzero. */ abort (); - fixp->fx_done = 1; - return 0; + fixP->fx_done = 1; } /* Insert an operand value into an instruction. */ |