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

Subversion Repositories open8_urisc

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

Show entire file | Details | Blame | View Log

Rev 157 Rev 163
Line 56... Line 56...
# script that accidentally marks dynamic sections as notes.  The
# script that accidentally marks dynamic sections as notes.  The
# resulting executable is not expected to work, but the linker
# resulting executable is not expected to work, but the linker
# should not seg-fault whilst creating the binary.
# should not seg-fault whilst creating the binary.
#
#
# Only run the test on targets thats support creating shared libraries.
# Only run the test on targets thats support creating shared libraries.
if {    ! [istarget arc-*-*]
if { [check_shared_lib_support] } then {
     && ! [istarget avr-*-*]
 
     && ! [istarget cr16-*-*]
 
     && ! [istarget cris*-*-*]
 
     && ! [istarget crx-*-*]
 
     && ! [istarget d10v-*-*]
 
     && ! [istarget d30v-*-*]
 
     && ! [istarget dlx-*-*]
 
     && ! [istarget fr30-*-*]
 
     && ! [istarget frv-*-*]
 
     && ! [istarget h8300-*-*]
 
     && ! [istarget i860-*-*]
 
     && ! [istarget i960-*-*]
 
     && ! [istarget ip2k-*-*]
 
     && ! [istarget iq2000-*-*]
 
     && ! [istarget lm32-*-*]
 
     && ! [istarget m32c-*-*]
 
     && ! [istarget m32r-*-*]
 
     && ! [istarget mcore*-*-*]
 
     && ! [istarget mep-*-*]
 
     && ! [istarget microblaze-*-*]
 
     && ! [istarget mn10200-*-*]
 
     && ! [istarget moxie-*-*]
 
     && ! [istarget ms1-*-*]
 
     && ! [istarget msp430-*-*]
 
     && ! [istarget openrisc-*-*]
 
     && ! [istarget or32-*-*]
 
     && ! [istarget pj-*-*]
 
     && ! [istarget rx-*-*]
 
     && ! [istarget spu-*-*]
 
     && ! [istarget v850*-*-*]
 
     && ! [istarget xstormy16-*-*]
 
     && ! [istarget *-*-irix*]
 
     && ! [istarget *-*-rtems] } {
 
  run_ld_link_tests {
  run_ld_link_tests {
      {"Build shared library for next test"
      {"Build shared library for next test"
       "-shared" "" "note-3.s" {} "note-3.so" }
       "-shared" "" "note-3.s" {} "note-3.so" }
      {"Link using broken linker script"
      {"Link using broken linker script"
        "--script note-3.t tmpdir/note-3.so" "" ""
        "--script note-3.t tmpdir/note-3.so" "" ""
Line 136... Line 103...
# The following tests require running the executable generated by ld.
# The following tests require running the executable generated by ld.
if ![isnative] {
if ![isnative] {
    return
    return
}
}
 
 
 
if [check_gc_sections_available] {
 
    run_cc_link_tests {
 
        {"PR ld/13195" "-Wl,--gc-sections" ""
 
         {pr13195.c} {} "pr13195"}
 
    }
 
}
 
 
set array_tests {
set array_tests {
    {"preinit array" "" "" {preinit.c} "preinit" "preinit.out"}
    {"preinit array" "" "" {preinit.c} "preinit" "preinit.out"}
    {"init array" "" "" {init.c} "init" "init.out"}
    {"init array" "" "" {init.c} "init" "init.out"}
    {"fini array" "" "" {fini.c} "fini" "fini.out"}
    {"fini array" "" "" {fini.c} "fini" "fini.out"}
    {"init array mixed" "" "" {init-mixed.c} "init-mixed" "init-mixed.out" "-I."}
    {"init array mixed" "" "" {init-mixed.c} "init-mixed" "init-mixed.out" "-I."}

powered by: WebSVN 2.1.0

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