From 6085129af61e55103a963d370ca9777979cfc0d7 Mon Sep 17 00:00:00 2001 From: Thiemo Seufer Date: Tue, 25 Jul 2006 16:45:55 +0000 Subject: [PATCH] * ld-mips-elf/mips16-call-global-2.s, ld-mips-elf/mips16-call-global-3.s, ld-mips-elf/mips16-call-global.d: Improve test robustness. --- ld/testsuite/ChangeLog | 6 ++ .../ld-mips-elf/mips16-call-global-2.s | 2 +- .../ld-mips-elf/mips16-call-global-3.s | 10 ++++ ld/testsuite/ld-mips-elf/mips16-call-global.d | 60 ++++++++++--------- 4 files changed, 48 insertions(+), 30 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 466a20c5fc8..ca1c4f4f76d 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2006-07-25 Thiemo Seufer + + * ld-mips-elf/mips16-call-global-2.s, + ld-mips-elf/mips16-call-global-3.s, ld-mips-elf/mips16-call-global.d: + Improve test robustness. + 2006-07-21 Nick Clifton * ld-sh/arch/arch.exp (test_arch): Set the endian flag to suit the diff --git a/ld/testsuite/ld-mips-elf/mips16-call-global-2.s b/ld/testsuite/ld-mips-elf/mips16-call-global-2.s index bae3195799c..2843fcd6ecd 100644 --- a/ld/testsuite/ld-mips-elf/mips16-call-global-2.s +++ b/ld/testsuite/ld-mips-elf/mips16-call-global-2.s @@ -1,4 +1,4 @@ - .set mips16 + .set mips16 .globl x .ent x diff --git a/ld/testsuite/ld-mips-elf/mips16-call-global-3.s b/ld/testsuite/ld-mips-elf/mips16-call-global-3.s index e776b3d548e..5113c5d44a9 100644 --- a/ld/testsuite/ld-mips-elf/mips16-call-global-3.s +++ b/ld/testsuite/ld-mips-elf/mips16-call-global-3.s @@ -1,6 +1,16 @@ + .set nomips16 + .globl y .ent y .type y,@function y: jr $31 .end y + + .ent z + .type z,@function +z: + jr $31 + .end z + + .space 8 diff --git a/ld/testsuite/ld-mips-elf/mips16-call-global.d b/ld/testsuite/ld-mips-elf/mips16-call-global.d index bd5095e66dc..051ebcdae8b 100644 --- a/ld/testsuite/ld-mips-elf/mips16-call-global.d +++ b/ld/testsuite/ld-mips-elf/mips16-call-global.d @@ -1,37 +1,39 @@ -#as: -mips32r2 -#source: mips16-call-global-1.S mips16-call-global-2.S mips16-call-global-3.S .*: file format elf.*mips Disassembly of section .text: -00400090 <__start>: - 400090: 64c3 save 24,ra - 400092: 1a00 002e jal 4000b8 - 400096: 6500 nop - 400098: 1e00 0032 jalx 4000c8 - 40009c: 6500 nop - 40009e: 6443 restore 24,ra - 4000a0: e8a0 jrc ra - 4000a2: 6500 nop - 4000a4: 6500 nop - 4000a6: 6500 nop - 4000a8: 6500 nop - 4000aa: 6500 nop - 4000ac: 6500 nop - 4000ae: 6500 nop +.*0090 <__start>: +.*0090: 64c3 save 24,ra +.*0092: 1a00 002e jal .*00b8 +.*0096: 6500 nop +.*0098: 1e00 0032 jalx .*00c8 +.*009c: 6500 nop +.*009e: 6443 restore 24,ra +.*00a0: e8a0 jrc ra +.*00a2: 6500 nop +.*00a4: 6500 nop +.*00a6: 6500 nop +.*00a8: 6500 nop +.*00aa: 6500 nop +.*00ac: 6500 nop +.*00ae: 6500 nop -004000b0 : - 4000b0: e8a0 jrc ra - 4000b2: 6500 nop - 4000b4: 6500 nop - 4000b6: 6500 nop - 4000b8: 6500 nop - 4000ba: 6500 nop - 4000bc: 6500 nop - 4000be: 6500 nop +.*00b0 : +.*00b0: e8a0 jrc ra +.*00b2: 6500 nop +.*00b4: 6500 nop +.*00b6: 6500 nop +.*00b8: 6500 nop +.*00ba: 6500 nop +.*00bc: 6500 nop +.*00be: 6500 nop -004000c0 : - 4000c0: 03e00008 jr ra - 4000c4: 00000000 nop +.*00c0 : +.*00c0: 03e00008 jr ra +.*00c4: 00000000 nop + +.*00c8 : +.*00c8: 03e00008 jr ra +.*00cc: 00000000 nop \.\.\. -- 2.30.2