From patchwork Fri Apr 4 14:28:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Newton X-Patchwork-Id: 27836 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3BB8F20490 for ; Fri, 4 Apr 2014 14:29:01 +0000 (UTC) Received: by mail-wi0-f198.google.com with SMTP id cc10sf702935wib.1 for ; Fri, 04 Apr 2014 07:29:00 -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=DE8J5BGdQqYA5X5fSCoroiSKcE/1a1+3oqJ0U++k13s=; b=EkQuzr90HjcqHwa9oXwtnxgK7KpuVSkX2gYkGV1Z5PigqBn3A+naMLc0maCLQs5S26 Z9gkIM17W8QlBlJtoaPr/mZ3ZdQtPPGCGQwQwxo5Jy4J8lJJk0SbvPM7Uso3zlX04EUT 5D83HPWrMUXGP3UZnM2F628Gr5Bk4FGT6wRLF7Ed8HtUK9QBcUssFwTjx9w0qdlNBmV1 2ns+4QKD02NgQTnVIhikl8ZRmJK/KMzAwvw+9VHKpCGmeqih6VsjPyQ4s0spgBElkqh8 oWRnYuK8ott4lzaPuICIl15xkj489rZECZ5BH7nBfZSQfomDBeasb52y7K/6OkzQs3cl fBoA== X-Gm-Message-State: ALoCoQnnN8FVowVUf0qekE/RQZarncE8VxLyTjyICZdXIN1oHWuk3XU4U2Yc6GpmtLDj9fQ9vGwi X-Received: by 10.112.164.74 with SMTP id yo10mr3076652lbb.11.1396621740077; Fri, 04 Apr 2014 07:29:00 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.33.197 with SMTP id j63ls980725qgj.4.gmail; Fri, 04 Apr 2014 07:28:59 -0700 (PDT) X-Received: by 10.58.187.9 with SMTP id fo9mr5214779vec.4.1396621739868; Fri, 04 Apr 2014 07:28:59 -0700 (PDT) Received: from mail-vc0-x22b.google.com (mail-vc0-x22b.google.com [2607:f8b0:400c:c03::22b]) by mx.google.com with ESMTPS id nc1si777954vec.186.2014.04.04.07.28.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Apr 2014 07:28:59 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c03::22b 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:c03::22b; Received: by mail-vc0-f171.google.com with SMTP id lg15so3207439vcb.16 for ; Fri, 04 Apr 2014 07:28:59 -0700 (PDT) X-Received: by 10.220.250.203 with SMTP id mp11mr8538491vcb.2.1396621739786; Fri, 04 Apr 2014 07:28:59 -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 v8csp118560vcv; Fri, 4 Apr 2014 07:28:59 -0700 (PDT) X-Received: by 10.66.192.41 with SMTP id hd9mr15176568pac.87.1396621738317; Fri, 04 Apr 2014 07:28:58 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id ru4si1896302pbc.281.2014.04.04.07.28.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Apr 2014 07:28:58 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-return-83370-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 22578 invoked by alias); 4 Apr 2014 14:28:44 -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 22568 invoked by uid 89); 4 Apr 2014 14:28:43 -0000 X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f175.google.com Received: from mail-wi0-f175.google.com (HELO mail-wi0-f175.google.com) (209.85.212.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 04 Apr 2014 14:28:42 +0000 Received: by mail-wi0-f175.google.com with SMTP id cc10so1391184wib.14 for ; Fri, 04 Apr 2014 07:28:38 -0700 (PDT) X-Received: by 10.194.242.231 with SMTP id wt7mr20619047wjc.52.1396621718208; Fri, 04 Apr 2014 07:28: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 b2sm4990884wiz.15.2014.04.04.07.28.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Apr 2014 07:28:37 -0700 (PDT) From: Will Newton To: binutils@sourceware.org Subject: [PATCH v2] gas/arm: Fix gas tests to run on armeb-none-eabi Date: Fri, 4 Apr 2014 15:28:32 +0100 Message-Id: <1396621713-17220-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:c03::22b 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 | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) Changes in v2: - Fix test breakage on little endian targets 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..557c3e4 100644 --- a/gas/testsuite/gas/arm/unwind.d +++ b/gas/testsuite/gas/arm/unwind.d @@ -31,7 +31,7 @@ OFFSET TYPE VALUE Contents of section .text: 0000 (0000a0e3 0100a0e3 0200a0e3 0300a0e3|e3a00000 e3a00001 e3a00002 e3a00003) .* - 0010 (04200520 0600a0e3|20052004 e3a00006) .* + 0010 (04200520 0600a0e3|20042005 e3a00006) .* Contents of section .ARM.extab: 0000 (449b0181 b0b08086|81019b44 8680b0b0) 00000000 00000000 .* 0010 (8402b101 b0b0b005 2a000000 00c60281|01b10284 05b0b0b0 0000002a 8102c600) .*