Skip to content

Commit f14cd29

Browse files
committed
move devkitPPC to gcc 8.1.0
1 parent 582cbfc commit f14cd29

2 files changed

Lines changed: 46 additions & 46 deletions

File tree

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
diff -Nbaur gcc-7.3.0/gcc/config/rs6000/rs6000.h gcc-7.3.0-ppc/gcc/config/rs6000/rs6000.h
2-
--- gcc-7.3.0/gcc/config/rs6000/rs6000.h 2017-03-22 17:47:55.458489000 +0000
3-
+++ gcc-7.3.0-ppc/gcc/config/rs6000/rs6000.h 2018-05-11 23:33:55.992082904 +0100
1+
diff -NBaur gcc-8.1.0/gcc/config/rs6000/rs6000.h gcc-8.1.0-ppc/gcc/config/rs6000/rs6000.h
2+
--- gcc-8.1.0/gcc/config/rs6000/rs6000.h 2018-04-10 18:59:52.000000000 +0100
3+
+++ gcc-8.1.0-ppc/gcc/config/rs6000/rs6000.h 2018-05-14 03:54:39.523821687 +0100
44
@@ -205,6 +205,7 @@
55
{ "asm_cpu_476", ASM_CPU_476_SPEC }, \
66
SUBTARGET_EXTRA_SPECS
@@ -18,10 +18,10 @@ diff -Nbaur gcc-7.3.0/gcc/config/rs6000/rs6000.h gcc-7.3.0-ppc/gcc/config/rs6000
1818

1919
#ifndef CC1_CPU_SPEC
2020
#ifdef HAVE_LOCAL_CPU_DETECT
21-
diff -Nbaur gcc-7.3.0/gcc/config/rs6000/sysv4.h gcc-7.3.0-ppc/gcc/config/rs6000/sysv4.h
22-
--- gcc-7.3.0/gcc/config/rs6000/sysv4.h 2017-08-29 09:23:44.773112000 +0100
23-
+++ gcc-7.3.0-ppc/gcc/config/rs6000/sysv4.h 2018-05-11 23:33:56.008082979 +0100
24-
@@ -564,7 +564,12 @@
21+
diff -NBaur gcc-8.1.0/gcc/config/rs6000/sysv4.h gcc-8.1.0-ppc/gcc/config/rs6000/sysv4.h
22+
--- gcc-8.1.0/gcc/config/rs6000/sysv4.h 2018-01-03 10:03:58.000000000 +0000
23+
+++ gcc-8.1.0-ppc/gcc/config/rs6000/sysv4.h 2018-05-14 03:54:39.539914747 +0100
24+
@@ -565,7 +565,12 @@
2525

2626
/* Default starting address if specified. */
2727
#define LINK_START_SPEC "\
@@ -35,7 +35,7 @@ diff -Nbaur gcc-7.3.0/gcc/config/rs6000/sysv4.h gcc-7.3.0-ppc/gcc/config/rs6000/
3535
myellowknife : %(link_start_yellowknife) ; \
3636
mmvme : %(link_start_mvme) ; \
3737
msim : %(link_start_sim) ; \
38-
@@ -595,7 +600,9 @@
38+
@@ -596,7 +601,9 @@
3939

4040
/* Any specific OS flags. */
4141
#define LINK_OS_SPEC "\
@@ -46,7 +46,7 @@ diff -Nbaur gcc-7.3.0/gcc/config/rs6000/sysv4.h gcc-7.3.0-ppc/gcc/config/rs6000/
4646
myellowknife : %(link_os_yellowknife) ; \
4747
mmvme : %(link_os_mvme) ; \
4848
msim : %(link_os_sim) ; \
49-
@@ -613,7 +620,11 @@
49+
@@ -614,7 +621,11 @@
5050
/* Override rs6000.h definition. */
5151
#undef CPP_SPEC
5252
#define CPP_SPEC "%{posix: -D_POSIX_SOURCE} \
@@ -59,7 +59,7 @@ diff -Nbaur gcc-7.3.0/gcc/config/rs6000/sysv4.h gcc-7.3.0-ppc/gcc/config/rs6000/
5959
myellowknife : %(cpp_os_yellowknife) ; \
6060
mmvme : %(cpp_os_mvme) ; \
6161
msim : %(cpp_os_sim) ; \
62-
@@ -627,7 +638,11 @@
62+
@@ -628,7 +639,11 @@
6363

