daily update
[binutils.git] / ld / testsuite / ld-mmix / sec-6.d
blob5b692e2a61cd3463e9a1bf88f5452569ce484d7d
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
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.
13 .*: file format mmo
15 architecture: mmix, flags 0x0+10:
16 HAS_SYMS
17 start address 0x0+
19 Sections:
20 Idx 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
25 SYMBOL TABLE:
26 0+ g \.text Main
27 0+ g \.text _start
28 0+8 g \.text debugb
29 2000000000000000 g \*ABS\* __bss_start
30 2000000000000000 g \*ABS\* _edata
31 2000000000000000 g \*ABS\* _end
32 0+4 g \.text a
34 Contents of section \.text:
35 0000 e3fd0001 e3fd0004 .*
36 Contents of section \.debug_frame:
37 0000 00000000 00000004 00000000 00000008 .*