diff options
author | Steve Chamberlain <sac@cygnus> | 1994-03-24 19:45:23 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1994-03-24 19:45:23 +0000 |
commit | 47e70c54174be52f55eb38fe8630af68ef9c2b42 (patch) | |
tree | 8224c7d68e7855a15919abfa820f1eb68408118c /bfd/coff-h8500.c | |
parent | 2f3b7d8eb5f3f7823556b77cdd48ff2ae51b09c4 (diff) | |
download | gdb-47e70c54174be52f55eb38fe8630af68ef9c2b42.zip gdb-47e70c54174be52f55eb38fe8630af68ef9c2b42.tar.gz gdb-47e70c54174be52f55eb38fe8630af68ef9c2b42.tar.bz2 |
Thu Mar 24 11:33:46 1994 Steve Chamberlain (sac@jonny.cygnus.com)
* coff-h8300.c (h8300_reloc16_extra_cases): Add relaxing info
for 16bit relative branches.
* coff-h8500.c (r_high8, r_low16, r_high16): Don't complain on
overflow.
Diffstat (limited to 'bfd/coff-h8500.c')
-rw-r--r-- | bfd/coff-h8500.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bfd/coff-h8500.c b/bfd/coff-h8500.c index fec25d7..cf87258 100644 --- a/bfd/coff-h8500.c +++ b/bfd/coff-h8500.c @@ -1,5 +1,5 @@ /* BFD back-end for Hitachi H8/500 COFF binaries. - Copyright 1993 Free Software Foundation, Inc. + Copyright 1993, 1994 Free Software Foundation, Inc. Contributed by Cygnus Support. Written by Steve Chamberlain, <sac@cygnus.com>. @@ -47,11 +47,11 @@ HOWTO (R_H8500_IMM32, 0, 1, 32, false, 0, static reloc_howto_type r_high8 = HOWTO (R_H8500_HIGH8, 0, 1, 8, false, 0, - complain_overflow_bitfield, 0, "r_high8", true, 0x000000ff, 0x000000ff, false); + complain_overflow_dont, 0, "r_high8", true, 0x000000ff, 0x000000ff, false); static reloc_howto_type r_low16 = HOWTO (R_H8500_LOW16, 0, 1, 16, false, 0, - complain_overflow_bitfield, 0, "r_low16", true, 0x0000ffff, 0x0000ffff, false); + complain_overflow_dont, 0, "r_low16", true, 0x0000ffff, 0x0000ffff, false); static reloc_howto_type r_pcrel8 = HOWTO (R_H8500_PCREL8, 0, 1, 8, true, 0, complain_overflow_signed, 0, "r_pcrel8", true, 0, 0, true); @@ -62,7 +62,7 @@ HOWTO (R_H8500_PCREL16, 0, 1, 16, true, 0, complain_overflow_signed, 0, "r_pcrel static reloc_howto_type r_high16 = HOWTO (R_H8500_HIGH16, 0, 1, 8, false, 0, - complain_overflow_bitfield, 0, "r_high16", true, 0x000ffff, 0x0000ffff, false); + complain_overflow_dont, 0, "r_high16", true, 0x000ffff, 0x0000ffff, false); /* Turn a howto into a reloc number */ @@ -74,7 +74,7 @@ coff_h8500_select_reloc (howto) return howto->type; } -#define SELECT_RELOC(x,howto) x= coff_h8500_select_reloc(howto) +#define SELECT_RELOC(x,howto) x.r_type = coff_h8500_select_reloc(howto) #define BADMAG(x) H8500BADMAG(x) |