aboutsummaryrefslogtreecommitdiff
path: root/gas/NEWS
diff options
context:
space:
mode:
authorJose E. Marchesi <jose.marchesi@oracle.com>2023-11-30 08:34:09 +0100
committerJose E. Marchesi <jose.marchesi@oracle.com>2023-11-30 08:48:56 +0100
commitdd2947e76aa285a12aa26de63a59f5fb8092ef82 (patch)
tree0396fb73027f495f8637b873f75530d3577f25f4 /gas/NEWS
parent0e78c95c497487aee110dbfc7ca2417b6b2e522d (diff)
downloadgdb-dd2947e76aa285a12aa26de63a59f5fb8092ef82.zip
gdb-dd2947e76aa285a12aa26de63a59f5fb8092ef82.tar.gz
gdb-dd2947e76aa285a12aa26de63a59f5fb8092ef82.tar.bz2
gas: support double-slash line comments in BPF assembly
This patch makes the BPF assembler to support double-slash line comments, like the llvm BPF assembler does. At this point both assemblers support the same commenting styles: - Line comments preceded by # or //. - Non-nestable block comments delimited by /* and */. This patch also adds a couple of tests to make sure all the comment styles work in both normal and pseudoc syntax. The manual is also updated to mention double-slash line comments.
Diffstat (limited to 'gas/NEWS')
-rw-r--r--gas/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/NEWS b/gas/NEWS
index 6bfab08..143d9c8 100644
--- a/gas/NEWS
+++ b/gas/NEWS
@@ -41,6 +41,9 @@
therefore they cannot longer be used to begin line comments. This matches the
behavior of the clang/LLVM BPF assembler.
+* The BPF assembler now allows using both hash (#) and double slash (//) to
+ begin line comments.
+
Changes in 2.41:
* Add support for the KVX instruction set.