From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21382 invoked by alias); 30 Jul 2002 18:55:03 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 21374 invoked from network); 30 Jul 2002 18:55:02 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 30 Jul 2002 18:55:02 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu.redhat.com [172.16.52.200] (may be forged)) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id g6UIgkl31020 for ; Tue, 30 Jul 2002 14:42:46 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g6UIt0u25305 for ; Tue, 30 Jul 2002 14:55:00 -0400 Received: from romulus.sfbay.redhat.com (remus.sfbay.redhat.com [172.16.27.252]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id g6UIsxm26486 for ; Tue, 30 Jul 2002 11:55:00 -0700 Received: (from kev@localhost) by romulus.sfbay.redhat.com (8.11.6/8.11.6) id g6UIsw716294 for gdb-patches@sources.redhat.com; Tue, 30 Jul 2002 11:54:58 -0700 Date: Tue, 30 Jul 2002 12:04:00 -0000 From: Kevin Buettner Message-Id: <1020730185458.ZM16293@localhost.localdomain> To: gdb-patches@sources.redhat.com Subject: [PATCH] shlib-call.exp: Set Irix-specific compile/link flags MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-07/txt/msg00596.txt.bz2 I've just checked in the changes below. * gdb.base/shlib-call.exp (additional_flags): Conditionally set Irix-specific compile and link flags. Index: testsuite/gdb.base/shlib-call.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.base/shlib-call.exp,v retrieving revision 1.5 diff -u -p -r1.5 shlib-call.exp --- testsuite/gdb.base/shlib-call.exp 18 Apr 2002 21:07:20 -0000 1.5 +++ testsuite/gdb.base/shlib-call.exp 30 Jul 2002 18:31:44 -0000 @@ -65,6 +65,9 @@ if { [gdb_compile "${srcdir}/${subdir}/ if {$gcc_compiled == 0} { if [istarget "hppa*-hp-hpux*"] then { set additional_flags "additional_flags=+z" + } elseif { [istarget "mips-sgi-irix*"] } { + # Disable SGI compiler's implicit -Dsgi + set additional_flags "additional_flags=-Usgi" } else { # don't know what the compiler is... set additional_flags "" @@ -103,6 +106,8 @@ if { ($gcc_compiled && ([istarget "powerpc*-*-aix*"] || [istarget "rs6000*-*-aix*"] )) } { set additional_flags "additional_flags=-L${objdir}/${subdir}" +} elseif { [istarget "mips-sgi-irix*"] } { + set additional_flags "additional_flags=-rpath ${objdir}/${subdir}" } else { set additional_flags "" }