diff options
author | Alan Modra <amodra@gmail.com> | 2020-10-16 09:27:10 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-10-16 09:32:56 +1030 |
commit | db75b8f70c9546522e81fab557151e6499ed5862 (patch) | |
tree | 5cb6015bcc698cb607f9958e8cfe6823bbdc5daf /bfd/ChangeLog | |
parent | fba8689ad3b72a3e895ebd41485d747dba5da811 (diff) | |
download | gdb-db75b8f70c9546522e81fab557151e6499ed5862.zip gdb-db75b8f70c9546522e81fab557151e6499ed5862.tar.gz gdb-db75b8f70c9546522e81fab557151e6499ed5862.tar.bz2 |
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.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7083e47..9595da0 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,13 @@ 2020-10-16 Alan Modra <amodra@gmail.com> + * 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. + +2020-10-16 Alan Modra <amodra@gmail.com> + * elf64-ppc.c (ppc64_elf_relocate_section): Tighten sanity check on R_PPC64_GOT_LO_DS and R_PPC64_GOT_HA instructions. |