From patchwork Thu Oct 23 17:25:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Newton X-Patchwork-Id: 39387 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 748E320341 for ; Thu, 23 Oct 2014 17:26:22 +0000 (UTC) Received: by mail-wi0-f200.google.com with SMTP id bs8sf1096864wib.11 for ; Thu, 23 Oct 2014 10:26:21 -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=hRLLJLXiDOpYfNqETh2Fcl8h6SLAvOkIXRK7ziVcemU=; b=NpUPONufaGHaTq4ImOMAfcM5pDdq4ZzG0kxYk8B2dJwYhRrm/LI75eQjZWtDgbNKv/ 7KbgnMTyl59v2fQHrf/5T8m24kBpgEkQz3/ayUaJ/IXpN9c1iG81ZIg+BNknLOMBY0q7 FZlC8/c4ozxyv4KY1ehFvM7ZvvW2Ijub1rt+ssWkURwuys9NtjHtTjqBuDXkltFDl80y 2RskmH2S0wc3I2YUeSW54JMD6zPmZfCIWXZZt92cn30tPwJrDRgc408vLSQZSWY12HIS SM0uqC4NJjIM6Ow7bmR4UUFhXhcCxSepkbDYKC3aRqZT+bFkoOg7+R5VqT//JTaNCpNr Qwtw== X-Gm-Message-State: ALoCoQmsRaalHte/DDmo7uJlpYRNwn23EuAAt0xggTRZ+c3Op0YqeUPqOl9jWMPzOtpvwUT1Dmm6 X-Received: by 10.112.89.195 with SMTP id bq3mr1339626lbb.9.1414085181602; Thu, 23 Oct 2014 10:26:21 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.234.167 with SMTP id uf7ls351098lac.100.gmail; Thu, 23 Oct 2014 10:26:21 -0700 (PDT) X-Received: by 10.112.42.114 with SMTP id n18mr6738058lbl.44.1414085181459; Thu, 23 Oct 2014 10:26:21 -0700 (PDT) Received: from mail-la0-x230.google.com (mail-la0-x230.google.com. [2a00:1450:4010:c03::230]) by mx.google.com with ESMTPS id i5si3672379lbd.20.2014.10.23.10.26.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 Oct 2014 10:26:21 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::230 as permitted sender) client-ip=2a00:1450:4010:c03::230; Received: by mail-la0-f48.google.com with SMTP id gi9so1243809lab.7 for ; Thu, 23 Oct 2014 10:26:21 -0700 (PDT) X-Received: by 10.152.116.102 with SMTP id jv6mr6743926lab.40.1414085181374; Thu, 23 Oct 2014 10:26:21 -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.112.84.229 with SMTP id c5csp294611lbz; Thu, 23 Oct 2014 10:26:20 -0700 (PDT) X-Received: by 10.70.42.15 with SMTP id j15mr6462120pdl.17.1414085179923; Thu, 23 Oct 2014 10:26:19 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id jv2si2054572pbc.192.2014.10.23.10.26.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Oct 2014 10:26:19 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-return-85137-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 19234 invoked by alias); 23 Oct 2014 17:26:02 -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 19221 invoked by uid 89); 23 Oct 2014 17:26:01 -0000 X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wg0-f46.google.com Received: from mail-wg0-f46.google.com (HELO mail-wg0-f46.google.com) (74.125.82.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 23 Oct 2014 17:26:00 +0000 Received: by mail-wg0-f46.google.com with SMTP id l18so1630842wgh.29 for ; Thu, 23 Oct 2014 10:25:57 -0700 (PDT) X-Received: by 10.194.78.202 with SMTP id d10mr4548567wjx.119.1414085157002; Thu, 23 Oct 2014 10:25:57 -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 a13sm6117307wiw.3.2014.10.23.10.25.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Oct 2014 10:25:56 -0700 (PDT) From: Will Newton To: binutils@sourceware.org Subject: [PATCH] ld/testsuite/ld-unique: Fix running unique tests on ARM Date: Thu, 23 Oct 2014 18:25:52 +0100 Message-Id: <1414085152-23577-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=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::230 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=pass header.i=@sourceware.org X-Google-Group-Id: 836684582541 The @ character is a comment character on ARM, so use % instead. Also use a wider glob for matching ARM targets to make sure the test gets run. ld/testsuite/ChangeLog: 2014-10-23 Will Newton * ld-unique/unique.exp: Use a wider glob for matching ARM targets. * ld-unique/unique.s: Use % instead of @ in .type directive. * ld-unique/unique_shared.s: Likewise. --- ld/testsuite/ld-unique/unique.exp | 2 +- ld/testsuite/ld-unique/unique.s | 2 +- ld/testsuite/ld-unique/unique_shared.s | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ld/testsuite/ld-unique/unique.exp b/ld/testsuite/ld-unique/unique.exp index a93f9b2..994ed87 100644 --- a/ld/testsuite/ld-unique/unique.exp +++ b/ld/testsuite/ld-unique/unique.exp @@ -28,7 +28,7 @@ # arm, powerpc, and sparc so far. if {!(([istarget "i?86-*-*"] || [istarget "x86_64-*-*"] - || [istarget "arm-*-*"] + || [istarget "arm*-*-*"] || [istarget "powerpc*-*-*"] || [istarget "sparc*-*-*"]) && ([istarget "*-*-elf*"] diff --git a/ld/testsuite/ld-unique/unique.s b/ld/testsuite/ld-unique/unique.s index 9b0593c..7477a69 100644 --- a/ld/testsuite/ld-unique/unique.s +++ b/ld/testsuite/ld-unique/unique.s @@ -1,4 +1,4 @@ - .type a, @gnu_unique_object + .type a, %gnu_unique_object a: .long 0 .size a, .-a diff --git a/ld/testsuite/ld-unique/unique_shared.s b/ld/testsuite/ld-unique/unique_shared.s index b18a5b1..8022291 100644 --- a/ld/testsuite/ld-unique/unique_shared.s +++ b/ld/testsuite/ld-unique/unique_shared.s @@ -1,3 +1,3 @@ - .type b, @gnu_unique_object + .type b, %gnu_unique_object b: .long 0 .size b, .-b