mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 04:00:07 +08:00
* config/tc-i386.c (tc_x86_regname_to_dw2regnum): Use ARRAY_SIZE
macro to compute size of selected register name array.
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2003-07-04 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* config/tc-i386.c (tc_x86_regname_to_dw2regnum): Use ARRAY_SIZE
|
||||
macro to compute size of selected register name array.
|
||||
|
||||
2003-07-01 Martin Schwidefsky <schwidefsky@de.ibm.com>
|
||||
|
||||
* config/tc-s390.c (md_parse_option): Add cpu type z990.
|
||||
|
@ -6366,12 +6366,12 @@ tc_x86_regname_to_dw2regnum (const char *regname)
|
||||
if (flag_code == CODE_64BIT)
|
||||
{
|
||||
regnames = regnames_64;
|
||||
regnames_count = sizeof (regnames_64);
|
||||
regnames_count = ARRAY_SIZE (regnames_64);
|
||||
}
|
||||
else
|
||||
{
|
||||
regnames = regnames_32;
|
||||
regnames_count = sizeof (regnames_32);
|
||||
regnames_count = ARRAY_SIZE (regnames_32);
|
||||
}
|
||||
|
||||
for (regnum = 0; regnum < regnames_count; regnum++)
|
||||
|
Reference in New Issue
Block a user