This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Fix gas/mips/elf-rel6


I am going to check this in as an obvious fix.


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

	* gas/mips/elf-rel6.d: Check nop.

	* gas/mips/elf-rel6.s: Add ".p2align 4".

Index: gas/mips/elf-rel6.d
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/testsuite/gas/mips/elf-rel6.d,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 elf-rel6.d
--- gas/mips/elf-rel6.d	2 Aug 2002 00:09:25 -0000	1.1.1.1
+++ gas/mips/elf-rel6.d	2 Aug 2002 02:25:05 -0000
@@ -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
Index: gas/mips/elf-rel6.s
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/testsuite/gas/mips/elf-rel6.s,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 elf-rel6.s
--- gas/mips/elf-rel6.s	2 Aug 2002 00:09:25 -0000	1.1.1.1
+++ gas/mips/elf-rel6.s	2 Aug 2002 02:25:05 -0000
@@ -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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]