Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[coff] use relative instead of absolute __safe_se_handler_base when p…
…resent Summary: __safe_se_handler_base should be either absolute 0 (when no SafeSEH table is present), or relative to the image base (when the table is present). An earlier change inadvertedly made the symbol absolute in both cases, leading to the SafeSEH table not being locatble at run time. This change fixes that and updates the safeseh test to check for the presence of the relocation. Reviewers: rnk, ruiu Reviewed By: ruiu Subscribers: ruiu, llvm-commits Differential Revision: https://reviews.llvm.org/D39765 llvm-svn: 317635
- Loading branch information
Showing
2 changed files
with
37 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters