Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
8cd36798
Commit
8cd36798
authored
Nov 17, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegcc: Get rid of PowerPC support.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b793fb54
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
15 deletions
+1
-15
utils.h
tools/winegcc/utils.h
+1
-1
winegcc.c
tools/winegcc/winegcc.c
+0
-14
No files found.
tools/winegcc/utils.h
View file @
8cd36798
...
...
@@ -34,7 +34,7 @@
enum
target_cpu
{
CPU_x86
,
CPU_x86_64
,
CPU_
POWERPC
,
CPU_
ARM
,
CPU_ARM64
CPU_x86
,
CPU_x86_64
,
CPU_ARM
,
CPU_ARM64
};
enum
target_platform
...
...
tools/winegcc/winegcc.c
View file @
8cd36798
...
...
@@ -171,7 +171,6 @@ static const struct
{
"i786"
,
CPU_x86
},
{
"amd64"
,
CPU_x86_64
},
{
"x86_64"
,
CPU_x86_64
},
{
"powerpc"
,
CPU_POWERPC
},
{
"arm"
,
CPU_ARM
},
{
"armv5"
,
CPU_ARM
},
{
"armv6"
,
CPU_ARM
},
...
...
@@ -251,8 +250,6 @@ struct options
static
const
enum
target_cpu
build_cpu
=
CPU_x86
;
#elif defined(__x86_64__)
static
const
enum
target_cpu
build_cpu
=
CPU_x86_64
;
#elif defined(__powerpc__)
static
const
enum
target_cpu
build_cpu
=
CPU_POWERPC
;
#elif defined(__arm__)
static
const
enum
target_cpu
build_cpu
=
CPU_ARM
;
#elif defined(__aarch64__)
...
...
@@ -474,11 +471,6 @@ static struct strarray get_link_args( struct options *opts, const char *output_n
strarray_add
(
&
flags
,
opts
->
unix_lib
?
"-dynamiclib"
:
"-bundle"
);
strarray_add
(
&
flags
,
"-multiply_defined"
);
strarray_add
(
&
flags
,
"suppress"
);
if
(
opts
->
target_cpu
==
CPU_POWERPC
)
{
strarray_add
(
&
flags
,
"-read_only_relocs"
);
strarray_add
(
&
flags
,
"warning"
);
}
if
(
opts
->
image_base
)
{
strarray_add
(
&
flags
,
"-image_base"
);
...
...
@@ -618,7 +610,6 @@ static const char *get_multiarch_dir( enum target_cpu cpu )
case
CPU_x86_64
:
return
"/x86_64-linux-gnu"
;
case
CPU_ARM
:
return
"/arm-linux-gnueabi"
;
case
CPU_ARM64
:
return
"/aarch64-linux-gnu"
;
case
CPU_POWERPC
:
return
"/powerpc-linux-gnu"
;
default:
assert
(
0
);
return
NULL
;
...
...
@@ -852,11 +843,6 @@ static void compile(struct options* opts, const char* lang)
strarray_add
(
&
comp_args
,
"-D__cdecl=__stdcall"
);
strarray_add
(
&
comp_args
,
"-D__fastcall=__stdcall"
);
break
;
case
CPU_POWERPC
:
strarray_add
(
&
comp_args
,
"-D__stdcall="
);
strarray_add
(
&
comp_args
,
"-D__cdecl="
);
strarray_add
(
&
comp_args
,
"-D__fastcall="
);
break
;
}
strarray_add
(
&
comp_args
,
"-D_stdcall=__stdcall"
);
strarray_add
(
&
comp_args
,
"-D_cdecl=__cdecl"
);
...
...
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