Commit | Line | Data |
---|---|---|
ceb78239 NC |
1 | # name: H8300 GCC section test case |
2 | # ld: --gc-sections -m h8300helf | |
3 | # objdump: -d --no-show-raw-insn | |
4 | .*: file format .*-h8300 | |
5 | ||
6 | Disassembly of section .text: | |
7 | ||
8 | 00000100 <_functionWeUse>: | |
1bec8141 NC |
9 | 100: mov.l er6,@-er7 |
10 | 104: mov.l er7,er6 | |
11 | 106: subs #4,er7 | |
12 | 108: mov.w r0,@\(0xfffe:16,er6\) | |
13 | 10c: mov.w @\(0xfffe:16,er6\),r2 | |
14 | 110: mov.w r2,r0 | |
15 | 112: adds #4,er7 | |
16 | 114: mov.l @er7\+,er6 | |
17 | 118: rts | |
ceb78239 NC |
18 | |
19 | 0000011a <_start>: | |
1bec8141 NC |
20 | 11a: mov.l er6,@-er7 |
21 | 11e: mov.l er7,er6 | |
22 | 120: mov.w #0x4b,r0 | |
23 | 124: jsr @0x100:24 | |
24 | 128: mov.w r0,r2 | |
25 | 12a: mov.w r2,r0 | |
26 | 12c: mov.l @er7\+,er6 | |
27 | 130: rts |