commit | 75747be51e6d11287e12c4504f2607d36a0edfd2 | [log] [tgz] |
---|---|---|
author | Alan Modra <amodra@gmail.com> | Thu Aug 03 12:26:46 2023 +0930 |
committer | Alan Modra <amodra@gmail.com> | Thu Aug 03 21:20:33 2023 +0930 |
tree | 70a1c0bcca2476bf85da5733a56c4015ac8353f6 | |
parent | b43e801e28550653ecef2b7e6b15125516ab1a58 [diff] |
cris: sprintf optimisation Since I was poking at cris-dis.c to avoid the sanitizer warning, I figure I might as well make use of stpcpy and sprintf return value in other places in this file. * cris-dis.c (format_hex): Use sprintf return value. (format_reg): Use stpcpy and sprintf return, avoiding strlen. (format_sup_reg): Likewise.