projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove use of alloca.
[deliverable/binutils-gdb.git]
/
gas
/
config
/
tc-nds32.c
diff --git
a/gas/config/tc-nds32.c
b/gas/config/tc-nds32.c
index 774c470411501cbab654a206ff34f93f8d88661e..66b8136346edf9ad7bf3112b7d93db3b765a2805 100644
(file)
--- a/
gas/config/tc-nds32.c
+++ b/
gas/config/tc-nds32.c
@@
-5141,6
+5141,7
@@
void
md_assemble (char *str)
{
struct nds32_asm_insn insn;
md_assemble (char *str)
{
struct nds32_asm_insn insn;
+ expressionS expr;
char *out;
struct nds32_pseudo_opcode *popcode;
const struct nds32_field *fld = NULL;
char *out;
struct nds32_pseudo_opcode *popcode;
const struct nds32_field *fld = NULL;
@@
-5176,7
+5177,7
@@
md_assemble (char *str)
}
label_exist = 0;
}
label_exist = 0;
- insn.info =
(expressionS *) alloca (sizeof (expressionS))
;
+ insn.info =
& expr
;
asm_desc.result = NASM_OK;
nds32_assemble (&asm_desc, &insn, str);
asm_desc.result = NASM_OK;
nds32_assemble (&asm_desc, &insn, str);
This page took
0.024618 seconds
and
4
git commands to generate.