[binutils-gdb] gas: add NEWS entry for change of comment syntax in BPF assembler

Jose E. Marchesi jemarch@sourceware.org
Tue Nov 28 16:53:09 GMT 2023


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=927d9ccfd30a5bdd7225cfd36a29d326653d9124

commit 927d9ccfd30a5bdd7225cfd36a29d326653d9124
Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Date:   Tue Nov 28 17:51:51 2023 +0100

    gas: add NEWS entry for change of comment syntax in BPF assembler
    
    2023-11-28  Jose E. Marchesi  <jose.marchesi@oracle.com>
    
            * NEWS: Add entry about change of comment syntax in the BPF
            assembler.

Diff:
---
 gas/ChangeLog | 5 +++++
 gas/NEWS      | 4 ++++
 2 files changed, 9 insertions(+)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index c5e781d275c..3d5cfcae58c 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2023-11-28  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+	* NEWS: Add entry about change of comment syntax in the BPF
+	assembler.
+
 2023-11-28  Jose E. Marchesi  <jose.marchesi@oracle.com>
 
 	* config/tc-bpf.c: Semicolon does not start a comment, but
diff --git a/gas/NEWS b/gas/NEWS
index 643f0e6700e..6bfab08c5b8 100644
--- a/gas/NEWS
+++ b/gas/NEWS
@@ -37,6 +37,10 @@
 * Add support for various T-Head extensions (XTheadVector, XTheadZvlsseg
   and XTheadZvamo) from version 2.3.0 of the T-Head ISA manual.
 
+* The BPF assembler now uses semi-colon (;) to separate statements, and
+  therefore they cannot longer be used to begin line comments. This matches the
+  behavior of the clang/LLVM BPF assembler.
+
 Changes in 2.41:
 
 * Add support for the KVX instruction set.


More information about the Binutils-cvs mailing list