aboutsummaryrefslogtreecommitdiff
path: root/libdecnumber/dconfig.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-11-27 10:51:27 +1030
committerAlan Modra <amodra@gmail.com>2019-11-27 11:58:17 +1030
commit96e2dbda089775359b130e16a337c169d67abc6b (patch)
treebf6bd5d7b9411b4a1e58d7f232ec0ebc866348c0 /libdecnumber/dconfig.h
parent855bae2c96421af06af9c77ed9b94b3dea5ae016 (diff)
downloadgdb-96e2dbda089775359b130e16a337c169d67abc6b.zip
gdb-96e2dbda089775359b130e16a337c169d67abc6b.tar.gz
gdb-96e2dbda089775359b130e16a337c169d67abc6b.tar.bz2
Correct R_SH_IND12W handling
Using bfd_vma for insn is to avoid having to worry about sign propagation in expressions involving insn and sym_value when bfd_vma is not the same as unsigned long. * elf32-sh.c (sh_reloc): Use a bfd_vma insn. (sh_reloc <R_SH_IND12W>): Divide calculated relocation value by two before applying to insn. Correct overflow test. * coff-sh.c (sh_reloc): Likewise.
Diffstat (limited to 'libdecnumber/dconfig.h')
0 files changed, 0 insertions, 0 deletions