OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [ld/] [testsuite/] [ld-ifunc/] [ifunc.exp] - Diff between revs 70 and 157

Show entire file | Details | Blame | View Log

Rev 70 Rev 157
Line 242... Line 242...
}
}
 
 
# Check the executables and shared libraries
# Check the executables and shared libraries
#
#
# The linked ifunc using executables and the shared library containing
# The linked ifunc using executables and the shared library containing
# ifunc should have an OSABI field of LINUX.  The linked non-ifunc using
# ifunc should have an OSABI field of GNU.  The linked non-ifunc using
# executable should have an OSABI field of NONE (aka System V).
# executable should have an OSABI field of NONE (aka System V).
 
 
if {! [check_osabi tmpdir/libshared_ifunc.so {UNIX - Linux}]} {
if {! [check_osabi tmpdir/libshared_ifunc.so {UNIX - GNU}]} {
    fail "Shared libraries containing ifunc does not have an OS/ABI field of LINUX"
    fail "Shared libraries containing ifunc does not have an OS/ABI field of GNU"
    set fails [expr $fails + 1]
    set fails [expr $fails + 1]
}
}
if {! [check_osabi tmpdir/local_prog {UNIX - Linux}]} {
if {! [check_osabi tmpdir/local_prog {UNIX - GNU}]} {
    fail "Local ifunc-using executable does not have an OS/ABI field of LINUX"
    fail "Local ifunc-using executable does not have an OS/ABI field of GNU"
    set fails [expr $fails + 1]
    set fails [expr $fails + 1]
}
}
if {! [check_osabi tmpdir/static_prog {UNIX - Linux}]} {
if {! [check_osabi tmpdir/static_prog {UNIX - GNU}]} {
    fail "Static ifunc-using executable does not have an OS/ABI field of LINUX"
    fail "Static ifunc-using executable does not have an OS/ABI field of GNU"
    set fails [expr $fails + 1]
    set fails [expr $fails + 1]
}
}
if {! [check_osabi tmpdir/dynamic_prog {UNIX - System V}]} {
if {! [check_osabi tmpdir/dynamic_prog {UNIX - System V}]} {
    fail "Dynamic ifunc-using executable does not have an OS/ABI field of System V"
    fail "Dynamic ifunc-using executable does not have an OS/ABI field of System V"
    set fails [expr $fails + 1]
    set fails [expr $fails + 1]

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.