* gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.

This commit is contained in:
Richard Henderson 2003-06-02 15:51:24 +00:00
parent c1ed1235d7
commit f6347e1633
2 changed files with 12 additions and 1 deletions

View 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

View 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."
}