[OBJ2BIN] Add support for IMAGE_REL_I386_REL16

Also return error in case of unknown relocation type.
This commit is contained in:
Hervé Poussineau 2021-02-22 10:06:20 +01:00
parent 5367ae5760
commit 77d69c68b8
2 changed files with 19 additions and 5 deletions

View file

@ -42,6 +42,7 @@
#define IMAGE_NUMBEROF_DIRECTORY_ENTRIES 16
#define IMAGE_REL_I386_ABSOLUTE 0x0001
#define IMAGE_REL_I386_REL16 0x0002
#define IMAGE_REL_I386_DIR32 0x0006
#pragma pack(push,2)