From patchwork Fri Apr 4 10:56:33 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Newton X-Patchwork-Id: 27804 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f70.google.com (mail-qg0-f70.google.com [209.85.192.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6312E20490 for ; Fri, 4 Apr 2014 10:57:01 +0000 (UTC) Received: by mail-qg0-f70.google.com with SMTP id z60sf3747197qgd.5 for ; Fri, 04 Apr 2014 03:57:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:mailing-list :precedence:list-id:list-unsubscribe:list-subscribe:list-archive :list-post:list-help:sender:delivered-to:from:to:subject:date :message-id:x-original-sender:x-original-authentication-results; bh=glM1DFUiI0ku1toVT6kxiWeeVNfM/o8o9hFHPgs+XGs=; b=cshJDUzYp5f4xwf+eLNWz6ULXLSCIHfi+ktnacPwJH1bogs8m7gFsWLsFcOFTf7O7A VyI6A8J1NFAm3vP/fFzIm6u+78/mkS7aVu15tb7C6GIm2PiL5Ls9Ad81XEGKzGWvrT8K 03PXo9yl5GwJrCNeVrzi3OaSFEE+7u8fGzUjIFbza8v059GZuF/00DmN1z5cT8GQYHHq 2k4LVUtwwmPv1ef1b+crnWjQ7VRvIlGOe0/Y4KnENFtZDyuoIWtAjTtPIUSKC3uEzn0S ujyFNjUStFVESjsimdMHjxZ2sryyO+WpjesvD2eiIFWrU4W8EE3dGgycZYrVjZ53UkFc vOSQ== X-Gm-Message-State: ALoCoQmrs28tIBs98Wtl2lqOENZ/j/pbE1QovpNNBRp5G+dKsteeG3M2CgSlMphlBOBwMer1hcNN X-Received: by 10.58.210.2 with SMTP id mq2mr3110052vec.3.1396609021691; Fri, 04 Apr 2014 03:57:01 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.109.101 with SMTP id k92ls980216qgf.64.gmail; Fri, 04 Apr 2014 03:57:01 -0700 (PDT) X-Received: by 10.220.103.141 with SMTP id k13mr123316vco.25.1396609021599; Fri, 04 Apr 2014 03:57:01 -0700 (PDT) Received: from mail-ve0-x235.google.com (mail-ve0-x235.google.com [2607:f8b0:400c:c01::235]) by mx.google.com with ESMTPS id x18si1724535vcf.99.2014.04.04.03.57.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Apr 2014 03:57:01 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::235 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c01::235; Received: by mail-ve0-f181.google.com with SMTP id oy12so1314092veb.12 for ; Fri, 04 Apr 2014 03:57:01 -0700 (PDT) X-Received: by 10.58.1.97 with SMTP id 1mr946245vel.23.1396609021503; Fri, 04 Apr 2014 03:57:01 -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.220.12.8 with SMTP id v8csp103800vcv; Fri, 4 Apr 2014 03:57:01 -0700 (PDT) X-Received: by 10.66.161.38 with SMTP id xp6mr13925831pab.145.1396609020737; Fri, 04 Apr 2014 03:57:00 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id ru4si1672957pbc.281.2014.04.04.03.57.00 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Apr 2014 03:57:00 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-return-83364-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 4363 invoked by alias); 4 Apr 2014 10:56:45 -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 4353 invoked by uid 89); 4 Apr 2014 10:56:44 -0000 X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f177.google.com Received: from mail-wi0-f177.google.com (HELO mail-wi0-f177.google.com) (209.85.212.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 04 Apr 2014 10:56:41 +0000 Received: by mail-wi0-f177.google.com with SMTP id cc10so984661wib.10 for ; Fri, 04 Apr 2014 03:56:38 -0700 (PDT) X-Received: by 10.180.24.72 with SMTP id s8mr3566006wif.20.1396608998100; Fri, 04 Apr 2014 03:56:38 -0700 (PDT) Received: from localhost.localdomain (cpc6-seac21-2-0-cust453.7-2.cable.virginm.net. [82.1.113.198]) by mx.google.com with ESMTPSA id u8sm529606wjq.1.2014.04.04.03.56.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Apr 2014 03:56:37 -0700 (PDT) From: Will Newton To: binutils@sourceware.org Subject: [PATCH] gas/arm: Fix gas tests to run on armeb-none-eabi Date: Fri, 4 Apr 2014 11:56:33 +0100 Message-Id: <1396608993-31181-1-git-send-email-will.newton@linaro.org> X-IsSubscribed: yes X-Original-Sender: will.newton@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::235 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=pass header.i=@sourceware.org X-Google-Group-Id: 836684582541 Fix various places where endianness needed to be taken into account in the gas testsuite for ARM. gas/testsuite/ChangeLog: 2014-04-04 Will Newton * gas/arm/backslash-at.d: Fix dump output regexps for armeb-none-eabi configuration. * gas/arm/got_prel.d: Likewise. * gas/arm/inst-po.d: Likewise. * gas/arm/unwind.d: Likewise. --- gas/testsuite/gas/arm/backslash-at.d | 2 +- gas/testsuite/gas/arm/got_prel.d | 4 ++-- gas/testsuite/gas/arm/inst-po.d | 4 ++-- gas/testsuite/gas/arm/unwind.d | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gas/testsuite/gas/arm/backslash-at.d b/gas/testsuite/gas/arm/backslash-at.d index c87965f..3397573 100644 --- a/gas/testsuite/gas/arm/backslash-at.d +++ b/gas/testsuite/gas/arm/backslash-at.d @@ -4,7 +4,7 @@ .*: file format .*arm.* Disassembly of section .text: -0+000 <.*>.*615c.* +0+000 <.*>.*(615c|5c61).* 0+002 e3a00000 mov r0, #0 0+006 e3a00000 mov r0, #0 0+00a e3a00000 mov r0, #0 diff --git a/gas/testsuite/gas/arm/got_prel.d b/gas/testsuite/gas/arm/got_prel.d index 8360fb9..16ffe78 100644 --- a/gas/testsuite/gas/arm/got_prel.d +++ b/gas/testsuite/gas/arm/got_prel.d @@ -15,5 +15,5 @@ Relocation section '.rel.ARM.exidx.text.foo' at offset 0x3f8 contains 2 entries: Hex dump of section '.text.foo': NOTE: This section has relocations against it, but these have NOT been applied to this dump. - 0x00000000 034b7b44 1b681a68 1860101c 7047c046 .K{D.h.h.`..pG.F - 0x00000010 0a000000 .... + 0x00000000 (034b7b44|4b03447b) (1b681a68|681b681a) (1860101c|60181c10) (7047c046|477046c0) .* + 0x00000010 (0a000000|0000000a) .... diff --git a/gas/testsuite/gas/arm/inst-po.d b/gas/testsuite/gas/arm/inst-po.d index be912c8..af41139 100644 --- a/gas/testsuite/gas/arm/inst-po.d +++ b/gas/testsuite/gas/arm/inst-po.d @@ -9,8 +9,8 @@ Disassembly of section .text: 00000004 <.text\+0x4> bf0c ite eq 00000006 <.text\+0x6> 4649 moveq r1, r9 00000008 <.text\+0x8> 4649 movne r1, r9 -0000000a <.text\+0xa> 1234 .short 0x1234 -0000000c <.text\+0xc> 0000 .short 0x0000 +0000000a <.text\+0xa> (1234|0000) .short (0x1234|0x0000) +0000000c <.text\+0xc> (0000|1234) .short (0x0000|0x1234) 0000000e <.text\+0xe> bf0c ite eq 00000010 <.text\+0x10> 4649 moveq r1, r9 00000012 <.text\+0x12> 4649 movne r1, r9 diff --git a/gas/testsuite/gas/arm/unwind.d b/gas/testsuite/gas/arm/unwind.d index 060f7ba..bf6a00f 100644 --- a/gas/testsuite/gas/arm/unwind.d +++ b/gas/testsuite/gas/arm/unwind.d @@ -30,8 +30,8 @@ OFFSET TYPE VALUE Contents of section .text: - 0000 (0000a0e3 0100a0e3 0200a0e3 0300a0e3|e3a00000 e3a00001 e3a00002 e3a00003) .* - 0010 (04200520 0600a0e3|20052004 e3a00006) .* + 0000 e3a00000 e3a00001 e3a00002 e3a00003 .* + 0010 (20042005|20052004) e3a00006 .* Contents of section .ARM.extab: 0000 (449b0181 b0b08086|81019b44 8680b0b0) 00000000 00000000 .* 0010 (8402b101 b0b0b005 2a000000 00c60281|01b10284 05b0b0b0 0000002a 8102c600) .*