From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 46951 invoked by alias); 24 Apr 2015 16:21:42 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 46938 invoked by uid 89); 24 Apr 2015 16:21:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 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 (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 24 Apr 2015 16:21:40 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id AB01F6E; Fri, 24 Apr 2015 16:21:39 +0000 (UTC) Received: from [10.36.7.214] (vpn1-7-214.ams2.redhat.com [10.36.7.214]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t3OGLb1g017756 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 24 Apr 2015 12:21:39 -0400 Message-ID: <553A6D91.90004@redhat.com> Date: Fri, 24 Apr 2015 16:21:00 -0000 From: Nicholas Clifton User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Jiong Wang , binutils@sourceware.org Subject: Re: [AArch64] Improve PC-relative relocation check for shared library References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00387.txt.bz2 Hi Jiong, > 2015-04-16 Jiong. Wang > > bfd/ > * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Reject > PC-relative relocation for external symbol. > > > ld/testsuite/ > * ld-aarch64/pcrel.s: New testcase. > * ld-aarch64/pcrel_pic_defiend_local.d: New expect file. > * ld-aarch64/pcrel_pic_undefined.d: Ditto. > * ld-aarch64/aarch64-elf.exp: Run them. Approved - please apply. Cheers Nick