From patchwork Wed Nov 29 00:21:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 119913 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp2396168qgn; Tue, 28 Nov 2017 16:22:45 -0800 (PST) X-Google-Smtp-Source: AGs4zMYnQwtAe3ZeQ/HAoLYk8Jy6N3gLVtXcVAQuGpl6pTslZpEm78k8ZpQO4irAlBWZXcCsvBY0 X-Received: by 10.84.235.200 with SMTP id m8mr1013468plt.276.1511914965820; Tue, 28 Nov 2017 16:22:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511914965; cv=none; d=google.com; s=arc-20160816; b=AG6IHPjQVfQL+EpLQojmL6gcy54xgqKYfYt6aP8DyUZ0aBWZEJ/EmSDCpvm7+99t+t URS/WfV87+bVVexwosNMSBveU+A3B/BXrOHD3tpDyY1I8Yp2ipMUV9i8YmRR20+inZqh h17uc7aVrKY7lYskNY7SlCPGWKyz3NeZJnkU9wnmb920Yl3IQnl+a9rg+pZFHYlAXS76 Xa+xPhuF6VdUojfudGWvwYtCT10Fe+bMhIozbO+GoSokraw69pYLuo/nrbzZegz0MP5D BWLeMW0sDcaqrld/1z+fcVLiLvokcbH/6+wLfNaZLQXaNyxDKiOergcNlpUA0t6fr+5M /w+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:to:from:delivered-to :sender:list-help:list-post:list-archive:list-subscribe :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=emqbR8ziuclVeGEzdzDJ4m84ElguJEJK6wQ3P5hvrH4=; b=hNt4ngTIAr9O2Hmleap0NNEfcRwHx69drV6T+C0zcCOE0K6MUnEv00i40Q88GhM4Tt 2Y6ppe603kZFPQh09b08FYmHqPkcZQCaZq0tqo7NbWzMzzG2MvhI7Y77hbpmkJOuSMgG cAxJDfA+iH3wKFLVFOySA45vE8gpBnf8qHnUaIKyYRtjEuDqaWHMMcwD6dzV2DQr0n3B hVBPskgYNYaVrUemi1w4xqYgcBEaDrpQ3wdRKVLn5WpP9flEkMBFbd1bOfRrAWaqK83g tvQMmtGrxwTc9amxSJUy9GfAaDnKOerolMIDOagdVbouPhdvJYOi5gX/+bVT2SganM6I X3QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=j9z72jCW; spf=pass (google.com: domain of newlib-return-15391-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15391-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id r76si317949pfl.194.2017.11.28.16.22.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Nov 2017 16:22:45 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15391-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=j9z72jCW; spf=pass (google.com: domain of newlib-return-15391-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15391-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=dKrd+QP+Nghtk3eq2Fd8NtzopLw9kIn 9HyPpFhPLAIImzrCrK/dCIknqh24zURUgOUIIhh2mxYdJ3NWAxpKQ59nI3phbBg5 wA7nEGOZarZQsaasTjMjArtRefKpWkpekf65xqNsldd3dVdZmnQ6H2wG3gfpEYgz CjcFNitYrfQg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=bf30KUN/TXpUh/otIZuDUsehSWg=; b=j9z72 jCWjW76CXQHHcBXhPuGZwLUF2lEtjSaVaeczoyQcVEqnMG24VVDR6I1rhZHj8/hg ezHL97le7a465fPWYV5tbd0JXe2k9/wTKBz4jmxcK3PsIF+SPjI/PJLzWO2/DgBW 7EFoIaOM0ggfzRlMPkvGS9W1V+LFTMQbBaDaTU= Received: (qmail 67305 invoked by alias); 29 Nov 2017 00:22:02 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Delivered-To: mailing list newlib@sourceware.org Received: (qmail 67155 invoked by uid 89); 29 Nov 2017 00:22:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KB_WAM_FROM_NAME_SINGLEWORD, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Hx-languages-length:1154 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 29 Nov 2017 00:22:00 +0000 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D7F764E8AC for ; Wed, 29 Nov 2017 00:21:59 +0000 (UTC) Received: from localhost.localdomain (ovpn-120-11.rdu2.redhat.com [10.10.120.11]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 71615600D1 for ; Wed, 29 Nov 2017 00:21:59 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH v4 10/10] cygwin: create libssp compatibility import library Date: Tue, 28 Nov 2017 18:21:43 -0600 Message-Id: <20171129002143.12500-11-yselkowi@redhat.com> In-Reply-To: <20171129002143.12500-1-yselkowi@redhat.com> References: <20171129002143.12500-1-yselkowi@redhat.com> Signed-off-by: Yaakov Selkowitz --- winsup/cygwin/Makefile.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 2.15.0 diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in index a70f28dfc..c1de26c1b 100644 --- a/winsup/cygwin/Makefile.in +++ b/winsup/cygwin/Makefile.in @@ -540,7 +540,7 @@ endif API_VER:=$(srcdir)/include/cygwin/version.h LIB_NAME:=libcygwin.a -SUBLIBS:=libpthread.a libutil.a ${CURDIR}/libm.a ${CURDIR}/libc.a libdl.a libresolv.a librt.a libacl.a +SUBLIBS:=libpthread.a libutil.a ${CURDIR}/libm.a ${CURDIR}/libc.a libdl.a libresolv.a librt.a libacl.a libssp.a EXTRALIBS:=libautomode.a libbinmode.a libtextmode.a libtextreadmode.a INSTOBJS:=automode.o binmode.o textmode.o textreadmode.o TARGET_LIBS:=$(LIB_NAME) $(CYGWIN_START) $(GMON_START) $(LIBGMON_A) $(SUBLIBS) $(INSTOBJS) $(EXTRALIBS) @@ -745,6 +745,9 @@ librt.a: ${LIB_NAME} posix_ipc.o libacl.a: ${LIB_NAME} sec_posixacl.o ${speclib} ${@F} +libssp.a: ${LIB_NAME} $(newlib_build)/libc/ssp/lib.a + ${speclib} ${@F} + ${EXTRALIBS}: lib%.a: %.o $(AR) cru $@ $?