From patchwork Tue Nov 28 14:05:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jose E. Marchesi" X-Patchwork-Id: 170796 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp3943444vqx; Tue, 28 Nov 2023 06:05:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IGpZosXQfMf5ZX3p7BV18o+IzC/V1+mCKxUKFQluZ1d21wgZTQSbgrLv7ipNKJqxRVN6kaP X-Received: by 2002:ac8:42d7:0:b0:423:ab59:9384 with SMTP id g23-20020ac842d7000000b00423ab599384mr8950528qtm.5.1701180342444; Tue, 28 Nov 2023 06:05:42 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1701180342; cv=pass; d=google.com; s=arc-20160816; b=OA6J6XYj/beCwlQXOOFJ5ybv1DUHMWOpechfDic4PiYqViKahAjArdSpHQA68Yfn2s PoWJZFjj4pCMCF0mKyAMFcJWm1YwxNhGSrJKRBjkFxzND1B5ynnf/a6ru8QnovMekboV RunYDSBa48K2s1X6UlxjmkS1m5iV5qnZE4pjRlcRtCb6MCKcI5K+E3Q0eSdLnKQMVorI Kz4Hpr3tdur+250h70+5xUmAuvzxim+W4LpdX0Tv3InI7m+2XwXhE/auUZMQcgbON7jc LD7yGCz9l3B21jB9GI3DZPL43ZG+5R6VfHIwPb6p8tOLB3RRQDkd9wb1tp3fW062FQ2I 6QLg== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version :content-transfer-encoding:message-id:date:subject:to:from :dkim-signature:dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=TfGYUaPlLIX9HrIe6vB5aU6b1NfkcS+ouXJ59o8r1o0=; fh=NLxAvL/bDfPg4AGOtxqvQlND8vazkZrNzKLY8+LAbBY=; b=uHwF2HE5lAKuNKnP/eGN0Vif5i+lMskgxFpreHj9v0AmoLmR5xY/Y9ZfjhaQczQ6/j 5cBoAwAzNkuG7zgF5AeKgeBDpWee6YGe0UIXR76gzWYjwHm4EfmccfyUwsWJCz0yEf1N kaTNo068Lzq4AJt5cHp/jaMswVyd19T7oW598YmybKP55iLQ6v09fiba1yQiM6r+nZQU umr5EWT8uF09okJoKb1LOqW6ZWCAao5CRCOgZQIIA8rRb+sDf0t/m7ebq5/rs9dhsngN MhnE44gtpkyxUTIUzwuUFhglRU8xvE9ownt30T2Xr5fAGbWc+7BNWi2Hw//aTQkHI+cy d6gA== ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b=fdA43zMo; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=j8fRzL34; arc=pass (i=2); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id v10-20020a05622a188a00b004198efe4596si11398056qtc.70.2023.11.28.06.05.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 06:05:42 -0800 (PST) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b=fdA43zMo; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=j8fRzL34; arc=pass (i=2); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3657D3857C48 for ; Tue, 28 Nov 2023 14:05:42 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by sourceware.org (Postfix) with ESMTPS id 9584C3858038 for ; Tue, 28 Nov 2023 14:05:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9584C3858038 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=oracle.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=oracle.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9584C3858038 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=205.220.165.32 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1701180337; cv=pass; b=jAaIT7icX2MygkRR7rONrKt7AmR0VPG5lCnqNGS4uEetZ8K4BplVI94PkOXVODUvBxxdIjHosfA4LQUDoZt30pLAY3Iy5ZmNnrg4ZwAGxH/tyHY6G16wWmSPcJmnTMm3h6o997XLcUhiAs57qldmOWQ+x+UzkcnbS/DAqH/EE+U= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1701180337; c=relaxed/simple; bh=IoJ5b2qonTHMWtuW+QAHQzQohhQZkdLMNgW0Nq8/75g=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-Id: MIME-Version; b=szMUgHFOH7WyjvAm7g0jsv4y97rxziP0YuZEjra1tl6e9dTlUtfF137TgesliHlx1KsYG7qWoej8J0bWQ+OypVViwGZhyCr7Nq1hprjsSfEqzbMkyLZBWnifSVQQHejdUUHC92IxrnZIa+aohWA6nTodNL1rakxWAx6VH+NeJco= ARC-Authentication-Results: i=2; server2.sourceware.org Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3ASDTMF7031490 for ; Tue, 28 Nov 2023 14:05:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : content-transfer-encoding : content-type : mime-version; s=corp-2023-11-20; bh=TfGYUaPlLIX9HrIe6vB5aU6b1NfkcS+ouXJ59o8r1o0=; b=fdA43zMohWauxlEAmba6cUTibUNgoNcXbhDYox4v/TmM7wG7iynX1uy3ZeMHMR5VTH+M XrW1qGcz2VJyhaLzbCUGGhS+591l4EE+3nmOnc2htkpuh4OEbMzh4ZM9sReHmE2pi2Nu iLZt2XhWApk5dJSJb2YlSUkduFEdm0hHCZbVQSdKvfGjLGNSg5Zpigdr0798+QWA1VZt aK4Lrtc3I677ckn8Z/JRoUNK1/juUkDfDkXW29Lh7m7Ggp3e7laHBSZj7U27VrwyRc7y Fn1DAWCVNIm90d6o7NjhbcnR9TNVmgHig9DauGuqFMDHLb2FafTuplkolbZqUO8dOBf7 SA== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3un1rxht9y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 28 Nov 2023 14:05:34 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 3ASDhgt9012668 for ; Tue, 28 Nov 2023 14:05:32 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2169.outbound.protection.outlook.com [104.47.59.169]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3uk7ccp6p7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 28 Nov 2023 14:05:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=U3rwJflq8E4bgWgTllJdlSor9N7bTFUrNWcv1vbmduvXb/PnSk7P1UR8GBrK5/M2CBizEKeBGNwx7R1gWSMuW7kCOYwRzi8pC4GXYG3axG51iPCdFP8rj9uUt+iMzmwRbWcE0hi5YvmG0kLgwdMKMH7NPNC0BPTKKreLJMdlN8oSHGqhwu7bC5Kwe2C0KpNC9HUXznASqavVgfYlCGFXzQ+UETtENk2If4RpaZSGTdoxoyFQmTuuFYd/dAxHXQ7FabaGfD4QbmPubQL9JkmNWt3e9QLtjhOV6bw8/2aieiJXU+7Qfj6CAo5CXzNxaryv2xQu7fINxnRLD6nNKaEYiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=TfGYUaPlLIX9HrIe6vB5aU6b1NfkcS+ouXJ59o8r1o0=; b=QbAFI6uDaIQg+9sYnX+7qJub3UyxHESWs5WwpGnh7/Y1/1MFAPxAJ8+dej53NWfhFD27JaPnwEBtHygm9G541iJLPlX6vBOj6Hq07ihJAl5UomaK0keXNtAJ/5MoAYYdYoy5AemOYbKDc9N8rxUA0qRyNrCxG2tRBxIk6bJtqps222Xsvgj8oZ+cGJ/v0A1uf586G3jUdT1FVQo6YZTEIqm5FQ4xKEOmVL+1d8E7QpvJ8j4ePSvIep/kltcmBnEzpSagac4uIerkriyah6MGLZPBtZp5Zk52Mq6PFM1vfRGnBNypuj19NWy/CgrZMCfYtU6V7pQ+SzXiKPujhY+pfw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TfGYUaPlLIX9HrIe6vB5aU6b1NfkcS+ouXJ59o8r1o0=; b=j8fRzL34T59E3e5N6jhMln8f5toG5L1TRxiLclWA+ZqvEbVLWbaz32xrh4rj4ds2b5jJP7Ml2DQp2H6lYfjwmwUdu2xT1Kaw/hi6Pbiv/J4EIyrHp5R/QaHVj0483zIWm0WEZPHVabUHuFF/OM1P8Nni6mQ5JLuA0hz071u2Owg= Received: from BYAPR10MB2888.namprd10.prod.outlook.com (2603:10b6:a03:88::32) by DS0PR10MB7294.namprd10.prod.outlook.com (2603:10b6:8:f6::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.29; Tue, 28 Nov 2023 14:05:30 +0000 Received: from BYAPR10MB2888.namprd10.prod.outlook.com ([fe80::ba16:f585:1052:a61c]) by BYAPR10MB2888.namprd10.prod.outlook.com ([fe80::ba16:f585:1052:a61c%5]) with mapi id 15.20.7025.022; Tue, 28 Nov 2023 14:05:30 +0000 From: "Jose E. Marchesi" To: binutils@sourceware.org Subject: [COMMITTED] gas: change meaning of ; in the BPF assembler Date: Tue, 28 Nov 2023 15:05:25 +0100 Message-Id: <20231128140525.29734-1-jose.marchesi@oracle.com> X-Mailer: git-send-email 2.30.2 X-ClientProxiedBy: AS4P189CA0010.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:5d7::14) To BYAPR10MB2888.namprd10.prod.outlook.com (2603:10b6:a03:88::32) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BYAPR10MB2888:EE_|DS0PR10MB7294:EE_ X-MS-Office365-Filtering-Correlation-Id: cc77910f-03ae-4020-d62b-08dbf01b1438 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kumGcseiuKkmAyHtJjScxXl6O+dHiMcGycpJ6NYDUxzopJELs1bXcPLqqjk1oL92PdSh6bGsN3F1TK76IcbJFrrqWWZdrlqhn8cbeExrT1g7bzaK2IhIccI77L05GeVj0MU3Xq2/mJXpbGW25Y5iX+Tb+fwda+t8PSbFxGE0BzTpw/Z7ToO6pT5NeCx+3J8ORjk2/SoAbG46NFS2SgjNGf979uhQq7kmMiv/nlLPQt9WlWkyu0FPUPk+2THTZ67L+yA3u/xaoQEGdw1lSmum4t9x/6pJDIbtkRY6jpGLkyTRjV7+YPaJFxcDFyND0V9d9nyDPAM5UQoBcx+Rmcf4etiYibNUnW50n+zQAk4SUyw7ssQseuUAcE/4sbNVxoxG4iICeBMlCIjzWCzeOHsSGGQ0r/VV4r9sSvF0eMevkBBF4uHH0tgzG42ai3vRN4N0LFpeILk2N9JTQcw9miigmoB4VC0we6lAusaFBYo3y4YE2XkOgxetGjbPdoG+cJEcW+c0xdFLRil8H/Bw1rv/E1uVOq/QwA1TX+TCGSgxYLllEXBYU/jfHDZahQN4n5ps X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR10MB2888.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376002)(396003)(346002)(136003)(39860400002)(366004)(230922051799003)(1800799012)(451199024)(64100799003)(186009)(38100700002)(41300700001)(4001150100001)(86362001)(36756003)(1076003)(83380400001)(5660300002)(26005)(2906002)(2616005)(6512007)(6506007)(6666004)(8676002)(8936002)(6486002)(478600001)(66476007)(66946007)(66556008)(316002)(6916009); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-Chunk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qM26+tzOulctff6m4VEugG0nR/XGakRZLzo1lTiZeL+FZDeS/VrFbgYWXRwFI6aLofpYnXHT9CWcDde1tVCg2xkv4bi4X30I+ZUHsRVClAXA++Kko7MjRUk9tcR1uBbzlwHOUtFw6qtJHYJGHSs2YQ1dr96vQCGwN9X5MOqD1j5qldBTyVqpDyN6goLQy6+8G67JiVoawCgm3sy8fXN9oCy5QxN9WPyrJA48ZFDpkjnKwGsND28U5yM3QsIN9UROpqJl1GAf53YUw1GKFxSi101vGq1NBSosXvAalD5zbk8At9IpAwdMTdsgtj+VHOwTNJNu4Ke863YdQ46JEVvcSLo8HoKMFiRiZ22Ie+xV53j7Xi9A== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: cc77910f-03ae-4020-d62b-08dbf01b1438 X-MS-Exchange-CrossTenant-AuthSource: BYAPR10MB2888.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Nov 2023 14:05:29.9574 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: K+NU5slKi26+QVTZU/+cmCvNhg/7dibh1DmoBfdX6nNn/tgwmxxo7oUuTPi6HGOZkMX4V2DXsKnl+ML/ZWsXNp4EJlydt6MSMPcO0OqiKmE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR10MB7294 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-28_14,2023-11-27_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 phishscore=0 mlxscore=0 malwarescore=0 adultscore=0 suspectscore=0 spamscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311280112 X-Proofpoint-GUID: w0uyOVjye8jzgLSQhqXX1tUdBB8niUHU X-Proofpoint-ORIG-GUID: w0uyOVjye8jzgLSQhqXX1tUdBB8niUHU X-Spam-Status: No, score=-12.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783816878874934424 X-GMAIL-MSGID: 1783816878874934424 The BPF assembler in clang uses semi-colon (;) to separate statements, not to be begin line comments. This patch adapts the GNU assembler accordingly. Testsuite and documentation updated accordingly. 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. * testsuite/gas/bpf/spacing-pseudoc.s: Likewise. * testsuite/gas/bpf/offset16-overflow.s: Likewise. * testsuite/gas/bpf/jump-relax-jump.s: Likewise. * testsuite/gas/bpf/jump-relax-ja.s: Likewise. * testsuite/gas/bpf/imm32-overflow.s: Likewise. * testsuite/gas/bpf/disp32-overflow.s: Likewise. * testsuite/gas/bpf/disp16-overflow-relax.s: Likewise. * testsuite/gas/bpf/disp16-overflow.s: Likewise. * doc/c-bpf.texi (BPF Special Characters): Update. --- gas/ChangeLog | 15 +++++++++++++++ gas/config/tc-bpf.c | 4 ++-- gas/doc/c-bpf.texi | 13 ++++++++++--- gas/testsuite/gas/bpf/alu-pseudoc.s | 2 +- gas/testsuite/gas/bpf/disp16-overflow-relax.s | 8 ++++---- gas/testsuite/gas/bpf/disp16-overflow.s | 4 ++-- gas/testsuite/gas/bpf/disp32-overflow.s | 4 ++-- gas/testsuite/gas/bpf/imm32-overflow.s | 4 ++-- gas/testsuite/gas/bpf/jump-relax-ja.s | 18 +++++++++--------- gas/testsuite/gas/bpf/jump-relax-jump.s | 12 ++++++------ gas/testsuite/gas/bpf/offset16-overflow.s | 4 ++-- gas/testsuite/gas/bpf/spacing-pseudoc.s | 4 ++-- 12 files changed, 57 insertions(+), 35 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 9414f7df678..c5e781d275c 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,18 @@ +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. + * testsuite/gas/bpf/spacing-pseudoc.s: Likewise. + * testsuite/gas/bpf/offset16-overflow.s: Likewise. + * testsuite/gas/bpf/jump-relax-jump.s: Likewise. + * testsuite/gas/bpf/jump-relax-ja.s: Likewise. + * testsuite/gas/bpf/imm32-overflow.s: Likewise. + * testsuite/gas/bpf/disp32-overflow.s: Likewise. + * testsuite/gas/bpf/disp16-overflow-relax.s: Likewise. + * testsuite/gas/bpf/disp16-overflow.s: Likewise. + * doc/c-bpf.texi (BPF Special Characters): Update. + 2023-11-23 YunQiang Su * testsuite/gas/mips/elf-rel.s: Use addiu in place of addi. diff --git a/gas/config/tc-bpf.c b/gas/config/tc-bpf.c index b6b1db47427..00567545de8 100644 --- a/gas/config/tc-bpf.c +++ b/gas/config/tc-bpf.c @@ -56,9 +56,9 @@ struct bpf_insn expressionS *relaxed_exp; }; -const char comment_chars[] = ";#"; +const char comment_chars[] = "#"; const char line_comment_chars[] = "#"; -const char line_separator_chars[] = "`"; +const char line_separator_chars[] = ";`"; const char EXP_CHARS[] = "eE"; const char FLT_CHARS[] = "fFdD"; diff --git a/gas/doc/c-bpf.texi b/gas/doc/c-bpf.texi index 25ae231d19c..7ff07e91764 100644 --- a/gas/doc/c-bpf.texi +++ b/gas/doc/c-bpf.texi @@ -68,11 +68,18 @@ the host endianness is used. @cindex line comment character, BPF @cindex BPF line comment character -The presence of a @samp{;} or a @samp{#} on a line indicates the start -of a comment that extends to the end of the current line. +The presence of a @samp{#} on a line indicates the start of a comment +that extends to the end of the current line. + +@cindex block comments, BPF +@cindex BPF block comments +The presence of the @samp{/*} sequence indicates the beginning of a +block (multi-line) comment, whose contents span until the next +@samp{*/} sequence. It is not possible to nest block comments. @cindex statement separator, BPF -Statements and assembly directives are separated by newlines. +Statements and assembly directives are separated by newlines and +@samp{;} characters. @node BPF Registers @section BPF Registers diff --git a/gas/testsuite/gas/bpf/alu-pseudoc.s b/gas/testsuite/gas/bpf/alu-pseudoc.s index 3d60d4f7a77..04d2b76e3f7 100644 --- a/gas/testsuite/gas/bpf/alu-pseudoc.s +++ b/gas/testsuite/gas/bpf/alu-pseudoc.s @@ -61,5 +61,5 @@ r1 = bswap16 r1 r2 = bswap32 r2 r3 = bswap64 r3 - ;; The following is to be interpreted as a mov, not lddw. + /* The following is to be interpreted as a mov, not lddw. */ r2 = 666ll diff --git a/gas/testsuite/gas/bpf/disp16-overflow-relax.s b/gas/testsuite/gas/bpf/disp16-overflow-relax.s index 05d505caaae..7ac969a854a 100644 --- a/gas/testsuite/gas/bpf/disp16-overflow-relax.s +++ b/gas/testsuite/gas/bpf/disp16-overflow-relax.s @@ -1,4 +1,4 @@ - jeq %r1,%r2,2147483647 ; Overflows. - jlt %r3,%r4,2147483648 ; Overflows. - jge %r5,10,-2147483648 ; Overflows. - ja -2147483649 ; Overflows. + jeq %r1,%r2,2147483647 /* Overflows. */ + jlt %r3,%r4,2147483648 /* Overflows. */ + jge %r5,10,-2147483648 /* Overflows. */ + ja -2147483649 /* Overflows. */ diff --git a/gas/testsuite/gas/bpf/disp16-overflow.s b/gas/testsuite/gas/bpf/disp16-overflow.s index 4a8fd9fcf1c..c46590e4959 100644 --- a/gas/testsuite/gas/bpf/disp16-overflow.s +++ b/gas/testsuite/gas/bpf/disp16-overflow.s @@ -1,4 +1,4 @@ ja 32767 - jeq %r1,%r2,65536 ; Overflows + jeq %r1,%r2,65536 /* Overflows */ jlt %r3,%r4,-32768 - jge %r5,10,-32769 ; Overflows + jge %r5,10,-32769 /* Overflows */ diff --git a/gas/testsuite/gas/bpf/disp32-overflow.s b/gas/testsuite/gas/bpf/disp32-overflow.s index 11128a20dff..eb8b445588b 100644 --- a/gas/testsuite/gas/bpf/disp32-overflow.s +++ b/gas/testsuite/gas/bpf/disp32-overflow.s @@ -1,4 +1,4 @@ call -2147483648 - call -2147483649 ; This overflows. + call -2147483649 /* This overflows. */ call 4294967295 - call 4294967296 ; This overflows. + call 4294967296 /* This overflows. */ diff --git a/gas/testsuite/gas/bpf/imm32-overflow.s b/gas/testsuite/gas/bpf/imm32-overflow.s index b2ab43d2e7a..1aac58bd0ea 100644 --- a/gas/testsuite/gas/bpf/imm32-overflow.s +++ b/gas/testsuite/gas/bpf/imm32-overflow.s @@ -1,4 +1,4 @@ add %r1, 2147483647 - or %r2, 4294967296 ; This overflows. + or %r2, 4294967296 /* This overflows. */ xor %r3, 4294967295 - sub %r4, 4294967296 ; This overflows. + sub %r4, 4294967296 /* This overflows. */ diff --git a/gas/testsuite/gas/bpf/jump-relax-ja.s b/gas/testsuite/gas/bpf/jump-relax-ja.s index 1faf67909eb..f164176bbd5 100644 --- a/gas/testsuite/gas/bpf/jump-relax-ja.s +++ b/gas/testsuite/gas/bpf/jump-relax-ja.s @@ -1,16 +1,16 @@ - ;; The following two instructions have constant targets that - ;; fix in the JA 16-bit signed displacement operand. These - ;; are not relaxed. + /* The following two instructions have constant targets that + fix in the JA 16-bit signed displacement operand. These + are not relaxed. */ 1: ja -32768 ja 32767 - ;; The following instruction refers to a defined symbol that - ;; is on reach, so it should not be relaxed. + /* The following instruction refers to a defined symbol that + is on reach, so it should not be relaxed. */ ja 1b - ;; The following instruction has an undefined symbol as a - ;; target. It is not to be relaxed. + /* The following instruction has an undefined symbol as a + target. It is not to be relaxed. */ ja undefined + 10 - ;; The following instructions refer to a defined symbol that - ;; is not on reach. They shall be relaxed to a JAL. + /* The following instructions refer to a defined symbol that + is not on reach. They shall be relaxed to a JAL. */ ja tail tail = .text + 262160 ja tail diff --git a/gas/testsuite/gas/bpf/jump-relax-jump.s b/gas/testsuite/gas/bpf/jump-relax-jump.s index 3ee7c873320..5ea61109bca 100644 --- a/gas/testsuite/gas/bpf/jump-relax-jump.s +++ b/gas/testsuite/gas/bpf/jump-relax-jump.s @@ -1,12 +1,12 @@ - ;; The following two instructions have constant targets that - ;; fix in the jump 16-bit signed displacement operand. + /* The following two instructions have constant targets that + fix in the jump 16-bit signed displacement operand. */ 1: jeq %r1, %r2, -32768 jlt %r1, %r2, 32767 - ;; The following instruction refers to a defined symbol that - ;; is on reach, so it should not be relaxed. + /* The following instruction refers to a defined symbol that + is on reach, so it should not be relaxed. */ jle %r1, %r2, 1b - ;; The following instructions refer to a defined symbol that - ;; is not on reach. They shall be relaxed. + /* The following instructions refer to a defined symbol that + is not on reach. They shall be relaxed. */ jeq %r1, %r2, tail tail = .text + 262160 jgt %r1, %r2, tail diff --git a/gas/testsuite/gas/bpf/offset16-overflow.s b/gas/testsuite/gas/bpf/offset16-overflow.s index ebd8e05c09e..2bcb63baf8d 100644 --- a/gas/testsuite/gas/bpf/offset16-overflow.s +++ b/gas/testsuite/gas/bpf/offset16-overflow.s @@ -1,4 +1,4 @@ ldxh %r2, [%r1 + 65535] - ldxw %r2, [%r1 + 65536] ; This overflows + ldxw %r2, [%r1 + 65536] /* This overflows. */ stxw [%r2 - 32768], %r1 - stxdw [%r2 - 32769], %r1 ; This overflows + stxdw [%r2 - 32769], %r1 /* This overflows. */ diff --git a/gas/testsuite/gas/bpf/spacing-pseudoc.s b/gas/testsuite/gas/bpf/spacing-pseudoc.s index 3c19d9a5073..5aff93dcf33 100644 --- a/gas/testsuite/gas/bpf/spacing-pseudoc.s +++ b/gas/testsuite/gas/bpf/spacing-pseudoc.s @@ -1,5 +1,5 @@ - ;; This test checks that flexible spacing is supported in the - ;; pseudoc syntax. + /* This test checks that flexible spacing is supported in the + pseudoc syntax. */ r4 = 0xdeadbeefll r4 = 0xdeadbeef ll goto +1