| 1 |
#source: start.s |
| 2 |
#source: sec-7a.s |
| 3 |
#source: sec-7b.s |
| 4 |
#source: sec-7c.s |
| 5 |
#source: sec-7d.s |
| 6 |
#source: sec-7e.s |
| 7 |
#ld: -m mmo |
| 8 |
#objcopy_linked_file: |
| 9 |
#objdump: -hs |
| 10 |
|
| 11 |
# When producing mmo output: sections with an input length not a |
| 12 |
# multiple of 4, and whose total length in linked output |
| 13 |
# exceeded the "chunk size" (32768), would get to-4-padding |
| 14 |
# inserted at each chunk division. Also check that section |
| 15 |
# sizes aren't rounded up at objcopy. |
| 16 |
|
| 17 |
.*: file format mmo |
| 18 |
|
| 19 |
Sections: |
| 20 |
Idx Name[ ]+Size[ ]+VMA[ ]+LMA[ ]+File off Algn |
| 21 |
0 \.text[ ]+0+4 0+ 0+ 0+ 2\*\*2 |
| 22 |
[ ]+CONTENTS, ALLOC, LOAD, CODE |
| 23 |
1 \.di 0+27ffb 2000000000000000 2000000000000000 0+ 2\*\*2 |
| 24 |
[ ]+CONTENTS, READONLY |
| 25 |
Contents of section \.text: |
| 26 |
0000 e3fd0001[ ]+.* |
| 27 |
Contents of section \.di: |
| 28 |
2000000000000000 2a000000 00000000 00000000 00000000 .* |
| 29 |
#... |
| 30 |
2000000000007ff0 00000000 00000000 00000000 2b2c0000 .* |
| 31 |
#... |
| 32 |
200000000000fff0 00000000 00000000 00002d2e 00000000 .* |
| 33 |
#... |
| 34 |
2000000000017ff0 00000000 00000000 002f3000 00000000 .* |
| 35 |
#... |
| 36 |
200000000001fff0 00000000 00000000 00313200 00000000 .* |
| 37 |
#... |
| 38 |
2000000000027ff0 00000000 00000000 000033[ ]+.* |