6464
#undef STARTFILE_SPEC
6565
#define STARTFILE_SPEC "\
@@ -72,7 +72,7 @@ diff -Nbaur gcc-7.3.0/gcc/config/rs6000/sysv4.h gcc-7.3.0-ppc/gcc/config/rs6000/
7272
myellowknife : %(startfile_yellowknife) ; \
7373
mmvme : %(startfile_mvme) ; \
7474
msim : %(startfile_sim) ; \
75-
@@ -641,7 +656,9 @@
75+
@@ -642,7 +657,9 @@
7676

7777
#undef LIB_SPEC
7878
#define LIB_SPEC "\
@@ -83,7 +83,7 @@ diff -Nbaur gcc-7.3.0/gcc/config/rs6000/sysv4.h gcc-7.3.0-ppc/gcc/config/rs6000/
8383
myellowknife : %(lib_yellowknife) ; \
8484
mmvme : %(lib_mvme) ; \
8585
msim : %(lib_sim) ; \
86-
@@ -651,11 +668,13 @@
86+
@@ -652,11 +669,13 @@
8787
mcall-openbsd: %(lib_openbsd) ; \
8888
: %(lib_default) }"
8989

@@ -99,7 +99,7 @@ diff -Nbaur gcc-7.3.0/gcc/config/rs6000/sysv4.h gcc-7.3.0-ppc/gcc/config/rs6000/
9999
myellowknife : %(endfile_yellowknife) ; \
100100
mmvme : %(endfile_mvme) ; \
101101
msim : %(endfile_sim) ; \
102-
@@ -671,16 +690,33 @@
102+
@@ -672,16 +691,33 @@
103103

104104
/* Motorola ADS support. */
105105
#define LIB_ADS_SPEC "--start-group -lads -lc --end-group"
@@ -133,7 +133,7 @@ diff -Nbaur gcc-7.3.0/gcc/config/rs6000/sysv4.h gcc-7.3.0-ppc/gcc/config/rs6000/
133133

