Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
b51c2ba9
Commit
b51c2ba9
authored
Sep 21, 2012
by
Charles Davis
Committed by
Alexandre Julliard
Sep 21, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
loader: On Mac OS with Clang, don't use external symbols for the DOS and shared heap segments.
parent
07316882
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
main.c
loader/main.c
+7
-0
No files found.
loader/main.c
View file @
b51c2ba9
...
...
@@ -43,9 +43,16 @@
#ifdef __APPLE__
#ifndef __clang__
__asm__
(
".zerofill WINE_DOS, WINE_DOS, ___wine_dos, 0x40000000"
);
__asm__
(
".zerofill WINE_SHAREDHEAP, WINE_SHAREDHEAP, ___wine_shared_heap, 0x03000000"
);
extern
char
__wine_dos
[
0x40000000
],
__wine_shared_heap
[
0x03000000
];
#else
__asm__
(
".zerofill WINE_DOS, WINE_DOS"
);
__asm__
(
".zerofill WINE_SHAREDHEAP, WINE_SHAREDHEAP"
);
static
char
__wine_dos
[
0x40000000
]
__attribute__
((
section
(
"WINE_DOS, WINE_DOS"
)));
static
char
__wine_shared_heap
[
0x03000000
]
__attribute__
((
section
(
"WINE_SHAREDHEAP, WINE_SHAREDHEAP"
)));
#endif
static
const
struct
wine_preload_info
wine_main_preload_info
[]
=
{
...
...
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