| OLD | NEW |
| 1 # Copyright 2006-2012 Free Software Foundation, Inc. | 1 # Copyright 2006-2012 Free Software Foundation, Inc. |
| 2 | 2 |
| 3 # This program is free software; you can redistribute it and/or modify | 3 # This program is free software; you can redistribute it and/or modify |
| 4 # it under the terms of the GNU General Public License as published by | 4 # it under the terms of the GNU General Public License as published by |
| 5 # the Free Software Foundation; either version 3 of the License, or | 5 # the Free Software Foundation; either version 3 of the License, or |
| 6 # (at your option) any later version. | 6 # (at your option) any later version. |
| 7 # | 7 # |
| 8 # This program is distributed in the hope that it will be useful, | 8 # This program is distributed in the hope that it will be useful, |
| 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 # These targets have shared libraries, but weak symbols are not meaningful. | 24 # These targets have shared libraries, but weak symbols are not meaningful. |
| 25 if {([istarget arm*-*-symbianelf*] | 25 if {([istarget arm*-*-symbianelf*] |
| 26 || [istarget *-*-mingw*] | 26 || [istarget *-*-mingw*] |
| 27 || [istarget *-*-cygwin*] | 27 || [istarget *-*-cygwin*] |
| 28 || [istarget *-*-pe*])} { | 28 || [istarget *-*-pe*])} { |
| 29 return 0 | 29 return 0 |
| 30 } | 30 } |
| 31 | 31 |
| 32 # This test uses GCC-specific syntax. | 32 # This test uses GCC-specific syntax. |
| 33 if [get_compiler_info not-used] { | 33 if [get_compiler_info] { |
| 34 return -1 | 34 return -1 |
| 35 } | 35 } |
| 36 | 36 |
| 37 if {![test_compiler_info "gcc-*"]} { | 37 if {![test_compiler_info "gcc-*"]} { |
| 38 return 0 | 38 return 0 |
| 39 } | 39 } |
| 40 | 40 |
| 41 proc do_test { lib1opts lib2opts lib1first } { | 41 proc do_test { lib1opts lib2opts lib1first } { |
| 42 global objdir srcdir subdir | 42 global objdir srcdir subdir |
| 43 | 43 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 "run to breakpoint - $testopts" | 104 "run to breakpoint - $testopts" |
| 105 } | 105 } |
| 106 | 106 |
| 107 foreach lib1opts {{} {debug}} { | 107 foreach lib1opts {{} {debug}} { |
| 108 foreach lib2opts {{} {debug}} { | 108 foreach lib2opts {{} {debug}} { |
| 109 foreach lib1first {1 0} { | 109 foreach lib1first {1 0} { |
| 110 do_test $lib1opts $lib2opts $lib1first | 110 do_test $lib1opts $lib2opts $lib1first |
| 111 } | 111 } |
| 112 } | 112 } |
| 113 } | 113 } |
| OLD | NEW |