From 927d9ccfd30a5bdd7225cfd36a29d326653d9124 Mon Sep 17 00:00:00 2001 From: "Jose E. Marchesi" Date: Tue, 28 Nov 2023 17:51:51 +0100 Subject: gas: add NEWS entry for change of comment syntax in BPF assembler 2023-11-28 Jose E. Marchesi * NEWS: Add entry about change of comment syntax in the BPF assembler. --- gas/ChangeLog | 5 +++++ gas/NEWS | 4 ++++ 2 files changed, 9 insertions(+) (limited to 'gas') diff --git a/gas/ChangeLog b/gas/ChangeLog index c5e781d..3d5cfca 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,10 @@ 2023-11-28 Jose E. Marchesi + * NEWS: Add entry about change of comment syntax in the BPF + assembler. + +2023-11-28 Jose E. Marchesi + * config/tc-bpf.c: Semicolon does not start a comment, but separates multiple commands on a single line. * testsuite/gas/bpf/alu-pseudoc.s: Adapt test accordingly. diff --git a/gas/NEWS b/gas/NEWS index 643f0e6..6bfab08 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. -- cgit v1.1