This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
These are the (originally intended to be included directly) tests for the further enhanced equate handling. They had been omitted because they depend on the only recently re-enabled functionalty to equate non-globals to externs. Built and tested on i686-pc-linux-gnu, x86_64-unknown-linux-gnu, and for a large number of cross targets. Jan gas/testsuite/ 2005-10-27 Jan Beulich <jbeulich@novell.com> * gas/all/redef2.[sd]: New. * gas/all/gas.exp: Run new test. * gas/elf/redef.d: New. * gas/elf/elf.exp: Run new test. --- /home/jbeulich/src/binutils/mainline/2005-10-20/gas/testsuite/gas/all/gas.exp 2005-10-11 14:31:18.000000000 +0200 +++ 2005-10-20/gas/testsuite/gas/all/gas.exp 2005-10-27 12:14:33.562421504 +0200 @@ -81,6 +81,9 @@ case $target_triplet in { default { setup_xfail "*c30*-*-*" "*c4x*-*-*" "pdp11-*-*" run_dump_test redef + setup_xfail "*c30*-*-*" "*c4x*-*-*" "*arm*-*-coff" "arm*-*-pe*" "crx*-*-*" + setup_xfail "h8300*-*-*" "m68hc*-*-*" "maxq-*-*" "pdp11-*-*" "vax*-*-*" "z8k-*-*" + run_dump_test redef2 } } --- /home/jbeulich/src/binutils/mainline/2005-10-20/gas/testsuite/gas/all/redef2.d 1970-01-01 01:00:00.000000000 +0100 +++ 2005-10-20/gas/testsuite/gas/all/redef2.d 2005-10-20 17:29:25.000000000 +0200 @@ -0,0 +1,13 @@ +#objdump: -rsj .data +#name: .equ redefinitions (2) + +.*: .* + +RELOCATION RECORDS FOR .* +.* +0+0.*(here|\.data) +0+8.*xtrn +#... +Contents of section \.data: + 0000 00000000 11111111 00000000 22222222[ ]+................[ ]* +#pass --- /home/jbeulich/src/binutils/mainline/2005-10-20/gas/testsuite/gas/all/redef2.s 1970-01-01 01:00:00.000000000 +0100 +++ 2005-10-20/gas/testsuite/gas/all/redef2.s 2005-10-20 16:22:58.000000000 +0200 @@ -0,0 +1,10 @@ + .data +here: + .set sym, here + .long sym + .set sym, 0x11111111 + .long sym + .set sym, xtrn + .long sym + .set sym, 0x22222222 + .long sym --- /home/jbeulich/src/binutils/mainline/2005-10-20/gas/testsuite/gas/elf/elf.exp 2005-10-11 14:31:18.000000000 +0200 +++ 2005-10-20/gas/testsuite/gas/elf/elf.exp 2005-10-27 11:48:14.151528456 +0200 @@ -61,6 +61,16 @@ if { ([istarget "*-*-*elf*"] run_dump_test "group0b" run_dump_test "group1a" run_dump_test "group1b" + case $target_triplet in { + { alpha*-*-* } { } + { hppa*-*-* } { } + { iq2000*-*-* } { } + { mips*-*-* } { } + { *c54x*-*-* } { } + default { + run_dump_test redef + } + } run_dump_test "section0" run_dump_test "section1" run_list_test "section2" "$target_machine" "-al" "-s" "" --- /home/jbeulich/src/binutils/mainline/2005-10-20/gas/testsuite/gas/elf/redef.d 1970-01-01 01:00:00.000000000 +0100 +++ 2005-10-20/gas/testsuite/gas/elf/redef.d 2005-10-27 11:41:27.694319344 +0200 @@ -0,0 +1,14 @@ +#objdump: -t +#name: .equ redefinitions (ELF) +#source: ../all/redef2.s + +.*: .* + +SYMBOL TABLE: +#... +0+[ ]+l[ ].*[ ]here +#... +0*2+[ ]+l[ ]+\*ABS\*[ ].*[ ]sym +#... +0+[ ]+\*UND\*[ ].*[ ]xtrn +#...
Attachment:
binutils-mainline-equate-3.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |