mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
LoongArch: Add support for <b ".L1"> and <beq, $t0, $t1, ".L1">
Support symbol names enclosed in double quotation marks.
This commit is contained in:
committed by
liuzhensong
parent
42cb93f57d
commit
22b78fad28
@@ -264,6 +264,13 @@ loongarch_split_args_by_comma (char *args, const char *arg_strs[])
|
||||
else
|
||||
*args = '\0', arg_strs[num++] = args + 1;
|
||||
}
|
||||
|
||||
if (*(args-1) == '"')
|
||||
{
|
||||
*(args-1) = '\0';
|
||||
arg_strs[num-1] = arg_strs[num-1] + 1;
|
||||
}
|
||||
|
||||
arg_strs[num] = NULL;
|
||||
return num;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user