modified tools/rbuild/backend/mingw/modulehandler.cpp
authorKJK::Hyperion <hackbunny@reactos.org>
Thu, 4 Dec 2008 21:13:43 +0000 (21:13 +0000)
committerKJK::Hyperion <hackbunny@reactos.org>
Thu, 4 Dec 2008 21:13:43 +0000 (21:13 +0000)
commit31b83f59b6e8c48867dfbcfad41b86a0b287cac3
treead7f0b53f8a2b03e9c83e2f87c80dab6eb9ea403
parent599818849ac4cf1075ff4c07a1557a693fef27d4
modified   tools/rbuild/backend/mingw/modulehandler.cpp
   DWARF debugging information confuses rsym, and DWARF-2 information from internal libraries (like libgcc) results in huge executables that don't even run on Windows. Therefore, before the rsym phase, strip all DWARF-2 sections
   This is a HACK for gcc builds compiled with DWARF-2 symbols (e.g. 4.3.2-tdm-1). The real solution (to be implemented soon) is to parse DWARF-2 line numbers in rsym
   Amendment to r37851: use objcopy instead of strip because strip gets us more than we bargained for, and strips all debug information too

modified   tools/rsym.c
   Don't overrun a heap block when there are discarded relocations

svn path=/trunk/; revision=37861
reactos/tools/rbuild/backend/mingw/modulehandler.cpp
reactos/tools/rsym.c