From patchwork Tue Oct 31 16:32:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 1857681 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=WAWRoSOF; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4SKbLl5WGJz1yQZ for ; Wed, 1 Nov 2023 03:34:07 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D04C13857345 for ; Tue, 31 Oct 2023 16:34:05 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) by sourceware.org (Postfix) with ESMTPS id C4DAD385772D for ; Tue, 31 Oct 2023 16:32:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C4DAD385772D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C4DAD385772D Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::333 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698769977; cv=none; b=pAx2tmDp6SKYexJps5375tbsDYDXULn10QAA2XCZcO4GIYsTonO++8SzhCjAg/uW9VymAm/4NEI9fGqYORQfFswmG/q3YKZnpk3KXEFZT/URV1NnreUlybliQVdpx3X/HDyrCpyzJdH8zgS/g2v98s3q1z4FINvpfUPJGBfIZH0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698769977; c=relaxed/simple; bh=YPfKarYTaHa5VRxAK1c5LQoAOn0ijCcB3dobSKW/NRc=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=PtTAkycFMAlPF/Bx4L8DsoGo+z0aUP4iUM/vT7M1DUM3AGCFE+Cu5509GGfGCX96FOVzORjEhvkqKvSKVzzcQIB5Iie5NUjx72MM/UdVKl31iyG64a4EQbhd0T8J0jMjpZGEWr6MXgZVW4SZwzovDTy2AWA00KWZSkvbwbNakIo= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ot1-x333.google.com with SMTP id 46e09a7af769-6d2fedd836fso1248113a34.1 for ; Tue, 31 Oct 2023 09:32:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698769974; x=1699374774; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=KLScK4i9AeptKNlgIPYmJAH8KOhNq1n1jugepCUjAsk=; b=WAWRoSOFdRSVMNA+GJ+MIwKZz/TCzbHMm1zlFsbYeIMdh/qJ3Zxb89fSDPRWqs8Tiu ktam4/yC14Q0bRF8gbAnhyemlLeDb+qWrM68Ukqgvy2rnUyc7xMXsi5NyE7sqw0O2O8P S0KP/Y9gYWaCfE10WmGGOS68FM4E1R7l/WXOLE6KzIdLaJh0CuNPPol9QrrHAo87P9Gw LeoTe4jbAOR+l59dQKiWPUjghJv7ndF7XxdzFDp353paYNgo2En4scWj97cpydXRj66I VfZ99/77XNLpeB+JHem3pL3ng9VI62dsVk/ptR4/LYzLvlK2xeBb3OyxPp0lKuwah2IB O7dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698769974; x=1699374774; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KLScK4i9AeptKNlgIPYmJAH8KOhNq1n1jugepCUjAsk=; b=VNXuGzlfSWmk6oSU9tB+DW+OrYCfkNkAiDS1G2CCGWiy4YzJ2Qfd+pTBkNUybvjnR4 me9usKSEVB5WqaQ6oufqafy0YSDnNypU39TTN7PKre9nFviTbqOSzWppDtHeoK8brv+G OeUA3n8iwBYuExurvdVojLQgK4DnfxW8YZ8XwDS1365jN05g6WwZhn75gu6xXs27f/DI YO7fsDFnW23jdY9hQfZtLD72Y6k7JZw4S+4atDYm++hlLWvNezzCXzbLqk2TGjDw03b7 bt0TIPnvNsgFmK2opNrOVH3Hs9N39nVA58zphnKplq/JZdCdPt47PgLDWjoqjiDg/Y+n wgpA== X-Gm-Message-State: AOJu0Yy62hXuQ1m+wL1UF4oeaOwMF4+KwzVKYKSPk19MwXDs5i/wgZQg Hkj+YSLpDCpgY8cowgIqg2VbcIul2Zlt/dfdjJtH2A== X-Google-Smtp-Source: AGHT+IFFvF2Xd81tLCpUqSoXqTYPP7Zlcw7O0Mn62RF/lVIXKWT77/HqLvWhKYd1z4ftaE6dnykGYQ== X-Received: by 2002:a05:6871:8f83:b0:1ef:bebf:80e6 with SMTP id aa3-20020a0568718f8300b001efbebf80e6mr7706664oac.34.1698769974454; Tue, 31 Oct 2023 09:32:54 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c0:3d3c:6c87:9be3:8cfc:976d]) by smtp.gmail.com with ESMTPSA id z76-20020a814c4f000000b0059f650f46b2sm1003638ywa.7.2023.10.31.09.32.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 09:32:53 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH v2 6/7] linux: Sync Linux 6.6 elf.h Date: Tue, 31 Oct 2023 13:32:38 -0300 Message-Id: <20231031163239.4020952-7-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231031163239.4020952-1-adhemerval.zanella@linaro.org> References: <20231031163239.4020952-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 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_NONE, SPF_HELO_NONE, SPF_PASS, 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: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org It adds NT_X86_SHST (2fab02b25ae7cf5), NT_RISCV_CSR/NT_RISCV_VECTOR (9300f00439743c4), and NT_LOONGARCH_HW_BREAK/NT_LOONGARCH_HW_WATCH (1a69f7a161a78ae). --- elf/elf.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/elf/elf.h b/elf/elf.h index 73a64baa79..daac2f79f4 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -796,6 +796,7 @@ typedef struct #define NT_386_TLS 0x200 /* i386 TLS slots (struct user_desc) */ #define NT_386_IOPERM 0x201 /* x86 io permission bitmap (1=deny) */ #define NT_X86_XSTATE 0x202 /* x86 extended state using xsave */ +#define NT_X86_SHST 0x204 /* x86 SHSTK state */ #define NT_S390_HIGH_GPRS 0x300 /* s390 upper register halves */ #define NT_S390_TIMER 0x301 /* s390 timer register */ #define NT_S390_TODCMP 0x302 /* s390 TOD clock comparator register */ @@ -834,6 +835,8 @@ typedef struct #define NT_MIPS_DSP 0x800 /* MIPS DSP ASE registers. */ #define NT_MIPS_FP_MODE 0x801 /* MIPS floating-point mode. */ #define NT_MIPS_MSA 0x802 /* MIPS SIMD registers. */ +#define NT_RISCV_CSR 0x900 /* RISC-V Control and Status Registers */ +#define NT_RISCV_VECTOR 0x901 /* RISC-V vector registers */ #define NT_LOONGARCH_CPUCFG 0xa00 /* LoongArch CPU config registers. */ #define NT_LOONGARCH_CSR 0xa01 /* LoongArch control and status registers. */ @@ -843,6 +846,8 @@ typedef struct SIMD Extension registers. */ #define NT_LOONGARCH_LBT 0xa04 /* LoongArch Loongson Binary Translation registers. */ +#define NT_LOONGARCH_HW_BREAK 0xa05 /* LoongArch hardware breakpoint registers */ +#define NT_LOONGARCH_HW_WATCH 0xa06 /* LoongArch hardware watchpoint registers */ /* Legal values for the note segment descriptor types for object files. */