Generate IMAGE_REL_AMD64_ADDR32NB relocations for SEH
authorKai Nacke <kai.nacke@redstar.de>
Sat, 6 Jul 2013 17:16:12 +0000 (17:16 +0000)
committerKai Nacke <kai.nacke@redstar.de>
Sat, 6 Jul 2013 17:16:12 +0000 (17:16 +0000)
 data structures.

The Win64 EH data structures must be of type IMAGE_REL_AMD64_ADDR32NB
instead of IMAGE_REL_AMD64_ADDR32. This is easiely achieved by adding
the VK_COFF_IMGREL32 modifier to the symbol reference.
Change also references to start and end of the SEH range of a function
as offsets to start of the function.

Reviewed by Charles Davis and Nico Rieck.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185759 91177308-0d34-0410-b5e6-96231b3b80d8


No differences found