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