projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* gas/config/tc-arm.c (parse_neon_alignment): New function.
[deliverable/binutils-gdb.git]
/
gas
/
config
/
tc-d30v.c
diff --git
a/gas/config/tc-d30v.c
b/gas/config/tc-d30v.c
index 3e95375626d88576bd4ea5f38cf36464dea1ff15..1874147ade9f9c77475ce41a3d72527bf6ad600b 100644
(file)
--- a/
gas/config/tc-d30v.c
+++ b/
gas/config/tc-d30v.c
@@
-1133,7
+1133,7
@@
find_format (struct d30v_opcode *opcode,
int fsize,
int cmp_hack)
{
int fsize,
int cmp_hack)
{
- int numops, match, index, i = 0, j, k;
+ int numops, match,
opcode_
index, i = 0, j, k;
struct d30v_format *fm;
if (opcode == NULL)
struct d30v_format *fm;
if (opcode == NULL)
@@
-1142,17
+1142,17
@@
find_format (struct d30v_opcode *opcode,
/* Get all the operands and save them as expressions. */
numops = get_operands (myops, cmp_hack);
/* Get all the operands and save them as expressions. */
numops = get_operands (myops, cmp_hack);
- while ((index = opcode->format[i++]) != 0)
+ while ((
opcode_
index = opcode->format[i++]) != 0)
{
{
- if (fsize == FORCE_SHORT && index >= LONG)
+ if (fsize == FORCE_SHORT &&
opcode_
index >= LONG)
continue;
continue;
- if (fsize == FORCE_LONG && index < LONG)
+ if (fsize == FORCE_LONG &&
opcode_
index < LONG)
continue;
continue;
- fm = (struct d30v_format *) &d30v_format_table[index];
- k = index;
- while (fm->form == index)
+ fm = (struct d30v_format *) &d30v_format_table[
opcode_
index];
+ k =
opcode_
index;
+ while (fm->form ==
opcode_
index)
{
match = 1;
/* Now check the operands for compatibility. */
{
match = 1;
/* Now check the operands for compatibility. */
@@
-1346,13
+1346,14
@@
do_assemble (char *str,
if (!strncmp (name, "cmp", 3))
{
int p, i;
if (!strncmp (name, "cmp", 3))
{
int p, i;
- char **str = (char **) d30v_cc_names;
+ char **d30v_str = (char **) d30v_cc_names;
+
if (name[3] == 'u')
p = 4;
else
p = 3;
if (name[3] == 'u')
p = 4;
else
p = 3;
- for (i = 1; *
str && strncmp (*str, &name[p], 2); i++,
str++)
+ for (i = 1; *
d30v_str && strncmp (*d30v_str, &name[p], 2); i++, d30v_
str++)
;
/* cmpu only supports some condition codes. */
;
/* cmpu only supports some condition codes. */
@@
-1365,7
+1366,7
@@
do_assemble (char *str,
}
}
}
}
- if (!*str)
+ if (!*
d30v_
str)
{
name[p + 2] = 0;
as_bad (_("unknown condition code: %s"), &name[p]);
{
name[p + 2] = 0;
as_bad (_("unknown condition code: %s"), &name[p]);
@@
-1873,6
+1874,8
@@
d30v_frob_label (symbolS *lab)
/* Record this label for future adjustment after we find out what
kind of data it references, and the required alignment therewith. */
d30v_last_label = lab;
/* Record this label for future adjustment after we find out what
kind of data it references, and the required alignment therewith. */
d30v_last_label = lab;
+
+ dwarf2_emit_label (lab);
}
/* Hook into cons for capturing alignment changes. */
}
/* Hook into cons for capturing alignment changes. */
This page took
0.024237 seconds
and
4
git commands to generate.