public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] gas: update NOP instruction for BPF in testsuite/gas/all/org-1.s
@ 2020-09-15 12:11 Jose E. Marchesi
  0 siblings, 0 replies; only message in thread
From: Jose E. Marchesi @ 2020-09-15 12:11 UTC (permalink / raw)
  To: binutils

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-15 12:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-15 12:11 [PATCH] gas: update NOP instruction for BPF in testsuite/gas/all/org-1.s Jose E. Marchesi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).