Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix -pipe on gcc 2.5.7-psx #21

Merged
merged 1 commit into from
Nov 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions patches/mips-2.5.7.h.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
diff --git "a/config/mips/mips.h" "b/config/mips/mips.h"
index 35a56b8..966f694 100644
--- "a/config/mips/mips.h"
+++ "b/config/mips/mips.h"
@@ -519,10 +519,6 @@ while (0)
--- config/mips/mips.h 1993-11-15 06:54:12.000000000 +0000
+++ config/mips/mips-patched.h 2023-11-22 09:50:03.011252767 +0000
@@ -519,10 +519,6 @@
#error "Define CPP_SPEC in the appropriate tm.h file"
#endif

Expand All @@ -13,3 +11,15 @@ index 35a56b8..966f694 100644
#ifndef LIB_SPEC
#error "Define LIB_SPEC in the appropriate tm.h file"
#endif
@@ -556,10 +552,7 @@
#define ASM_SPEC "\
%{!mgas: \
%{!mrnames: %{!.s:-nocpp} %{.s: %{cpp} %{nocpp}}} \
- %{pipe: %e-pipe is not supported.} \
- %{EB} %{!EB:-EB} \
- %{EL: %e-EL not supported} \
- %{mips1} %{mips2} %{mips3} \
+ %{EB} %{EL} %{mips1} %{mips2} %{mips3} \
%{noasmopt:-O0} \
%{!noasmopt:%{O:-O2} %{O1:-O2} %{O2:-O2} %{O3:-O3}} \
%{g} %{g0} %{g1} %{g2} %{g3} %{v} %{K} \
2 changes: 1 addition & 1 deletion patches/psx-2.5.7.patch
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ diff --color -ruN -p1 gcc-2.6.3/config/mips/psx.h gcc-2.6.3-psx/config/mips/psx.
+
+/* Definitions by GIL for PSX */
+
+/*#define TARGET_DEFAULT (MASK_GAS+MASK_SOFT_FLOAT+MASK_GPOPT)*/
+#define TARGET_DEFAULT (MASK_GAS+MASK_SOFT_FLOAT)
+
+#define CPP_PREDEFINES "-Dmips -DMIPSEL"
+
Expand Down