Commit Graph
11 Commits
Author SHA1 Message Date
Timo Kreuzer 130b0bd77f [HOST_TOOLS]
Move pecoff.h from the tools roto dir to the include/host

svn path=/trunk/; revision=62271
2014-02-20 21:20:47 +00:00
Amine Khaldi 4f0694e3af * Improve the way we create rossym debug info. The effort results in ~85% *smaller* build folder with ninja all with no code changes.
[DBGHELPHOST]
* Introduce a self-contained, static library version of dbghelp, in order to leverage its PE DWARF support. Thanks to Jerome Gardou for his work on the compatibility layer, and to Thomas Faber for helping me with the review/improvements.
* Unify the new host lib with the existing dll codebase using preprocessor conditions. This prevents code duplication.
* Skip as much unneeded functionality as possible when compiling dbghelphost to keep it light and straight to the point.
[RSYM]
* Introduce the required functions that allow parsing DWARF (using dbghelphost) and using it (along with coff symbols) to create the rossym debug info. Brought to you by Awesome Arty with some bugfixes from Jerome Gardou. Many thanks to Thomas Faber for assisting me with the testing/bug hunting.
[CMAKE/GCC]
* Introduce a combination of dwarf and debug emission flags that ensure the smallest debug info size among all the possible options we have.
* Introduce compressed debug sections that I already included the support for in RosBE 2.1. Thanks to the mingw-w64 folks (Kai Tietz) for the patch.
* Don't compress debug sections of C++ modules for now due to a bug in the toolchain that leads to spamming the build at link time with a warning.
* Don't run rsym on the RC shared libraries. Thanks to Thomas Faber for spotting this.
[DBGHELP]
* Update the ros diff to reflect the changes introduced by the dbghelphost unification.

svn path=/trunk/; revision=59505
2013-07-18 21:03:01 +00:00
Dmitry Gorbachev 99afe97aa2 [TOOLS]
Fix some compiler warnings, improve formatting, diagnostic messages.

svn path=/trunk/; revision=58591
2013-03-23 17:59:35 +00:00
Pierre Schweitzer 06fd95c89b [OBJ2BIN]
- Fix memory leaks
- Fix resources leaks
- Fix wrong if statement

svn path=/trunk/; revision=53770
2011-09-20 12:29:47 +00:00
Timo Kreuzer 80aa713b95 [OBJ2BIN]
Fix handling of empty sections

svn path=/trunk/; revision=52363
2011-06-19 11:53:10 +00:00
Timo Kreuzer 330b33ea0d [OBJ2BIN]
- Rewrite large parts of the tool
- Support IMAGE_REL_I386_DIR32

svn path=/trunk/; revision=52217
2011-06-13 19:23:51 +00:00
Timo Kreuzer 262ddc034b [OBJ2BIN]
- Skip empty sections. ML for x86 adds those, while ML (not ML64) for x64 doesn't.

svn path=/trunk/; revision=52159
2011-06-09 17:59:47 +00:00
Timo Kreuzer af201a5b6a [OBJ2BIN]
- Fix relocation for gas build objetcs
- Protect from buffer overwrite

svn path=/trunk/; revision=52146
2011-06-08 12:42:04 +00:00
Timo Kreuzer 96cf66ac35 [OBJ2BIN]
- Implement coff relocation

svn path=/trunk/; revision=52141
2011-06-07 22:45:56 +00:00
Timo Kreuzer d1e3dc84fc [OBJ2BIN]
- Fix warnings

svn path=/trunk/; revision=52137
2011-06-07 20:16:52 +00:00
Timo Kreuzer fcff3cbf18 [OBJ2BIN]
- Add new tool obj2bin, that converts a coff object file into a raw binary file
- Move pe/coff types into a common header file pecoff.h

svn path=/trunk/; revision=52133
2011-06-07 19:29:09 +00:00