Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
6132474c
Commit
6132474c
authored
Jul 20, 2002
by
Gregg Mattinson
Committed by
Alexandre Julliard
Jul 20, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed __builtin_return_address.
parent
e1db8bd0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
winnt.h
include/winnt.h
+8
-2
No files found.
include/winnt.h
View file @
6132474c
...
...
@@ -1142,9 +1142,15 @@ typedef CONTEXT *PCONTEXT;
static
DWORD
__builtin_return_address
(
int
p_iDepth
)
{
asm
(
"ta 3"
);
asm
(
"tst %i0"
);
asm
(
"be End"
);
asm
(
"mov %fp, %l0"
);
while
(
p_iDepth
--
)
asm
(
"ld [%l0+56], %l0"
);
asm
(
"Start:"
);
asm
(
"sub %i0, 1, %i0"
);
asm
(
"tst %i0"
);
asm
(
"bne Start"
);
asm
(
"ld [%l0+56], %l0"
);
asm
(
"End:"
);
asm
(
"ld [%l0+60], %i0"
);
}
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment