Advertisement
Guest User

Untitled

a guest
Feb 28th, 2012
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.82 KB | None | 0 0
  1. .file "test.cpp"
  2. .section .ctors,"aw",@progbits
  3. .align 8
  4. .quad _GLOBAL__I_main
  5. .text
  6. .align 2
  7. .globl _Z3fooi
  8. .type _Z3fooi, @function
  9. _Z3fooi:
  10. .LFB1406:
  11. pushq %rbp
  12. .LCFI0:
  13. movq %rsp, %rbp
  14. .LCFI1:
  15. movl %edi, -20(%rbp)
  16. movl $0, -4(%rbp)
  17. jmp .L2
  18. .L3:
  19. addl $1, -20(%rbp)
  20. addl $1, -4(%rbp)
  21. .L2:
  22. cmpl $999999999, -4(%rbp)
  23. jle .L3
  24. leave
  25. ret
  26. .LFE1406:
  27. .size _Z3fooi, .-_Z3fooi
  28. .globl __gxx_personality_v0
  29. .align 2
  30. .globl _Z3bari
  31. .type _Z3bari, @function
  32. _Z3bari:
  33. .LFB1405:
  34. pushq %rbp
  35. .LCFI2:
  36. movq %rsp, %rbp
  37. .LCFI3:
  38. subq $24, %rsp
  39. .LCFI4:
  40. movl %edi, -20(%rbp)
  41. movl $0, -8(%rbp)
  42. cmpl $0, -20(%rbp)
  43. jne .L7
  44. movl $0, -4(%rbp)
  45. jmp .L9
  46. .L10:
  47. addl $1, -8(%rbp)
  48. addl $1, -4(%rbp)
  49. .L9:
  50. cmpl $999999999, -4(%rbp)
  51. jle .L10
  52. jmp .L14
  53. .L7:
  54. cmpl $1, -20(%rbp)
  55. jne .L14
  56. movl -8(%rbp), %edi
  57. call _Z3fooi
  58. .L14:
  59. leave
  60. ret
  61. .LFE1405:
  62. .size _Z3bari, .-_Z3bari
  63. .align 2
  64. .globl main
  65. .type main, @function
  66. main:
  67. .LFB1404:
  68. pushq %rbp
  69. .LCFI5:
  70. movq %rsp, %rbp
  71. .LCFI6:
  72. subq $8, %rsp
  73. .LCFI7:
  74. movl %edi, -4(%rbp)
  75. movl $1, %edi
  76. call _Z3bari
  77. movl $0, %edi
  78. call _Z3bari
  79. movl $0, %eax
  80. leave
  81. ret
  82. .LFE1404:
  83. .size main, .-main
  84. .align 2
  85. .type _Z41__static_initialization_and_destruction_0ii, @function
  86. _Z41__static_initialization_and_destruction_0ii:
  87. .LFB1413:
  88. pushq %rbp
  89. .LCFI8:
  90. movq %rsp, %rbp
  91. .LCFI9:
  92. subq $16, %rsp
  93. .LCFI10:
  94. movl %edi, -4(%rbp)
  95. movl %esi, -8(%rbp)
  96. cmpl $1, -4(%rbp)
  97. jne .L21
  98. cmpl $65535, -8(%rbp)
  99. jne .L21
  100. movl $_ZSt8__ioinit, %edi
  101. call _ZNSt8ios_base4InitC1Ev
  102. movl $__dso_handle, %edx
  103. movl $0, %esi
  104. movl $__tcf_0, %edi
  105. call __cxa_atexit
  106. .L21:
  107. leave
  108. ret
  109. .LFE1413:
  110. .size _Z41__static_initialization_and_destruction_0ii, .-_Z41__static_initialization_and_destruction_0ii
  111. .align 2
  112. .type _GLOBAL__I_main, @function
  113. _GLOBAL__I_main:
  114. .LFB1415:
  115. pushq %rbp
  116. .LCFI11:
  117. movq %rsp, %rbp
  118. .LCFI12:
  119. movl $65535, %esi
  120. movl $1, %edi
  121. call _Z41__static_initialization_and_destruction_0ii
  122. leave
  123. ret
  124. .LFE1415:
  125. .size _GLOBAL__I_main, .-_GLOBAL__I_main
  126. .align 2
  127. .type __tcf_0, @function
  128. __tcf_0:
  129. .LFB1414:
  130. pushq %rbp
  131. .LCFI13:
  132. movq %rsp, %rbp
  133. .LCFI14:
  134. subq $16, %rsp
  135. .LCFI15:
  136. movq %rdi, -8(%rbp)
  137. movl $_ZSt8__ioinit, %edi
  138. call _ZNSt8ios_base4InitD1Ev
  139. leave
  140. ret
  141. .LFE1414:
  142. .size __tcf_0, .-__tcf_0
  143. .local _ZSt8__ioinit
  144. .comm _ZSt8__ioinit,1,1
  145. .weakref _Z20__gthrw_pthread_oncePiPFvvE,pthread_once
  146. .weakref _Z27__gthrw_pthread_getspecificj,pthread_getspecific
  147. .weakref _Z27__gthrw_pthread_setspecificjPKv,pthread_setspecific
  148. .weakref _Z22__gthrw_pthread_createPmPK14pthread_attr_tPFPvS3_ES3_,pthread_create
  149. .weakref _Z22__gthrw_pthread_cancelm,pthread_cancel
  150. .weakref _Z26__gthrw_pthread_mutex_lockP15pthread_mutex_t,pthread_mutex_lock
  151. .weakref _Z29__gthrw_pthread_mutex_trylockP15pthread_mutex_t,pthread_mutex_trylock
  152. .weakref _Z28__gthrw_pthread_mutex_unlockP15pthread_mutex_t,pthread_mutex_unlock
  153. .weakref _Z26__gthrw_pthread_mutex_initP15pthread_mutex_tPK19pthread_mutexattr_t,pthread_mutex_init
  154. .weakref _Z30__gthrw_pthread_cond_broadcastP14pthread_cond_t,pthread_cond_broadcast
  155. .weakref _Z25__gthrw_pthread_cond_waitP14pthread_cond_tP15pthread_mutex_t,pthread_cond_wait
  156. .weakref _Z26__gthrw_pthread_key_createPjPFvPvE,pthread_key_create
  157. .weakref _Z26__gthrw_pthread_key_deletej,pthread_key_delete
  158. .weakref _Z30__gthrw_pthread_mutexattr_initP19pthread_mutexattr_t,pthread_mutexattr_init
  159. .weakref _Z33__gthrw_pthread_mutexattr_settypeP19pthread_mutexattr_ti,pthread_mutexattr_settype
  160. .weakref _Z33__gthrw_pthread_mutexattr_destroyP19pthread_mutexattr_t,pthread_mutexattr_destroy
  161. .section .eh_frame,"a",@progbits
  162. .Lframe1:
  163. .long .LECIE1-.LSCIE1
  164. .LSCIE1:
  165. .long 0x0
  166. .byte 0x1
  167. .string "zPR"
  168. .uleb128 0x1
  169. .sleb128 -8
  170. .byte 0x10
  171. .uleb128 0x6
  172. .byte 0x3
  173. .long __gxx_personality_v0
  174. .byte 0x3
  175. .byte 0xc
  176. .uleb128 0x7
  177. .uleb128 0x8
  178. .byte 0x90
  179. .uleb128 0x1
  180. .align 8
  181. .LECIE1:
  182. .LSFDE1:
  183. .long .LEFDE1-.LASFDE1
  184. .LASFDE1:
  185. .long .LASFDE1-.Lframe1
  186. .long .LFB1406
  187. .long .LFE1406-.LFB1406
  188. .uleb128 0x0
  189. .byte 0x4
  190. .long .LCFI0-.LFB1406
  191. .byte 0xe
  192. .uleb128 0x10
  193. .byte 0x86
  194. .uleb128 0x2
  195. .byte 0x4
  196. .long .LCFI1-.LCFI0
  197. .byte 0xd
  198. .uleb128 0x6
  199. .align 8
  200. .LEFDE1:
  201. .LSFDE3:
  202. .long .LEFDE3-.LASFDE3
  203. .LASFDE3:
  204. .long .LASFDE3-.Lframe1
  205. .long .LFB1405
  206. .long .LFE1405-.LFB1405
  207. .uleb128 0x0
  208. .byte 0x4
  209. .long .LCFI2-.LFB1405
  210. .byte 0xe
  211. .uleb128 0x10
  212. .byte 0x86
  213. .uleb128 0x2
  214. .byte 0x4
  215. .long .LCFI3-.LCFI2
  216. .byte 0xd
  217. .uleb128 0x6
  218. .align 8
  219. .LEFDE3:
  220. .LSFDE5:
  221. .long .LEFDE5-.LASFDE5
  222. .LASFDE5:
  223. .long .LASFDE5-.Lframe1
  224. .long .LFB1404
  225. .long .LFE1404-.LFB1404
  226. .uleb128 0x0
  227. .byte 0x4
  228. .long .LCFI5-.LFB1404
  229. .byte 0xe
  230. .uleb128 0x10
  231. .byte 0x86
  232. .uleb128 0x2
  233. .byte 0x4
  234. .long .LCFI6-.LCFI5
  235. .byte 0xd
  236. .uleb128 0x6
  237. .align 8
  238. .LEFDE5:
  239. .LSFDE7:
  240. .long .LEFDE7-.LASFDE7
  241. .LASFDE7:
  242. .long .LASFDE7-.Lframe1
  243. .long .LFB1413
  244. .long .LFE1413-.LFB1413
  245. .uleb128 0x0
  246. .byte 0x4
  247. .long .LCFI8-.LFB1413
  248. .byte 0xe
  249. .uleb128 0x10
  250. .byte 0x86
  251. .uleb128 0x2
  252. .byte 0x4
  253. .long .LCFI9-.LCFI8
  254. .byte 0xd
  255. .uleb128 0x6
  256. .align 8
  257. .LEFDE7:
  258. .LSFDE9:
  259. .long .LEFDE9-.LASFDE9
  260. .LASFDE9:
  261. .long .LASFDE9-.Lframe1
  262. .long .LFB1415
  263. .long .LFE1415-.LFB1415
  264. .uleb128 0x0
  265. .byte 0x4
  266. .long .LCFI11-.LFB1415
  267. .byte 0xe
  268. .uleb128 0x10
  269. .byte 0x86
  270. .uleb128 0x2
  271. .byte 0x4
  272. .long .LCFI12-.LCFI11
  273. .byte 0xd
  274. .uleb128 0x6
  275. .align 8
  276. .LEFDE9:
  277. .LSFDE11:
  278. .long .LEFDE11-.LASFDE11
  279. .LASFDE11:
  280. .long .LASFDE11-.Lframe1
  281. .long .LFB1414
  282. .long .LFE1414-.LFB1414
  283. .uleb128 0x0
  284. .byte 0x4
  285. .long .LCFI13-.LFB1414
  286. .byte 0xe
  287. .uleb128 0x10
  288. .byte 0x86
  289. .uleb128 0x2
  290. .byte 0x4
  291. .long .LCFI14-.LCFI13
  292. .byte 0xd
  293. .uleb128 0x6
  294. .align 8
  295. .LEFDE11:
  296. .ident "GCC: (GNU) 4.1.2 20080704 (Red Hat 4.1.2-51)"
  297. .section .note.GNU-stack,"",@progbits
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement