diff options
author | Jing Yu <jingyu@google.com> | 2011-12-20 10:27:58 -0800 |
---|---|---|
committer | Jing Yu <jingyu@google.com> | 2011-12-20 10:27:58 -0800 |
commit | cf3cdbf8b3cda61a619299e7966a83df66244036 (patch) | |
tree | 201e2bcfc955f16802d3257112d29736cb3a3ce8 /binutils-2.21/ld/testsuite/ld-mmix/sec-8m.d | |
parent | e4df3e0a5bb640ccfa2f30ee67fe9b3146b152d6 (diff) | |
download | toolchain_binutils-cf3cdbf8b3cda61a619299e7966a83df66244036.zip toolchain_binutils-cf3cdbf8b3cda61a619299e7966a83df66244036.tar.gz toolchain_binutils-cf3cdbf8b3cda61a619299e7966a83df66244036.tar.bz2 |
Add binutils-2.21.
Use --enable-gold=default for dual linker support.
Change-Id: Id1a744c7db58a0b5e7a3be174cdfa875f2f86e49
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-mmix/sec-8m.d')
-rw-r--r-- | binutils-2.21/ld/testsuite/ld-mmix/sec-8m.d | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-mmix/sec-8m.d b/binutils-2.21/ld/testsuite/ld-mmix/sec-8m.d new file mode 100644 index 0000000..fb06b04 --- /dev/null +++ b/binutils-2.21/ld/testsuite/ld-mmix/sec-8m.d @@ -0,0 +1,30 @@ +#source: start.s +#source: sec-8a.s +#source: sec-8b.s +#source: sec-8m.s +#source: sec-8d.s +#ld: -m mmo +#objdump: -s + +# Distantly related to sec-7m.s in that section lengths mattered for the +# bug. When one input-section (seen in mmo.c as a chunk of data to +# output) had a length not a multiple of four, the last bytes were saved +# to be concatenated with the next chunk. If it was followed by a chunk +# with a leading multiple-of-four number of zero bytes, those zero bytes +# would be omitted, and the "saved" bytes would be concatenated with the +# following (not-all-zeros) bytes. Hence a shift of the last bytes of the +# first chunk. + +.*: file format mmo + +Contents of section \.text: + 00000 e3fd0001 2a000000 00000000 00000000 .* +#... + 07ff0 00000000 00000000 00000000 2b2c0000 .* +#... + 0fff0 00000000 00000000 00002d00 00000000 .* + 10000 00000000 00000000 0000002e 2f303132 .* + 10010 33000000 00000000 00000000 00000000 .* + 10020 00300000 00000000 00000000 00000000 .* +#... + 18020 31 .* |