OSDN Git Service

bfd/
authorRichard Sandiford <rsandifo@nildram.co.uk>
Fri, 11 Jul 2003 14:59:40 +0000 (14:59 +0000)
committerRichard Sandiford <rsandifo@nildram.co.uk>
Fri, 11 Jul 2003 14:59:40 +0000 (14:59 +0000)
commit0fd1a6fdd4303de5cdcbe42a42edd3d8d08f1c90
treef4a5fd2351bf6d88b6066a47f44d3becf9361ed3
parentf06f693d5a0e230f855f71f540683b3cedc7ea45
bfd/
* bfd-in.h (bfd_h8300_pad_address): Declare.
* bfd-in2.h: Regenerate.
* cpu-h8300.c (bfd_h8300_pad_address): New function.
* coff-h8300.c (h8300_reloc16_estimate): Use it to canonicalize
addresses before checking whether they can be relaxed.
(h8300_reloc16_extra_cases): Likewise for the R_MOVL2 sanity check.
Don't complain about overflows in general 8-bit relocations.
* elf32-h8300.c (elf32_h8_relax_section): Use bfd_h8300_pad_address.
Fix handling of R_H8_DIR24A8.

ld/testsuite/
* ld-h8300/relax-3{.s,.d,-coff.d}: New test.
* ld-h8300/h8300.exp: Run it.
bfd/ChangeLog
bfd/bfd-in.h
bfd/bfd-in2.h
bfd/coff-h8300.c
bfd/elf32-h8300.c