From patchwork Mon Aug 12 12:01:46 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Haley X-Patchwork-Id: 266504 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id B6BE22C00D4 for ; Mon, 12 Aug 2013 22:01:57 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:subject:content-type :content-transfer-encoding; q=dns; s=default; b=kyklricJ+d3RS1O5 ciCuZAVDcGhiptiau8jkmzBpp4eky5rpasrgb1qGAxNxOh4Unoo+MW9XpESvKYUb NX0FmtKizhmF8Y1hCwQmk0eE17Pw9slWGALCDhCP7Sq23ZilvDnQJzeUNrwcjXR9 BfJt2h9sO/LB2e0a8YoXioZKkCA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:subject:content-type :content-transfer-encoding; s=default; bh=RgYijadp1M8jzRg01eDSjz oEwjE=; b=p/JTcGwEOEmT4/Kzf9zdfkq0NO5os3spuZ7w0welrssS2A0ntmqnA7 KN1BcNFk+pEaD21EWy+psm5Y4UA2qliwGXupCbif/QJ3+MPcuILUoTXigSoJvuhX OtE/xh8GSom8c8iaRDridcw5mZL+vtNOKlY2tLwZCR+UldkBuC3Xg= Received: (qmail 26268 invoked by alias); 12 Aug 2013 12:01:50 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 26255 invoked by uid 89); 12 Aug 2013 12:01:49 -0000 X-Spam-SWARE-Status: No, score=-7.8 required=5.0 tests=AWL, BAYES_00, RCVD_IN_HOSTKARMA_W, RCVD_IN_HOSTKARMA_WL, RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 12 Aug 2013 12:01:49 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r7CC1lC6001861 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 12 Aug 2013 08:01:48 -0400 Received: from zebedee.pink (ovpn-113-26.phx2.redhat.com [10.3.113.26]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r7CC1ka6001151; Mon, 12 Aug 2013 08:01:47 -0400 Message-ID: <5208CEAA.206@redhat.com> Date: Mon, 12 Aug 2013 13:01:46 +0100 From: Andrew Haley User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: Jakub Jelinek , GCC Patches Subject: Backport from trune: I think this one is obvious/trivial, but I'll ask anyway. OK? Andrew. 2013-08-12 Andrew Haley Backport from mainline: * 2013-07-11 Andreas Schwab * config/aarch64/aarch64-linux.h (CPP_SPEC): Define. Index: gcc/config/aarch64/aarch64-linux.h =================================================================== --- gcc/config/aarch64/aarch64-linux.h (revision 201661) +++ gcc/config/aarch64/aarch64-linux.h (working copy) @@ -23,6 +23,8 @@ #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-aarch64.so.1" +#define CPP_SPEC "%{pthread:-D_REENTRANT}" + #define LINUX_TARGET_LINK_SPEC "%{h*} \ %{static:-Bstatic} \ %{shared:-shared} \