From patchwork Tue Nov 19 02:14:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Lance Taylor X-Patchwork-Id: 292242 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 194F82C007B for ; Tue, 19 Nov 2013 13:15:05 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type; q=dns; s= default; b=N8OwQKen7+LLkCF+hTWu73bcq9JqMZGtdLDuDLB62r2mmEzXBZCNB 70KOkI3toUCQNv4ccBKnIi+89gMgpwFST2B58xVNGUVs+UuWoXTGc+hNtuUcwVO4 3vCj8vl7asZXk5i1/ZjuklQwyThkcVky/dlt3O8L1r4IghgeHcLGZA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type; s= default; bh=712vmuOxlnoVYBKrW7/a/f4Xn7k=; b=bxh3HKxKK2NcPDdmZFzR hHe0v/wHQWdb9xhgwPpHkZNUeOVO8WX0HtYBdAxPm0Jis4ku7mrFjLtkYA+dN58b 3aX8h6XENObbdX7BvBGjPUTCayXM9Hm5ve6NCo94mbPj9yu7l7C2F8t1V83W1qug aSZTJR3UrXgYClXiSwTu7kw= Received: (qmail 7043 invoked by alias); 19 Nov 2013 02:14:56 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 7029 invoked by uid 89); 19 Nov 2013 02:14:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL, BAYES_20, RDNS_NONE, SPF_PASS, T_TVD_MIME_NO_HEADERS autolearn=no version=3.3.2 X-HELO: mail-pa0-f49.google.com Received: from Unknown (HELO mail-pa0-f49.google.com) (209.85.220.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 19 Nov 2013 02:14:54 +0000 Received: by mail-pa0-f49.google.com with SMTP id kx10so1220463pab.22 for ; Mon, 18 Nov 2013 18:14:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version:content-type; bh=kLnfBWUVFIAMFmtl+qnZKoj1zaJ8LTNHSk90+jofUlA=; b=CbodVILglYIPHH3LUNbgLoWNtIYgXMkQDwGNHtwcJLwwcwQE0TbUq0nkbzY8t2jE0O 0p5s7AYMpOl/9Wf3wx0I4pdkazda8ecqlf2PmkUryBcP+pbYTLwDfj0BWogFHmi4WJ3k DzTG0lw02tF5djGjrOCA9vIY5hIx191SSqJyAbb16NSXKRD+AlBo5lp8sQDCsnji7AL1 SLuNNJTUfzuIfZU7HK1gLrvvIapR/uFHVNLQ1zd3BA5izMzbkl+2BGfoquXTIM+YH4D5 N3119Xq8JiI8JoSJ69wd1UYUNU7i0vsHsDizgE87e71LJaoh+G0jAKq3AjbmAQe/LxgI VF8w== X-Gm-Message-State: ALoCoQkhn5jtQ/Tu7FCVnDAVyxtSzXyFhUedYv2y2b9dw0ymnFkorDcV783vVlaciBgVveKTs2vJ7LwyGnagNeOeiF7vlYJkWZjNpT+KCYu+Cd3ETWViWdf8Djp/pykSMqNkAC0qKA2wbNSKZ+uOxZZxF0wHjEhD1eDGGdwjXuOtJZZj5Ai8INo/vakIPm7oodyAypphzifKp4/QVzjjyyKILDHhvEckHA== X-Received: by 10.66.13.138 with SMTP id h10mr4719176pac.148.1384827286094; Mon, 18 Nov 2013 18:14:46 -0800 (PST) Received: from iant-glaptop.roam.corp.google.com.google.com ([172.29.161.35]) by mx.google.com with ESMTPSA id gg10sm26537801pbc.46.2013.11.18.18.14.43 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 18 Nov 2013 18:14:45 -0800 (PST) From: Ian Lance Taylor To: gcc-patches@gcc.gnu.org, gofrontend-dev@googlegroups.com Subject: libgo patch committed: Handle PPC ELF v2 in libgo test script Date: Mon, 18 Nov 2013 18:14:42 -0800 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 X-IsSubscribed: yes Ulrich Weigand pointed out that the new PPC ELF v2 ABI does not use function descriptors. The libgo testsuite script had special code to recognize function descriptors in the data section for PPC. This patch lets it also recognize functions in the text section. Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu, which admittedly proves nothing. Committed to mainline. Ian diff -r 5f0d0a4d0075 libgo/testsuite/gotest --- a/libgo/testsuite/gotest Mon Nov 18 18:11:13 2013 -0800 +++ b/libgo/testsuite/gotest Mon Nov 18 18:11:49 2013 -0800 @@ -369,7 +369,7 @@ { text="T" case "$GOARCH" in - ppc64) text="D" ;; + ppc64) text="[TD]" ;; esac symtogo='sed -e s/_test/XXXtest/ -e s/.*_\([^_]*\.\)/\1/ -e s/XXXtest/_test/'