From patchwork Tue Jan 30 17:04:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 1893067 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=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=W81YN4o6; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (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 4TPWkm0zKWz23dQ for ; Wed, 31 Jan 2024 04:05:19 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 701CF38582AA for ; Tue, 30 Jan 2024 17:05:16 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by sourceware.org (Postfix) with ESMTPS id 0AF883858CDA for ; Tue, 30 Jan 2024 17:04:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0AF883858CDA Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0AF883858CDA Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::62b ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706634297; cv=none; b=kF/Jxgr1v8nyAj7hndVQN0H3X+6/R0jGbNOZERU3dBKQWtaruqjNx5xnucrGSIWKxquD2nF5tcRGZ5sopG9ik2jQKM26qGvfmzqxg2ET7A7quInqqQEDTRO7a8bq+wH5LP/axTdN5GwX81M1b1IZo869N6S4TIK0cTrUh+5t4Hg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706634297; c=relaxed/simple; bh=/x2WHWOKd4j2hblO5gBlxyLogquYAHzRmM7nRUfIB+A=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=lDPGerfG+A7qgPKiL6sujCUAyfNrUGT0Rub0TQ89m0ULl2vEKb6uJPeqV6CuFHpop0C1KtOnSx4nyGr5dXSAM/6yn8vdrpdFbdYIIHelL2z/bYDDqPsSdEmcTIZj/K8Ldo7H5U6qr88bWkbDCRtjxclfWYtrNohFL9oEi6+0SUg= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-1d746856d85so21724435ad.0 for ; Tue, 30 Jan 2024 09:04:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706634292; x=1707239092; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=CEvbdU9v1x6g6qLrSSLOhDZ0qmEsk6YxCDm3OrsPaws=; b=W81YN4o6n1xh78SY1jh37/jkmDRqDmTipltPup9N9/xfWVu+VGLX+c1VBMVpUIP5m3 Vvnzat2oKpgIqa5TvFraqen5Kbpw0troMXocLAmEP0bLtcc5+PuTmywaEpmP537Ecipa Ty4KIwsk6DTS5dMuYUKoQDv5jSS/R57rSNHf1IQqc2RJlilTCDG9e+PcdXkKSlaB6cFU a+NhWHXL+TgWhJcUzJ+ImswFDKDSPN7NR+hnCaxDAB7cheMPS2E4y0CdAQPX+DfH0i0O PO9gyVltTT1+hjsZDgG+DrAKiEhTPa2p1FPIGD1zNKY9TYog5NQexOSPXlSjgBUXksSJ QDVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706634292; x=1707239092; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=CEvbdU9v1x6g6qLrSSLOhDZ0qmEsk6YxCDm3OrsPaws=; b=mYVxoXOu6hZemvLkK3eqiUmBwbcXWVgVbxExpd5s5ewVU270xJvZMSXDFiBug3GBK2 mDKRYXIcIF2hN6CwsCc5QfkwID8Nkj1BdegSeqleMjhI0i3qtP744GAQ458meKNhos/a tWdp6l3M4Zsp41iN+IcS8OX05SZmRtVETGoXXwj/aqrOEpd6P4rksdt5CvRcGiMRNf+D R+a8oGMsAtTU0VbNlOW910hlfgTuYqblHEhkrCN9BHh/OOvyUDf3fWGVtZAh4risbTYi kWE7BE2Vtzi6vFFF3tz+3ZyPxTZyWgcOn8wsSsMezB01zTnsdrRSJDhQoKLsq+GUJI+1 Nc7w== X-Gm-Message-State: AOJu0YxXXUPFcGMnmYZW02nOXISQclqtGOqaswI2z8U5meF3aYbLJYLT 2g8vmj/kovWO0dxfbGC87KXHkWhqpvDzunRku543ETLQ5UnAtt8uOrpaeYSzjl4= X-Google-Smtp-Source: AGHT+IEUiAuBiJdq+rrIX4LuWLD17GxNyKGoLKMSKRAzXPLRqyOWMaMYF2VcytyZpQ0RiTXhrIir9g== X-Received: by 2002:a17:903:1212:b0:1d4:e0e6:693 with SMTP id l18-20020a170903121200b001d4e0e60693mr5796663plh.35.1706634291460; Tue, 30 Jan 2024 09:04:51 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9d80:4380::3f31]) by smtp.gmail.com with ESMTPSA id x18-20020a170902ea9200b001d8d5b4b47csm4448550plb.62.2024.01.30.09.04.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 09:04:51 -0800 (PST) From: Khem Raj To: gcc-patches@gcc.gnu.org Cc: Khem Raj Subject: [PATCH] libgcc: Include stdlib.h for abort() on mingw32 Date: Tue, 30 Jan 2024 09:04:32 -0800 Message-ID: <20240130170432.2088711-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Spam-Status: No, score=-11.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, KAM_NUMSUBJECT, KAM_SHORT, 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: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org libgcc/ * config/i386/enable-execute-stack-mingw32.c: Include stdlib.h for abort() definition. Signed-off-by: Khem Raj --- libgcc/config/i386/enable-execute-stack-mingw32.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libgcc/config/i386/enable-execute-stack-mingw32.c b/libgcc/config/i386/enable-execute-stack-mingw32.c index 99006d97a4e..563de02156a 100644 --- a/libgcc/config/i386/enable-execute-stack-mingw32.c +++ b/libgcc/config/i386/enable-execute-stack-mingw32.c @@ -23,6 +23,7 @@ . */ #define WIN32_LEAN_AND_MEAN +#include #include extern void __enable_execute_stack (void *);