mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-26 02:33:31 +08:00
tic54x_start_line_hook
git commit 3076e59490
caused
tic54x-coff +FAIL: c54x subsym assignment/use
PR 24538
* config/tc-tic54x.c (tic54x_start_line_hook): Do skip end of line
chars in setting endp.
This commit is contained in:
parent
c5358db468
commit
ded12894f5
@ -1,3 +1,9 @@
|
|||||||
|
2019-05-15 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
PR 24538
|
||||||
|
* config/tc-tic54x.c (tic54x_start_line_hook): Do skip end of line
|
||||||
|
chars in setting endp.
|
||||||
|
|
||||||
2019-05-14 Nick Clifton <nickc@redhat.com>
|
2019-05-14 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
PR 24538
|
PR 24538
|
||||||
|
@ -4738,12 +4738,9 @@ tic54x_start_line_hook (void)
|
|||||||
char *replacement = NULL;
|
char *replacement = NULL;
|
||||||
|
|
||||||
/* Work with a copy of the input line, including EOL char. */
|
/* Work with a copy of the input line, including EOL char. */
|
||||||
for (endp = input_line_pointer; ; endp ++)
|
for (endp = input_line_pointer; *endp != 0; )
|
||||||
{
|
if (is_end_of_line[(unsigned char) *endp++])
|
||||||
unsigned char c = * (unsigned char *) endp;
|
break;
|
||||||
if (c == 0 || is_end_of_line [c])
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
line = xmemdup0 (input_line_pointer, endp - input_line_pointer);
|
line = xmemdup0 (input_line_pointer, endp - input_line_pointer);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user