diff options
author | Alan Modra <amodra@gmail.com> | 2005-12-08 11:05:36 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-12-08 11:05:36 +0000 |
commit | a7985d7382642610f87799e271e3854079eba6b2 (patch) | |
tree | 04d12b0edad4524aa7e49174df28bf32e14670d5 /bfd/elf32-d10v.c | |
parent | Add ms2 support. (diff) | |
download | binutils-gdb-a7985d7382642610f87799e271e3854079eba6b2.tar.gz binutils-gdb-a7985d7382642610f87799e271e3854079eba6b2.tar.bz2 binutils-gdb-a7985d7382642610f87799e271e3854079eba6b2.zip |
* reloc.c (enum complain_overflow): Correct comments.
(bfd_check_overflow): Combine complain_overflow_bitfield and
complain_overflow_signed code.
(_bfd_relocate_contents): Likewise.
(bfd_howto_32): Use complain_overflow_dont.
* elf32-d10v.c (elf_d10v_howto_table): Revert 2002-06-17 change.
* bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd/elf32-d10v.c')
-rw-r--r-- | bfd/elf32-d10v.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bfd/elf32-d10v.c b/bfd/elf32-d10v.c index a0e506a8835..293b1419de7 100644 --- a/bfd/elf32-d10v.c +++ b/bfd/elf32-d10v.c @@ -50,10 +50,10 @@ static reloc_howto_type elf_d10v_howto_table[] = HOWTO (R_D10V_10_PCREL_R, /* Type. */ 2, /* Rightshift. */ 2, /* Size (0 = byte, 1 = short, 2 = long). */ - 7, /* Bitsize. */ + 8, /* Bitsize. */ TRUE, /* PC_relative. */ 0, /* Bitpos. */ - complain_overflow_bitfield, /* Complain_on_overflow. */ + complain_overflow_signed, /* Complain_on_overflow. */ bfd_elf_generic_reloc, /* Special_function. */ "R_D10V_10_PCREL_R", /* Name. */ FALSE, /* Partial_inplace. */ @@ -65,10 +65,10 @@ static reloc_howto_type elf_d10v_howto_table[] = HOWTO (R_D10V_10_PCREL_L, /* Type. */ 2, /* Rightshift. */ 2, /* Size (0 = byte, 1 = short, 2 = long). */ - 7, /* Bitsize. */ + 8, /* Bitsize. */ TRUE, /* PC_relative. */ 15, /* Bitpos. */ - complain_overflow_bitfield, /* Complain_on_overflow. */ + complain_overflow_signed, /* Complain_on_overflow. */ bfd_elf_generic_reloc, /* Special_function. */ "R_D10V_10_PCREL_L", /* Name. */ FALSE, /* Partial_inplace. */ @@ -110,10 +110,10 @@ static reloc_howto_type elf_d10v_howto_table[] = HOWTO (R_D10V_18_PCREL, /* Type. */ 2, /* Rightshift. */ 2, /* Size (0 = byte, 1 = short, 2 = long). */ - 15, /* Bitsize. */ + 16, /* Bitsize. */ TRUE, /* PC_relative. */ 0, /* Bitpos. */ - complain_overflow_bitfield, /* Complain_on_overflow. */ + complain_overflow_signed, /* Complain_on_overflow. */ bfd_elf_generic_reloc, /* Special_function. */ "R_D10V_18_PCREL", /* Name. */ FALSE, /* Partial_inplace. */ |