diff options
Diffstat (limited to 'src/lib/libcrypto/perlasm')
| -rwxr-xr-x | src/lib/libcrypto/perlasm/x86_64-xlate.pl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/lib/libcrypto/perlasm/x86_64-xlate.pl b/src/lib/libcrypto/perlasm/x86_64-xlate.pl index 5dbed2a8c4..325e7cf583 100755 --- a/src/lib/libcrypto/perlasm/x86_64-xlate.pl +++ b/src/lib/libcrypto/perlasm/x86_64-xlate.pl | |||
| @@ -781,6 +781,22 @@ ___ | |||
| 781 | OPTION DOTNAME | 781 | OPTION DOTNAME |
| 782 | ___ | 782 | ___ |
| 783 | } | 783 | } |
| 784 | |||
| 785 | if ($nasm) { | ||
| 786 | print <<___; | ||
| 787 | \%define _CET_ENDBR | ||
| 788 | ___ | ||
| 789 | } else { | ||
| 790 | print <<___; | ||
| 791 | #if defined(__CET__) | ||
| 792 | #include <cet.h> | ||
| 793 | #else | ||
| 794 | #define _CET_ENDBR | ||
| 795 | #endif | ||
| 796 | |||
| 797 | ___ | ||
| 798 | } | ||
| 799 | |||
| 784 | print "#include \"x86_arch.h\"\n"; | 800 | print "#include \"x86_arch.h\"\n"; |
| 785 | 801 | ||
| 786 | while($line=<>) { | 802 | while($line=<>) { |
