dllprt.as 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. .file "dllprt.cpp"
  2. .text
  3. .p2align 2
  4. .globl _._7FPC_DLL
  5. .type _._7FPC_DLL,@function
  6. _._7FPC_DLL:
  7. .LFB1:
  8. pushl %ebp
  9. .LCFI0:
  10. movl %esp,%ebp
  11. .LCFI1:
  12. pushl %esi
  13. .LCFI2:
  14. pushl %ebx
  15. .LCFI3:
  16. call .L7
  17. .L7:
  18. popl %ebx
  19. addl $_GLOBAL_OFFSET_TABLE_+[.-.L7],%ebx
  20. movl 8(%ebp),%esi
  21. .L3:
  22. movl 12(%ebp),%eax
  23. andl $1,%eax
  24. testl %eax,%eax
  25. je .L5
  26. pushl %esi
  27. .LCFI4:
  28. call __builtin_delete@PLT
  29. addl $4,%esp
  30. jmp .L5
  31. .p2align 4,,7
  32. .L4:
  33. .L5:
  34. .L2:
  35. leal -8(%ebp),%esp
  36. popl %ebx
  37. popl %esi
  38. movl %ebp,%esp
  39. popl %ebp
  40. ret
  41. .LFE1:
  42. .Lfe1:
  43. .size _._7FPC_DLL,.Lfe1-_._7FPC_DLL
  44. .section .rodata
  45. .LC0:
  46. .string "dll"
  47. .data
  48. .align 4
  49. .type _argv,@object
  50. .size _argv,8
  51. _argv:
  52. .long .LC0
  53. .long 0
  54. .align 4
  55. .type _envp,@object
  56. .size _envp,4
  57. _envp:
  58. .long 0
  59. .text
  60. .p2align 2
  61. .globl __7FPC_DLL
  62. .type __7FPC_DLL,@function
  63. __7FPC_DLL:
  64. .LFB2:
  65. pushl %ebp
  66. .LCFI5:
  67. movl %esp,%ebp
  68. .LCFI6:
  69. pushl %ebx
  70. .LCFI7:
  71. call .L11
  72. .L11:
  73. popl %ebx
  74. addl $_GLOBAL_OFFSET_TABLE_+[.-.L11],%ebx
  75. movl operatingsystem_parameter_argc@GOT(%ebx),%eax
  76. movl $0,(%eax)
  77. movl operatingsystem_parameter_argv@GOT(%ebx),%eax
  78. movl %ebx,%ecx
  79. addl $_argv@GOTOFF,%ecx
  80. movl %ecx,%edx
  81. movl %edx,(%eax)
  82. movl operatingsystem_parameter_envp@GOT(%ebx),%eax
  83. movl %ebx,%ecx
  84. addl $_envp@GOTOFF,%ecx
  85. movl %ecx,%edx
  86. movl %edx,(%eax)
  87. call PASCALMAIN__Fv@PLT
  88. .L9:
  89. movl 8(%ebp),%eax
  90. jmp .L8
  91. .L8:
  92. movl -4(%ebp),%ebx
  93. movl %ebp,%esp
  94. popl %ebp
  95. ret
  96. .LFE2:
  97. .Lfe2:
  98. .size __7FPC_DLL,.Lfe2-__7FPC_DLL
  99. .section .eh_frame,"aw",@progbits
  100. __FRAME_BEGIN__:
  101. .4byte .LLCIE1
  102. .LSCIE1:
  103. .4byte 0x0
  104. .byte 0x1
  105. .byte 0x0
  106. .byte 0x1
  107. .byte 0x7c
  108. .byte 0x8
  109. .byte 0xc
  110. .byte 0x4
  111. .byte 0x4
  112. .byte 0x88
  113. .byte 0x1
  114. .align 4
  115. .LECIE1:
  116. .set .LLCIE1,.LECIE1-.LSCIE1
  117. .4byte .LLFDE1
  118. .LSFDE1:
  119. .4byte .LSFDE1-__FRAME_BEGIN__
  120. .4byte .LFB1
  121. .4byte .LFE1-.LFB1
  122. .byte 0x4
  123. .4byte .LCFI0-.LFB1
  124. .byte 0xe
  125. .byte 0x8
  126. .byte 0x85
  127. .byte 0x2
  128. .byte 0x4
  129. .4byte .LCFI1-.LCFI0
  130. .byte 0xd
  131. .byte 0x5
  132. .byte 0x4
  133. .4byte .LCFI2-.LCFI1
  134. .byte 0x86
  135. .byte 0x3
  136. .byte 0x4
  137. .4byte .LCFI3-.LCFI2
  138. .byte 0x83
  139. .byte 0x4
  140. .byte 0x4
  141. .4byte .LCFI4-.LCFI3
  142. .byte 0x2e
  143. .byte 0x4
  144. .align 4
  145. .LEFDE1:
  146. .set .LLFDE1,.LEFDE1-.LSFDE1
  147. .4byte .LLFDE3
  148. .LSFDE3:
  149. .4byte .LSFDE3-__FRAME_BEGIN__
  150. .4byte .LFB2
  151. .4byte .LFE2-.LFB2
  152. .byte 0x4
  153. .4byte .LCFI5-.LFB2
  154. .byte 0xe
  155. .byte 0x8
  156. .byte 0x85
  157. .byte 0x2
  158. .byte 0x4
  159. .4byte .LCFI6-.LCFI5
  160. .byte 0xd
  161. .byte 0x5
  162. .byte 0x4
  163. .4byte .LCFI7-.LCFI6
  164. .byte 0x83
  165. .byte 0x3
  166. .align 4
  167. .LEFDE3:
  168. .set .LLFDE3,.LEFDE3-.LSFDE3
  169. .ident "GCC: (GNU) 2.9-beos-991026"