Fix linker tests to work with 16-bit targets.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-mmix / sec-6.d
CommitLineData
3c3bdf30
NC
1#source: start.s
2#source: sec-6.s
3#source: a.s
4#as: -x
5#ld: -m elf64mmix
6#objcopy_linked_file: -O mmo
7#objdump: -xs
8
9# A non-loaded section with relocs would have the SEC_RELOC bit set in the
10# output if we didn't clear it. For reference, here's the ELF copied to
11# mmo, so we make sure no spurious flags are introduced.
12
13.*: file format mmo
14.*
15architecture: mmix, flags 0x0+10:
16HAS_SYMS
17start address 0x0+
18
19Sections:
20Idx Name Size VMA LMA File off Algn
21 0 \.text 0+8 0+ 0+ 0+ 2\*\*2
22 CONTENTS, ALLOC, LOAD, CODE
23 1 \.debug_frame 0+10 0+ 0+ 0+ 2\*\*2
24 CONTENTS, READONLY, DEBUGGING
25SYMBOL TABLE:
fe108482 260+ g \.text Main
3c3bdf30
NC
270+ g \.text _start
280+8 g \.text debugb
292000000000000000 g \*ABS\* __bss_start
302000000000000000 g \*ABS\* _edata
312000000000000000 g \*ABS\* _end
320+4 g \.text a
33
34Contents of section \.text:
35 0000 e3fd0001 e3fd0004 .*
36Contents of section \.debug_frame:
37 0000 00000000 00000004 00000000 00000008 .*
This page took 0.879535 seconds and 4 git commands to generate.