| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- GAS LISTING /tmp/ccxXwTuo.s page 1
- 1 .file "malloc.c"
- 2 __SP_H__ = 0x3e
- 3 __SP_L__ = 0x3d
- 4 __SREG__ = 0x3f
- 5 __RAMPZ__ = 0x3b
- 6 __tmp_reg__ = 0
- 7 __zero_reg__ = 1
- 8 .section .text.malloc,"ax",@progbits
- 9 .global malloc
- 10 .type malloc, @function
- 11 malloc:
- 12 /* prologue: function */
- 13 /* frame size = 0 */
- 14 /* stack size = 0 */
- 15 .L__stack_usage = 0
- 16 0000 BC01 movw r22,r24
- 17 0002 80E0 ldi r24,lo8(heapFreeList)
- 18 0004 90E0 ldi r25,hi8(heapFreeList)
- 19 0006 0E94 0000 call NutHeapRootAlloc
- 20 000a 0097 sbiw r24,0
- 21 000c 01F4 brne .L2
- 22 000e 2CE0 ldi r18,lo8(12)
- 23 0010 30E0 ldi r19,0
- 24 0012 3093 0000 sts errno+1,r19
- 25 0016 2093 0000 sts errno,r18
- 26 .L2:
- 27 001a 0895 ret
- 28 .size malloc, .-malloc
- 29 .section .text.free,"ax",@progbits
- 30 .global free
- 31 .type free, @function
- 32 free:
- 33 /* prologue: function */
- 34 /* frame size = 0 */
- 35 /* stack size = 0 */
- 36 .L__stack_usage = 0
- 37 0000 BC01 movw r22,r24
- 38 0002 80E0 ldi r24,lo8(heapFreeList)
- 39 0004 90E0 ldi r25,hi8(heapFreeList)
- 40 0006 0C94 0000 jmp NutHeapRootFree
- 41 .size free, .-free
- 42 .ident "GCC: (GNU) 5.3.0"
- GAS LISTING /tmp/ccxXwTuo.s page 2
- DEFINED SYMBOLS
- *ABS*:0000000000000000 malloc.c
- /tmp/ccxXwTuo.s:2 *ABS*:000000000000003e __SP_H__
- /tmp/ccxXwTuo.s:3 *ABS*:000000000000003d __SP_L__
- /tmp/ccxXwTuo.s:4 *ABS*:000000000000003f __SREG__
- /tmp/ccxXwTuo.s:5 *ABS*:000000000000003b __RAMPZ__
- /tmp/ccxXwTuo.s:6 *ABS*:0000000000000000 __tmp_reg__
- /tmp/ccxXwTuo.s:7 *ABS*:0000000000000001 __zero_reg__
- /tmp/ccxXwTuo.s:11 .text.malloc:0000000000000000 malloc
- /tmp/ccxXwTuo.s:32 .text.free:0000000000000000 free
- UNDEFINED SYMBOLS
- heapFreeList
- NutHeapRootAlloc
- errno
- NutHeapRootFree
|