134134
/* Motorola Yellowknife support. */
135135
#define LIB_YELLOWKNIFE_SPEC "--start-group -lyk -lc --end-group"
136-
@@ -881,6 +917,8 @@
136+
@@ -882,6 +918,8 @@
137137
#undef SUBTARGET_EXTRA_SPECS
138138
#define SUBTARGET_EXTRA_SPECS \
139139
{ "crtsavres_default", CRTSAVRES_DEFAULT_SPEC }, \
@@ -142,7 +142,7 @@ diff -Nbaur gcc-7.3.0/gcc/config/rs6000/sysv4.h gcc-7.3.0-ppc/gcc/config/rs6000/
142142
{ "lib_ads", LIB_ADS_SPEC }, \
143143
{ "lib_yellowknife", LIB_YELLOWKNIFE_SPEC }, \
144144
{ "lib_mvme", LIB_MVME_SPEC }, \
145-
@@ -890,6 +928,8 @@
145+
@@ -891,6 +929,8 @@
146146
{ "lib_netbsd", LIB_NETBSD_SPEC }, \
147147
{ "lib_openbsd", LIB_OPENBSD_SPEC }, \
148148
{ "lib_default", LIB_DEFAULT_SPEC }, \
@@ -151,7 +151,7 @@ diff -Nbaur gcc-7.3.0/gcc/config/rs6000/sysv4.h gcc-7.3.0-ppc/gcc/config/rs6000/
151151
{ "startfile_ads", STARTFILE_ADS_SPEC }, \
152152
{ "startfile_yellowknife", STARTFILE_YELLOWKNIFE_SPEC }, \
153153
{ "startfile_mvme", STARTFILE_MVME_SPEC }, \
154-
@@ -899,6 +939,8 @@
154+
@@ -900,6 +940,8 @@
155155
{ "startfile_netbsd", STARTFILE_NETBSD_SPEC }, \
156156
{ "startfile_openbsd", STARTFILE_OPENBSD_SPEC }, \
157157
{ "startfile_default", STARTFILE_DEFAULT_SPEC }, \
@@ -160,7 +160,7 @@ diff -Nbaur gcc-7.3.0/gcc/config/rs6000/sysv4.h gcc-7.3.0-ppc/gcc/config/rs6000/
160160
{ "endfile_ads", ENDFILE_ADS_SPEC }, \
161161
{ "endfile_yellowknife", ENDFILE_YELLOWKNIFE_SPEC }, \
162162
{ "endfile_mvme", ENDFILE_MVME_SPEC }, \
163-
@@ -910,7 +952,12 @@
163+
@@ -911,7 +953,12 @@
164164
{ "endfile_default", ENDFILE_DEFAULT_SPEC }, \
165165
{ "link_shlib", LINK_SHLIB_SPEC }, \
166166
{ "link_start", LINK_START_SPEC }, \
@@ -173,7 +173,7 @@ diff -Nbaur gcc-7.3.0/gcc/config/rs6000/sysv4.h gcc-7.3.0-ppc/gcc/config/rs6000/
173173
{ "link_start_yellowknife", LINK_START_YELLOWKNIFE_SPEC }, \
174174
{ "link_start_mvme", LINK_START_MVME_SPEC }, \
175175
{ "link_start_sim", LINK_START_SIM_SPEC }, \
176-
@@ -920,6 +967,8 @@
176+
@@ -921,6 +968,8 @@
177177
{ "link_start_openbsd", LINK_START_OPENBSD_SPEC }, \
178178
{ "link_start_default", LINK_START_DEFAULT_SPEC }, \
179179
{ "link_os", LINK_OS_SPEC }, \
@@ -182,7 +182,7 @@ diff -Nbaur gcc-7.3.0/gcc/config/rs6000/sysv4.h gcc-7.3.0-ppc/gcc/config/rs6000/
182182
{ "link_os_ads", LINK_OS_ADS_SPEC }, \
183183
{ "link_os_yellowknife", LINK_OS_YELLOWKNIFE_SPEC }, \
184184
{ "link_os_mvme", LINK_OS_MVME_SPEC }, \
185-
@@ -931,6 +980,10 @@
185+
@@ -932,6 +981,10 @@
186186
{ "link_os_default", LINK_OS_DEFAULT_SPEC }, \
187187
{ "cc1_secure_plt_default", CC1_SECURE_PLT_DEFAULT_SPEC }, \
188188
{ "link_secure_plt", LINK_SECURE_PLT_SPEC }, \
@@ -193,10 +193,10 @@ diff -Nbaur gcc-7.3.0/gcc/config/rs6000/sysv4.h gcc-7.3.0-ppc/gcc/config/rs6000/
193193
{ "cpp_os_ads", CPP_OS_ADS_SPEC }, \
194194
{ "cpp_os_yellowknife", CPP_OS_YELLOWKNIFE_SPEC }, \
195195
{ "cpp_os_mvme", CPP_OS_MVME_SPEC }, \
196-
diff -Nbaur gcc-7.3.0/gcc/config/rs6000/sysv4.opt gcc-7.3.0-ppc/gcc/config/rs6000/sysv4.opt
197-
--- gcc-7.3.0/gcc/config/rs6000/sysv4.opt 2017-01-01 12:07:43.905435000 +0000
198-
+++ gcc-7.3.0-ppc/gcc/config/rs6000/sysv4.opt 2018-05-11 23:33:56.008082979 +0100
199-
@@ -120,6 +120,30 @@
196+
diff -NBaur gcc-8.1.0/gcc/config/rs6000/sysv4.opt gcc-8.1.0-ppc/gcc/config/rs6000/sysv4.opt
197+
--- gcc-8.1.0/gcc/config/rs6000/sysv4.opt 2018-04-11 16:25:42.000000000 +0100
198+
+++ gcc-8.1.0-ppc/gcc/config/rs6000/sysv4.opt 2018-05-14 03:54:39.539914747 +0100
199+
@@ -124,6 +124,30 @@
200200
Target RejectNegative
201201
Link with libads.a, libc.a and crt0.o.
202202

