From: Alan Modra Date: Sat, 27 Apr 2002 12:46:12 +0000 (+0000) Subject: Merge from mainline. X-Git-Tag: binutils-2_12_1~40 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8e990acc082ef0159bc5fd0d4cc3eced82283c85;p=thirdparty%2Fbinutils-gdb.git Merge from mainline. 2002-04-23 H.J. Lu * gas/hppa/parse/parse.exp: Don't expect failure on line separator test on hppa*-*-linux* nor hppa*-*-netbsd*. 2002-03-19 Bo Thorsen * gas/i386/x86-64-opcode.d: More test cases for x86-64 opcodes. * gas/i386/x86-64-opcode.s: Likewise 2002-02-24 Hans-Peter Nilsson * gas/mmix/bspec-1.d, gas/mmix/bspec-2.d, gas/mmix/comment-1.d: Adjust to changes in readelf output. 2002-02-22 Bo Thorsen * i386.exp: Add x86-64-opcode (checks valid opcodes) and x86-64-inval (checks invalid opcodes) checks * x86-64-inval.l: New file. * x86-64-inval.s: New file. * x86-64-opcode.d: New file. * x86-64-opcode.s: New file. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 9ba5938c16d..d7c3b6f474c 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,26 @@ +2002-04-27 Alan Modra + + Merge from mainline. + 2002-04-23 H.J. Lu + * gas/hppa/parse/parse.exp: Don't expect failure on line separator + test on hppa*-*-linux* nor hppa*-*-netbsd*. + + 2002-03-19 Bo Thorsen + * gas/i386/x86-64-opcode.d: More test cases for x86-64 opcodes. + * gas/i386/x86-64-opcode.s: Likewise + + 2002-02-24 Hans-Peter Nilsson + * gas/mmix/bspec-1.d, gas/mmix/bspec-2.d, gas/mmix/comment-1.d: + Adjust to changes in readelf output. + + 2002-02-22 Bo Thorsen + * i386.exp: Add x86-64-opcode (checks valid opcodes) and x86-64-inval + (checks invalid opcodes) checks + * x86-64-inval.l: New file. + * x86-64-inval.s: New file. + * x86-64-opcode.d: New file. + * x86-64-opcode.s: New file. + 2002-03-17 Hans-Peter Nilsson * gas/mmix/weak1.d, gas/mmix/weak1.d: New test. diff --git a/gas/testsuite/gas/hppa/parse/parse.exp b/gas/testsuite/gas/hppa/parse/parse.exp index 0dcef88805e..0b397c9a5bf 100644 --- a/gas/testsuite/gas/hppa/parse/parse.exp +++ b/gas/testsuite/gas/hppa/parse/parse.exp @@ -119,8 +119,11 @@ proc do_valid_align_tests {} { } if [istarget hppa*-*-*] then { - # GAS-2.0 does not always parse ! as a line separator when it should. - setup_xfail hppa*-*-* + if { ![istarget hppa*-*-linux*] + && ![istarget hppa*-*-netbsd*] } { + # GAS-2.0 does not always parse ! as a line separator when it should. + setup_xfail hppa*-*-* + } gas_test "linesepbug.s" "" "" "line separator bug" # Make sure GAS accepts syntax for accessing static data. diff --git a/gas/testsuite/gas/i386/i386.exp b/gas/testsuite/gas/i386/i386.exp index e5ba382a5b8..e66468090ff 100644 --- a/gas/testsuite/gas/i386/i386.exp +++ b/gas/testsuite/gas/i386/i386.exp @@ -87,6 +87,8 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check]] t set ASFLAGS "$ASFLAGS --64" run_dump_test "x86_64" + run_dump_test "x86-64-opcode" + run_list_test "x86-64-inval" "-al" set ASFLAGS "$old_ASFLAGS" } diff --git a/gas/testsuite/gas/mmix/bspec-1.d b/gas/testsuite/gas/mmix/bspec-1.d index 7855a9cfb45..2b15a4c443d 100644 --- a/gas/testsuite/gas/mmix/bspec-1.d +++ b/gas/testsuite/gas/mmix/bspec-1.d @@ -7,8 +7,8 @@ There are 9 section headers, starting at offset 0x..: 0+18 0+18 7 4 8 #... Relocation section '\.rela\.MMIX\.spec_data\.2' at offset 0x... contains 1 entries: -[ ]+Offset[ ]+Info[ ]+Type[ ]+Symbol's Value[ ]+Symbol's Name[ ]+Addend -0+ 0+500000004 R_MMIX_32 0+ forw \+ 0 +.* +0+ 0+500000004 R_MMIX_32 +0+ +forw +\+ 0 Symbol table '\.symtab' contains 6 entries: Num: Value Size Type Bind Vis Ndx Name diff --git a/gas/testsuite/gas/mmix/bspec-2.d b/gas/testsuite/gas/mmix/bspec-2.d index 8da7a5480f3..04fdbdd5e5f 100644 --- a/gas/testsuite/gas/mmix/bspec-2.d +++ b/gas/testsuite/gas/mmix/bspec-2.d @@ -11,13 +11,13 @@ There are 11 section headers, starting at offset 0x..: 0+18 0+18 9 6 8 #... Relocation section '\.rela\.MMIX\.spec_data\.2' at offset 0x4.. contains 2 entries: -[ ]+Offset[ ]+Info[ ]+Type[ ]+Symbol's Value[ ]+Symbol's Name[ ]+Addend -0+ 0+600000004 R_MMIX_32 0+ forw \+ 0 -0+8 0+700000005 R_MMIX_64 0+ other \+ 0 +.* +0+ 0+600000004 R_MMIX_32 +0+ +forw +\+ 0 +0+8 0+700000005 R_MMIX_64 +0+ +other +\+ 0 Relocation section '\.rela\.MMIX\.spec_data\.3' at offset 0x4.. contains 1 entries: -[ ]+Offset[ ]+Info[ ]+Type[ ]+Symbol's Value[ ]+Symbol's Name[ ]+Addend -0+ 0+700000005 R_MMIX_64 0+ other \+ 0 +.* +0+ 0+700000005 R_MMIX_64 +0+ +other +\+ 0 Hex dump of section '\.text': 0x0+ fd010203 .* diff --git a/gas/testsuite/gas/mmix/comment-1.d b/gas/testsuite/gas/mmix/comment-1.d index 935926288b9..0d341c4cc52 100644 --- a/gas/testsuite/gas/mmix/comment-1.d +++ b/gas/testsuite/gas/mmix/comment-1.d @@ -8,12 +8,12 @@ There are 10 section headers, starting at offset 0x...: 0+8 0+ W 0 0 1 #... Relocation section '\.rela\.text' at offset 0x... contains 5 entries: -[ ]+Offset[ ]+Info[ ]+Type[ ]+Symbol's Value[ ]+Symbol's Name[ ]+Addend -0+34 0+90000001e R_MMIX_ADDR19 0+ target \+ 2c -0+46 0+a00000002 R_MMIX_16 0+ target2 \+ 30 -0+48 0+b0000001f R_MMIX_ADDR27 0+ target3 \+ 38 -0+54 0+b0000001e R_MMIX_ADDR19 0+ target3 \+ 0 -0+78 0+23 R_MMIX_LOCAL 0+30 +.* +0+34 0+90000001e R_MMIX_ADDR19 +0+ +target +\+ 2c +0+46 0+a00000002 R_MMIX_16 +0+ +target2 +\+ 30 +0+48 0+b0000001f R_MMIX_ADDR27 +0+ +target3 +\+ 38 +0+54 0+b0000001e R_MMIX_ADDR19 +0+ +target3 +\+ 0 +0+78 0+23 R_MMIX_LOCAL +0+30 Symbol table '\.symtab' contains 12 entries: Num: Value Size Type Bind Vis Ndx Name