projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MIPS/GAS: Relax branches to symbols resolved at link time
[deliverable/binutils-gdb.git]
/
gas
/
config
/
tc-ft32.c
diff --git
a/gas/config/tc-ft32.c
b/gas/config/tc-ft32.c
index 327b393fdba1d577addbaf8239929877cbd20d8d..505d12667fa4da50617ea3542bf444cb96e64199 100644
(file)
--- a/
gas/config/tc-ft32.c
+++ b/
gas/config/tc-ft32.c
@@
-408,7
+408,7
@@
md_assemble (char *str)
of LITTLENUMS emitted is stored in *SIZEP . An error message is
returned, or NULL on OK. */
of LITTLENUMS emitted is stored in *SIZEP . An error message is
returned, or NULL on OK. */
-char *
+c
onst c
har *
md_atof (int type, char *litP, int *sizeP)
{
int prec;
md_atof (int type, char *litP, int *sizeP)
{
int prec;
@@
-582,9
+582,9
@@
tc_gen_reloc (asection *section ATTRIBUTE_UNUSED, fixS *fixP)
return 0;
}
return 0;
}
- relP =
xmalloc (sizeof (arelent)
);
+ relP =
XNEW (arelent
);
gas_assert (relP != 0);
gas_assert (relP != 0);
- relP->sym_ptr_ptr =
xmalloc (sizeof (asymbol *)
);
+ relP->sym_ptr_ptr =
XNEW (asymbol *
);
*relP->sym_ptr_ptr = symbol_get_bfdsym (fixP->fx_addsy);
relP->address = fixP->fx_frag->fr_address + fixP->fx_where;
*relP->sym_ptr_ptr = symbol_get_bfdsym (fixP->fx_addsy);
relP->address = fixP->fx_frag->fr_address + fixP->fx_where;
This page took
0.024823 seconds
and
4
git commands to generate.