~ubuntu-branches/ubuntu/quantal/x264/quantal

« back to all changes in this revision

Viewing changes to tools/checkasm-a.asm

  • Committer: Package Import Robot
  • Author(s): Andres Mejia
  • Date: 2012-03-17 14:00:21 UTC
  • mfrom: (12.2.5 sid)
  • Revision ID: package-import@ubuntu.com-20120317140021-wscao6ixdg6batwv
Tags: 2:0.120.2171+git01f7a33-3
Fix issue of setting hardened CFLAGS for shared library.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
;*****************************************************************************
2
2
;* checkasm-a.asm: assembly check tool
3
3
;*****************************************************************************
4
 
;* Copyright (C) 2008-2011 x264 project
 
4
;* Copyright (C) 2008-2012 x264 project
5
5
;*
6
6
;* Authors: Loren Merritt <lorenm@u.washington.edu>
7
7
;*
29
29
 
30
30
error_message: db "failed to preserve register", 0
31
31
 
32
 
%ifdef WIN64
 
32
%if WIN64
33
33
; just random numbers to reduce the chance of incidental match
34
34
ALIGN 16
35
35
x6:  ddq 0x79445c159ce790641a1b2550a612b48c
60
60
; (max_args % 4) must equal 3 for stack alignment
61
61
%define max_args 15
62
62
 
63
 
%ifdef WIN64
 
63
%if WIN64
64
64
 
65
65
;-----------------------------------------------------------------------------
66
66
; intptr_t x264_checkasm_call( intptr_t (*func)(), int *ok, ... )
117
117
    ADD  rsp, max_args*8
118
118
    RET
119
119
 
120
 
%elifndef ARCH_X86_64
 
120
%elif ARCH_X86_64 == 0
121
121
 
122
122
; just random numbers to reduce the chance of incidental match
123
123
%define n3 dword 0x6549315c