| # Copyright 2008-2016 The OpenSSL Project Authors. All Rights Reserved. |
| # Licensed under the OpenSSL license (the "License"). You may not use |
| # this file except in compliance with the License. You can obtain a copy |
| # in the file LICENSE in the source distribution or at |
| # https://www.openssl.org/source/license.html |
| $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1; |
| open OUT,"| \"$^X\" \"${dir}../crypto/perlasm/x86_64-xlate.pl\" \"$output\""; |
| require "uplink-common.pl"; |
| .globl OPENSSL_UplinkTable |
| .type $prefix${i},\@abi-omnipotent |
| .byte 0x48,0x83,0xEC,0x28 # sub rsp,40 |
| lea OPENSSL_UplinkTable(%rip),%rcx |
| lea OPENSSL_UplinkTable(%rip),%rax |
| .size $prefix${i},.-$prefix${i} |
| for ($i=1;$i<=$N;$i++) { print " .quad $prefix$i\n"; } |
| .rva $prefix${i},$prefix${i}_end,${prefix}_unwind_info |
| .byte 0x01,0x04,0x01,0x00 |
| .byte 0x04,0x42,0x00,0x00 |