@@ -227,22 +227,22 @@ diff -Nbaur gcc-7.3.0/gcc/config/rs6000/sysv4.opt gcc-7.3.0-ppc/gcc/config/rs600
227227
myellowknife
228228
Target RejectNegative
229229
Link with libyk.a, libc.a and crt0.o.
230-
diff -Nbaur gcc-7.3.0/gcc/config.gcc gcc-7.3.0-ppc/gcc/config.gcc
231-
--- gcc-7.3.0/gcc/config.gcc 2018-01-08 13:39:11.754860000 +0000
232-
+++ gcc-7.3.0-ppc/gcc/config.gcc 2018-05-11 23:33:56.008082979 +0100
233-
@@ -2422,7 +2422,7 @@
230+
diff -NBaur gcc-8.1.0/gcc/config.gcc gcc-8.1.0-ppc/gcc/config.gcc
231+
--- gcc-8.1.0/gcc/config.gcc 2018-04-27 20:31:35.000000000 +0100
232+
+++ gcc-8.1.0-ppc/gcc/config.gcc 2018-05-14 03:58:47.902895652 +0100
233+
@@ -2459,7 +2459,7 @@
234234
use_gcc_stdint=wrap
235235
;;
236236
powerpc-*-eabi*)
237-
- tm_file="${tm_file} dbxelf.h elfos.h usegas.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h"
238-
+ tm_file="${tm_file} dbxelf.h elfos.h usegas.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/e500.h rs6000/750cl.h"
237+
- tm_file="${tm_file} dbxelf.h elfos.h usegas.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h"
238+
+ tm_file="${tm_file} dbxelf.h elfos.h usegas.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/750cl.h"
239239
extra_options="${extra_options} rs6000/sysv4.opt"
240240
tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm"
241241
use_gcc_stdint=wrap
242-
diff -Nbaur gcc-7.3.0/gcc/Makefile.in gcc-7.3.0-ppc/gcc/Makefile.in
243-
--- gcc-7.3.0/gcc/Makefile.in 2017-05-02 17:12:40.965506000 +0100
244-
+++ gcc-7.3.0-ppc/gcc/Makefile.in 2018-05-11 23:33:56.008082979 +0100
245-
@@ -1087,8 +1087,8 @@
242+
diff -NBaur gcc-8.1.0/gcc/Makefile.in gcc-8.1.0-ppc/gcc/Makefile.in
243+
--- gcc-8.1.0/gcc/Makefile.in 2018-03-09 15:24:44.000000000 +0000
244+
+++ gcc-8.1.0-ppc/gcc/Makefile.in 2018-05-14 03:54:39.539914747 +0100
245+
@@ -1098,8 +1098,8 @@
246246
# things like the go/%.o rule work properly; but we use $(*F) for the
247247
# file part, as we just want the file part of the stem, not the entire
248248
# file name.
@@ -253,9 +253,9 @@ diff -Nbaur gcc-7.3.0/gcc/Makefile.in gcc-7.3.0-ppc/gcc/Makefile.in
253253
else
254254
COMPILE = source='$<' object='$@' libtool=no \
255255
DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) $(COMPILE.base)
256-
diff -Nbaur gcc-7.3.0/libcpp/Makefile.in gcc-7.3.0-ppc/libcpp/Makefile.in
257-
--- gcc-7.3.0/libcpp/Makefile.in 2018-01-25 08:17:54.075232055 +0000
258-
+++ gcc-7.3.0-ppc/libcpp/Makefile.in 2018-05-11 23:33:56.008082979 +0100
256+
diff -NBaur gcc-8.1.0/libcpp/Makefile.in gcc-8.1.0-ppc/libcpp/Makefile.in
257+
--- gcc-8.1.0/libcpp/Makefile.in 2018-05-02 09:19:58.000000000 +0100
258+
+++ gcc-8.1.0-ppc/libcpp/Makefile.in 2018-05-14 03:54:39.543938012 +0100
259259
@@ -208,8 +208,7 @@
260260
# Note that we put the dependencies into a .Tpo file, then move them
261261
# into place if the compile succeeds. We need this because gcc does
@@ -266,9 +266,9 @@ diff -Nbaur gcc-7.3.0/libcpp/Makefile.in gcc-7.3.0-ppc/libcpp/Makefile.in
266266
else
267267
COMPILE = source='$<' object='$@' libtool=no DEPDIR=$(DEPDIR) $(DEPMODE) \
268268
$(depcomp) $(COMPILE.base)
269-
diff -Nbaur gcc-7.3.0/libgcc/config/rs6000/crtrestvr.S gcc-7.3.0-ppc/libgcc/config/rs6000/crtrestvr.S
270-
--- gcc-7.3.0/libgcc/config/rs6000/crtrestvr.S 2017-03-10 19:29:48.315441000 +0000
271-
+++ gcc-7.3.0-ppc/libgcc/config/rs6000/crtrestvr.S 2018-05-11 23:33:56.008082979 +0100
269+
diff -NBaur gcc-8.1.0/libgcc/config/rs6000/crtrestvr.S gcc-8.1.0-ppc/libgcc/config/rs6000/crtrestvr.S
270+
--- gcc-8.1.0/libgcc/config/rs6000/crtrestvr.S 2018-01-03 10:03:58.000000000 +0000
271+
+++ gcc-8.1.0-ppc/libgcc/config/rs6000/crtrestvr.S 2018-05-14 03:54:39.543938012 +0100
272272
@@ -24,7 +24,7 @@
273273

