summaryrefslogtreecommitdiff
path: root/bfd/bfd-in.h
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@nildram.co.uk>2003-07-11 14:59:41 +0000
committerRichard Sandiford <rsandifo@nildram.co.uk>2003-07-11 14:59:41 +0000
commitea4e8beb189f6a33a4184df4115cf943971c5751 (patch)
treed87283315d30f574ef4409c459bf0af49018ff9e /bfd/bfd-in.h
parentd4617d6fec602034d6b1b34e57c5a30c8b51a3c5 (diff)
downloadbinutils-redhat-ea4e8beb189f6a33a4184df4115cf943971c5751.tar.gz
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.
Diffstat (limited to 'bfd/bfd-in.h')
-rw-r--r--bfd/bfd-in.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index e800a92211..63c86f7f91 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -821,3 +821,7 @@ extern void bfd_ticoff_set_section_load_page
extern int bfd_ticoff_get_section_load_page
(struct sec *);
+/* H8/300 functions. */
+extern bfd_vma bfd_h8300_pad_address
+ (bfd *, bfd_vma);
+