| 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 +0+ +0+ +0+ +2\*\*2 |
| 24 | [ ]+CONTENTS, READONLY |
| 25 | Contents of section \.text: |
| 26 | 0000 e3fd0001[ ]+.* |
| 27 | Contents of section \.di: |
| 28 | 00000 2a000000 00000000 00000000 00000000 .* |
| 29 | #... |
| 30 | 07ff0 00000000 00000000 00000000 2b2c0000 .* |
| 31 | #... |
| 32 | 0fff0 00000000 00000000 00002d2e 00000000 .* |
| 33 | #... |
| 34 | 17ff0 00000000 00000000 002f3000 00000000 .* |
| 35 | #... |
| 36 | 1fff0 00000000 00000000 00313200 00000000 .* |
| 37 | #... |
| 38 | 27ff0 00000000 00000000 000033[ ]+.* |