get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2215699/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2215699,
    "url": "http://patchwork.ozlabs.org/api/patches/2215699/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/482ED544-8177-41EF-90AA-A778AC458E67@126.com/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/projects/17/?format=api",
        "name": "GNU Compiler Collection",
        "link_name": "gcc",
        "list_id": "gcc-patches.gcc.gnu.org",
        "list_email": "gcc-patches@gcc.gnu.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<482ED544-8177-41EF-90AA-A778AC458E67@126.com>",
    "list_archive_url": null,
    "date": "2026-03-25T04:06:22",
    "name": "aarch64: fix aarch64_core_data name offset [PR124629]",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "24b414a055c499850fee8ab2691e584103e5e3bc",
    "submitter": {
        "id": 92960,
        "url": "http://patchwork.ozlabs.org/api/people/92960/?format=api",
        "name": "Cutie Deng",
        "email": "Dhdreamer@126.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/482ED544-8177-41EF-90AA-A778AC458E67@126.com/mbox/",
    "series": [
        {
            "id": 497381,
            "url": "http://patchwork.ozlabs.org/api/series/497381/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=497381",
            "date": "2026-03-25T04:06:22",
            "name": "aarch64: fix aarch64_core_data name offset [PR124629]",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/497381/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2215699/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2215699/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=126.com header.i=@126.com header.a=rsa-sha256\n header.s=s110527 header.b=aJCNw9OI;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:6:3111::32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)",
            "sourceware.org;\n\tdkim=pass (1024-bit key,\n unprotected) header.d=126.com header.i=@126.com header.a=rsa-sha256\n header.s=s110527 header.b=aJCNw9OI",
            "sourceware.org;\n dmarc=pass (p=none dis=none) header.from=126.com",
            "sourceware.org; spf=pass smtp.mailfrom=126.com",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=117.135.210.9"
        ],
        "Received": [
            "from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fgYJm4Xr6z1y1G\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 25 Mar 2026 15:07:19 +1100 (AEDT)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 3B9B34BB588F\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 25 Mar 2026 04:07:17 +0000 (GMT)",
            "from m16.mail.126.com (m16.mail.126.com [117.135.210.9])\n by sourceware.org (Postfix) with ESMTPS id A04284B9DB7B\n for <gcc-patches@gcc.gnu.org>; Wed, 25 Mar 2026 04:06:45 +0000 (GMT)",
            "from smtpclient.apple (unknown [])\n by gzga-smtp-mtada-g1-1 (Coremail) with SMTP id\n _____wD3P25IX8NpJxDQAQ--.10898S3;\n Wed, 25 Mar 2026 12:06:32 +0800 (CST)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 3B9B34BB588F",
            "OpenDKIM Filter v2.11.0 sourceware.org A04284B9DB7B"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org A04284B9DB7B",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org A04284B9DB7B",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1774411606; cv=none;\n b=KiP4Sa0acl3kMfDivaIw5X/8n0D/B9KdMVCzMSO+MGr2hJ40mgxw0acEGxU8qc+ajn9ehKESNYGIN6CP7cHsyaU3Xo1CJoSN2jgxg8Dd12jn1pnWH4VRX9uOBj9xXlE6dv6ncDlJ+iRxYqQLx9wjVm4c8HOz5Cn+3luZEACnZcc=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1774411606; c=relaxed/simple;\n bh=U6bDXwacFCP9YM1ooQk3E8G1S0eLBX+7ZooBxJ4Sap8=;\n h=DKIM-Signature:From:Mime-Version:Subject:Message-Id:Date:To;\n b=niLSke8tgpCVZRSgXViWRcBaXLxTc7nNrcs5WfBSxBXXh2GoPUWm9NPBlDo5RAc0Djv/lKIBh9gEqMV4sbKGhBsHFRLbNrGAw5PM4GGPEaQ36Z+/hCWCwbLIyWQy+mpvMNNaLDnxUAdoYjI5XlxYc8pAsI8Y8Idh9eXShTHmg6I=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com;\n s=s110527; h=From:Content-Type:Mime-Version:Subject:Message-Id:\n Date:To; bh=y/jPqVky4xLLRkNTOSbwXDhYTqW7NJkws9UTtyBW1kM=; b=aJCN\n w9OI42yVJx7xutpjInOKzovINUaWexCabpwuj50ApkvBpK+IxOH1UzVMWJLsyvFG\n ShCsy5e9U2rz6ZPs2EuHniThQnqlVQKdph6AaSyLP821RbSE+M/KCeN8AJflFsyT\n +bbk+vEMzmKRbRcvXf5UblGqDcayl+qU1Iomi+k=",
        "From": "Cutie Deng <Dhdreamer@126.com>",
        "Content-Type": "text/plain;\n\tcharset=us-ascii",
        "Content-Transfer-Encoding": "quoted-printable",
        "Mime-Version": "1.0 (Mac OS X Mail 16.0 \\(3864.400.21\\))",
        "Subject": "[PATCH] aarch64: fix aarch64_core_data name offset [PR124629]",
        "Message-Id": "<482ED544-8177-41EF-90AA-A778AC458E67@126.com>",
        "Date": "Wed, 25 Mar 2026 12:06:22 +0800",
        "Cc": "richard.earnshaw@arm.com, ktkachov@nvidia.com,\n Cutie Deng <dhdreamer@126.com>, Cutie Deng <Dhdreamer@126.com>",
        "To": "gcc-patches@gcc.gnu.org",
        "X-Mailer": "Apple Mail (2.3864.400.21)",
        "X-CM-TRANSID": "_____wD3P25IX8NpJxDQAQ--.10898S3",
        "X-Coremail-Antispam": "1Uf129KBjvJXoW7urWDCF1fZr17JFyxZw1kZrb_yoW8CF1xpF\n W5C34kC3W7GayxWF4xtrWDX3W3Cw1qq3WaqFW5Wr1rZF1Y9ry8XFn3Xr10yFs8ur4FgF1I\n yFZ0gr1jgryDAFUanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2\n 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0zKiihhUUUUU=",
        "X-Originating-IP": "[139.159.170.88]",
        "X-CM-SenderInfo": "xgkg2vhdph2qqrswhudrp/xtbBlQk122nDX0mHtQAA38",
        "X-BeenThere": "gcc-patches@gcc.gnu.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Gcc-patches mailing list <gcc-patches.gcc.gnu.org>",
        "List-Unsubscribe": "<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>",
        "List-Archive": "<https://gcc.gnu.org/pipermail/gcc-patches/>",
        "List-Post": "<mailto:gcc-patches@gcc.gnu.org>",
        "List-Help": "<mailto:gcc-patches-request@gcc.gnu.org?subject=help>",
        "List-Subscribe": "<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>",
        "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"
    },
    "content": "aarch64: fix aarch64_core_data name offset\n\n\t* gcc/config/aarch64/driver-aarch64.cc (aarch64_core_data): Align name\n\toffset in aarch64_core_data with driver info.\n\n       This patch fixes an incorrect architecture name reported on AArch64.\n       The issue can be observed when running:\n\n               gcc -c -Q --help=target -march=native\n\n       where the printed architecture name does not match the driver table.\n\n       The root cause is a wrong string offset used in aarch64_core_data.\n       Adjusting the offset makes the architecture name consistent with\n       the driver information.\n\n       This change only affects the architecture name string generation\n       and does not impact code generation or ABI.\n\n       Tested on aarch64-linux-gnu by building GCC and manually verifying\n       the output of -Q --help=target.\n\nSigned-off-by: Cutie Deng <Dhdreamer@126.com>\n\ngcc/ChangeLog:\n\n\t* config/aarch64/driver-aarch64.cc (DEFAULT_CPU): Align name offset\n       in aarch64_core_data with driver info.\n---\ngcc/config/aarch64/driver-aarch64.cc | 4 +++-\n1 file changed, 3 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/gcc/config/aarch64/driver-aarch64.cc b/gcc/config/aarch64/driver-aarch64.cc\nindex a8888640e21..dca70f5cdfc 100644\n--- a/gcc/config/aarch64/driver-aarch64.cc\n+++ b/gcc/config/aarch64/driver-aarch64.cc\n@@ -62,8 +62,10 @@ struct aarch64_core_data\n#define DEFAULT_ARCH \"8A\"\n#define DEFAULT_CPU \"generic-armv8-a\"\n\n+/* CORE_IDENT: Skip the leading \"V\" in the architecture name.  */\n#define AARCH64_CORE(CORE_NAME, CORE_IDENT, SCHED, ARCH, FLAGS, COSTS, IMP, PART, VARIANT) \\\n-  { CORE_NAME, #ARCH, IMP, PART, unsigned(VARIANT), feature_deps::cpu_##CORE_IDENT },\n+  { CORE_NAME, #ARCH + 1, IMP, PART, unsigned (VARIANT),\n+    feature_deps::cpu_##CORE_IDENT },\n\nstatic CONSTEXPR const aarch64_core_data aarch64_cpu_data[] =\n{\n",
    "prefixes": []
}