projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
replace some obstack_alloc () calls with the XOBNEW wrapper
[deliverable/binutils-gdb.git]
/
gas
/
config
/
tc-bfin.c
diff --git
a/gas/config/tc-bfin.c
b/gas/config/tc-bfin.c
index e14fbe18b88679dd2cba19a8afcce08ac70bd196..c7b9d8d0716c85b89370dd8f97d9afd56959791d 100644
(file)
--- a/
gas/config/tc-bfin.c
+++ b/
gas/config/tc-bfin.c
@@
-937,7
+937,7
@@
note_reloc2 (INSTR_T code, const char *symbol, int reloc, int value, int pcrel)
INSTR_T
gencode (unsigned long x)
{
- INSTR_T cell =
obstack_alloc (&mempool, sizeof (struct bfin_insn)
);
+ INSTR_T cell =
XOBNEW (&mempool, struct bfin_insn
);
memset (cell, 0, sizeof (struct bfin_insn));
cell->value = (x);
return cell;
This page took
0.0415720000000001 seconds
and
4
git commands to generate.