From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18550 invoked by alias); 31 Mar 2005 08:14:15 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 18435 invoked from network); 31 Mar 2005 08:14:00 -0000 Received: from unknown (HELO imail.microdata-pos.de) (212.202.104.142) by sourceware.org with SMTP; 31 Mar 2005 08:14:00 -0000 Received: by imail.microdata-pos.de (Postfix, from userid 1033) id 8E78377E31; Thu, 31 Mar 2005 10:13:55 +0200 (CEST) Date: Thu, 31 Mar 2005 15:11:00 -0000 From: Jan-Benedict Glaw To: Matt Thomas Cc: binutils@sources.redhat.com Subject: Re: VAX: ELF regression Message-ID: <20050331101355.A14105@microdata-pos.de> References: <20050330151658.A4838@microdata-pos.de> <424B3531.7050907@3am-software.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <424B3531.7050907@3am-software.com>; from matt@3am-software.com on Wed, Mar 30, 2005 at 03:24:33PM -0800 X-SW-Source: 2005-03/txt/msg00919.txt.bz2 On Wed, Mar 30, 2005 at 03:24:33PM -0800, Matt Thomas wrote: > Jan-Benedict Glaw wrote: > > On Sep 27, 2002, there was a gas test added for VAX, which fails on > > NetBSD these days. I've also built a binutils snapshot of Sep 30, > > but that also fails. This test isn't strictly vax-netbsdelf specific, > > but should also run for vax-linux (patch will follow the other day). > > Could somebody review it? > > It looks like -k wasn't passed to gas. Only in that case will be > PC32 be emitted as PLT32 or GOT32. Thanks for clarifying this. Here's the patch. 2005-03-31 Jan-Benedict Glaw * gas/testsuite/gas/vax/elf-rel.d: Call gas with -k. Thanks to Matt Thomas for figuring out. * gas/testsuite/gas/vax/vax.exp: Run elf-rel.[sd] for NetBSD-ELF and Linux. diff -Nurp src-fresh/gas/testsuite/gas/vax/elf-rel.d src-hacked/gas/testsuite/gas/vax/elf-rel.d --- src-fresh/gas/testsuite/gas/vax/elf-rel.d 2002-09-28 01:36:01.000000000 +0200 +++ src-hacked/gas/testsuite/gas/vax/elf-rel.d 2005-03-31 09:35:17.000000000 +0200 @@ -1,3 +1,4 @@ +#as: -k #objdump: -sr #name: VAX ELF relocations diff -Nurp src-fresh/gas/testsuite/gas/vax/vax.exp src-hacked/gas/testsuite/gas/vax/vax.exp --- src-fresh/gas/testsuite/gas/vax/vax.exp 2003-12-03 16:07:17.000000000 +0100 +++ src-hacked/gas/testsuite/gas/vax/vax.exp 2005-03-31 09:36:29.000000000 +0200 @@ -29,7 +29,7 @@ proc do_quad {} { if [istarget vax-*-* ] then { do_quad - if [istarget vax-*-*elf*] { + if { [istarget vax-*-*elf*] || [istarget vax-*-linux-gnu*] } then { run_dump_test "elf-rel" } } MfG, JBG -- AWEK microdata GmbH -- Am Wellbach 4 -- 33609 Bielefeld