From fb405f8a9fc70b2cca45eceb2f23aed1528a3327 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Wed, 12 Jul 2006 12:47:00 +0000 Subject: bfd/ 2006-07-12 Matthew R. Dempsky * cpu-m68k.c (bfd_m68k_compatible): Handle CPU32. ld/testsuite/ 2006-07-12 Richard Sandiford * ld-m68k/merge-ok-1c.d: New test. * ld-m68k/m68k.exp: Run it. --- ld/testsuite/ChangeLog | 5 +++++ ld/testsuite/ld-m68k/m68k.exp | 1 + ld/testsuite/ld-m68k/merge-ok-1c.d | 6 ++++++ 3 files changed, 12 insertions(+) create mode 100644 ld/testsuite/ld-m68k/merge-ok-1c.d (limited to 'ld') diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 235143f..575da33 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2006-07-12 Richard Sandiford + + * ld-m68k/merge-ok-1c.d: New test. + * ld-m68k/m68k.exp: Run it. + 2006-07-11 Hans-Peter Nilsson * ld-cris/libdso-2.d: Adjust for recent hash-related changes. diff --git a/ld/testsuite/ld-m68k/m68k.exp b/ld/testsuite/ld-m68k/m68k.exp index 042f1b9..ca096f5 100644 --- a/ld/testsuite/ld-m68k/m68k.exp +++ b/ld/testsuite/ld-m68k/m68k.exp @@ -53,6 +53,7 @@ run_dump_test "merge-error-1d" run_dump_test "merge-error-1e" run_dump_test "merge-ok-1a" run_dump_test "merge-ok-1b" +run_dump_test "merge-ok-1c" foreach { id sources } { a { plt1.s } b { plt1-empty.s plt1.s } } { foreach arch { 68020 cpu32 isab } { diff --git a/ld/testsuite/ld-m68k/merge-ok-1c.d b/ld/testsuite/ld-m68k/merge-ok-1c.d new file mode 100644 index 0000000..81cf5a6 --- /dev/null +++ b/ld/testsuite/ld-m68k/merge-ok-1c.d @@ -0,0 +1,6 @@ +#source: merge-error-1a.s -march=cpu32 +#source: merge-error-1b.s -march=cpu32 +#ld: -r +#objdump: -p +#... +private flags = 810000: \[cpu32\] -- cgit v1.1