274274
/* On PowerPC64 Linux, these functions are provided by the linker. */
@@ -283,9 +283,9 @@ diff -Nbaur gcc-7.3.0/libgcc/config/rs6000/crtrestvr.S gcc-7.3.0-ppc/libgcc/conf
283283

284284
#endif
285285
+#endif
286-
diff -Nbaur gcc-7.3.0/libgcc/config/rs6000/crtsavevr.S gcc-7.3.0-ppc/libgcc/config/rs6000/crtsavevr.S
287-
--- gcc-7.3.0/libgcc/config/rs6000/crtsavevr.S 2017-03-10 19:29:48.315441000 +0000
288-
+++ gcc-7.3.0-ppc/libgcc/config/rs6000/crtsavevr.S 2018-05-11 23:33:56.008082979 +0100
286+
diff -NBaur gcc-8.1.0/libgcc/config/rs6000/crtsavevr.S gcc-8.1.0-ppc/libgcc/config/rs6000/crtsavevr.S
287+
--- gcc-8.1.0/libgcc/config/rs6000/crtsavevr.S 2018-01-03 10:03:58.000000000 +0000
288+
+++ gcc-8.1.0-ppc/libgcc/config/rs6000/crtsavevr.S 2018-05-14 03:54:39.543938012 +0100
289289
@@ -24,7 +24,7 @@
290290

291291
/* On PowerPC64 Linux, these functions are provided by the linker. */
@@ -300,9 +300,9 @@ diff -Nbaur gcc-7.3.0/libgcc/config/rs6000/crtsavevr.S gcc-7.3.0-ppc/libgcc/conf
300300

301301
#endif
302302
+#endif
303-
diff -Nbaur gcc-7.3.0/libgcc/crtstuff.c gcc-7.3.0-ppc/libgcc/crtstuff.c
304-
--- gcc-7.3.0/libgcc/crtstuff.c 2017-01-01 12:07:43.905435000 +0000
305-
+++ gcc-7.3.0-ppc/libgcc/crtstuff.c 2018-05-11 23:33:56.008082979 +0100
303+
diff -NBaur gcc-8.1.0/libgcc/crtstuff.c gcc-8.1.0-ppc/libgcc/crtstuff.c
304+
--- gcc-8.1.0/libgcc/crtstuff.c 2018-01-03 10:03:58.000000000 +0000
305+
+++ gcc-8.1.0-ppc/libgcc/crtstuff.c 2018-05-14 03:54:39.543938012 +0100
306306
@@ -47,6 +47,7 @@
307307

308308
/* Target machine header files require this define. */

select_toolchain.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ case "$VERSION" in
4040
toolchain=DEVKITARM
4141
;;
4242
"2" )
43-
GCC_VER=7.3.0
43+
GCC_VER=8.1.0
4444
BINUTILS_VER=2.28
4545
MN_BINUTILS_VER=2.17
4646
NEWLIB_VER=2.5.0

0 commit comments

Comments
 (0)