GNU Binutils with patches for OS216
Revisão | c06868784d819a45c43947180c69e168aecaf368 (tree) |
---|---|
Hora | 2020-01-14 00:49:26 |
Autor | Szabolcs Nagy <szabolcs.nagy@arm....> |
Commiter | Szabolcs Nagy |
[ARM][gas] fix build breakage with gcc-10 by using correct enum type
Fixes
../../gas/config/tc-arm.c: In function 'parse_reg_list':
../../gas/config/tc-arm.c:1946:35: error: implicit conversion from 'enum reg_list_els' to 'enum arm_reg_type' [-Werror=enum-conversion]
gas/ChangeLog:
Backported from mainline.
2020-01-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
* config/tc-arm.c (parse_reg_list): Use REG_TYPE_RN instead of
REGLIST_RN.
@@ -1,3 +1,11 @@ | ||
1 | +2020-01-13 Szabolcs Nagy <szabolcs.nagy@arm.com> | |
2 | + | |
3 | + Backported from mainline. | |
4 | + 2020-01-02 Szabolcs Nagy <szabolcs.nagy@arm.com> | |
5 | + | |
6 | + * config/tc-arm.c (parse_reg_list): Use REG_TYPE_RN instead of | |
7 | + REGLIST_RN. | |
8 | + | |
1 | 9 | 2019-12-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
2 | 10 | |
3 | 11 | Backported from mainline. |
@@ -1868,7 +1868,7 @@ parse_reg_list (char ** strp, enum reg_list_els etype) | ||
1868 | 1868 | const char apsr_str[] = "apsr"; |
1869 | 1869 | int apsr_str_len = strlen (apsr_str); |
1870 | 1870 | |
1871 | - reg = arm_reg_parse (&str, REGLIST_RN); | |
1871 | + reg = arm_reg_parse (&str, REG_TYPE_RN); | |
1872 | 1872 | if (etype == REGLIST_CLRM) |
1873 | 1873 | { |
1874 | 1874 | if (reg == REG_SP || reg == REG_PC) |