From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17816 invoked by alias); 18 Apr 2011 12:40:06 -0000 Received: (qmail 17799 invoked by uid 22791); 18 Apr 2011 12:40:05 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (194.98.77.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 18 Apr 2011 12:39:31 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id E6F27CB02D9 for ; Mon, 18 Apr 2011 14:39:29 +0200 (CEST) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xWvhOxU5zxTK for ; Mon, 18 Apr 2011 14:39:26 +0200 (CEST) Received: from ulanbator.act-europe.fr (ulanbator.act-europe.fr [10.10.1.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id E3416CB027F for ; Mon, 18 Apr 2011 14:39:26 +0200 (CEST) From: Tristan Gingold Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: [Patch] Fix some testsuite regressions for alpha vms Date: Mon, 18 Apr 2011 12:40:00 -0000 Message-Id: To: binutils Mime-Version: 1.0 (Apple Message framework v1084) X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-04/txt/msg00236.txt.bz2 Hi, this patch fixes 13 regressions (due to unusual section names for .text/.da= ta/.bss) and kills one test for alpha vms. Ok for trunk ? Tristan. gas/testsuite 2011-04-18 Tristan Gingold * lib/gas-defs.exp (get_standard_section_names): Add names for alpha vms. * gas/all/gas.exp: Do not test diff1.s on alpha-vms. diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp index 59500a1..c7cc452 100644 --- a/gas/testsuite/gas/all/gas.exp +++ b/gas/testsuite/gas/all/gas.exp @@ -34,12 +34,14 @@ if { ![istarget cris-*-*] && ![istarget crisv32-*-*] =20 # This test is meaningless for the PA; the difference of two undefined # symbols is something that is (and must be) supported on the PA. +# The same is true for alpha-vms # # The MN10300 port supports link time relaxation which in turn allows # for link time resolution of the differneces of two symbols which are # undefined at assembly time. Hence this test will not pass for the # MN10300. The same thing is true for the RX port as well. if { ![istarget hppa*-*-*] + && ![istarget alpha*-*-*vms*] && ![istarget rx-*-*] && ![istarget mn10300-*-*] && ![istarget am3*-*-*] } then { diff --git a/gas/testsuite/lib/gas-defs.exp b/gas/testsuite/lib/gas-defs.exp index f10d72a..9d89a2e 100644 --- a/gas/testsuite/lib/gas-defs.exp +++ b/gas/testsuite/lib/gas-defs.exp @@ -290,6 +290,10 @@ proc get_standard_section_names {} { if [istarget "rx-*-*"] { return { "P" "D_1" "B_1" } } + if [istarget "alpha*-*-*vms*"] { + # Double quote: for TCL and for sh. + return { "\\\$CODE\\\$" "\\\$DATA\\\$" "\\\$BSS\\\$" } + } return } =20