[PATCH] gas: update NOP instruction for BPF in testsuite/gas/all/org-1.s

Jose E. Marchesi jose.marchesi@oracle.com
Tue Sep 15 12:11:43 GMT 2020


2020-09-15  Jose E. Marchesi  <jose.marchesi@oracle.com>

	* testsuite/gas/all/org-1.s: Update nop_type 6 to use the right
	BPF instruction for a NOP.
---
 gas/ChangeLog                 | 5 +++++
 gas/testsuite/gas/all/org-1.s | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index add14d8274..21846d1038 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2020-09-15  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+	* testsuite/gas/all/org-1.s: Update nop_type 6 to use the right
+	BPF instruction for a NOP.
+
 2020-09-15  Nick Clifton  <nickc@redhat.com>
 
 	* read.c (s_nop): Preserve the input_line_pointer around the call
diff --git a/gas/testsuite/gas/all/org-1.s b/gas/testsuite/gas/all/org-1.s
index 7dccbe3d6f..b53601d526 100644
--- a/gas/testsuite/gas/all/org-1.s
+++ b/gas/testsuite/gas/all/org-1.s
@@ -10,7 +10,7 @@
 	.elseif	nop_type == 5
 	set	$0, $0
         .elseif nop_type == 6
-        mov	%r1,%r1
+        ja	0
 	.else
 	nop
 	.endif
-- 
2.25.0.2.g232378479e



More information about the Binutils mailing list