2002-08-01 H.J. Lu <hjl@gnu.org>

* gas/mips/elf-rel6.s: Add ".p2align 4".
	* gas/mips/elf-rel6.d: Check nop.
This commit is contained in:
H.J. Lu 2002-08-02 02:33:48 +00:00
parent ba010b30d4
commit fd512f5c73
3 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-08-01 H.J. Lu <hjl@gnu.org>
* gas/mips/elf-rel6.s: Add ".p2align 4".
* gas/mips/elf-rel6.d: Check nop.
2002-08-01 Richard Sandiford <rsandifo@redhat.com>
* gas/mips/elf-rel6.[sd]: New test.

View File

@ -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

View File

@ -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