From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9926 invoked by alias); 24 Jul 2015 12:50:33 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 9916 invoked by uid 89); 24 Jul 2015 12:50:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f169.google.com Received: from mail-wi0-f169.google.com (HELO mail-wi0-f169.google.com) (209.85.212.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 24 Jul 2015 12:50:31 +0000 Received: by wicmv11 with SMTP id mv11so63526783wic.0 for ; Fri, 24 Jul 2015 05:50:28 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.194.184.82 with SMTP id es18mr28142405wjc.79.1437742228523; Fri, 24 Jul 2015 05:50:28 -0700 (PDT) Received: by 10.180.87.132 with HTTP; Fri, 24 Jul 2015 05:50:28 -0700 (PDT) In-Reply-To: <55AFCF1F.20000@arm.com> References: <55AFCF1F.20000@arm.com> Date: Fri, 24 Jul 2015 13:32:00 -0000 Message-ID: Subject: Re: [PATCH][AArch64] Fix LINUX_TARGET_LINK_SPEC to be consistent with ARM From: Marcus Shawcroft To: Szabolcs Nagy Cc: "gcc-patches@gcc.gnu.org" , Marcus Shawcroft Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-07/txt/msg02058.txt.bz2 On 22 July 2015 at 18:13, Szabolcs Nagy wrote: > Same as > https://gcc.gnu.org/ml/gcc-patches/2015-04/msg01387.html > but for AArch64. > > -dynamic-linker is only passed to the linker if !static && !shared. > > -rdynamic handling is changed too to be consistent with arm: > only pass -export-dynamic if !static. > > 2015-07-22 Szabolcs Nagy > > PR target/65711 > * config/aarch64/aarch64-linux.h (LINUX_TARGET_LINK_SPEC): Move > -dynamic-linker within %{!static %{!shared, and -rdynamic within > %{!static. OK and I think we should backport this to 5 and 4.9 Cheers /Marcus