Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
aom-rav1e
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiph.Org
aom-rav1e
Commits
4e31cbbe
Commit
4e31cbbe
authored
14 years ago
by
John Koleszar
Browse files
Options
Downloads
Plain Diff
Merge remote branch 'internal/upstream' into HEAD
parents
b1879d97
746439ef
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vpx_ports/x86_abi_support.asm
+13
-6
13 additions, 6 deletions
vpx_ports/x86_abi_support.asm
with
13 additions
and
6 deletions
vpx_ports/x86_abi_support.asm
+
13
−
6
View file @
4e31cbbe
...
...
@@ -90,7 +90,7 @@
%macro ALIGN_STACK 2
mov
%
2
,
rsp
and
rsp
,
-%
1
sub
rsp
,
%
1
-
REG_SZ_BYTES
lea
rsp
,
[
rsp
-
(
%
1
-
REG_SZ_BYTES
)]
push
%
2
%endmacro
...
...
@@ -105,7 +105,6 @@
%idefine XMMWORD
%idefine MMWORD
; PIC macros
;
%if ABI_IS_32BIT
...
...
@@ -116,9 +115,13 @@
extern
_GLOBAL_OFFSET_TABLE_
push
%
1
call
%%
get_got
%%sub_offset:
jmp
%%
exitGG
%%get_got:
pop
%
1
add
%
1
,
_GLOBAL_OFFSET_TABLE_
+
$$
-
%%
get_got
wrt
..gotpc
mov
%
1
,
[
esp
]
add
%
1
,
_GLOBAL_OFFSET_TABLE_
+
$$
-
%%
sub_offset
wrt
..gotpc
ret
%%exitGG:
%undef GLOBAL
%define GLOBAL + %1 wrt ..gotoff
%undef RESTORE_GOT
...
...
@@ -128,9 +131,13 @@
%macro GET_GOT 1
push
%
1
call
%%
get_got
%%sub_offset:
jmp
%%
exitGG
%%get_got:
pop
%
1
add
%
1
,
fake_got
-
%%
get_got
mov
%
1
,
[
esp
]
add
%
1
,
fake_got
-
%%
sub_offset
ret
%%exitGG:
%undef GLOBAL
%define GLOBAL + %1 - fake_got
%undef RESTORE_GOT
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment