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-6.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-6.d')
-rw-r--r-- | binutils-2.21/ld/testsuite/ld-mmix/sec-6.d | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-mmix/sec-6.d b/binutils-2.21/ld/testsuite/ld-mmix/sec-6.d new file mode 100644 index 0000000..5b692e2 --- /dev/null +++ b/binutils-2.21/ld/testsuite/ld-mmix/sec-6.d @@ -0,0 +1,37 @@ +#source: start.s +#source: sec-6.s +#source: a.s +#as: -x +#ld: -m elf64mmix +#objcopy_linked_file: -O mmo +#objdump: -xs + +# A non-loaded section with relocs would have the SEC_RELOC bit set in the +# output if we didn't clear it. For reference, here's the ELF copied to +# mmo, so we make sure no spurious flags are introduced. + +.*: file format mmo +.* +architecture: mmix, flags 0x0+10: +HAS_SYMS +start address 0x0+ + +Sections: +Idx Name Size VMA LMA File off Algn + 0 \.text 0+8 0+ 0+ 0+ 2\*\*2 + CONTENTS, ALLOC, LOAD, CODE + 1 \.debug_frame 0+10 0+ 0+ 0+ 2\*\*2 + CONTENTS, READONLY, DEBUGGING +SYMBOL TABLE: +0+ g \.text Main +0+ g \.text _start +0+8 g \.text debugb +2000000000000000 g \*ABS\* __bss_start +2000000000000000 g \*ABS\* _edata +2000000000000000 g \*ABS\* _end +0+4 g \.text a + +Contents of section \.text: + 0000 e3fd0001 e3fd0004 .* +Contents of section \.debug_frame: + 0000 00000000 00000004 00000000 00000008 .* |