From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24484 invoked by alias); 30 May 2011 19:29:24 -0000 Received: (qmail 24469 invoked by uid 22791); 30 May 2011 19:29:23 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST X-Spam-Check-By: sourceware.org Received: from mail-pw0-f41.google.com (HELO mail-pw0-f41.google.com) (209.85.160.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 30 May 2011 19:29:09 +0000 Received: by pwi12 with SMTP id 12so2153540pwi.0 for ; Mon, 30 May 2011 12:29:08 -0700 (PDT) Received: by 10.68.69.43 with SMTP id b11mr2143714pbu.18.1306783748729; Mon, 30 May 2011 12:29:08 -0700 (PDT) Received: from pebble.twiddle.home (c-71-227-161-214.hsd1.wa.comcast.net [71.227.161.214]) by mx.google.com with ESMTPS id o2sm3079542pbj.33.2011.05.30.12.29.07 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 30 May 2011 12:29:07 -0700 (PDT) Message-ID: <4DE3F003.9040705@twiddle.net> Date: Tue, 31 May 2011 04:28:00 -0000 From: Richard Henderson User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Thunderbird/3.1.10 MIME-Version: 1.0 To: Michael Cree , debian-alpha@lists.debian.org, binutils@sourceware.org Subject: Re: Problems with linker on Alpha References: <4DBCC489.9020602@orcon.net.nz> <4DBF055E.1070701@twiddle.net> <20110503003227.GG18147@bubble.grove.modra.org> <4DE1BF54.3080307@orcon.net.nz> <20110530003902.GH16286@bubble.grove.modra.org> In-Reply-To: <20110530003902.GH16286@bubble.grove.modra.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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-05/txt/msg00381.txt.bz2 On 05/29/2011 05:39 PM, Alan Modra wrote: > On Sun, May 29, 2011 at 03:36:52PM +1200, Michael Cree wrote: >> The regular expression in testsuite/ld-plugin/plugin-6.d only expects >> one line with the "undefined reference to `func'" but on Alpha two such >> (identical) lines are generated. >> >> Should two such lines really be printed (i.e. is this a bug in the Alpha >> linker) or should the regexp be updated to cope with the possibility of >> the undefined reference line being printed twice? > > I don't have anything like an up to date alpha compiler handy, so > can't give a definitive answer. You should only get one message if > there was only one relocation reference to "func" from main.c, but be > aware that testsuite log files often duplicate output. > There are probably two references: the first is the LITERAL that loads the address from the .got, the second is the LITUSE that annotates the jsr insn for relaxation. r~