OLD | NEW |
1 # Expect script for AIX 5.2+ tests | 1 # Expect script for AIX 5.2+ tests |
2 # Copyright 2009 Free Software Foundation | 2 # Copyright 2009 Free Software Foundation |
3 # | 3 # |
4 # This file is part of the GNU Binutils. | 4 # This file is part of the GNU Binutils. |
5 # | 5 # |
6 # This program is free software; you can redistribute it and/or modify | 6 # This program is free software; you can redistribute it and/or modify |
7 # it under the terms of the GNU General Public License as published by | 7 # it under the terms of the GNU General Public License as published by |
8 # the Free Software Foundation; either version 3 of the License, or | 8 # the Free Software Foundation; either version 3 of the License, or |
9 # (at your option) any later version. | 9 # (at your option) any later version. |
10 # | 10 # |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 | 189 |
190 {"Line number test 1 (discard locals)" "-e.main -x" | 190 {"Line number test 1 (discard locals)" "-e.main -x" |
191 "" {aix-lineno-1.s} | 191 "" {aix-lineno-1.s} |
192 {{objdump -dS aix-lineno-1b.dd} {nm {} aix-lineno-1b.nd}} | 192 {{objdump -dS aix-lineno-1b.dd} {nm {} aix-lineno-1b.nd}} |
193 "aix-lineno-1b.exe"} | 193 "aix-lineno-1b.exe"} |
194 | 194 |
195 {"Relocatable test 1" "-r" | 195 {"Relocatable test 1" "-r" |
196 "" {aix-rel-1.s} | 196 "" {aix-rel-1.s} |
197 {{objdump -hr aix-rel-1.od}} "aix-rel-1.ro"} | 197 {{objdump -hr aix-rel-1.od}} "aix-rel-1.ro"} |
198 | 198 |
| 199 {".ref test 1" "-efoo1" |
| 200 "" {aix-ref-1.s} |
| 201 {{objdump -dr aix-ref-1-SIZE.od}} |
| 202 "aix-ref-1"} |
| 203 |
199 {"Weak test 1 (rel)" "-r" | 204 {"Weak test 1 (rel)" "-r" |
200 "" {aix-weak-1a.s aix-weak-1b.s} | 205 "" {aix-weak-1a.s aix-weak-1b.s} |
201 {{nm {} aix-weak-1-rel.nd} {objdump -h aix-weak-1-rel.hd}} | 206 {{nm {} aix-weak-1-rel.nd} {objdump -h aix-weak-1-rel.hd}} |
202 "aix-weak-1.o"} | 207 "aix-weak-1.o"} |
203 | 208 |
204 {"Weak test 1 (shared, nogc)" "-shared -bE:aix-weak-1.ex -bnogc" | 209 {"Weak test 1 (shared, nogc)" "-shared -bE:aix-weak-1.ex -bnogc" |
205 "" {aix-weak-1a.s aix-weak-1b.s} | 210 "" {aix-weak-1a.s aix-weak-1b.s} |
206 {{nm {} aix-weak-1-dso.nd} {objdump -h aix-weak-1-dso.hd} | 211 {{nm {} aix-weak-1-dso.nd} {objdump -h aix-weak-1-dso.hd} |
207 {nm -D aix-weak-1-dso.dnd}} | 212 {nm -D aix-weak-1-dso.dnd}} |
208 "aix-weak-1-nogc.so"} | 213 "aix-weak-1-nogc.so"} |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 run_aix_test 64 $name $ldopts $asopts $sources $tools $output | 256 run_aix_test 64 $name $ldopts $asopts $sources $tools $output |
252 } | 257 } |
253 } | 258 } |
254 | 259 |
255 run_dump_test "aix-glink-1-32" | 260 run_dump_test "aix-glink-1-32" |
256 run_dump_test "aix-glink-1-64" | 261 run_dump_test "aix-glink-1-64" |
257 run_dump_test "aix-glink-3-32" | 262 run_dump_test "aix-glink-3-32" |
258 run_dump_test "aix-glink-3-64" | 263 run_dump_test "aix-glink-3-64" |
259 run_dump_test "aix-weak-3-32" | 264 run_dump_test "aix-weak-3-32" |
260 run_dump_test "aix-weak-3-64" | 265 run_dump_test "aix-weak-3-64" |
OLD | NEW |