Message ID | 20230710150454.5490-3-cristian@rodriguez.im |
---|---|
State | New |
Headers | show
Return-Path: <libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org 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=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=NPWT7QiF; dkim-atps=neutral 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 (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4R06m746Q6z20Ph for <incoming@patchwork.ozlabs.org>; Tue, 11 Jul 2023 01:06:47 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 76BB53857700 for <incoming@patchwork.ozlabs.org>; Mon, 10 Jul 2023 15:06:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 76BB53857700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1689001605; bh=u2B0cOKLEokxd4+V1J8bfxc2jdpZKo2H8wUh8HugUeM=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=NPWT7QiFVhfXE3tmm/zeN7nqYIfSXPz5QYCmzXp16mKzI9eOeh3AZBwByEoU5yn9u avY7CJBmutbUGpjvm2YZvZgBjjnb5BR0spWat0eFvlSIv0ILhH0g5aVYDwQ8Ydq1MS DWp+oz/vRbcQBJmvulXRuz1TOdUxmTfuHHGX9gw8= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) by sourceware.org (Postfix) with ESMTPS id CE0A0385AFA0 for <libc-alpha@sourceware.org>; Mon, 10 Jul 2023 15:05:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CE0A0385AFA0 Received: by mail-ot1-x332.google.com with SMTP id 46e09a7af769-6b96712d49dso280035a34.0 for <libc-alpha@sourceware.org>; Mon, 10 Jul 2023 08:05:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689001511; x=1691593511; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=u2B0cOKLEokxd4+V1J8bfxc2jdpZKo2H8wUh8HugUeM=; b=GnWDPGqcHD+wqmuJhoJIu1+zneEGshRlmAQIF/4lre7DLBAxHxTJneUkWV2XTLT2gd RStcb+u7FQIn8Nv4fnRhykhzx42YBMEflpGPT5hnIPfX3ardZpf1uQ6S27wYsOP+M5go o6jBj646F2P9RovQXV5kSKGLSyGOeh46PARaDL13i00RFh5UZgY92i/MNSowVo/fuxjH LfYiQK5ezcfHMsEV6vrPr+dhHvS8WobtQj5CzCvc4yfuFEuIrLP0Bp3DBx3PikopVRVf LnbovpY1rbkqBf2xvr9Zo8syI5CyYbP/0Y2JIn5GI+64duGdTzADAWjcbCn6lW4eqTcO IRAw== X-Gm-Message-State: ABy/qLYBFnCfjZoNdyINjL5gGcwLrOrqlgrpo/Uglz/w1dHJFBScQC4l oTRgVD6bXRHSrazj96h6B1o5o7G/p1KCQdR3Ih0= X-Google-Smtp-Source: APBJJlHEPxg+/OTHmmThTzruNElxqDmLhbR6F8+MI2b60/FR0wYJEMqtE6GWsAPXKLjV260nz50Gxw== X-Received: by 2002:a05:6830:6204:b0:6b8:7653:dd66 with SMTP id cd4-20020a056830620400b006b87653dd66mr10945704otb.0.1689001510975; Mon, 10 Jul 2023 08:05:10 -0700 (PDT) Received: from tumbleweedvm.. (181-162-56-31.baf.movistar.cl. [181.162.56.31]) by smtp.gmail.com with ESMTPSA id r2-20020a9d7cc2000000b006b756242c98sm48236otn.19.2023.07.10.08.05.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jul 2023 08:05:10 -0700 (PDT) To: libc-alpha@sourceware.org Cc: =?utf-8?q?Cristian_Rodr=C3=ADguez?= <cristian@rodriguez.im> Subject: [PATCH 2/6] dlfcn : annotate dls_serpath with __decl_is_flex_array Date: Mon, 10 Jul 2023 15:04:38 +0000 Message-ID: <20230710150454.5490-3-cristian@rodriguez.im> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230710150454.5490-1-cristian@rodriguez.im> References: <20230710150454.5490-1-cristian@rodriguez.im> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-10.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, 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: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> From: =?utf-8?q?Cristian_Rodr=C3=ADguez_via_Libc-alpha?= <libc-alpha@sourceware.org> Reply-To: =?utf-8?q?Cristian_Rodr=C3=ADguez?= <cristian@rodriguez.im> Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" <libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org> |
Series |
Support use of -fstrict-flex-arrays in user code
|
expand
|
diff --git a/dlfcn/dlfcn.h b/dlfcn/dlfcn.h index c5d192597d..f3a2d087f2 100644 --- a/dlfcn/dlfcn.h +++ b/dlfcn/dlfcn.h @@ -192,7 +192,7 @@ typedef struct not support structs with flexible array members in unions. */ __extension__ union { - Dl_serpath dls_serpath[0]; /* Actually longer, dls_cnt elements. */ + Dl_serpath dls_serpath[0] __decl_is_flex_array; /* Actually longer, dls_cnt elements. */ Dl_serpath __dls_serpath_pad[1]; }; # else
Signed-off-by: Cristian RodrÃguez <cristian@rodriguez.im> --- dlfcn/dlfcn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)