aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mmix/sec-7m.d
blob: 0bba4f5c23b4077f6feff20c161555b4e2ef5ad2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#source: start.s
#source: sec-7a.s
#source: sec-7b.s
#source: sec-7c.s
#source: sec-7d.s
#source: sec-7e.s
#ld: -m mmo
#objcopy_linked_file:
#objdump: -hs

# When producing mmo output: sections with an input length not a
# multiple of 4, and whose total length in linked output
# exceeded the "chunk size" (32768), would get to-4-padding
# inserted at each chunk division.  Also check that section
# sizes aren't rounded up at objcopy.

.*:     file format mmo

Sections:
Idx Name[ ]+Size[ ]+VMA[ ]+LMA[ ]+File off  Algn
  0 \.text[ ]+0+4  0+  0+  0+  2\*\*2
[ ]+CONTENTS, ALLOC, LOAD, CODE
  1 \.di +0+27ffb +0+4 +0+4 +0+ +2\*\*2
[ ]+CONTENTS, READONLY
Contents of section \.text:
 0000 e3fd0001[ ]+.*
Contents of section \.di:
 00004 2a000000 00000000 00000000 00000000  .*
#...
 07ff4 00000000 00000000 00000000 2b2c0000  .*
#...
 0fff4 00000000 00000000 00002d2e 00000000  .*
#...
 17ff4 00000000 00000000 002f3000 00000000  .*
#...
 1fff4 00000000 00000000 00313200 00000000  .*
#...
 27ff4 00000000 00000000 000033[ ]+.*