Add the rebase.exe tool to be able to fix msys-1.0.dll
commitcc878bcc50cc5e79ac29a8844dac0b1c89df9e6b
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 8 Jan 2011 13:22:30 +0000 (8 14:22 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 8 Jan 2011 13:44:24 +0000 (8 14:44 +0100)
tree48c95ee3bad16b20e943aaec98431f144f0241d7
parente59039edb5c29987e88128bf9aae20e9df02dca1
Add the rebase.exe tool to be able to fix msys-1.0.dll

Depending on your setup, the base address of msys-1.0.dll might clash
with other .dll files' addresses. The symptom looks like this:

assertion "!inheap (s)" failed: file "../../../../src/winsup/cygwin/cygheap.cc", line 309

In such a case, simply fire up cmd.exe, change the working directory to
$MSYSGIT_ROOT/bin and execute something like

..\mingw\bin\rebase -b 0x67000000 msys-1.0.dll

The rebase.exe tool was cherry-picked from the 'full' branch, where it
was built from /src/rebase/.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
mingw/bin/rebase.exe [new file with mode: 0644]