From patchwork Fri Jan 26 06:23:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 125904 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp109239ljd; Thu, 25 Jan 2018 22:23:47 -0800 (PST) X-Google-Smtp-Source: AH8x225N9eHch1TBKknFk/LDMfjxxuNK8c77r253jv5PPMH9pYmY6pXCvmHXTEkERo9It/KfcZNf X-Received: by 10.99.61.205 with SMTP id k196mr13388532pga.370.1516947827211; Thu, 25 Jan 2018 22:23:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516947827; cv=none; d=google.com; s=arc-20160816; b=naIBMuVRhsuk2MKqUvMKz4tj1urYxg8aQW6hJmZImVY7OitGSJX9GaOi97g2ObFe33 7xGxheGRXJ2wwlMCbplLdHpDDUuPE7fPDSpKwDMXD42VWKcIt0KW10o8g/O8iy/60DS4 iPBQwn/nzkaBL/sic+KvQO1wPAGymVChM7olMkqMgLxfECa3JT6AXUNbwI8AYu1OO52c pAwHvR7ThUgGGtYuj5ach4b86ftgroihegSS/RaFKtP8ulKcEtGoKz6aFjoHehDC7Qrn kOq/YZtYjLJpx5LMzq1dfT4Urbq+URyHgJdGObOxIBjMXUNi+P/X674sxwy+AKCSi17v kxJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=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=FKzEeS8+GeOz4SmwG4O5NyJ5PFBu5trRP75yfltqxY4=; b=c+QP7UV+XkERB3fenKg7ioMx65oNPOwaNs2mxwK+aVgj3vZJKoUQwZ0xRYEPajw9zP LiO9A9YeCvwoFH0m1S/Ji9n83XuRuM/qOBprqf+qbExh5+6fADICTyc0+VHVJ6OE40Pr JOhg6VSNqsPutsQddtcbWE7k3ReLFWiaw3aL6d6SWY9K8NOChgdMOVuT6T02KHahzJai HcU5YUDvsTBib7JMsDClkySmYoA676g4IyH9cGXYA1aEeX0+DDuXOnomGIyPOrURHj8Z DJa7kE7vj+DwTkGJLZjRhksQL27UIA/T2q50Bd5DQfwJJ2i6ZV9nOM8Gm2hH4JFXmfhs DI2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=f2ZOtTr/; spf=pass (google.com: domain of newlib-return-15595-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15595-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 j190si2606029pgd.6.2018.01.25.22.23.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Jan 2018 22:23:47 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15595-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=f2ZOtTr/; spf=pass (google.com: domain of newlib-return-15595-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15595-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; q=dns; s= default; b=kK6LKksRAQXy+mTTWHMmQLe33YwcJMKUau1Eef95BKbpXcj1vji0C D9gUr9g9jeXRTYsniibNdqRzSG/4tL165NeXjPhlIFbIX8icPh5YNKdqLkM8iDl1 dWduLBNEhOpKhqkDSFiYWC5bVkltY/LFQlgeDUcUByAz9ZizeGq6RY= 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; s=default; bh=wM2g7LBw0jZFOiZT9yADamoHsh8=; b=f2ZOtTr/2mgh912/TQZnWBrHMv2T Gj6+YRPgoaLOu5sr6qxzjsLTNWo1ki+mLTZppis6ilHa+UcR3ul6dAq2fQr59nT6 51UNwPfPihFw1DXoldb4X2YZRYiOk/93IWANNYV1yOsfyOeo7GGvBOMSscUdFzOC oT2CDcIf41ebTnQ= Received: (qmail 128611 invoked by alias); 26 Jan 2018 06:23:38 -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 128598 invoked by uid 89); 26 Jan 2018 06:23:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= 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; Fri, 26 Jan 2018 06:23:36 +0000 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7C248E9E2B for ; Fri, 26 Jan 2018 06:23:35 +0000 (UTC) Received: from localhost.localdomain (ovpn-121-55.rdu2.redhat.com [10.10.121.55]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0C9CF5D720 for ; Fri, 26 Jan 2018 06:23:34 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH] ssp: do not use __ssp_protected_ symbol prefixes Date: Fri, 26 Jan 2018 00:23:23 -0600 Message-Id: <20180126062323.12412-1-yselkowi@redhat.com> This is a NetBSD-specific detail which does not apply to Newlib, causing linking issues in certain scenarios: https://cygwin.com/ml/cygwin/2018-01/msg00189.html Signed-off-by: Yaakov Selkowitz --- Corinna, this should be considered for Cygwin 2.10. newlib/libc/include/ssp/ssp.h | 1 - 1 file changed, 1 deletion(-) -- 2.15.1 diff --git a/newlib/libc/include/ssp/ssp.h b/newlib/libc/include/ssp/ssp.h index 5c65cf4b2..922908659 100644 --- a/newlib/libc/include/ssp/ssp.h +++ b/newlib/libc/include/ssp/ssp.h @@ -51,7 +51,6 @@ __chk_fail() #define __ssp_decl(rtype, fun, args) \ rtype __ssp_real_(fun) args __asm__(__ASMNAME(#fun)); \ -__ssp_inline rtype fun args __asm__(__ASMNAME("__ssp_protected_" #fun)); \ __ssp_inline rtype fun args #define __ssp_redirect_raw(rtype, fun, args, call, cond, bos) \ __ssp_decl(rtype, fun, args) \