This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
missing bfd_h8300_pad_address
- From: Doug Evans <dje at sebabeach dot org>
- To: rsandifo at redhat dot com
- Cc: binutils at sources dot redhat dot com
- Date: Sun, 13 Jul 2003 22:13:00 -0700 (PDT)
- Subject: missing bfd_h8300_pad_address
I'm getting link errors with a --enable-targets=all build.
/home/dje/gnu/m32r/bsrc/bfd/.libs/libbfd.a(coff-h8300.o)(.text+0x4d1): In function `h8300_reloc16_estimate':
../../src/bfd/coff-h8300.c:576: undefined reference to `bfd_h8300_pad_address'
[...]
2003-07-11 Richard Sandiford <rsandifo@redhat.com>
* 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.
I don't see bfd_h8300_pad_address in cpu-h8300.c.