mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 17:40:49 +00:00
* read.c (emit_expr): Use memset to zero out memory, rather than
going through md_number_to_chars. This permits handling symbolic arguments when the size is larger than sizeof (valueT), if TC_CONS_FIX_NEW is prepared to handle the case (as it is on MIPS).
This commit is contained in:
@@ -1857,7 +1857,7 @@ emit_expr (exp, nbytes)
|
||||
}
|
||||
else
|
||||
{
|
||||
md_number_to_chars (p, (valueT) 0, (int) nbytes);
|
||||
memset (p, 0, nbytes);
|
||||
|
||||
/* Now we need to generate a fixS to record the symbol value.
|
||||
This is easy for BFD. For other targets it can be more
|
||||
|
||||
Reference in New Issue
Block a user