From patchwork Tue Jun 24 20:00:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kyle McMartin X-Patchwork-Id: 32446 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5D2A8201EF for ; Tue, 24 Jun 2014 20:00:52 +0000 (UTC) Received: by mail-wg0-f71.google.com with SMTP id k14sf751955wgh.6 for ; Tue, 24 Jun 2014 13:00:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mailing-list:precedence:list-id :list-unsubscribe:list-subscribe:list-archive:list-post:list-help :sender:delivered-to:date:from:to:cc:subject:message-id:references :mime-version:in-reply-to:user-agent:x-original-sender :x-original-authentication-results:content-type:content-disposition; bh=zUblEWz/uAJWkEfzhNPkm7wy5IFwbURAvKi9Xg28dC0=; b=e5bRWlKangxVPvktcsrG/wHcYOqt0jomEdf7DDoYA45Y4ze+fJqsssqHDoz6q5kMqW pHO/7SbFkDUvNHExWc9DKPqcD5xHMHD7AqAua38wJZwVPKIHdrBQZmxnMcXhydY6qjuX lSp4gkhs9iFN+jLqHFHT8ULueCmY4xiWtR7XuvWUUN27sFPd8tQJqPfUSFCopLboatTj tVVlIOif0es8rYVpOoArFeqBHXSvQlP/YdRbzncnmT7CyXYiwbT7lKaB0CpB5GcWT8zE TnBquZxB/7JG9n89oQ8wQUF4/KjcQVAS1kyL3Dpe/WHvErZo1cTwB5+TTTEk1NwCBSuJ Pb2w== X-Gm-Message-State: ALoCoQmA8EJ+AVHeFyakW8BO+GA1aGYKSLXyLk1s2SHABqbSsPP0n8RCDYKLnLrbOdX5CXl67Lxi X-Received: by 10.194.6.138 with SMTP id b10mr421487wja.0.1403640051118; Tue, 24 Jun 2014 13:00:51 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.29.183 with SMTP id b52ls951672qgb.54.gmail; Tue, 24 Jun 2014 13:00:51 -0700 (PDT) X-Received: by 10.52.118.99 with SMTP id kl3mr2162879vdb.18.1403640051003; Tue, 24 Jun 2014 13:00:51 -0700 (PDT) Received: from mail-vc0-x22a.google.com (mail-vc0-x22a.google.com [2607:f8b0:400c:c03::22a]) by mx.google.com with ESMTPS id mg9si858566vcb.58.2014.06.24.13.00.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 24 Jun 2014 13:00:50 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400c:c03::22a as permitted sender) client-ip=2607:f8b0:400c:c03::22a; Received: by mail-vc0-f170.google.com with SMTP id hy10so886890vcb.1 for ; Tue, 24 Jun 2014 13:00:50 -0700 (PDT) X-Received: by 10.52.135.226 with SMTP id pv2mr2053603vdb.33.1403640050932; Tue, 24 Jun 2014 13:00:50 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp237049vcb; Tue, 24 Jun 2014 13:00:50 -0700 (PDT) X-Received: by 10.68.125.164 with SMTP id mr4mr4558082pbb.27.1403640049956; Tue, 24 Jun 2014 13:00:49 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id iw9si1815227pbd.234.2014.06.24.13.00.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Jun 2014 13:00:49 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-return-84105-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 8932 invoked by alias); 24 Jun 2014 20:00:35 -0000 Mailing-List: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org Precedence: list List-Id: List-Unsubscribe: , List-Subscribe: List-Archive: List-Post: , List-Help: , Sender: binutils-owner@sourceware.org Delivered-To: mailing list binutils@sourceware.org Received: (qmail 8920 invoked by uid 89); 24 Jun 2014 20:00:34 -0000 X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 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; Tue, 24 Jun 2014 20:00:31 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s5OK0QRT010609 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 24 Jun 2014 16:00:27 -0400 Received: from redacted.bos.redhat.com ([10.18.17.143]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s5OK0Onb002444 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Tue, 24 Jun 2014 16:00:26 -0400 Date: Tue, 24 Jun 2014 16:00:24 -0400 From: Kyle McMartin To: binutils@sourceware.org Cc: Hans-Peter Nilsson Subject: [PATCH][ARM] ld/arm: adjust offsets in tls-gdierelax2.d Message-ID: <20140624200024.GM5166@redacted.bos.redhat.com> References: <53A02161.7010303@redhat.com> <201406220504.s5M54HCo005712@ignucius.se.axis.com> MIME-Version: 1.0 In-Reply-To: <201406220504.s5M54HCo005712@ignucius.se.axis.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-Original-Sender: kmcmarti@redhat.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400c:c03::22a as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=pass header.i=@sourceware.org X-Google-Group-Id: 836684582541 Content-Disposition: inline Addition of DF_STATIC_TLS in eea6dad2 results in the addition of flags to the dynamic section, which in turn changes these addresses. Fix them up to match their new positions. ld/testsuite/Changelog: 2014-06-24 Kyle McMartin * ld-arm/tls-gdierelax2.d: Fix expected offsets. --- a/ld/testsuite/ld-arm/tls-gdierelax2.d +++ b/ld/testsuite/ld-arm/tls-gdierelax2.d @@ -11,13 +11,13 @@ Disassembly of section .text: [0-9a-f]+: e59f0004 ldr r0, \[pc, #4\] ; .* [0-9a-f]+: e79f0000 ldr r0, \[pc, r0\] [0-9a-f]+: e1a00000 nop ; .* - [0-9a-f]+: 00008098 .word 0x00008098 - [0-9a-f]+: 0000809c .word 0x0000809c + [0-9a-f]+: 000080a0 .word 0x000080a0 + [0-9a-f]+: 000080a4 .word 0x000080a4 [0-9a-f]+ : [0-9a-f]+: 4801 ldr r0, \[pc, #4\] ; .* [0-9a-f]+: 4478 add r0, pc [0-9a-f]+: 6800 ldr r0, \[r0, #0\] [0-9a-f]+: 46c0 nop ; .* - [0-9a-f]+: 0000808a .word 0x0000808a - [0-9a-f]+: 0000808c .word 0x0000808c + [0-9a-f]+: 00008092 .word 0x00008092 + [0-9a-f]+: 00008094 .word 0x00008094