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
46f52f77
Commit
46f52f77
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: Remove Alpha support.
parent
18aaad20
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
28 deletions
+1
-28
build.h
tools/winebuild/build.h
+1
-1
import.c
tools/winebuild/import.c
+0
-14
main.c
tools/winebuild/main.c
+0
-2
spec32.c
tools/winebuild/spec32.c
+0
-7
utils.c
tools/winebuild/utils.c
+0
-4
No files found.
tools/winebuild/build.h
View file @
46f52f77
...
...
@@ -140,7 +140,7 @@ typedef struct
enum
target_cpu
{
CPU_x86
,
CPU_x86_64
,
CPU_SPARC
,
CPU_
ALPHA
,
CPU_
POWERPC
,
CPU_ARM
,
CPU_LAST
=
CPU_ARM
CPU_x86
,
CPU_x86_64
,
CPU_SPARC
,
CPU_POWERPC
,
CPU_ARM
,
CPU_LAST
=
CPU_ARM
};
enum
target_platform
...
...
tools/winebuild/import.c
View file @
46f52f77
...
...
@@ -670,11 +670,6 @@ static void output_import_thunk( const char *name, const char *table, int pos )
output
(
"
\t
restore
\n
"
);
}
break
;
case
CPU_ALPHA
:
output
(
"
\t
lda $0,%s
\n
"
,
table
);
output
(
"
\t
lda $0,%d($0)
\n
"
,
pos
);
output
(
"
\t
jmp $31,($0)
\n
"
);
break
;
case
CPU_ARM
:
output
(
"
\t
ldr IP,[PC,#0]
\n
"
);
output
(
"
\t
mov PC,PC
\n
"
);
...
...
@@ -989,10 +984,6 @@ static void output_delayed_import_thunks( const DLLSPEC *spec )
output
(
"
\t
jmp %%o0
\n
"
);
output
(
"
\t
restore
\n
"
);
break
;
case
CPU_ALPHA
:
output
(
"
\t
jsr $26,%s
\n
"
,
asm_name
(
"__wine_spec_delay_load"
)
);
output
(
"
\t
jmp $31,($0)
\n
"
);
break
;
case
CPU_ARM
:
output
(
"
\t
stmfd SP!, {r4-r10,FP,LR}
\n
"
);
output
(
"
\t
mov LR,PC
\n
"
);
...
...
@@ -1082,11 +1073,6 @@ static void output_delayed_import_thunks( const DLLSPEC *spec )
output
(
"
\t
set %d, %%g1
\n
"
,
(
idx
<<
16
)
|
j
);
output
(
"
\t
b,a %s
\n
"
,
asm_name
(
"__wine_delay_load_asm"
)
);
break
;
case
CPU_ALPHA
:
output
(
"
\t
lda $0,%d($31)
\n
"
,
j
);
output
(
"
\t
ldah $0,%d($0)
\n
"
,
idx
);
output
(
"
\t
jmp $31,%s
\n
"
,
asm_name
(
"__wine_delay_load_asm"
)
);
break
;
case
CPU_ARM
:
output
(
"
\t
stmfd SP!, {r0-r3}
\n
"
);
output
(
"
\t
mov r0, #%d
\n
"
,
idx
);
...
...
tools/winebuild/main.c
View file @
46f52f77
...
...
@@ -55,8 +55,6 @@ enum target_cpu target_cpu = CPU_x86;
enum
target_cpu
target_cpu
=
CPU_x86_64
;
#elif defined(__sparc__)
enum
target_cpu
target_cpu
=
CPU_SPARC
;
#elif defined(__ALPHA__)
enum
target_cpu
target_cpu
=
CPU_ALPHA
;
#elif defined(__powerpc__)
enum
target_cpu
target_cpu
=
CPU_POWERPC
;
#elif defined(__arm__)
...
...
tools/winebuild/spec32.c
View file @
46f52f77
...
...
@@ -34,7 +34,6 @@
#define IMAGE_FILE_MACHINE_UNKNOWN 0
#define IMAGE_FILE_MACHINE_I386 0x014c
#define IMAGE_FILE_MACHINE_ALPHA 0x0184
#define IMAGE_FILE_MACHINE_POWERPC 0x01f0
#define IMAGE_FILE_MACHINE_AMD64 0x8664
#define IMAGE_FILE_MACHINE_ARM 0x01C0
...
...
@@ -398,9 +397,6 @@ static void output_asm_constructor( const char *constructor )
output
(
"
\t
call %s
\n
"
,
asm_name
(
constructor
)
);
output
(
"
\t
nop
\n
"
);
break
;
case
CPU_ALPHA
:
output
(
"
\t
jsr $26,%s
\n
"
,
asm_name
(
constructor
)
);
break
;
case
CPU_ARM
:
case
CPU_POWERPC
:
output
(
"
\t
bl %s
\n
"
,
asm_name
(
constructor
)
);
...
...
@@ -441,7 +437,6 @@ void output_module( DLLSPEC *spec )
{
case
CPU_x86
:
case
CPU_x86_64
:
case
CPU_ALPHA
:
case
CPU_SPARC
:
output
(
"
\t
jmp 1f
\n
"
);
break
;
...
...
@@ -470,7 +465,6 @@ 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_ALPHA
:
machine
=
IMAGE_FILE_MACHINE_ALPHA
;
break
;
case
CPU_SPARC
:
machine
=
IMAGE_FILE_MACHINE_UNKNOWN
;
break
;
}
output
(
"
\t
%s 0x%04x
\n
"
,
/* Machine */
...
...
@@ -657,7 +651,6 @@ 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_ALPHA
:
put_word
(
IMAGE_FILE_MACHINE_ALPHA
);
break
;
case
CPU_SPARC
:
put_word
(
IMAGE_FILE_MACHINE_UNKNOWN
);
break
;
case
CPU_ARM
:
put_word
(
IMAGE_FILE_MACHINE_ARM
);
break
;
}
...
...
tools/winebuild/utils.c
View file @
46f52f77
...
...
@@ -57,7 +57,6 @@ static const struct
{
"amd64"
,
CPU_x86_64
},
{
"x86_64"
,
CPU_x86_64
},
{
"sparc"
,
CPU_SPARC
},
{
"alpha"
,
CPU_ALPHA
},
{
"powerpc"
,
CPU_POWERPC
},
{
"arm"
,
CPU_ARM
}
};
...
...
@@ -844,7 +843,6 @@ unsigned int get_alignment(unsigned int align)
if
(
target_platform
!=
PLATFORM_APPLE
)
return
align
;
/* fall through */
case
CPU_POWERPC
:
case
CPU_ALPHA
:
case
CPU_ARM
:
n
=
0
;
while
((
1u
<<
n
)
!=
align
)
n
++
;
...
...
@@ -865,7 +863,6 @@ unsigned int get_page_size(void)
case
CPU_POWERPC
:
return
4096
;
case
CPU_ARM
:
return
4096
;
case
CPU_SPARC
:
return
8192
;
case
CPU_ALPHA
:
return
8192
;
}
/* unreached */
assert
(
0
);
...
...
@@ -880,7 +877,6 @@ unsigned int get_ptr_size(void)
case
CPU_x86
:
case
CPU_POWERPC
:
case
CPU_SPARC
:
case
CPU_ALPHA
:
case
CPU_ARM
:
return
4
;
case
CPU_x86_64
:
...
...
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