* gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
authorRichard Henderson <rth@redhat.com>
Mon, 2 Jun 2003 15:51:24 +0000 (15:51 +0000)
committerRichard Henderson <rth@redhat.com>
Mon, 2 Jun 2003 15:51:24 +0000 (15:51 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/dump.exp

index e5f278e92d74f8bf4cccdc779269c50ceb87dbe0..b4f4994f2ab7ef408b2abc95bdffa36a1343caea 100644 (file)
@@ -1,3 +1,7 @@
+2003-06-02  Richard Henderson  <rth@redhat.com>
+
+       * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
+
 2003-06-01  Daniel Jacobowitz  <drow@mvista.com>
 
        * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
index 5885307cea73e411276ecc70ee7cc3fa494e7adc..1120d41321cc046a1a6bd5ed9c2bc9403712ec1b 100644 (file)
@@ -31,8 +31,15 @@ set testfile "dump"
 
 set srcfile  ${testfile}.c
 set binfile  ${objdir}/${subdir}/${testfile}
+set options  {debug}
 
-if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
+if [istarget "alpha*-*-*"] then {
+    # SREC etc cannot handle 64-bit addresses.  Force the test
+    # program into the low 31 bits of the address space.
+    lappend options "additional_flags=-Wl,-taso"
+}
+
+if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable ${options}] != "" } {
      gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
 }
 
This page took 0.03049 seconds and 4 git commands to generate.