projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update all uses of md_apply_fix to use md_apply_fix3. Make it a void function.
[deliverable/binutils-gdb.git]
/
gas
/
config
/
tc-tic80.c
diff --git
a/gas/config/tc-tic80.c
b/gas/config/tc-tic80.c
index 585865f24359c1edc06ed73f0c260a03709730d3..ce1251cf8c1d9e46b697420b91ab5516bf226943 100644
(file)
--- a/
gas/config/tc-tic80.c
+++ b/
gas/config/tc-tic80.c
@@
-960,10
+960,12
@@
TIc80 options:\n\
To indicate that a fixup has been eliminated, set fixP->fx_done. */
void
To indicate that a fixup has been eliminated, set fixP->fx_done. */
void
-md_apply_fix
(fixP, val
)
+md_apply_fix
3 (fixP, valP, seg
)
fixS *fixP;
fixS *fixP;
- long val;
+ valueT * valP;
+ segT seg ATTRIBUTE_UNUSED;
{
{
+ long val = * (long *) valP;
char *dest = fixP->fx_frag->fr_literal + fixP->fx_where;
int overflow;
char *dest = fixP->fx_frag->fr_literal + fixP->fx_where;
int overflow;
@@
-1001,6
+1003,9
@@
md_apply_fix (fixP, val)
fixP->fx_r_type);
break;
}
fixP->fx_r_type);
break;
}
+
+ if (fixP->fx_addsy == NULL && fixP->fx_pcrel == 0)
+ fixP->fx_done = 1;
}
\f
/* Functions concerning relocs. */
}
\f
/* Functions concerning relocs. */
This page took
0.025396 seconds
and
4
git commands to generate.