projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
include/elf/
[deliverable/binutils-gdb.git]
/
gas
/
config
/
tc-w65.c
diff --git
a/gas/config/tc-w65.c
b/gas/config/tc-w65.c
index 24247ae9ad0193be9dec8f7edfa30a228d71db86..b3ddc68507801eb45f048bc2e19d96eb24ea3ed6 100644
(file)
--- a/
gas/config/tc-w65.c
+++ b/
gas/config/tc-w65.c
@@
-26,7
+26,6
@@
#include "subsegs.h"
#define DEFINE_TABLE
#include "../opcodes/w65-opc.h"
#include "subsegs.h"
#define DEFINE_TABLE
#include "../opcodes/w65-opc.h"
-#include <ctype.h>
const char comment_chars[] = "!";
CONST char line_separator_chars[] = ";";
const char comment_chars[] = "!";
CONST char line_separator_chars[] = ";";
@@
-979,10
+978,12
@@
md_section_align (seg, size)
}
void
}
void
-md_apply_fix
(fixP, val
)
+md_apply_fix
3 (fixP, valP, seg
)
fixS *fixP;
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;
char *buf = fixP->fx_where + fixP->fx_frag->fr_literal;
int addr = fixP->fx_frag->fr_address + fixP->fx_where;
@@
-1031,9
+1032,12
@@
md_apply_fix (fixP, val)
default:
abort ();
}
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)
void
md_number_to_chars (ptr, use, nbytes)
This page took
0.0237 seconds
and
4
git commands to generate.