RISC-V: minor effort reduction in relocation specifier parsing
authorJan Beulich <jbeulich@suse.com>
Tue, 25 Apr 2023 09:15:25 +0000 (11:15 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 25 Apr 2023 09:15:25 +0000 (11:15 +0200)
commit85bd4bfb7f4e1adf4d3864df9ee16f9597fe15b4
tree962e5fef68a79967dd4b19a6f7171a5fd1dbd452
parent538edc49dc610b987f8929434f883c8bbc211be8
RISC-V: minor effort reduction in relocation specifier parsing

The sole caller of parse_relocation() has already checked for the %
prefix, so there's no need to check for it again in the strncasecmp()
and there's also no reason to make the involved string literals longer
than necessary.
gas/config/tc-riscv.c