From fd512f5c737a73747fd7c6017efb47c543d4c9f9 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 2 Aug 2002 02:33:48 +0000 Subject: [PATCH] 2002-08-01 H.J. Lu * gas/mips/elf-rel6.s: Add ".p2align 4". * gas/mips/elf-rel6.d: Check nop. --- gas/testsuite/ChangeLog | 5 +++++ gas/testsuite/gas/mips/elf-rel6.d | 4 ++++ gas/testsuite/gas/mips/elf-rel6.s | 3 +++ 3 files changed, 12 insertions(+) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 8d211f7182b..8855862831f 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2002-08-01 H.J. Lu + + * gas/mips/elf-rel6.s: Add ".p2align 4". + * gas/mips/elf-rel6.d: Check nop. + 2002-08-01 Richard Sandiford * gas/mips/elf-rel6.[sd]: New test. diff --git a/gas/testsuite/gas/mips/elf-rel6.d b/gas/testsuite/gas/mips/elf-rel6.d index 5baadf9445c..3ff37b27ed9 100644 --- a/gas/testsuite/gas/mips/elf-rel6.d +++ b/gas/testsuite/gas/mips/elf-rel6.d @@ -8,3 +8,7 @@ Disassembly of section \.text: 0: R_MIPS16_GPREL bar 0+04 <.*> lb v0,1\(v1\) 4: R_MIPS16_GPREL bar +0+08 <[^>]*> nop +0+0a <[^>]*> nop +0+0c <[^>]*> nop +0+0e <[^>]*> nop diff --git a/gas/testsuite/gas/mips/elf-rel6.s b/gas/testsuite/gas/mips/elf-rel6.s index e0bc37ab69e..6735d7555fa 100644 --- a/gas/testsuite/gas/mips/elf-rel6.s +++ b/gas/testsuite/gas/mips/elf-rel6.s @@ -14,3 +14,6 @@ f: lb $2,%gprel(bar)($3) lb $2,%gprel(bar+1)($3) .end f + +# align section end to 16-byte boundary for easier testing on multiple targets + .p2align 4