URL
https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk
Subversion Repositories open8_urisc
Compare Revisions
- This comparison shows the changes necessary to convert path
/open8_urisc/trunk/gnu/binutils
- from Rev 132 to Rev 133
- ↔ Reverse comparison
Rev 132 → Rev 133
/gas/testsuite/gas/symver/symver.exp
0,0 → 1,55
# |
# symver tests |
# |
proc run_error_test { name opts } { |
global srcdir subdir |
set testname "symver $name" |
set file $srcdir/$subdir/$name |
gas_run ${name}.s $opts ">&dump.out" |
if { [regexp_diff "dump.out" "${file}.l"] } then { |
fail $testname |
verbose "output is [file_contents "dump.out"]" 2 |
return |
} |
pass $testname |
} |
|
# symver is only supported by ELF targets. |
if { ([istarget "*-*-elf*"] |
|| [istarget "m6811-*"] |
|| [istarget "m6812-*"] |
|| [istarget "*-*-linux*"] |
|| [istarget "*-*-gnu*"]) |
&& ![istarget *-*-linux*aout*] |
&& ![istarget *-*-linux*oldld*] } then { |
|
if {[istarget "ia64-*"]} then { |
return |
} |
|
if {[istarget "hppa*64*-*-*"]} then { |
return |
} |
|
# not supported by D30V |
if {[istarget "d30v-*-*"]} { |
return |
} |
|
# not yet supported by i960 |
if {[istarget "i960-*-*"]} { |
return |
} |
|
run_dump_test "symver0" |
run_dump_test "symver1" |
run_error_test "symver2" "" |
run_error_test "symver3" "" |
# We have to comment out symver4 and symver5, which check the |
# missing version name, since some tests in ld/testsuite/ld-elfvers |
# have no version names. We cannot flag an error for the missing |
# version name. |
# run_error_test "symver4" "" |
# run_error_test "symver5" "" |
run_error_test "symver6" "" |
} |
/gas/testsuite/gas/symver/symver2.l
0,0 → 1,2
.*: Assembler messages: |
.*: Error: invalid attempt to declare external version name as default in symbol `foo@@version1' |
/gas/testsuite/gas/symver/symver3.l
0,0 → 1,2
.*: Assembler messages: |
.*:6: Error: missing version name in `foo' for symbol `foo' |
/gas/testsuite/gas/symver/symver4.l
0,0 → 1,2
.*: Assembler messages: |
.*:6: Error: missing version name in `foo@' for symbol `foo' |
/gas/testsuite/gas/symver/symver5.l
0,0 → 1,2
.*: Assembler messages: |
.*:6: Error: missing version name in `foo@@@' for symbol `foo' |
/gas/testsuite/gas/symver/symver6.l
0,0 → 1,2
.*: Assembler messages: |
.*:7: Error: multiple versions \[`foo@version1'|`foo@@version1'\] for symbol `foo' |
/gas/testsuite/gas/symver/symver0.s
0,0 → 1,10
.data |
.symver bar,bar@version1 |
.symver bar,bar@version1 |
.globl foo1 |
.type foo1,object |
foo1: |
.long foo |
.symver foo,foo@version1 |
L_foo1: |
.size foo1,L_foo1-foo1 |
/gas/testsuite/gas/symver/symver0.d
0,0 → 1,10
#nm: -n |
#name: symver symver0 |
# |
# The #... and #pass are there to match extra symbols inserted by |
# some toolchains, eg arm-elf toolchain will add $d. |
|
[ ]+U foo@version1 |
#... |
0+0000000 D foo1 |
0+00000.. d L_foo1 |
/gas/testsuite/gas/symver/symver1.s
0,0 → 1,18
.data |
.symver bar,bar@@@version1 |
.symver bar,bar@@@version1 |
.globl foo1 |
.type foo1,object |
foo1: |
.long foo |
.symver foo,foo@@@version1 |
.symver foo1,foo1@@@version1 |
L_foo1: |
.size foo1,L_foo1-foo1 |
.globl foo2 |
.type foo2,object |
foo2: |
.long foo |
.symver foo2,foo2@@version1 |
L_foo2: |
.size foo2,L_foo2-foo2 |
/gas/testsuite/gas/symver/symver1.d
0,0 → 1,13
#nm: -n |
#name: symver symver1 |
# |
# The #... and #pass are there to match extra symbols inserted by |
# some toolchains, eg arm-elf toolchain will add $d. |
|
[ ]+U foo@version1 |
#... |
0+0000000 D foo1@@version1 |
0+00000.. d L_foo1 |
0+00000.. D foo2 |
0+00000.. D foo2@@version1 |
0+00000.. d L_foo2 |
/gas/testsuite/gas/symver/symver2.s
0,0 → 1,8
.data |
.globl foo1 |
.type foo1,object |
foo1: |
.long foo |
.symver foo,foo@@version1 |
L_foo1: |
.size foo1,L_foo1-foo1 |
/gas/testsuite/gas/symver/symver3.s
0,0 → 1,8
.data |
.globl foo1 |
.type foo1,object |
foo1: |
.long foo |
.symver foo,foo |
L_foo1: |
.size foo1,L_foo1-foo1 |
/gas/testsuite/gas/symver/symver4.s
0,0 → 1,8
.data |
.globl foo1 |
.type foo1,object |
foo1: |
.long foo |
.symver foo,foo@ |
L_foo1: |
.size foo1,L_foo1-foo1 |
/gas/testsuite/gas/symver/symver5.s
0,0 → 1,8
.data |
.globl foo1 |
.type foo1,object |
foo1: |
.long foo |
.symver foo,foo@@@ |
L_foo1: |
.size foo1,L_foo1-foo1 |
/gas/testsuite/gas/symver/symver6.s
0,0 → 1,9
.data |
.globl foo1 |
.type foo1,object |
foo1: |
.long foo |
.symver foo,foo@@version1 |
.symver foo,foo@version1 |
L_foo1: |
.size foo1,L_foo1-foo1 |