startup.c.016i.visibility 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. Marking local functions:
  2. Marking externally visible functions: init_data_bss
  3. Marking externally visible variables:
  4. Reclaiming functions:
  5. Reclaiming variables:
  6. Clearing address taken flags:
  7. Symbol table:
  8. __ZERO_TABLE/2 (__ZERO_TABLE) @05d5d048
  9. Type: variable
  10. Body removed by symtab_remove_unreachable_nodes
  11. Visibility: external public
  12. References:
  13. Referring: init_data_bss/0 (addr)
  14. Availability: not_available
  15. Varpool flags:
  16. __INIT_TABLE/1 (__INIT_TABLE) @05d5d000
  17. Type: variable
  18. Body removed by symtab_remove_unreachable_nodes
  19. Visibility: external public
  20. References:
  21. Referring: init_data_bss/0 (addr)
  22. Availability: not_available
  23. Varpool flags:
  24. init_data_bss/0 (init_data_bss) @05d42a80
  25. Type: function definition analyzed
  26. Visibility: externally_visible public
  27. References: __INIT_TABLE/1 (addr)__ZERO_TABLE/2 (addr)
  28. Referring:
  29. Availability: available
  30. Function flags: body optimize_size
  31. Called by:
  32. Calls:
  33. init_data_bss ()
  34. {
  35. const uint32 * zeroTable_Ptr;
  36. const uint32 * initTable_Ptr;
  37. uint32 j;
  38. uint32 i;
  39. uint32 size;
  40. uint32 len;
  41. uint8 * ram;
  42. const uint8 * rom;
  43. const struct Sys_ZeroLayoutType * zero_layout;
  44. const struct Sys_CopyLayoutType * copy_layout;
  45. <bb 2> :
  46. # DEBUG BEGIN_STMT
  47. # DEBUG BEGIN_STMT
  48. # DEBUG BEGIN_STMT
  49. # DEBUG BEGIN_STMT
  50. # DEBUG BEGIN_STMT
  51. len = 0;
  52. # DEBUG BEGIN_STMT
  53. size = 0;
  54. # DEBUG BEGIN_STMT
  55. i = 0;
  56. # DEBUG BEGIN_STMT
  57. j = 0;
  58. # DEBUG BEGIN_STMT
  59. initTable_Ptr = &__INIT_TABLE;
  60. # DEBUG BEGIN_STMT
  61. zeroTable_Ptr = &__ZERO_TABLE;
  62. # DEBUG BEGIN_STMT
  63. len = *initTable_Ptr;
  64. # DEBUG BEGIN_STMT
  65. initTable_Ptr = initTable_Ptr + 4;
  66. # DEBUG BEGIN_STMT
  67. copy_layout = initTable_Ptr;
  68. # DEBUG BEGIN_STMT
  69. i = 0;
  70. goto <bb 7>; [INV]
  71. <bb 3> :
  72. # DEBUG BEGIN_STMT
  73. _1 = i * 12;
  74. _2 = copy_layout + _1;
  75. rom = _2->rom_start;
  76. # DEBUG BEGIN_STMT
  77. _3 = i * 12;
  78. _4 = copy_layout + _3;
  79. ram = _4->ram_start;
  80. # DEBUG BEGIN_STMT
  81. _5 = i * 12;
  82. _6 = copy_layout + _5;
  83. _7 = _6->rom_end;
  84. _8 = (long unsigned int) _7;
  85. _9 = i * 12;
  86. _10 = copy_layout + _9;
  87. _11 = _10->rom_start;
  88. _12 = (long unsigned int) _11;
  89. size = _8 - _12;
  90. # DEBUG BEGIN_STMT
  91. j = 0;
  92. goto <bb 5>; [INV]
  93. <bb 4> :
  94. # DEBUG BEGIN_STMT
  95. _13 = rom + j;
  96. _14 = ram + j;
  97. _15 = *_13;
  98. *_14 = _15;
  99. # DEBUG BEGIN_STMT
  100. j = j + 1;
  101. <bb 5> :
  102. # DEBUG BEGIN_STMT
  103. if (j < size)
  104. goto <bb 4>; [INV]
  105. else
  106. goto <bb 6>; [INV]
  107. <bb 6> :
  108. # DEBUG BEGIN_STMT
  109. i = i + 1;
  110. <bb 7> :
  111. # DEBUG BEGIN_STMT
  112. if (i < len)
  113. goto <bb 3>; [INV]
  114. else
  115. goto <bb 8>; [INV]
  116. <bb 8> :
  117. # DEBUG BEGIN_STMT
  118. len = *zeroTable_Ptr;
  119. # DEBUG BEGIN_STMT
  120. zeroTable_Ptr = zeroTable_Ptr + 4;
  121. # DEBUG BEGIN_STMT
  122. zero_layout = zeroTable_Ptr;
  123. # DEBUG BEGIN_STMT
  124. i = 0;
  125. goto <bb 13>; [INV]
  126. <bb 9> :
  127. # DEBUG BEGIN_STMT
  128. _16 = i * 8;
  129. _17 = zero_layout + _16;
  130. ram = _17->ram_start;
  131. # DEBUG BEGIN_STMT
  132. _18 = i * 8;
  133. _19 = zero_layout + _18;
  134. _20 = _19->ram_end;
  135. _21 = (long unsigned int) _20;
  136. _22 = i * 8;
  137. _23 = zero_layout + _22;
  138. _24 = _23->ram_start;
  139. _25 = (long unsigned int) _24;
  140. size = _21 - _25;
  141. # DEBUG BEGIN_STMT
  142. j = 0;
  143. goto <bb 11>; [INV]
  144. <bb 10> :
  145. # DEBUG BEGIN_STMT
  146. _26 = ram + j;
  147. *_26 = 0;
  148. # DEBUG BEGIN_STMT
  149. j = j + 1;
  150. <bb 11> :
  151. # DEBUG BEGIN_STMT
  152. if (j < size)
  153. goto <bb 10>; [INV]
  154. else
  155. goto <bb 12>; [INV]
  156. <bb 12> :
  157. # DEBUG BEGIN_STMT
  158. i = i + 1;
  159. <bb 13> :
  160. # DEBUG BEGIN_STMT
  161. if (i < len)
  162. goto <bb 9>; [INV]
  163. else
  164. goto <bb 14>; [INV]
  165. <bb 14> :
  166. return;
  167. }