projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for ia64-hpux target.
[binutils-gdb.git]
/
gas
/
config
/
tc-vax.c
diff --git
a/gas/config/tc-vax.c
b/gas/config/tc-vax.c
index 8400b5d79e0ce39419692233ae0eec984940f64d..b6dc876436234b03df95a02c8bc74820b87f4df9 100644
(file)
--- a/
gas/config/tc-vax.c
+++ b/
gas/config/tc-vax.c
@@
-289,12
+289,18
@@
md_number_to_chars (con, value, nbytes)
that they reference. */
void /* Knows about order of bytes in address. */
that they reference. */
void /* Knows about order of bytes in address. */
-md_apply_fix (fixP, value)
- fixS *fixP;
- long value;
+md_apply_fix3 (fixP, valueP, seg)
+ fixS * fixP;
+ valueT * valueP;
+ segT seg ATTRIBUTE_UNUSED;
{
{
+ valueT value = * valueP;
+
number_to_chars_littleendian (fixP->fx_where + fixP->fx_frag->fr_literal,
number_to_chars_littleendian (fixP->fx_where + fixP->fx_frag->fr_literal,
- (valueT) value, fixP->fx_size);
+ value, fixP->fx_size);
+
+ if (fixP->fx_addsy == NULL && fixP->fx_pcrel == 0)
+ fixP->fx_done = 1;
}
long
}
long