summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-unique/unique.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-unique/unique.exp')
-rw-r--r--ld/testsuite/ld-unique/unique.exp16
1 files changed, 8 insertions, 8 deletions
diff --git a/ld/testsuite/ld-unique/unique.exp b/ld/testsuite/ld-unique/unique.exp
index 4d73e32f33..d9e93ca981 100644
--- a/ld/testsuite/ld-unique/unique.exp
+++ b/ld/testsuite/ld-unique/unique.exp
@@ -149,8 +149,8 @@ if { $fails != 0 } {
}
# Check the object file.
-if {! [check_osabi tmpdir/unique.o {UNIX - Linux}]} {
- fail "Object containing unique does not have an OS/ABI field of LINUX"
+if {! [check_osabi tmpdir/unique.o {UNIX - GNU}]} {
+ fail "Object containing unique does not have an OS/ABI field of GNU"
set fails [expr $fails + 1]
}
@@ -164,8 +164,8 @@ if { $fails == 0 } {
}
# Check the executable.
-if {! [check_osabi tmpdir/unique_prog {UNIX - Linux}]} {
- fail "Executable containing unique does not have an OS/ABI field of LINUX"
+if {! [check_osabi tmpdir/unique_prog {UNIX - GNU}]} {
+ fail "Executable containing unique does not have an OS/ABI field of GNU"
set fails [expr $fails + 1]
}
@@ -194,8 +194,8 @@ if { $fails == 0 } {
}
# Check the unique PIC file.
-if {! [check_osabi tmpdir/unique_shared.o {UNIX - Linux}]} {
- fail "PIC Object containing unique does not have an OS/ABI field of LINUX"
+if {! [check_osabi tmpdir/unique_shared.o {UNIX - GNU}]} {
+ fail "PIC Object containing unique does not have an OS/ABI field of GNU"
set fails [expr $fails + 1]
}
@@ -209,8 +209,8 @@ if { $fails == 0 } {
}
# Check the unique shared library.
-if {! [check_osabi tmpdir/libunique_shared.so {UNIX - Linux}]} {
- fail "Shared library containing unique does not have an OS/ABI field of LINUX"
+if {! [check_osabi tmpdir/libunique_shared.so {UNIX - GNU}]} {
+ fail "Shared library containing unique does not have an OS/ABI field of GNU"
set fails [expr $fails + 1]
}