If, when running this tool, you get this error:
msys-1.0.dll: skipped because wrong machine type.
To fix "wrong machine type":
The error appears when using the 64-bit version of rebase.exe Use the 32-bit version of rebase.exe
source: https://www.qnx.com/support/knowledgebase.html?id=5011O000001OLXD