aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-h8300/h8300.exp
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2003-07-11 14:59:41 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2003-07-11 14:59:41 +0000
commit7a9823f1a9d50e9541153fd77c692f389c8c081c (patch)
treefaff27fedc6d18fe09b0c30a9113094cab0f07d7 /ld/testsuite/ld-h8300/h8300.exp
parent91f78506d286a335cbe3d195abfa98e7136b5823 (diff)
downloadgdb-7a9823f1a9d50e9541153fd77c692f389c8c081c.zip
gdb-7a9823f1a9d50e9541153fd77c692f389c8c081c.tar.gz
gdb-7a9823f1a9d50e9541153fd77c692f389c8c081c.tar.bz2
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 'ld/testsuite/ld-h8300/h8300.exp')
-rw-r--r--ld/testsuite/ld-h8300/h8300.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/testsuite/ld-h8300/h8300.exp b/ld/testsuite/ld-h8300/h8300.exp
index af457ab..5390961 100644
--- a/ld/testsuite/ld-h8300/h8300.exp
+++ b/ld/testsuite/ld-h8300/h8300.exp
@@ -28,4 +28,7 @@ run_dump_test relax
if {[istarget *-elf]} {
run_dump_test relax-2
+ run_dump_test relax-3
+} else {
+ run_dump_test relax-3-coff
}