From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26166 invoked by alias); 26 Feb 2011 00:47:32 -0000 Received: (qmail 26158 invoked by uid 22791); 26 Feb 2011 00:47:32 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-ww0-f43.google.com (HELO mail-ww0-f43.google.com) (74.125.82.43) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 26 Feb 2011 00:47:28 +0000 Received: by mail-ww0-f43.google.com with SMTP id 15so2101428wwe.12 for ; Fri, 25 Feb 2011 16:47:27 -0800 (PST) Received: by 10.227.151.75 with SMTP id b11mr2733305wbw.117.1298681247435; Fri, 25 Feb 2011 16:47:27 -0800 (PST) Received: from [192.168.2.99] (cpc2-cmbg8-0-0-cust61.5-4.cable.virginmedia.com [82.6.108.62]) by mx.google.com with ESMTPS id y29sm1026286wbd.16.2011.02.25.16.47.25 (version=SSLv3 cipher=OTHER); Fri, 25 Feb 2011 16:47:26 -0800 (PST) Message-ID: <4D684D8B.8070408@gmail.com> Date: Sat, 26 Feb 2011 00:47:00 -0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "binutils@sourceware.org" Subject: [x/6][PATCH] Portability tweaks for LTO tests. References: <4D684CB8.6020106@gmail.com> <4D684D00.70803@gmail.com> In-Reply-To: <4D684D00.70803@gmail.com> 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-02/txt/msg00335.txt.bz2 Hi list, This is out of the main series, because it's a couple of tweaks to the LTO tests in HJ's branch; included here for reference, since I've been running tests with it folded in. I notice it's slightly outdated here, as upstream HJ has already added gcc_ld_flag (and gcc_gas_flag, in fact) to the ld/12365 test in lto.exp, so that bit won't apply cleanly, but the second change in that hunk (adding a '_?' prefix to the regex) is still needed. FYI, YMMV. ld/testsuite/ChangeLog: 2011-02-20 Dave Korn <... * ld-plugin/lto-10r.d: Allow optional underscore prefixes when checking for known symbol name. * ld-plugin/lto-3r.d: Likewise. * ld-plugin/lto-5r.d: Likewise. * ld-plugin/lto-6.c: Handle non-standard etext name on Windows. * ld-plugin/lto.exp: Add $gcc_ld_flag carrying -B option to ld under test when invoking $CC directly rather than via lib support routines. cheers, DaveK