From patchwork Thu Jun 6 09:17:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Newton X-Patchwork-Id: 17585 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f70.google.com (mail-yh0-f70.google.com [209.85.213.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D2C0C25DEA for ; Thu, 6 Jun 2013 09:17:31 +0000 (UTC) Received: by mail-yh0-f70.google.com with SMTP id l109sf2857676yhq.1 for ; Thu, 06 Jun 2013 02:17:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-beenthere:x-forwarded-to:x-forwarded-for:delivered-to:message-id :date:from:user-agent:mime-version:to:cc:subject:x-gm-message-state :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-google-group-id:list-post:list-help :list-archive:list-unsubscribe:content-type :content-transfer-encoding; bh=11C2BBw95Aq/KTu6bveIXU3BT/M8SMr26CRv/mik3/M=; b=YKU8ZVODjlLC7wHjGyGnLG5uurqObHX1gc6UnNYAE6T0zuRig1Sk63REf+jK6jaLpc rSMwg0qvVZYtVbx43+KYaNMkeWNEeBJBp2wKVkXEY3N/nwEKrfky8YhN7eR8YsXiHUuT u2b7uXvyQPLNpP5tFNiba8ttzph9aj3PK6qpupkhpy9jiFzaUBD+5j1rLKBC/KoUFHvK Q2HnThAnVr5ICS93dQPMvvXjhQ420qg9mDxMxPZyZknHiSOlS2379hf0tts1m/ipCwyV XkWoSG9pA7PgQ9bdRj6Dr9+F0QvXlOMwdsoUuWV4wiewnOq8jq+DlNI5QG4ysJu7yB2Q C19g== X-Received: by 10.58.228.36 with SMTP id sf4mr3771217vec.41.1370510251526; Thu, 06 Jun 2013 02:17:31 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.121.163 with SMTP id ll3ls1319700qeb.77.gmail; Thu, 06 Jun 2013 02:17:31 -0700 (PDT) X-Received: by 10.58.164.39 with SMTP id yn7mr13202147veb.29.1370510251227; Thu, 06 Jun 2013 02:17:31 -0700 (PDT) Received: from mail-vb0-x236.google.com (mail-vb0-x236.google.com [2607:f8b0:400c:c02::236]) by mx.google.com with ESMTPS id tn5si41120418vdc.52.2013.06.06.02.17.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Jun 2013 02:17:31 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::236 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:c02::236; Received: by mail-vb0-f54.google.com with SMTP id f13so1789227vbg.13 for ; Thu, 06 Jun 2013 02:17:31 -0700 (PDT) X-Received: by 10.58.144.231 with SMTP id sp7mr709526veb.34.1370510251049; Thu, 06 Jun 2013 02:17:31 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.10.206 with SMTP id pb14csp58989vcb; Thu, 6 Jun 2013 02:17:30 -0700 (PDT) X-Received: by 10.204.78.12 with SMTP id i12mr10842278bkk.105.1370510249794; Thu, 06 Jun 2013 02:17:29 -0700 (PDT) Received: from mail-bk0-x233.google.com (mail-bk0-x233.google.com [2a00:1450:4008:c01::233]) by mx.google.com with ESMTPS id ys1si26932659bkb.21.2013.06.06.02.17.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Jun 2013 02:17:29 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:4008:c01::233 is neither permitted nor denied by best guess record for domain of will.newton@linaro.org) client-ip=2a00:1450:4008:c01::233; Received: by mail-bk0-f51.google.com with SMTP id ji1so661972bkc.38 for ; Thu, 06 Jun 2013 02:17:29 -0700 (PDT) X-Received: by 10.204.226.201 with SMTP id ix9mr128612bkb.157.1370510249026; Thu, 06 Jun 2013 02:17:29 -0700 (PDT) Received: from localhost.localdomain (cpc11-seac20-2-0-cust84.7-2.cable.virginmedia.com. [81.108.156.85]) by mx.google.com with ESMTPSA id og1sm23594832bkb.16.2013.06.06.02.17.27 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 06 Jun 2013 02:17:28 -0700 (PDT) Message-ID: <51B053A6.5070605@linaro.org> Date: Thu, 06 Jun 2013 10:17:26 +0100 From: Will Newton User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 MIME-Version: 1.0 To: gdb-patches@sourceware.org CC: patches@linaro.org Subject: [PATCH] gdb/testsuite/gdb.base/gnu-ifunc-lib.c: Use %function syntax. X-Gm-Message-State: ALoCoQnkRvrok3YHsQNO2b6CdNJICrntC7pOe09xCpFa2WWTHxUsClrZwqMyPMLpFYFzwnYLS+oC X-Original-Sender: will.newton@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::236 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 Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , ARM uses @ as a comment character, but % seems to be usable by all existing ifunc enabled architectures. gdb/testsuite/ChangeLog: 2013-06-05 Will Newton * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function in asm syntax to allow building on ARM. --- gdb/testsuite/gdb.base/gnu-ifunc-lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/testsuite/gdb.base/gnu-ifunc-lib.c b/gdb/testsuite/gdb.base/gnu-ifunc-lib.c index 803ac93..a3fe061 100644 --- a/gdb/testsuite/gdb.base/gnu-ifunc-lib.c +++ b/gdb/testsuite/gdb.base/gnu-ifunc-lib.c @@ -21,7 +21,7 @@ extern int final (int arg); typedef int (*final_t) (int arg); -asm (".type gnu_ifunc, @gnu_indirect_function"); +asm (".type gnu_ifunc, %gnu_indirect_function"); final_t gnu_ifunc (void)