Guest User

Untitled

a guest
Feb 11th, 2012
175
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     .cpu arm7tdmi
  2.     .fpu softvfp
  3.     .eabi_attribute 20, 1
  4.     .eabi_attribute 21, 1
  5.     .eabi_attribute 23, 3
  6.     .eabi_attribute 24, 1
  7.     .eabi_attribute 25, 1
  8.     .eabi_attribute 26, 1
  9.     .eabi_attribute 30, 6
  10.     .eabi_attribute 18, 4
  11.     .file   "struct_test.c"
  12.     .bss
  13.     .align  2
  14. _syscallvar_savedlr:
  15.     .space  4
  16.     .text
  17.     .align  2
  18.     .type   _show_msgbox_2b_swi, %function
  19. _show_msgbox_2b_swi:
  20.     @ Function supports interworking.
  21.     @ Naked Function: prologue and epilogue provided by programmer.
  22.     @ args = 0, pretend = 0, frame = 0
  23.     @ frame_needed = 1, uses_anonymous_args = 0
  24. @ 207 "c:/Users/Hoffa/Tools/ndless-v3.1-beta-r526/sdk/bin/../include/os.h" 1
  25.      push {r4, r5}
  26.  ldr r4, 1f
  27.  ldr r5, 1f+4
  28. 0: 
  29.  add r4, pc, r4
  30.  ldr r4, [r4, r5]
  31.  b 2f
  32.  .align 2
  33. 1:
  34.  .long _GLOBAL_OFFSET_TABLE_ - (0b+8)
  35.  .long _syscallvar_savedlr(GOT)
  36. 2:
  37.  str lr, [r4]
  38.  pop {r4, r5}
  39.  swi 93
  40.  ldr r1, 1f
  41.  ldr r2, 1f+4
  42. 0: 
  43.  add r1, pc, r1
  44.  ldr r1, [r1, r2]
  45.  b 2f
  46.  .align 2
  47. 1:
  48.  .long _GLOBAL_OFFSET_TABLE_ - (0b+8)
  49.  .long _syscallvar_savedlr(GOT)
  50. 2:
  51.  ldr pc, [r1]
  52.  
  53. @ 0 "" 2
  54.     mov r3, r0
  55.     mov r0, r3
  56.     .size   _show_msgbox_2b_swi, .-_show_msgbox_2b_swi
  57.     .align  2
  58.     .type   _show_msgbox_3b_swi, %function
  59. _show_msgbox_3b_swi:
  60.     @ Function supports interworking.
  61.     @ Naked Function: prologue and epilogue provided by programmer.
  62.     @ args = 0, pretend = 0, frame = 0
  63.     @ frame_needed = 1, uses_anonymous_args = 0
  64. @ 208 "c:/Users/Hoffa/Tools/ndless-v3.1-beta-r526/sdk/bin/../include/os.h" 1
  65.      push {r4, r5}
  66.  ldr r4, 1f
  67.  ldr r5, 1f+4
  68. 0: 
  69.  add r4, pc, r4
  70.  ldr r4, [r4, r5]
  71.  b 2f
  72.  .align 2
  73. 1:
  74.  .long _GLOBAL_OFFSET_TABLE_ - (0b+8)
  75.  .long _syscallvar_savedlr(GOT)
  76. 2:
  77.  str lr, [r4]
  78.  pop {r4, r5}
  79.  swi 94
  80.  ldr r1, 1f
  81.  ldr r2, 1f+4
  82. 0: 
  83.  add r1, pc, r1
  84.  ldr r1, [r1, r2]
  85.  b 2f
  86.  .align 2
  87. 1:
  88.  .long _GLOBAL_OFFSET_TABLE_ - (0b+8)
  89.  .long _syscallvar_savedlr(GOT)
  90. 2:
  91.  ldr pc, [r1]
  92.  
  93. @ 0 "" 2
  94.     mov r3, r0
  95.     mov r0, r3
  96.     .size   _show_msgbox_3b_swi, .-_show_msgbox_3b_swi
  97.     .align  2
  98.     .type   printf, %function
  99. printf:
  100.     @ Function supports interworking.
  101.     @ Naked Function: prologue and epilogue provided by programmer.
  102.     @ args = 4, pretend = 16, frame = 0
  103.     @ frame_needed = 1, uses_anonymous_args = 1
  104. @ 257 "c:/Users/Hoffa/Tools/ndless-v3.1-beta-r526/sdk/bin/../include/os.h" 1
  105.      push {r4, r5}
  106.  ldr r4, 1f
  107.  ldr r5, 1f+4
  108. 0: 
  109.  add r4, pc, r4
  110.  ldr r4, [r4, r5]
  111.  b 2f
  112.  .align 2
  113. 1:
  114.  .long _GLOBAL_OFFSET_TABLE_ - (0b+8)
  115.  .long _syscallvar_savedlr(GOT)
  116. 2:
  117.  str lr, [r4]
  118.  pop {r4, r5}
  119.  swi 10
  120.  ldr r1, 1f
  121.  ldr r2, 1f+4
  122. 0: 
  123.  add r1, pc, r1
  124.  ldr r1, [r1, r2]
  125.  b 2f
  126.  .align 2
  127. 1:
  128.  .long _GLOBAL_OFFSET_TABLE_ - (0b+8)
  129.  .long _syscallvar_savedlr(GOT)
  130. 2:
  131.  ldr pc, [r1]
  132.  
  133. @ 0 "" 2
  134.     mov r3, r0
  135.     mov r0, r3
  136.     .size   printf, .-printf
  137.     .align  2
  138.     .type   sprintf, %function
  139. sprintf:
  140.     @ Function supports interworking.
  141.     @ Naked Function: prologue and epilogue provided by programmer.
  142.     @ args = 4, pretend = 12, frame = 0
  143.     @ frame_needed = 1, uses_anonymous_args = 1
  144. @ 258 "c:/Users/Hoffa/Tools/ndless-v3.1-beta-r526/sdk/bin/../include/os.h" 1
  145.      push {r4, r5}
  146.  ldr r4, 1f
  147.  ldr r5, 1f+4
  148. 0: 
  149.  add r4, pc, r4
  150.  ldr r4, [r4, r5]
  151.  b 2f
  152.  .align 2
  153. 1:
  154.  .long _GLOBAL_OFFSET_TABLE_ - (0b+8)
  155.  .long _syscallvar_savedlr(GOT)
  156. 2:
  157.  str lr, [r4]
  158.  pop {r4, r5}
  159.  swi 11
  160.  ldr r1, 1f
  161.  ldr r2, 1f+4
  162. 0: 
  163.  add r1, pc, r1
  164.  ldr r1, [r1, r2]
  165.  b 2f
  166.  .align 2
  167. 1:
  168.  .long _GLOBAL_OFFSET_TABLE_ - (0b+8)
  169.  .long _syscallvar_savedlr(GOT)
  170. 2:
  171.  ldr pc, [r1]
  172.  
  173. @ 0 "" 2
  174.     mov r3, r0
  175.     mov r0, r3
  176.     .size   sprintf, .-sprintf
  177.     .align  2
  178.     .type   fprintf, %function
  179. fprintf:
  180.     @ Function supports interworking.
  181.     @ Naked Function: prologue and epilogue provided by programmer.
  182.     @ args = 4, pretend = 12, frame = 0
  183.     @ frame_needed = 1, uses_anonymous_args = 1
  184. @ 259 "c:/Users/Hoffa/Tools/ndless-v3.1-beta-r526/sdk/bin/../include/os.h" 1
  185.      push {r4, r5}
  186.  ldr r4, 1f
  187.  ldr r5, 1f+4
  188. 0: 
  189.  add r4, pc, r4
  190.  ldr r4, [r4, r5]
  191.  b 2f
  192.  .align 2
  193. 1:
  194.  .long _GLOBAL_OFFSET_TABLE_ - (0b+8)
  195.  .long _syscallvar_savedlr(GOT)
  196. 2:
  197.  str lr, [r4]
  198.  pop {r4, r5}
  199.  swi 12
  200.  ldr r1, 1f
  201.  ldr r2, 1f+4
  202. 0: 
  203.  add r1, pc, r1
  204.  ldr r1, [r1, r2]
  205.  b 2f
  206.  .align 2
  207. 1:
  208.  .long _GLOBAL_OFFSET_TABLE_ - (0b+8)
  209.  .long _syscallvar_savedlr(GOT)
  210. 2:
  211.  ldr pc, [r1]
  212.  
  213. @ 0 "" 2
  214.     mov r3, r0
  215.     mov r0, r3
  216.     .size   fprintf, .-fprintf
  217.     .align  2
  218.     .type   deflateInit2__swi, %function
  219. deflateInit2__swi:
  220.     @ Function supports interworking.
  221.     @ Naked Function: prologue and epilogue provided by programmer.
  222.     @ args = 0, pretend = 0, frame = 0
  223.     @ frame_needed = 1, uses_anonymous_args = 0
  224. @ 374 "c:/Users/Hoffa/Tools/ndless-v3.1-beta-r526/sdk/bin/../include/os.h" 1
  225.      push {r4, r5}
  226.  ldr r4, 1f
  227.  ldr r5, 1f+4
  228. 0: 
  229.  add r4, pc, r4
  230.  ldr r4, [r4, r5]
  231.  b 2f
  232.  .align 2
  233. 1:
  234.  .long _GLOBAL_OFFSET_TABLE_ - (0b+8)
  235.  .long _syscallvar_savedlr(GOT)
  236. 2:
  237.  str lr, [r4]
  238.  pop {r4, r5}
  239.  swi 82
  240.  ldr r1, 1f
  241.  ldr r2, 1f+4
  242. 0: 
  243.  add r1, pc, r1
  244.  ldr r1, [r1, r2]
  245.  b 2f
  246.  .align 2
  247. 1:
  248.  .long _GLOBAL_OFFSET_TABLE_ - (0b+8)
  249.  .long _syscallvar_savedlr(GOT)
  250. 2:
  251.  ldr pc, [r1]
  252.  
  253. @ 0 "" 2
  254.     mov r3, r0
  255.     mov r0, r3
  256.     .size   deflateInit2__swi, .-deflateInit2__swi
  257.     .align  2
  258.     .type   exit, %function
  259. exit:
  260.     @ Function supports interworking.
  261.     @ Naked Function: prologue and epilogue provided by programmer.
  262.     @ args = 0, pretend = 0, frame = 0
  263.     @ frame_needed = 1, uses_anonymous_args = 0
  264.     ldr r3, .L8
  265. .LPIC0:
  266.     add r3, pc, r3
  267.     ldr r2, .L8+4
  268.     ldr r2, [r3, r2]
  269.     ldr r2, [r2, #0]
  270.     ldr r1, .L8+8
  271.     ldr r3, [r3, r1]
  272. @ 399 "c:/Users/Hoffa/Tools/ndless-v3.1-beta-r526/sdk/bin/../include/os.h" 1
  273.      mov sp, r2
  274.  mov pc, r3
  275. @ 0 "" 2
  276. .L9:
  277.     .align  2
  278. .L8:
  279.     .word   _GLOBAL_OFFSET_TABLE_-(.LPIC0+8)
  280.     .word   __crt0_savedsp(GOT)
  281.     .word   __crt0exit(GOT)
  282.     .size   exit, .-exit
  283.     .align  2
  284.     .type   abort, %function
  285. abort:
  286.     @ Function supports interworking.
  287.     @ args = 0, pretend = 0, frame = 0
  288.     @ frame_needed = 1, uses_anonymous_args = 0
  289.     stmfd   sp!, {fp, lr}
  290.     add fp, sp, #4
  291.     mvn r0, #0
  292.     bl  exit(PLT)
  293.     .size   abort, .-abort
  294.     .section    .rodata
  295.     .align  2
  296. .LC3:
  297.     .ascii  "foobar\000"
  298.     .align  2
  299. .LC4:
  300.     .ascii  "test1.s: %s\012\000"
  301.     .align  2
  302. .LC5:
  303.     .ascii  "test2.s1: %s\012\000"
  304.     .align  2
  305. .LC6:
  306.     .ascii  "test2.s2: %s\012\000"
  307.     .align  2
  308. .LC0:
  309.     .ascii  "foo\000"
  310.     .align  2
  311. .LC1:
  312.     .ascii  "bar\000"
  313.     .data
  314.     .align  2
  315. .LC2:
  316.     .word   .LC0
  317.     .word   .LC1
  318.     .text
  319.     .align  2
  320.     .global main
  321.     .type   main, %function
  322. main:
  323.     @ Function supports interworking.
  324.     @ args = 0, pretend = 0, frame = 16
  325.     @ frame_needed = 1, uses_anonymous_args = 0
  326.     stmfd   sp!, {fp, lr}
  327.     add fp, sp, #4
  328.     sub sp, sp, #16
  329.     ldr r3, .L12
  330. .LPIC1:
  331.     add r3, pc, r3
  332.     str r3, [fp, #-8]
  333.     ldr r3, .L12+4
  334. .LPIC2:
  335.     add r3, pc, r3
  336.     sub r2, fp, #16
  337.     ldmia   r3, {r0, r1}
  338.     stmia   r2, {r0, r1}
  339.     ldr r2, [fp, #-8]
  340.     ldr r3, .L12+8
  341. .LPIC3:
  342.     add r3, pc, r3
  343.     mov r0, r3
  344.     mov r1, r2
  345.     bl  printf(PLT)
  346.     ldr r2, [fp, #-16]
  347.     ldr r3, .L12+12
  348. .LPIC4:
  349.     add r3, pc, r3
  350.     mov r0, r3
  351.     mov r1, r2
  352.     bl  printf(PLT)
  353.     ldr r2, [fp, #-12]
  354.     ldr r3, .L12+16
  355. .LPIC5:
  356.     add r3, pc, r3
  357.     mov r0, r3
  358.     mov r1, r2
  359.     bl  printf(PLT)
  360.     mov r3, #0
  361.     mov r0, r3
  362.     sub sp, fp, #4
  363.     ldmfd   sp!, {fp, lr}
  364.     bx  lr
  365. .L13:
  366.     .align  2
  367. .L12:
  368.     .word   .LC3-(.LPIC1+8)
  369.     .word   .LC2-(.LPIC2+8)
  370.     .word   .LC4-(.LPIC3+8)
  371.     .word   .LC5-(.LPIC4+8)
  372.     .word   .LC6-(.LPIC5+8)
  373.     .size   main, .-main
  374.     .ident  "GCC: (GNU) 4.6.2"
RAW Paste Data