1#source: sec-1.s
2#source: start.s
3#ld: -m elf64mmix
4#objcopy_linked_file: -O mmo
5#objdump: -sh
6
7# Test conversion from ELF to mmo with non-mmo-sections present,
8# testing that support.
9
10.*:     file format mmo
11
12Sections:
13Idx Name          Size      VMA               LMA               File off  Algn
14  0 \.text         0+4  0+  0+  0+  2\*\*2
15                  CONTENTS, ALLOC, LOAD, CODE
16  1 secname       0+19  0+4  0+4  0+  2\*\*2
17                  CONTENTS, ALLOC, LOAD, READONLY, CODE
18  2 \.a\.fourth\.section 0+10  0+20  0+20  0+  2\*\*2
19                  CONTENTS, ALLOC, LOAD, READONLY, DATA
20  3 anothersec    0+13  2000000000000000  2000000000000000  0+  2\*\*2
21                  CONTENTS, ALLOC, LOAD, DATA
22  4 thirdsec      0+a  0+  0+  0+  2\*\*2
23                  CONTENTS, READONLY
24Contents of section \.text:
25 0000 e3fd0001                             .*
26Contents of section secname:
27 0004 00000001 00000002 00000003 00000004  .*
28 0014 ffffffff fffff827 50                 .*
29Contents of section \.a\.fourth\.section:
30 0020 00000000 0087a238 00000000 302a55a8  .*
31Contents of section anothersec:
32 2000000000000000 0000000a 00000009 00000008 00000007  .*
33 2000000000000010 252729                               .*
34Contents of section thirdsec:
35 0000 00030d41 000186a2 2628               .*
36