diff options
author | Alan Modra <amodra@gmail.com> | 2007-03-14 11:04:12 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-03-14 11:04:12 +0000 |
commit | cd0c2fe2c3e1063d59c2dcb68ebcc5a66e1ee2fe (patch) | |
tree | fa61c90d6d10ba51b778aea0e2187f31f0633e40 /gas | |
parent | d1c5f15864c27771719a259e07207de35d9154eb (diff) | |
download | gdb-cd0c2fe2c3e1063d59c2dcb68ebcc5a66e1ee2fe.zip gdb-cd0c2fe2c3e1063d59c2dcb68ebcc5a66e1ee2fe.tar.gz gdb-cd0c2fe2c3e1063d59c2dcb68ebcc5a66e1ee2fe.tar.bz2 |
PR 4029
* gas/all/relax.s: New.
* gas/all/relax.d: New.
* gas/all/gas.exp: Run it.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gas/testsuite/gas/all/relax.d | 13 | ||||
-rw-r--r-- | gas/testsuite/gas/all/relax.s | 20 |
3 files changed, 40 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index f13c113..51bf86f 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2007-03-14 Alan Modra <amodra@bigpond.net.au> + + PR 4029 + * gas/all/relax.s: New. + * gas/all/relax.d: New. + * gas/all/gas.exp: Run it. + 2007-03-11 Hans-Peter Nilsson <hp@bitrange.com> * gas/mmix/comment-1.d, gas/mmix/bspec-1.d, gas/mmix/bspec-2.d: diff --git a/gas/testsuite/gas/all/relax.d b/gas/testsuite/gas/all/relax.d new file mode 100644 index 0000000..1e581c2 --- /dev/null +++ b/gas/testsuite/gas/all/relax.d @@ -0,0 +1,13 @@ +#objdump : -s -j .data -j "\$DATA\$" +#name : relax .uleb128 + +.*: .* + +Contents of section .* + 0000 01020381 01000000 00000000 00000000.* +#... + 0080 00000004 ffff0500 06078380 01000000.* +#... + 4080 00000000 00000000 00000008 ffffffff.* + 4090 09090909 09090909 09090909 09090909.* +#pass diff --git a/gas/testsuite/gas/all/relax.s b/gas/testsuite/gas/all/relax.s new file mode 100644 index 0000000..104a895 --- /dev/null +++ b/gas/testsuite/gas/all/relax.s @@ -0,0 +1,20 @@ + .data + .byte 1, 2, 3 + .uleb128 L2 - L1 +L1: + .space 128 - 2 + .byte 4 + .p2align 1, 0xff +L2: + .byte 5 + + .p2align 2 + .byte 6, 7 + .uleb128 L4 - L3 +L3: + .space 128*128 - 2 + .byte 8 + .p2align 2, 0xff +L4: + .byte 9 + .p2align 4, 9 |