summaryrefslogtreecommitdiff
path: root/device/lib/stm8-large/aligned_alloc.lst
diff options
context:
space:
mode:
authorXavier ASUS <xavi92psx@gmail.com>2019-10-18 00:31:54 +0200
committerXavier ASUS <xavi92psx@gmail.com>2019-10-18 00:31:54 +0200
commit268a53de823a6750d6256ee1fb1e7707b4b45740 (patch)
tree42c1799a9a82b2f7d9790ee9fe181d72a7274751 /device/lib/stm8-large/aligned_alloc.lst
downloadsdcc-gas-268a53de823a6750d6256ee1fb1e7707b4b45740.tar.gz
sdcc-3.9.0 fork implementing GNU assembler syntax
This fork aims to provide better support for stm8-binutils
Diffstat (limited to 'device/lib/stm8-large/aligned_alloc.lst')
-rw-r--r--device/lib/stm8-large/aligned_alloc.lst65
1 files changed, 65 insertions, 0 deletions
diff --git a/device/lib/stm8-large/aligned_alloc.lst b/device/lib/stm8-large/aligned_alloc.lst
new file mode 100644
index 0000000..f57dd9e
--- /dev/null
+++ b/device/lib/stm8-large/aligned_alloc.lst
@@ -0,0 +1,65 @@
+ 1 ;--------------------------------------------------------
+ 2 ; File Created by SDCC : free open source ANSI-C Compiler
+ 3 ; Version 3.9.3 #11345 (Linux)
+ 4 ;--------------------------------------------------------
+ 5 .module aligned_alloc
+ 6 .optsdcc -mstm8
+ 7
+ 8 ;--------------------------------------------------------
+ 9 ; Public variables in this module
+ 10 ;--------------------------------------------------------
+ 11 .globl _malloc
+ 12 .globl _aligned_alloc
+ 13 ;--------------------------------------------------------
+ 14 ; ram data
+ 15 ;--------------------------------------------------------
+ 16 .area DATA
+ 17 ;--------------------------------------------------------
+ 18 ; ram data
+ 19 ;--------------------------------------------------------
+ 20 .area INITIALIZED
+ 21 ;--------------------------------------------------------
+ 22 ; absolute external ram data
+ 23 ;--------------------------------------------------------
+ 24 .area DABS (ABS)
+ 25
+ 26 ; default segment ordering for linker
+ 27 .area HOME
+ 28 .area GSINIT
+ 29 .area GSFINAL
+ 30 .area CONST
+ 31 .area INITIALIZER
+ 32 .area CODE
+ 33
+ 34 ;--------------------------------------------------------
+ 35 ; global & static initialisations
+ 36 ;--------------------------------------------------------
+ 37 .area HOME
+ 38 .area GSINIT
+ 39 .area GSFINAL
+ 40 .area GSINIT
+ 41 ;--------------------------------------------------------
+ 42 ; Home
+ 43 ;--------------------------------------------------------
+ 44 .area HOME
+ 45 .area HOME
+ 46 ;--------------------------------------------------------
+ 47 ; code
+ 48 ;--------------------------------------------------------
+ 49 .area CODE
+ 50 ; ./../../include/stdlib.h: 86: inline void *aligned_alloc(size_t alignment, size_t size)
+ 51 ; -----------------------------------------
+ 52 ; function aligned_alloc
+ 53 ; -----------------------------------------
+ 000000 54 _aligned_alloc:
+ 55 ; ./../../include/stdlib.h: 89: return malloc(size);
+ 000000 1E 06 [ 2] 56 ldw x, (0x06, sp)
+ 000002 89 [ 2] 57 pushw x
+ 000003 8Ds00r00r00 [ 5] 58 callf _malloc
+ 000007 5B 02 [ 2] 59 addw sp, #2
+ 60 ; ./../../include/stdlib.h: 90: }
+ 000009 87 [ 5] 61 retf
+ 62 .area CODE
+ 63 .area CONST
+ 64 .area INITIALIZER
+ 65 .area CABS (ABS)