mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 01:50:24 +08: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:
@ -1,3 +1,10 @@
|
|||||||
|
Fri Jun 3 23:35:36 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
||||||
|
|
||||||
|
* 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).
|
||||||
|
|
||||||
Fri Jun 3 12:50:13 1994 David J. MacKenzie (djm@rtl.cygnus.com)
|
Fri Jun 3 12:50:13 1994 David J. MacKenzie (djm@rtl.cygnus.com)
|
||||||
|
|
||||||
* as.c (show_usage), config/tc-alpha.c (md_show_usage),
|
* as.c (show_usage), config/tc-alpha.c (md_show_usage),
|
||||||
|
@ -1857,7 +1857,7 @@ emit_expr (exp, nbytes)
|
|||||||
}
|
}
|
||||||
else
|
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.
|
/* Now we need to generate a fixS to record the symbol value.
|
||||||
This is easy for BFD. For other targets it can be more
|
This is easy for BFD. For other targets it can be more
|
||||||
|
Reference in New Issue
Block a user