Advertisement
Guest User

Untitled

a guest
Oct 6th, 2015
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.98 KB | None | 0 0
  1. GNU ld (GNU Binutils) 2.19.1
  2. Supported emulations:
  3. i386pe
  4. using internal linker script:
  5. ==================================================
  6. /* Default linker script, for normal executables */
  7. OUTPUT_FORMAT(pei-i386)
  8. SEARCH_DIR("=/usr/local/lib"); SEARCH_DIR("=/lib"); SEARCH_DIR("=/usr/lib");
  9. SECTIONS
  10. {
  11. /* Make the virtual address and file offset synced if the alignment is
  12. lower than the target page size. */
  13. . = SIZEOF_HEADERS;
  14. . = ALIGN(__section_alignment__);
  15. .text __image_base__ + ( __section_alignment__ < 0x1000 ? . : __section_alignment__ ) :
  16. {
  17. *(.init)
  18. *(.text)
  19. *(SORT(.text$*))
  20. *(.glue_7t)
  21. *(.glue_7)
  22. ___CTOR_LIST__ = .; __CTOR_LIST__ = . ;
  23. LONG (-1);*(.ctors); *(.ctor); *(SORT(.ctors.*)); LONG (0);
  24. ___DTOR_LIST__ = .; __DTOR_LIST__ = . ;
  25. LONG (-1); *(.dtors); *(.dtor); *(SORT(.dtors.*)); LONG (0);
  26. *(.fini)
  27. /* ??? Why is .gcc_exc here? */
  28. *(.gcc_exc)
  29. PROVIDE (etext = .);
  30. *(.gcc_except_table)
  31. }
  32. /* The Cygwin32 library uses a section to avoid copying certain data
  33. on fork. This used to be named ".data". The linker used
  34. to include this between __data_start__ and __data_end__, but that
  35. breaks building the cygwin32 dll. Instead, we name the section
  36. ".data_cygwin_nocopy" and explictly include it after __data_end__. */
  37. .data BLOCK(__section_alignment__) :
  38. {
  39. __data_start__ = . ;
  40. *(.data)
  41. *(.data2)
  42. *(SORT(.data$*))
  43. *(.jcr)
  44. __data_end__ = . ;
  45. *(.data_cygwin_nocopy)
  46. }
  47. .rdata BLOCK(__section_alignment__) :
  48. {
  49. *(.rdata)
  50. *(SORT(.rdata$*))
  51. *(.eh_frame)
  52. ___RUNTIME_PSEUDO_RELOC_LIST__ = .;
  53. __RUNTIME_PSEUDO_RELOC_LIST__ = .;
  54. *(.rdata_runtime_pseudo_reloc)
  55. ___RUNTIME_PSEUDO_RELOC_LIST_END__ = .;
  56. __RUNTIME_PSEUDO_RELOC_LIST_END__ = .;
  57. }
  58. .pdata BLOCK(__section_alignment__) :
  59. {
  60. *(.pdata)
  61. }
  62. .bss BLOCK(__section_alignment__) :
  63. {
  64. __bss_start__ = . ;
  65. *(.bss)
  66. *(COMMON)
  67. __bss_end__ = . ;
  68. }
  69. .edata BLOCK(__section_alignment__) :
  70. {
  71. *(.edata)
  72. }
  73. /DISCARD/ :
  74. {
  75. *(.debug$S)
  76. *(.debug$T)
  77. *(.debug$F)
  78. *(.drectve)
  79. }
  80. .idata BLOCK(__section_alignment__) :
  81. {
  82. /* This cannot currently be handled with grouped sections.
  83. See pe.em:sort_sections. */
  84. SORT(*)(.idata$2)
  85. SORT(*)(.idata$3)
  86. /* These zeroes mark the end of the import list. */
  87. LONG (0); LONG (0); LONG (0); LONG (0); LONG (0);
  88. SORT(*)(.idata$4)
  89. SORT(*)(.idata$5)
  90. SORT(*)(.idata$6)
  91. SORT(*)(.idata$7)
  92. }
  93. .CRT BLOCK(__section_alignment__) :
  94. {
  95. ___crt_xc_start__ = . ;
  96. *(SORT(.CRT$XC*)) /* C initialization */
  97. ___crt_xc_end__ = . ;
  98. ___crt_xi_start__ = . ;
  99. *(SORT(.CRT$XI*)) /* C++ initialization */
  100. ___crt_xi_end__ = . ;
  101. ___crt_xl_start__ = . ;
  102. *(SORT(.CRT$XL*)) /* TLS callbacks */
  103. /* ___crt_xl_end__ is defined in the TLS Directory support code */
  104. ___crt_xp_start__ = . ;
  105. *(SORT(.CRT$XP*)) /* Pre-termination */
  106. ___crt_xp_end__ = . ;
  107. ___crt_xt_start__ = . ;
  108. *(SORT(.CRT$XT*)) /* Termination */
  109. ___crt_xt_end__ = . ;
  110. }
  111. .tls BLOCK(__section_alignment__) :
  112. {
  113. ___tls_start__ = . ;
  114. *(.tls)
  115. *(.tls$)
  116. *(SORT(.tls$*))
  117. ___tls_end__ = . ;
  118. }
  119. .endjunk BLOCK(__section_alignment__) :
  120. {
  121. /* end is deprecated, don't use it */
  122. PROVIDE (end = .);
  123. PROVIDE ( _end = .);
  124. __end__ = .;
  125. }
  126. .rsrc BLOCK(__section_alignment__) :
  127. {
  128. *(.rsrc)
  129. *(SORT(.rsrc$*))
  130. }
  131. .reloc BLOCK(__section_alignment__) :
  132. {
  133. *(.reloc)
  134. }
  135. .stab BLOCK(__section_alignment__) (NOLOAD) :
  136. {
  137. *(.stab)
  138. }
  139. .stabstr BLOCK(__section_alignment__) (NOLOAD) :
  140. {
  141. *(.stabstr)
  142. }
  143. /* DWARF debug sections.
  144. Symbols in the DWARF debugging sections are relative to the beginning
  145. of the section. Unlike other targets that fake this by putting the
  146. section VMA at 0, the PE format will not allow it. */
  147. /* DWARF 1.1 and DWARF 2. */
  148. .debug_aranges BLOCK(__section_alignment__) (NOLOAD) :
  149. {
  150. *(.debug_aranges)
  151. }
  152. .debug_pubnames BLOCK/usr/lib/gcc/i586-pc-mingw32/3.4.5/libgcc.a: could not read symbols: Archive has no index; run ranlib to add one
  153. (__section_alignment__) (NOLOAD) :
  154. {
  155. *(.debug_pubnames)
  156. }
  157. /* DWARF 2. */
  158. .debug_info BLOCK(__section_alignment__) (NOLOAD) :
  159. {
  160. *(.debug_info) *(.gnu.linkonce.wi.*)
  161. }
  162. .debug_abbrev BLOCK(__section_alignment__) (NOLOAD) :
  163. {
  164. *(.debug_abbrev)
  165. }
  166. .debug_line BLOCK(__section_alignment__) (NOLOAD) :
  167. {
  168. *(.debug_line)
  169. }
  170. .debug_frame BLOCK(__section_alignment__) (NOLOAD) :
  171. {
  172. *(.debug_frame)
  173. }
  174. .debug_str BLOCK(__section_alignment__) (NOLOAD) :
  175. {
  176. *(.debug_str)
  177. }
  178. .debug_loc BLOCK(__section_alignment__) (NOLOAD) :
  179. {
  180. *(.debug_loc)
  181. }
  182. .debug_macinfo BLOCK(__section_alignment__) (NOLOAD) :
  183. {
  184. *(.debug_macinfo)
  185. }
  186. /* SGI/MIPS DWARF 2 extensions. */
  187. .debug_weaknames BLOCK(__section_alignment__) (NOLOAD) :
  188. {
  189. *(.debug_weaknames)
  190. }
  191. .debug_funcnames BLOCK(__section_alignment__) (NOLOAD) :
  192. {
  193. *(.debug_funcnames)
  194. }
  195. .debug_typenames BLOCK(__section_alignment__) (NOLOAD) :
  196. {
  197. *(.debug_typenames)
  198. }
  199. .debug_varnames BLOCK(__section_alignment__) (NOLOAD) :
  200. {
  201. *(.debug_varnames)
  202. }
  203. /* DWARF 3. */
  204. .debug_ranges BLOCK(__section_alignment__) (NOLOAD) :
  205. {
  206. *(.debug_ranges)
  207. }
  208. }
  209.  
  210.  
  211. ==================================================
  212. attempt to open /usr/lib/gcc/i586-pc-mingw32/3.4.5/../../../../i586-pc-mingw32/lib/crt2.o succeeded
  213. /usr/lib/gcc/i586-pc-mingw32/3.4.5/../../../../i586-pc-mingw32/lib/crt2.o
  214. attempt to open /usr/lib/gcc/i586-pc-mingw32/3.4.5/crtbegin.o succeeded
  215. /usr/lib/gcc/i586-pc-mingw32/3.4.5/crtbegin.o
  216. attempt to open test.o succeeded
  217. test.o
  218. attempt to open /usr/lib/gcc/i586-pc-mingw32/3.4.5/libmingw32.a failed
  219. attempt to open /usr/lib/gcc/i586-pc-mingw32/3.4.5/libmingw32.a failed
  220. attempt to open /usr/lib/gcc/i586-pc-mingw32/3.4.5/../../../../i586-pc-mingw32/lib/libmingw32.a succeeded
  221. (/usr/lib/gcc/i586-pc-mingw32/3.4.5/../../../../i586-pc-mingw32/lib/libmingw32.a)CRTglob.o
  222. (/usr/lib/gcc/i586-pc-mingw32/3.4.5/../../../../i586-pc-mingw32/lib/libmingw32.a)CRTfmode.o
  223. (/usr/lib/gcc/i586-pc-mingw32/3.4.5/../../../../i586-pc-mingw32/lib/libmingw32.a)txtmode.o
  224. (/usr/lib/gcc/i586-pc-mingw32/3.4.5/../../../../i586-pc-mingw32/lib/libmingw32.a)gccmain.o
  225. (/usr/lib/gcc/i586-pc-mingw32/3.4.5/../../../../i586-pc-mingw32/lib/libmingw32.a)pseudo-reloc.o
  226. (/usr/lib/gcc/i586-pc-mingw32/3.4.5/../../../../i586-pc-mingw32/lib/libmingw32.a)cpu_features.o
  227. (/usr/lib/gcc/i586-pc-mingw32/3.4.5/../../../../i586-pc-mingw32/lib/libmingw32.a)CRT_fp10.o
  228. (/usr/lib/gcc/i586-pc-mingw32/3.4.5/../../../../i586-pc-mingw32/lib/libmingw32.a)pseudo-reloc-list.o
  229. attempt to open /usr/lib/gcc/i586-pc-mingw32/3.4.5/libgcc.a succeeded
  230. collect2: ld returned 1 exit status
  231. tux@slitaz:~/projects/mingw$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement