elf32-cr16.c tidy
authorAlan Modra <amodra@gmail.com>
Thu, 15 Oct 2020 22:57:10 +0000 (09:27 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 15 Oct 2020 23:02:56 +0000 (09:32 +1030)
commitdb75b8f70c9546522e81fab557151e6499ed5862
tree5cb6015bcc698cb607f9958e8cfe6823bbdc5daf
parentfba8689ad3b72a3e895ebd41485d747dba5da811
elf32-cr16.c tidy

Prompted by two occurrences of -Wmisleading-indentation warnings.

* elf32-cr16.c: Formatting.
(cr16_elf_final_link_relocate): Sign extend rather than clumsy
"add or subtract" of offset value.  Simplify range checks.  Move
common code out of "if" branches.  Don't refetch insn fields
needlessly.
bfd/ChangeLog
bfd/elf32-cr16.c