diff options
author | Jose E. Marchesi <jose.marchesi@oracle.com> | 2023-11-30 08:34:09 +0100 |
---|---|---|
committer | Jose E. Marchesi <jose.marchesi@oracle.com> | 2023-11-30 08:48:56 +0100 |
commit | dd2947e76aa285a12aa26de63a59f5fb8092ef82 (patch) | |
tree | 0396fb73027f495f8637b873f75530d3577f25f4 /gas/NEWS | |
parent | 0e78c95c497487aee110dbfc7ca2417b6b2e522d (diff) | |
download | binutils-dd2947e76aa285a12aa26de63a59f5fb8092ef82.zip binutils-dd2947e76aa285a12aa26de63a59f5fb8092ef82.tar.gz binutils-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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |