aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose E. Marchesi <jose.marchesi@oracle.com>2023-07-24 02:20:55 +0200
committerJose E. Marchesi <jose.marchesi@oracle.com>2023-07-24 02:20:55 +0200
commita50ead7822bef29a45d6e660e23264d76545981b (patch)
treec1361b0746a62036ade137ff9c481e3ef6040661
parent3ccfc0b46caa7816a17d274a5df61b31d2541da8 (diff)
downloadgdb-a50ead7822bef29a45d6e660e23264d76545981b.zip
gdb-a50ead7822bef29a45d6e660e23264d76545981b.tar.gz
gdb-a50ead7822bef29a45d6e660e23264d76545981b.tar.bz2
bpf: gas: fix in manual that MOVS* pseudoc syntax uses = instead of s=
gas/ChangeLog: 2023-07-24 Jose E. Marchesi <jose.marchesi@oracle.com> * doc/c-bpf.texi (BPF Instructions): The pseudoc syntax for MOVS* doesn't use `s=' but `='.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/doc/c-bpf.texi12
2 files changed, 11 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 3d9d795..5538cd2 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
2023-07-24 Jose E. Marchesi <jose.marchesi@oracle.com>
+ * doc/c-bpf.texi (BPF Instructions): The pseudoc syntax for MOVS*
+ doesn't use `s=' but `='.
+
+2023-07-24 Jose E. Marchesi <jose.marchesi@oracle.com>
+
* doc/c-bpf.texi (BPF Instructions): Fix pseudoc syntax for MOVS*
and LDXS* instructions.
* testsuite/gas/bpf/mem-pseudoc.d: Likewise.
diff --git a/gas/doc/c-bpf.texi b/gas/doc/c-bpf.texi
index 43190af..be29d8d 100644
--- a/gas/doc/c-bpf.texi
+++ b/gas/doc/c-bpf.texi
@@ -264,15 +264,15 @@ Move the 64-bit value of @code{rs} in @code{rd}, or load @code{imm32}
in @code{rd}.
@item movs rd, rs, 8
-@itemx rd s= (s8) rs
+@itemx rd = (s8) rs
Move the sign-extended 8-bit value in @code{rs} to @code{rd}.
@item movs rd, rs, 16
-@itemx rd s= (s16) rs
+@itemx rd = (s16) rs
Move the sign-extended 16-bit value in @code{rs} to @code{rd}.
@item movs rd, rs, 32
-@itemx rd s= (s32) rs
+@itemx rd = (s32) rs
Move the sign-extended 32-bit value in @code{rs} to @code{rd}.
@end table
@@ -371,15 +371,15 @@ Move the 32-bit value of @code{rs} in @code{rd}, or load @code{imm32}
in @code{rd}.
@item mov32s rd, rs, 8
-@itemx rd s= (s8) rs
+@itemx rd = (s8) rs
Move the sign-extended 8-bit value in @code{rs} to @code{rd}.
@item mov32s rd, rs, 16
-@itemx rd s= (s16) rs
+@itemx rd = (s16) rs
Move the sign-extended 16-bit value in @code{rs} to @code{rd}.
@item mov32s rd, rs, 32
-@itemx rd s= (s32) rs
+@itemx rd = (s32) rs
Move the sign-extended 32-bit value in @code{rs} to @code{rd}.
@end table