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
d4cf5489
Commit
d4cf5489
authored
Apr 19, 2011
by
André Hentschel
Committed by
Alexandre Julliard
Apr 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Copy IMAGE_FILE_MACHINE_SPARC from winnt.h and use it.
parent
46f52f77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
spec32.c
tools/winebuild/spec32.c
+4
-2
No files found.
tools/winebuild/spec32.c
View file @
d4cf5489
...
...
@@ -37,6 +37,8 @@
#define IMAGE_FILE_MACHINE_POWERPC 0x01f0
#define IMAGE_FILE_MACHINE_AMD64 0x8664
#define IMAGE_FILE_MACHINE_ARM 0x01C0
/* Wine extension */
#define IMAGE_FILE_MACHINE_SPARC 0x2000
#define IMAGE_SIZEOF_NT_OPTIONAL32_HEADER 224
#define IMAGE_SIZEOF_NT_OPTIONAL64_HEADER 240
...
...
@@ -465,7 +467,7 @@ void output_module( DLLSPEC *spec )
case
CPU_x86_64
:
machine
=
IMAGE_FILE_MACHINE_AMD64
;
break
;
case
CPU_ARM
:
machine
=
IMAGE_FILE_MACHINE_ARM
;
break
;
case
CPU_POWERPC
:
machine
=
IMAGE_FILE_MACHINE_POWERPC
;
break
;
case
CPU_SPARC
:
machine
=
IMAGE_FILE_MACHINE_
UNKNOWN
;
break
;
case
CPU_SPARC
:
machine
=
IMAGE_FILE_MACHINE_
SPARC
;
break
;
}
output
(
"
\t
%s 0x%04x
\n
"
,
/* Machine */
get_asm_short_keyword
(),
machine
);
...
...
@@ -651,7 +653,7 @@ void output_fake_module( DLLSPEC *spec )
case
CPU_x86
:
put_word
(
IMAGE_FILE_MACHINE_I386
);
break
;
case
CPU_x86_64
:
put_word
(
IMAGE_FILE_MACHINE_AMD64
);
break
;
case
CPU_POWERPC
:
put_word
(
IMAGE_FILE_MACHINE_POWERPC
);
break
;
case
CPU_SPARC
:
put_word
(
IMAGE_FILE_MACHINE_
UNKNOWN
);
break
;
case
CPU_SPARC
:
put_word
(
IMAGE_FILE_MACHINE_
SPARC
);
break
;
case
CPU_ARM
:
put_word
(
IMAGE_FILE_MACHINE_ARM
);
break
;
}
put_word
(
nb_sections
);
/* NumberOfSections */
...
...
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