if [gas_test_old "blebug.s" "" "Proper relocation for BLE (part 1)"] then {
objdump_start_no_subdir "a.out" "-r"
- if ![istarget hppa*-*-*elf*] then {
+ if {[istarget hppa*64*-*-*]
+ || [istarget hppa*-*-*elf*] || [istarget hppa*-*-linux*]} then {
# At one time both versions of the assembler would incorrectly use
# a PC-relative relocation for a BLE instruction.
while 1 {
expect {
- -re "^0+4\[^\n\]*ABS_CALL\[^\n\]*\n" { set x 1 }
+ -re "^0+\[^\n\]*DIR21L\[^\n\]*\n" { set x 1 }
+ -re "^0+4\[^\n\]*DIR17R\[^\n\]*\n" { set x 1 }
-re "\[^\n\]*\n" { }
timeout { perror "timeout\n"; break }
eof { break }
# a PC-relative relocation for a BLE instruction.
while 1 {
expect {
- -re "^0+\[^\n\]*DIR21L\[^\n\]*\n" { set x 1 }
- -re "^0+4\[^\n\]*DIR17R\[^\n\]*\n" { set x 1 }
+ -re "^0+4\[^\n\]*ABS_CALL\[^\n\]*\n" { set x 1 }
-re "\[^\n\]*\n" { }
timeout { perror "timeout\n"; break }
eof { break }
set testname "reduce.s: Test relocation reductions (part 2)"
set x 0
- if {[istarget hppa*w-*-*]
+ if {[istarget hppa*64*-*-*]
|| [istarget hppa*-*-*elf*] || [istarget hppa*-*-linux*]} then {
return;
}
set testname "selectorbug.s: Test scope of field selector"
set x 0
- if [istarget hppa*w-*-*] then {
+ if [istarget hppa*64*-*-*] then {
return;
}
# Elf (osf) does not use ENTRY/EXIT relocations.
# I guess we could look at the unwind subspaces it builds...
# Until then, make sure it still assembles.
- if {[istarget hppa*-*-*elf*] || [istarget hppa*-*-linux*]} then {
+ if {[istarget hppa*64*-*-*]
+ || [istarget hppa*-*-*elf*] || [istarget hppa*-*-linux*]} then {
gas_test_old "exitbug.s" "" "Test for bogus R_EXIT relocation (part 1)"
return;
}
set testname "fixupbug.s: Test cross space jump/call fixup bug (part 2)"
set x 0
- if [istarget hppa*w-*-*] then {
- return;
- }
-
- # ELF (osf) doesn't really handle extra sections too well...
- if {[istarget hppa*-*-*elf*] || [istarget hppa*-*-linux*]} then {
+ # ELF doesn't really handle extra sections too well...
+ if {[istarget hppa*64*-*-*]
+ || [istarget hppa*-*-*elf*] || [istarget hppa*-*-linux*]} then {
return;
}
set testname "fixupbug.s: Test cross space jump/call fixup bug (part 3)"
set x 0
- if [istarget hppa*w-*-*] then {
- return;
- }
-
- # ELF (osf) doesn't really handle extra sections too well...
- if {[istarget hppa*-*-*elf*] || [istarget hppa*-*-linux*]} then {
+ # ELF doesn't really handle extra sections too well...
+ if {[istarget hppa*64*-*-*]
+ || [istarget hppa*-*-*elf*] || [istarget hppa*-*-linux*]} then {
return;
}
# Make sure GAS generated correct relocations to switch rounding modes.
# Also make sure (for SOM) that redundant rounding mode relocations
# were eliminated.
- if { [istarget hppa*-*-*elf*] || [istarget hppa*-*-linux*] || [istarget hppa*w-*-*] } then {
+ if {[istarget hppa*64*-*-*]
+ || [istarget hppa*-*-*elf*] || [istarget hppa*-*-linux*]} then {
while 1 {
expect {
-re "^0+\[^\n\]*DIR21L\[^\n\]*\n"
objdump_finish
# Did we find what we were looking for? If not, flunk it.
- if {[istarget hppa*-*-*elf*] || [istarget hppa*-*-linux*] || [istarget hppa*w-*-*] } then {
+ if {[istarget hppa*64*-*-*]
+ || [istarget hppa*-*-*elf*] || [istarget hppa*-*-linux*]} then {
if [expr $x==8] then { pass $testname } else { fail $testname }
} else {
if [expr $x==3] then { pass $testname } else { fail $testname }
set testname "picreloc.s: Test for proper PIC relocation (part 2)"
set x 0
- if [istarget hppa*w-*-*] then {
- return;
- }
-
- # ELF (osf) doesn't really handle extra sections too well...
- if {[istarget hppa*-*-*elf*] || [istarget hppa*-*-linux*]} then {
+ # ELF doesn't really handle extra sections too well...
+ if {[istarget hppa*64*-*-*]
+ || [istarget hppa*-*-*elf*] || [istarget hppa*-*-linux*]} then {
return;
}
}
proc do_apply_test {} {
- set testname "applybug.s: Test for proper fixup appliation (part 2)"
+ set testname "applybug.s: Test for proper fixup application (part 2)"
set x 0
- # ELF (osf) doesn't really handle extra sections too well...
- if {[istarget hppa*-*-*elf*] || [istarget hppa*-*-linux*]} then {
+ # ELF doesn't really handle extra sections too well...
+ if {[istarget hppa*64*-*-*]
+ || [istarget hppa*-*-*elf*] || [istarget hppa*-*-linux*]} then {
return;
}
# Did we find what we were looking for? If not, flunk it.
if [expr $x==3] then { pass $testname } else { fail $testname }
}
+
if [istarget hppa*-*-*] then {
# Make sure we put the right relocation entry on a BLE instruction.
do_ble_relocation_test
set testname "ss_align.s: Test subspace alignment (part 2)"
set x 0
- if { [istarget hppa*-*-*elf*] || [istarget hppa*-*-linux*] || [istarget hppa*w-*-*] } then {
+ if {[istarget hppa*64*-*-*]
+ || [istarget hppa*-*-*elf*] || [istarget hppa*-*-linux*]} then {
return
}
set testname "align3.s: Test for alignment bug when switching subspaces (part2)"
set x 0
- if { [istarget hppa*-*-*elf*] || [istarget hppa*-*-linux*] || [istarget hppa*w-*-*] } then {
+ if {[istarget hppa*64*-*-*]
+ || [istarget hppa*-*-*elf*] || [istarget hppa*-*-linux*]} then {
return
}
set testname "align4.s: More subspace alignment tests (part2)"
set x 0
- if { [istarget hppa*-*-*elf*] || [istarget hppa*-*-linux*] || [istarget hppa*w-*-*] } then {
- return
+ if {[istarget hppa*64*-*-*]
+ || [istarget hppa*-*-*elf*] || [istarget hppa*-*-linux*]} then {
+ return
}
if [gas_test_old "align4.s" "" "More subspace alignment tests (part1)"] {
# Test for an off-by-2 bug in range check for conditional branches
gas_test_error "brlenbug.s" "" "Check for error(s) in branch length"
-
}
-