Skip to content

Instantly share code, notes, and snippets.

@7shi
Created March 26, 2010 11:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 7shi/344785 to your computer and use it in GitHub Desktop.
Save 7shi/344785 to your computer and use it in GitHub Desktop.
--- ld/emultempl/pe.em.orig 2010-03-26 20:13:50.000000000 +0900
+++ ld/emultempl/pe.em 2010-03-26 20:16:19.000000000 +0900
@@ -1011,14 +1011,13 @@
|| defined (TARGET_IS_arm_epoc_pe) \
|| defined (TARGET_IS_arm_wince_pe)
if (!link_info.relocatable)
- pe_dll_build_sections (output_bfd, &link_info);
- else
- pe_exe_build_sections (output_bfd, &link_info);
#else
if (link_info.shared)
- pe_dll_build_sections (output_bfd, &link_info);
#endif
#endif /* DLL_SUPPORT */
+ pe_dll_build_sections (output_bfd, &link_info);
+ else
+ pe_exe_build_sections (output_bfd, &link_info);
#if defined(TARGET_IS_armpe) || defined(TARGET_IS_arm_epoc_pe) || defined(TARGET_IS_arm_wince_pe)
if (strstr (bfd_get_target (output_bfd), "arm") == NULL)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment