]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
C54x: use is_end_of_stmt()
authorJan Beulich <jbeulich@suse.com>
Fri, 7 Mar 2025 07:21:00 +0000 (08:21 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 7 Mar 2025 07:21:00 +0000 (08:21 +0100)
commit8b385c48cf39d5637457874ef90e8629a9c87c52
tree41adad0221f4ad1be92b9a6ec6d8802f73755d21
parentf3921d412218b577fb6856dd3044823a466c3098
C54x: use is_end_of_stmt()

... instead of open-coding it.

In tic54x_stringer() this also fixes an array overrun issue: Converting
plain char to unsigned int could have yielded huge values when plain
char is a signed type.

In subsym_substitute() also convert a local variable to plain char, as
that's what it's really holding (and how it's used everywhere else).
gas/config/tc-tic54x.c