RISC-V: Minor cleanup for s extension support.
authorJim Wilson <jimw@sifive.com>
Fri, 24 Jan 2020 22:24:09 +0000 (14:24 -0800)
committerJim Wilson <jimw@sifive.com>
Fri, 24 Jan 2020 22:24:09 +0000 (14:24 -0800)
commitb5f998b2dd80e673b1506fbe5113e5e4834346bc
treec00d7a2a3df98e53dc187d17afb12379741689a7
parent53af73bf5e9bad42a76bcc47cdf44d91bbbc4eb7
RISC-V: Minor cleanup for s extension support.

Looking at older versions of the patch, I confirmed that the odd comment
I referred to earlier was indeed from the removal of the sx support.  It
also explains an oddly formatted switch statement.  This patch fixes both
minor problems.

bfd/
* elfxx-riscv.c (riscv_get_prefix_class): Format s case like others.
(riscv_parse_prefixed_ext): Fix s extension comment and reword to
avoid over long line.

Change-Id: I1cb62e4a16188270f029b6376e4b1684000d6c7a
bfd/ChangeLog
bfd/elfxx-riscv.c