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
84c8bf53
Commit
84c8bf53
authored
Jun 20, 2005
by
Wolfgang Thaller
Committed by
Alexandre Julliard
Jun 20, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Winebuild darwin/x86-specific fixes:
- Assembler interprets .align as power-of-two - Add .weak_reference to output where gcc 3.3 swallows it
parent
86f575cd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
spec32.c
tools/winebuild/spec32.c
+1
-0
utils.c
tools/winebuild/utils.c
+1
-1
No files found.
tools/winebuild/spec32.c
View file @
84c8bf53
...
...
@@ -83,6 +83,7 @@ static void declare_weak_function( FILE *outfile, const char *ret_type, const ch
fprintf
(
outfile
,
"extern %s %s(%s) __attribute__((weak_import));
\n
"
,
ret_type
,
name
,
params
);
fprintf
(
outfile
,
"static %s (*__wine_spec_weak_%s)(%s) = %s;
\n
"
,
ret_type
,
name
,
params
,
name
);
fprintf
(
outfile
,
"#define %s __wine_spec_weak_%s
\n
"
,
name
,
name
);
fprintf
(
outfile
,
"asm(
\"
.weak_reference "
__ASM_NAME
(
"%s"
)
"
\"
);
\n
"
,
name
);
fprintf
(
outfile
,
"# else
\n
"
);
fprintf
(
outfile
,
"extern %s %s(%s) __attribute__((weak));
\n
"
,
ret_type
,
name
,
params
);
fprintf
(
outfile
,
"# endif
\n
"
);
...
...
tools/winebuild/utils.c
View file @
84c8bf53
...
...
@@ -349,7 +349,7 @@ const char *make_c_identifier( const char *str )
*/
int
get_alignment
(
int
alignBoundary
)
{
#if defined(__powerpc__) || defined(__ALPHA__)
#if defined(__powerpc__) || defined(__ALPHA__)
|| defined(__APPLE__)
int
n
=
0
;
...
...
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