httpd_p.lst 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  1. GAS LISTING /tmp/ccG8t015.s page 1
  2. 1 .file "httpd_p.c"
  3. 2 __SP_H__ = 0x3e
  4. 3 __SP_L__ = 0x3d
  5. 4 __SREG__ = 0x3f
  6. 5 __RAMPZ__ = 0x3b
  7. 6 __tmp_reg__ = 0
  8. 7 __zero_reg__ = 1
  9. 8 .section .rodata.str1.1,"aMS",@progbits,1
  10. 9 .LC0:
  11. 10 0000 5552 4F4D .string "UROM:"
  12. 10 3A00
  13. 11 .section .text.CreateFilePath,"ax",@progbits
  14. 12 .global CreateFilePath
  15. 13 .type CreateFilePath, @function
  16. 14 CreateFilePath:
  17. 15 0000 AF92 push r10
  18. 16 0002 BF92 push r11
  19. 17 0004 CF92 push r12
  20. 18 0006 DF92 push r13
  21. 19 0008 EF92 push r14
  22. 20 000a FF92 push r15
  23. 21 000c 0F93 push r16
  24. 22 000e 1F93 push r17
  25. 23 0010 CF93 push r28
  26. 24 0012 DF93 push r29
  27. 25 /* prologue: function */
  28. 26 /* frame size = 0 */
  29. 27 /* stack size = 10 */
  30. 28 .L__stack_usage = 10
  31. 29 0014 5C01 movw r10,r24
  32. 30 0016 7B01 movw r14,r22
  33. 31 0018 C090 0000 lds r12,http_root
  34. 32 001c D090 0000 lds r13,http_root+1
  35. 33 0020 C114 cp r12,__zero_reg__
  36. 34 0022 D104 cpc r13,__zero_reg__
  37. 35 0024 01F4 brne .L2
  38. 36 0026 80E0 ldi r24,lo8(.LC0)
  39. 37 0028 C82E mov r12,r24
  40. 38 002a 80E0 ldi r24,hi8(.LC0)
  41. 39 002c D82E mov r13,r24
  42. 40 .L2:
  43. 41 002e E501 movw r28,r10
  44. 42 0:
  45. 43 0030 0990 ld __tmp_reg__,Y+
  46. 44 0032 0020 tst __tmp_reg__
  47. 45 0034 01F4 brne 0b
  48. 46 0036 2197 sbiw r28,1
  49. 47 0038 CA19 sub r28,r10
  50. 48 003a DB09 sbc r29,r11
  51. 49 003c D601 movw r26,r12
  52. 50 0:
  53. 51 003e 0D90 ld __tmp_reg__,X+
  54. 52 0040 0020 tst __tmp_reg__
  55. 53 0042 01F4 brne 0b
  56. 54 0044 F701 movw r30,r14
  57. 55 0:
  58. 56 0046 0190 ld __tmp_reg__,Z+
  59. GAS LISTING /tmp/ccG8t015.s page 2
  60. 57 0048 0020 tst __tmp_reg__
  61. 58 004a 01F4 brne 0b
  62. 59 004c 3197 sbiw r30,1
  63. 60 004e EE19 sub r30,r14
  64. 61 0050 FF09 sbc r31,r15
  65. 62 0052 CE01 movw r24,r28
  66. 63 0054 8C19 sub r24,r12
  67. 64 0056 9D09 sbc r25,r13
  68. 65 0058 8A0F add r24,r26
  69. 66 005a 9B1F adc r25,r27
  70. 67 005c 8E0F add r24,r30
  71. 68 005e 9F1F adc r25,r31
  72. 69 0060 0E94 0000 call malloc
  73. 70 0064 8C01 movw r16,r24
  74. 71 0066 0097 sbiw r24,0
  75. 72 0068 01F0 breq .L4
  76. 73 006a B601 movw r22,r12
  77. 74 006c 0E94 0000 call strcpy
  78. 75 0070 B501 movw r22,r10
  79. 76 0072 C801 movw r24,r16
  80. 77 0074 0E94 0000 call strcat
  81. 78 0078 F701 movw r30,r14
  82. 79 007a 8081 ld r24,Z
  83. 80 007c 8823 tst r24
  84. 81 007e 01F0 breq .L4
  85. 82 0080 2097 sbiw r28,0
  86. 83 0082 01F0 breq .L9
  87. 84 0084 CA0D add r28,r10
  88. 85 0086 DB1D adc r29,r11
  89. 86 0088 2197 sbiw r28,1
  90. 87 008a 91E0 ldi r25,lo8(1)
  91. 88 008c 80E0 ldi r24,0
  92. 89 008e 2881 ld r18,Y
  93. 90 0090 2F32 cpi r18,lo8(47)
  94. 91 0092 01F0 breq .L7
  95. 92 0094 90E0 ldi r25,0
  96. 93 .L7:
  97. 94 0096 692F mov r22,r25
  98. 95 0098 782F mov r23,r24
  99. 96 009a 00C0 rjmp .L6
  100. 97 .L9:
  101. 98 009c 61E0 ldi r22,lo8(1)
  102. 99 009e 70E0 ldi r23,0
  103. 100 .L6:
  104. 101 00a0 6E0D add r22,r14
  105. 102 00a2 7F1D adc r23,r15
  106. 103 00a4 C801 movw r24,r16
  107. 104 00a6 0E94 0000 call strcat
  108. 105 .L4:
  109. 106 00aa C801 movw r24,r16
  110. 107 /* epilogue start */
  111. 108 00ac DF91 pop r29
  112. 109 00ae CF91 pop r28
  113. 110 00b0 1F91 pop r17
  114. 111 00b2 0F91 pop r16
  115. 112 00b4 FF90 pop r15
  116. 113 00b6 EF90 pop r14
  117. GAS LISTING /tmp/ccG8t015.s page 3
  118. 114 00b8 DF90 pop r13
  119. 115 00ba CF90 pop r12
  120. 116 00bc BF90 pop r11
  121. 117 00be AF90 pop r10
  122. 118 00c0 0895 ret
  123. 119 .size CreateFilePath, .-CreateFilePath
  124. 120 .section .text.DestroyRequestInfo,"ax",@progbits
  125. 121 .global DestroyRequestInfo
  126. 122 .type DestroyRequestInfo, @function
  127. 123 DestroyRequestInfo:
  128. 124 0000 CF93 push r28
  129. 125 0002 DF93 push r29
  130. 126 /* prologue: function */
  131. 127 /* frame size = 0 */
  132. 128 /* stack size = 2 */
  133. 129 .L__stack_usage = 2
  134. 130 0004 EC01 movw r28,r24
  135. 131 0006 892B or r24,r25
  136. 132 0008 01F4 brne .+2
  137. 133 000a 00C0 rjmp .L17
  138. 134 000c 8885 ldd r24,Y+8
  139. 135 000e 9985 ldd r25,Y+9
  140. 136 0010 0097 sbiw r24,0
  141. 137 0012 01F0 breq .L19
  142. 138 0014 0E94 0000 call free
  143. 139 .L19:
  144. 140 0018 8A85 ldd r24,Y+10
  145. 141 001a 9B85 ldd r25,Y+11
  146. 142 001c 0097 sbiw r24,0
  147. 143 001e 01F0 breq .L20
  148. 144 0020 0E94 0000 call free
  149. 145 .L20:
  150. 146 0024 8C85 ldd r24,Y+12
  151. 147 0026 9D85 ldd r25,Y+13
  152. 148 0028 0097 sbiw r24,0
  153. 149 002a 01F0 breq .L21
  154. 150 002c 0E94 0000 call free
  155. 151 .L21:
  156. 152 0030 8E85 ldd r24,Y+14
  157. 153 0032 9F85 ldd r25,Y+15
  158. 154 0034 0097 sbiw r24,0
  159. 155 0036 01F0 breq .L22
  160. 156 0038 0E94 0000 call free
  161. 157 .L22:
  162. 158 003c 8889 ldd r24,Y+16
  163. 159 003e 9989 ldd r25,Y+17
  164. 160 0040 0097 sbiw r24,0
  165. 161 0042 01F0 breq .L23
  166. 162 0044 0E94 0000 call free
  167. 163 .L23:
  168. 164 0048 8A89 ldd r24,Y+18
  169. 165 004a 9B89 ldd r25,Y+19
  170. 166 004c 0097 sbiw r24,0
  171. 167 004e 01F0 breq .L24
  172. 168 0050 0E94 0000 call free
  173. 169 .L24:
  174. 170 0054 8C89 ldd r24,Y+20
  175. GAS LISTING /tmp/ccG8t015.s page 4
  176. 171 0056 9D89 ldd r25,Y+21
  177. 172 0058 0097 sbiw r24,0
  178. 173 005a 01F0 breq .L25
  179. 174 005c 0E94 0000 call free
  180. 175 .L25:
  181. 176 0060 8C8D ldd r24,Y+28
  182. 177 0062 9D8D ldd r25,Y+29
  183. 178 0064 0097 sbiw r24,0
  184. 179 0066 01F0 breq .L26
  185. 180 0068 0E94 0000 call free
  186. 181 .L26:
  187. 182 006c 8E8D ldd r24,Y+30
  188. 183 006e 9F8D ldd r25,Y+31
  189. 184 0070 0097 sbiw r24,0
  190. 185 0072 01F0 breq .L27
  191. 186 0074 0E94 0000 call free
  192. 187 .L27:
  193. 188 0078 8AA1 ldd r24,Y+34
  194. 189 007a 9BA1 ldd r25,Y+35
  195. 190 007c 0097 sbiw r24,0
  196. 191 007e 01F0 breq .L28
  197. 192 0080 0E94 0000 call free
  198. 193 .L28:
  199. 194 0084 CE01 movw r24,r28
  200. 195 /* epilogue start */
  201. 196 0086 DF91 pop r29
  202. 197 0088 CF91 pop r28
  203. 198 008a 0C94 0000 jmp free
  204. 199 .L17:
  205. 200 /* epilogue start */
  206. 201 008e DF91 pop r29
  207. 202 0090 CF91 pop r28
  208. 203 0092 0895 ret
  209. 204 .size DestroyRequestInfo, .-DestroyRequestInfo
  210. 205 .global default_files
  211. 206 .section .rodata.str1.1
  212. 207 .LC1:
  213. 208 0006 00 .string ""
  214. 209 .LC2:
  215. 210 0007 2F69 6E64 .string "/index.html"
  216. 210 6578 2E68
  217. 210 746D 6C00
  218. 211 .LC3:
  219. 212 0013 2F69 6E64 .string "/index.htm"
  220. 212 6578 2E68
  221. 212 746D 00
  222. 213 .LC4:
  223. 214 001e 2F64 6566 .string "/default.html"
  224. 214 6175 6C74
  225. 214 2E68 746D
  226. 214 6C00
  227. 215 .LC5:
  228. 216 002c 2F64 6566 .string "/default.htm"
  229. 216 6175 6C74
  230. 216 2E68 746D
  231. 216 00
  232. 217 .LC6:
  233. GAS LISTING /tmp/ccG8t015.s page 5
  234. 218 0039 2F69 6E64 .string "/index.shtml"
  235. 218 6578 2E73
  236. 218 6874 6D6C
  237. 218 00
  238. 219 .LC7:
  239. 220 0046 2F69 6E64 .string "/index.xhtml"
  240. 220 6578 2E78
  241. 220 6874 6D6C
  242. 220 00
  243. 221 .LC8:
  244. 222 0053 2F69 6E64 .string "/index.asp"
  245. 222 6578 2E61
  246. 222 7370 00
  247. 223 .LC9:
  248. 224 005e 2F64 6566 .string "/default.asp"
  249. 224 6175 6C74
  250. 224 2E61 7370
  251. 224 00
  252. 225 .data
  253. 226 .type default_files, @object
  254. 227 .size default_files, 20
  255. 228 default_files:
  256. 229 0000 0000 .word .LC1
  257. 230 0002 0000 .word .LC2
  258. 231 0004 0000 .word .LC3
  259. 232 0006 0000 .word .LC4
  260. 233 0008 0000 .word .LC5
  261. 234 000a 0000 .word .LC6
  262. 235 000c 0000 .word .LC7
  263. 236 000e 0000 .word .LC8
  264. 237 0010 0000 .word .LC9
  265. 238 0012 0000 .word 0
  266. 239 .comm http_root,2,1
  267. 240 .ident "GCC: (GNU) 5.3.0"
  268. 241 .global __do_copy_data
  269. 242 .global __do_clear_bss
  270. GAS LISTING /tmp/ccG8t015.s page 6
  271. DEFINED SYMBOLS
  272. *ABS*:0000000000000000 httpd_p.c
  273. /tmp/ccG8t015.s:2 *ABS*:000000000000003e __SP_H__
  274. /tmp/ccG8t015.s:3 *ABS*:000000000000003d __SP_L__
  275. /tmp/ccG8t015.s:4 *ABS*:000000000000003f __SREG__
  276. /tmp/ccG8t015.s:5 *ABS*:000000000000003b __RAMPZ__
  277. /tmp/ccG8t015.s:6 *ABS*:0000000000000000 __tmp_reg__
  278. /tmp/ccG8t015.s:7 *ABS*:0000000000000001 __zero_reg__
  279. /tmp/ccG8t015.s:14 .text.CreateFilePath:0000000000000000 CreateFilePath
  280. *COM*:0000000000000002 http_root
  281. /tmp/ccG8t015.s:123 .text.DestroyRequestInfo:0000000000000000 DestroyRequestInfo
  282. /tmp/ccG8t015.s:228 .data:0000000000000000 default_files
  283. UNDEFINED SYMBOLS
  284. malloc
  285. strcpy
  286. strcat
  287. free
  288. __do_copy_data
  289. __do_clear_bss