diff options
author | Kevin Buettner <kevinb@redhat.com> | 2002-07-30 18:51:23 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2002-07-30 18:51:23 +0000 |
commit | 3e000b18800d3409d952a46c96aa3393a1955ac7 (patch) | |
tree | 430f63b0590a8907ce3a29146f0b526684da0f25 | |
parent | 7e392df659f7ea9da6974d689b050ae5fa62b3c6 (diff) | |
download | gdb-3e000b18800d3409d952a46c96aa3393a1955ac7.zip gdb-3e000b18800d3409d952a46c96aa3393a1955ac7.tar.gz gdb-3e000b18800d3409d952a46c96aa3393a1955ac7.tar.bz2 |
* gdb.base/shlib-call.exp (additional_flags): Conditionally
set Irix-specific compile and link flags.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/shlib-call.exp | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 77be957..351844e 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2002-07-30 Kevin Buettner <kevinb@redhat.com> + + * gdb.base/shlib-call.exp (additional_flags): Conditionally + set Irix-specific compile and link flags. + 2002-07-29 Kevin Buettner <kevinb@redhat.com> * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing diff --git a/gdb/testsuite/gdb.base/shlib-call.exp b/gdb/testsuite/gdb.base/shlib-call.exp index 47919be..dd88274 100644 --- a/gdb/testsuite/gdb.base/shlib-call.exp +++ b/gdb/testsuite/gdb.base/shlib-call.exp @@ -65,6 +65,9 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}.o" object {debug 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 "" } |