Skip to content

Commit b56e3bc

Browse files
committed
update binutils, gcc & gdb versions
1 parent 3f96ad9 commit b56e3bc

4 files changed

Lines changed: 44 additions & 78 deletions

File tree

Lines changed: 40 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
diff -NBaur gcc-6.1.0/gcc/config/rs6000/rs6000.h gcc-6.1.0-ppc/gcc/config/rs6000/rs6000.h
2-
--- gcc-6.1.0/gcc/config/rs6000/rs6000.h 2016-01-20 20:30:24.000000000 +0000
3-
+++ gcc-6.1.0-ppc/gcc/config/rs6000/rs6000.h 2016-05-20 12:10:24.645019640 +0100
1+
diff -NBaur gcc-6.3.0/gcc/config/rs6000/rs6000.h gcc-6.3.0-ppc/gcc/config/rs6000/rs6000.h
2+
--- gcc-6.3.0/gcc/config/rs6000/rs6000.h 2016-07-07 20:42:07.000000000 +0100
3+
+++ gcc-6.3.0-ppc/gcc/config/rs6000/rs6000.h 2017-01-05 02:42:41.980000000 +0000
44
@@ -205,6 +205,7 @@
55
{ "asm_cpu_476", ASM_CPU_476_SPEC }, \
66
SUBTARGET_EXTRA_SPECS
@@ -18,9 +18,9 @@ diff -NBaur gcc-6.1.0/gcc/config/rs6000/rs6000.h gcc-6.1.0-ppc/gcc/config/rs6000
1818

1919
#ifndef CC1_CPU_SPEC
2020
#ifdef HAVE_LOCAL_CPU_DETECT
21-
diff -NBaur gcc-6.1.0/gcc/config/rs6000/sysv4.h gcc-6.1.0-ppc/gcc/config/rs6000/sysv4.h
22-
--- gcc-6.1.0/gcc/config/rs6000/sysv4.h 2016-01-04 14:30:50.000000000 +0000
23-
+++ gcc-6.1.0-ppc/gcc/config/rs6000/sysv4.h 2016-05-20 12:12:27.073019640 +0100
21+
diff -NBaur gcc-6.3.0/gcc/config/rs6000/sysv4.h gcc-6.3.0-ppc/gcc/config/rs6000/sysv4.h
22+
--- gcc-6.3.0/gcc/config/rs6000/sysv4.h 2016-05-16 14:47:47.000000000 +0100
23+
+++ gcc-6.3.0-ppc/gcc/config/rs6000/sysv4.h 2017-01-05 02:46:27.020000000 +0000
2424
@@ -559,7 +559,12 @@
2525

2626
/* Default starting address if specified. */
@@ -35,7 +35,7 @@ diff -NBaur gcc-6.1.0/gcc/config/rs6000/sysv4.h gcc-6.1.0-ppc/gcc/config/rs6000/
3535
myellowknife : %(link_start_yellowknife) ; \
3636
mmvme : %(link_start_mvme) ; \
3737
msim : %(link_start_sim) ; \
38-
@@ -590,7 +594,9 @@
38+
@@ -590,7 +595,9 @@
3939

4040
/* Any specific OS flags. */
4141
#define LINK_OS_SPEC "\
@@ -46,7 +46,7 @@ diff -NBaur gcc-6.1.0/gcc/config/rs6000/sysv4.h gcc-6.1.0-ppc/gcc/config/rs6000/
4646
myellowknife : %(link_os_yellowknife) ; \
4747
mmvme : %(link_os_mvme) ; \
4848
msim : %(link_os_sim) ; \
49-
@@ -608,7 +613,11 @@
49+
@@ -608,7 +615,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-6.1.0/gcc/config/rs6000/sysv4.h gcc-6.1.0-ppc/gcc/config/rs6000/
5959
myellowknife : %(cpp_os_yellowknife) ; \
6060
mmvme : %(cpp_os_mvme) ; \
6161
msim : %(cpp_os_sim) ; \
62-
@@ -622,7 +630,11 @@
62+
@@ -622,7 +633,11 @@
6363

6464
#undef STARTFILE_SPEC
6565
#define STARTFILE_SPEC "\
@@ -72,12 +72,7 @@ diff -NBaur gcc-6.1.0/gcc/config/rs6000/sysv4.h gcc-6.1.0-ppc/gcc/config/rs6000/
7272
myellowknife : %(startfile_yellowknife) ; \
7373
mmvme : %(startfile_mvme) ; \
7474
msim : %(startfile_sim) ; \
75-
@@ -632,11 +643,13 @@
76-
mcall-openbsd: %(startfile_openbsd) ; \
77-
: %(startfile_default) }"
78-
79-
-#define STARTFILE_DEFAULT_SPEC "ecrti.o%s crtbegin.o%s"
80-
+#define STARTFILE_DEFAULT_SPEC "crt0.o%s ecrti.o%s crtbegin.o%s"
75+
@@ -636,7 +651,9 @@
8176

8277
#undef LIB_SPEC
8378
#define LIB_SPEC "\
@@ -88,7 +83,7 @@ diff -NBaur gcc-6.1.0/gcc/config/rs6000/sysv4.h gcc-6.1.0-ppc/gcc/config/rs6000/
8883
myellowknife : %(lib_yellowknife) ; \
8984
mmvme : %(lib_mvme) ; \
9085
msim : %(lib_sim) ; \
91-
@@ -646,11 +658,13 @@
86+
@@ -646,11 +663,13 @@
9287
mcall-openbsd: %(lib_openbsd) ; \
9388
: %(lib_default) }"
9489

@@ -104,7 +99,7 @@ diff -NBaur gcc-6.1.0/gcc/config/rs6000/sysv4.h gcc-6.1.0-ppc/gcc/config/rs6000/
10499
myellowknife : %(endfile_yellowknife) ; \
105100
mmvme : %(endfile_mvme) ; \
106101
msim : %(endfile_sim) ; \
107-
@@ -666,16 +679,33 @@
102+
@@ -666,16 +685,33 @@
108103

109104
/* Motorola ADS support. */
110105
#define LIB_ADS_SPEC "--start-group -lads -lc --end-group"
@@ -138,7 +133,7 @@ diff -NBaur gcc-6.1.0/gcc/config/rs6000/sysv4.h gcc-6.1.0-ppc/gcc/config/rs6000/
138133

139134
/* Motorola Yellowknife support. */
140135
#define LIB_YELLOWKNIFE_SPEC "--start-group -lyk -lc --end-group"
141-
@@ -855,6 +879,8 @@
136+
@@ -866,6 +902,8 @@
142137
#undef SUBTARGET_EXTRA_SPECS
143138
#define SUBTARGET_EXTRA_SPECS \
144139
{ "crtsavres_default", CRTSAVRES_DEFAULT_SPEC }, \
@@ -147,7 +142,7 @@ diff -NBaur gcc-6.1.0/gcc/config/rs6000/sysv4.h gcc-6.1.0-ppc/gcc/config/rs6000/
147142
{ "lib_ads", LIB_ADS_SPEC }, \
148143
{ "lib_yellowknife", LIB_YELLOWKNIFE_SPEC }, \
149144
{ "lib_mvme", LIB_MVME_SPEC }, \
150-
@@ -864,6 +889,8 @@
145+
@@ -875,6 +913,8 @@
151146
{ "lib_netbsd", LIB_NETBSD_SPEC }, \
152147
{ "lib_openbsd", LIB_OPENBSD_SPEC }, \
153148
{ "lib_default", LIB_DEFAULT_SPEC }, \
@@ -156,7 +151,7 @@ diff -NBaur gcc-6.1.0/gcc/config/rs6000/sysv4.h gcc-6.1.0-ppc/gcc/config/rs6000/
156151
{ "startfile_ads", STARTFILE_ADS_SPEC }, \
157152
{ "startfile_yellowknife", STARTFILE_YELLOWKNIFE_SPEC }, \
158153
{ "startfile_mvme", STARTFILE_MVME_SPEC }, \
159-
@@ -873,6 +899,8 @@
154+
@@ -884,6 +924,8 @@
160155
{ "startfile_netbsd", STARTFILE_NETBSD_SPEC }, \
161156
{ "startfile_openbsd", STARTFILE_OPENBSD_SPEC }, \
162157
{ "startfile_default", STARTFILE_DEFAULT_SPEC }, \
@@ -165,7 +160,7 @@ diff -NBaur gcc-6.1.0/gcc/config/rs6000/sysv4.h gcc-6.1.0-ppc/gcc/config/rs6000/
165160
{ "endfile_ads", ENDFILE_ADS_SPEC }, \
166161
{ "endfile_yellowknife", ENDFILE_YELLOWKNIFE_SPEC }, \
167162
{ "endfile_mvme", ENDFILE_MVME_SPEC }, \
168-
@@ -884,7 +911,12 @@
163+
@@ -895,7 +937,12 @@
169164
{ "endfile_default", ENDFILE_DEFAULT_SPEC }, \
170165
{ "link_shlib", LINK_SHLIB_SPEC }, \
171166
{ "link_start", LINK_START_SPEC }, \
@@ -178,7 +173,7 @@ diff -NBaur gcc-6.1.0/gcc/config/rs6000/sysv4.h gcc-6.1.0-ppc/gcc/config/rs6000/
178173
{ "link_start_yellowknife", LINK_START_YELLOWKNIFE_SPEC }, \
179174
{ "link_start_mvme", LINK_START_MVME_SPEC }, \
180175
{ "link_start_sim", LINK_START_SIM_SPEC }, \
181-
@@ -894,6 +925,8 @@
176+
@@ -905,6 +952,8 @@
182177
{ "link_start_openbsd", LINK_START_OPENBSD_SPEC }, \
183178
{ "link_start_default", LINK_START_DEFAULT_SPEC }, \
184179
{ "link_os", LINK_OS_SPEC }, \
@@ -187,7 +182,7 @@ diff -NBaur gcc-6.1.0/gcc/config/rs6000/sysv4.h gcc-6.1.0-ppc/gcc/config/rs6000/
187182
{ "link_os_ads", LINK_OS_ADS_SPEC }, \
188183
{ "link_os_yellowknife", LINK_OS_YELLOWKNIFE_SPEC }, \
189184
{ "link_os_mvme", LINK_OS_MVME_SPEC }, \
190-
@@ -905,6 +937,10 @@
185+
@@ -916,6 +965,10 @@
191186
{ "link_os_default", LINK_OS_DEFAULT_SPEC }, \
192187
{ "cc1_secure_plt_default", CC1_SECURE_PLT_DEFAULT_SPEC }, \
193188
{ "link_secure_plt", LINK_SECURE_PLT_SPEC }, \
@@ -198,9 +193,9 @@ diff -NBaur gcc-6.1.0/gcc/config/rs6000/sysv4.h gcc-6.1.0-ppc/gcc/config/rs6000/
198193
{ "cpp_os_ads", CPP_OS_ADS_SPEC }, \
199194
{ "cpp_os_yellowknife", CPP_OS_YELLOWKNIFE_SPEC }, \
200195
{ "cpp_os_mvme", CPP_OS_MVME_SPEC }, \
201-
diff -NBaur gcc-6.1.0/gcc/config/rs6000/sysv4.opt gcc-6.1.0-ppc/gcc/config/rs6000/sysv4.opt
202-
--- gcc-6.1.0/gcc/config/rs6000/sysv4.opt 2016-01-04 14:30:50.000000000 +0000
203-
+++ gcc-6.1.0-ppc/gcc/config/rs6000/sysv4.opt 2016-05-20 12:10:24.649019640 +0100
196+
diff -NBaur gcc-6.3.0/gcc/config/rs6000/sysv4.opt gcc-6.3.0-ppc/gcc/config/rs6000/sysv4.opt
197+
--- gcc-6.3.0/gcc/config/rs6000/sysv4.opt 2016-01-04 14:30:50.000000000 +0000
198+
+++ gcc-6.3.0-ppc/gcc/config/rs6000/sysv4.opt 2017-01-05 02:42:41.984000000 +0000
204199
@@ -120,6 +120,30 @@
205200
Target RejectNegative
206201
Link with libads.a, libc.a and crt0.o.
@@ -232,10 +227,10 @@ diff -NBaur gcc-6.1.0/gcc/config/rs6000/sysv4.opt gcc-6.1.0-ppc/gcc/config/rs600
232227
myellowknife
233228
Target RejectNegative
234229
Link with libyk.a, libc.a and crt0.o.
235-
diff -NBaur gcc-6.1.0/gcc/config.gcc gcc-6.1.0-ppc/gcc/config.gcc
236-
--- gcc-6.1.0/gcc/config.gcc 2016-04-11 11:14:59.000000000 +0100
237-
+++ gcc-6.1.0-ppc/gcc/config.gcc 2016-05-20 12:10:24.661019640 +0100
238-
@@ -2381,7 +2381,7 @@
230+
diff -NBaur gcc-6.3.0/gcc/config.gcc gcc-6.3.0-ppc/gcc/config.gcc
231+
--- gcc-6.3.0/gcc/config.gcc 2016-11-07 21:38:43.000000000 +0000
232+
+++ gcc-6.3.0-ppc/gcc/config.gcc 2017-01-05 02:42:41.984000000 +0000
233+
@@ -2390,7 +2390,7 @@
239234
use_gcc_stdint=wrap
240235
;;
241236
powerpc-*-eabi*)
@@ -244,9 +239,9 @@ diff -NBaur gcc-6.1.0/gcc/config.gcc gcc-6.1.0-ppc/gcc/config.gcc
244239
extra_options="${extra_options} rs6000/sysv4.opt"
245240
tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm"
246241
use_gcc_stdint=wrap
247-
diff -NBaur gcc-6.1.0/gcc/Makefile.in gcc-6.1.0-ppc/gcc/Makefile.in
248-
--- gcc-6.1.0/gcc/Makefile.in 2016-04-15 12:49:39.000000000 +0100
249-
+++ gcc-6.1.0-ppc/gcc/Makefile.in 2016-05-20 12:10:24.641019640 +0100
242+
diff -NBaur gcc-6.3.0/gcc/Makefile.in gcc-6.3.0-ppc/gcc/Makefile.in
243+
--- gcc-6.3.0/gcc/Makefile.in 2016-11-22 17:33:07.000000000 +0000
244+
+++ gcc-6.3.0-ppc/gcc/Makefile.in 2017-01-05 02:42:41.988000000 +0000
250245
@@ -1073,8 +1073,8 @@
251246
# things like the go/%.o rule work properly; but we use $(*F) for the
252247
# file part, as we just want the file part of the stem, not the entire
@@ -258,9 +253,9 @@ diff -NBaur gcc-6.1.0/gcc/Makefile.in gcc-6.1.0-ppc/gcc/Makefile.in
258253
else
259254
COMPILE = source='$<' object='$@' libtool=no \
260255
DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) $(COMPILE.base)
261-
diff -NBaur gcc-6.1.0/libcpp/Makefile.in gcc-6.1.0-ppc/libcpp/Makefile.in
262-
--- gcc-6.1.0/libcpp/Makefile.in 2016-04-27 09:22:11.000000000 +0100
263-
+++ gcc-6.1.0-ppc/libcpp/Makefile.in 2016-05-20 12:10:24.661019640 +0100
256+
diff -NBaur gcc-6.3.0/libcpp/Makefile.in gcc-6.3.0-ppc/libcpp/Makefile.in
257+
--- gcc-6.3.0/libcpp/Makefile.in 2016-12-21 07:53:39.000000000 +0000
258+
+++ gcc-6.3.0-ppc/libcpp/Makefile.in 2017-01-05 02:42:41.988000000 +0000
264259
@@ -208,8 +208,7 @@
265260
# Note that we put the dependencies into a .Tpo file, then move them
266261
# into place if the compile succeeds. We need this because gcc does
@@ -271,9 +266,9 @@ diff -NBaur gcc-6.1.0/libcpp/Makefile.in gcc-6.1.0-ppc/libcpp/Makefile.in
271266
else
272267
COMPILE = source='$<' object='$@' libtool=no DEPDIR=$(DEPDIR) $(DEPMODE) \
273268
$(depcomp) $(COMPILE.base)
274-
diff -NBaur gcc-6.1.0/libgcc/config/rs6000/crtrestvr.S gcc-6.1.0-ppc/libgcc/config/rs6000/crtrestvr.S
275-
--- gcc-6.1.0/libgcc/config/rs6000/crtrestvr.S 2016-01-04 14:30:50.000000000 +0000
276-
+++ gcc-6.1.0-ppc/libgcc/config/rs6000/crtrestvr.S 2016-05-20 12:10:24.665019640 +0100
269+
diff -NBaur gcc-6.3.0/libgcc/config/rs6000/crtrestvr.S gcc-6.3.0-ppc/libgcc/config/rs6000/crtrestvr.S
270+
--- gcc-6.3.0/libgcc/config/rs6000/crtrestvr.S 2016-01-04 14:30:50.000000000 +0000
271+
+++ gcc-6.3.0-ppc/libgcc/config/rs6000/crtrestvr.S 2017-01-05 02:42:41.988000000 +0000
277272
@@ -24,7 +24,7 @@
278273

279274
/* On PowerPC64 Linux, these functions are provided by the linker. */
@@ -288,9 +283,9 @@ diff -NBaur gcc-6.1.0/libgcc/config/rs6000/crtrestvr.S gcc-6.1.0-ppc/libgcc/conf
288283

289284
#endif
290285
+#endif
291-
diff -NBaur gcc-6.1.0/libgcc/config/rs6000/crtsavevr.S gcc-6.1.0-ppc/libgcc/config/rs6000/crtsavevr.S
292-
--- gcc-6.1.0/libgcc/config/rs6000/crtsavevr.S 2016-01-04 14:30:50.000000000 +0000
293-
+++ gcc-6.1.0-ppc/libgcc/config/rs6000/crtsavevr.S 2016-05-20 12:10:24.665019640 +0100
286+
diff -NBaur gcc-6.3.0/libgcc/config/rs6000/crtsavevr.S gcc-6.3.0-ppc/libgcc/config/rs6000/crtsavevr.S
287+
--- gcc-6.3.0/libgcc/config/rs6000/crtsavevr.S 2016-01-04 14:30:50.000000000 +0000
288+
+++ gcc-6.3.0-ppc/libgcc/config/rs6000/crtsavevr.S 2017-01-05 02:42:41.988000000 +0000
294289
@@ -24,7 +24,7 @@
295290

296291
/* On PowerPC64 Linux, these functions are provided by the linker. */
@@ -305,9 +300,9 @@ diff -NBaur gcc-6.1.0/libgcc/config/rs6000/crtsavevr.S gcc-6.1.0-ppc/libgcc/conf
305300

306301
#endif
307302
+#endif
308-
diff -NBaur gcc-6.1.0/libgcc/crtstuff.c gcc-6.1.0-ppc/libgcc/crtstuff.c
309-
--- gcc-6.1.0/libgcc/crtstuff.c 2016-01-04 14:30:50.000000000 +0000
310-
+++ gcc-6.1.0-ppc/libgcc/crtstuff.c 2016-05-20 12:10:24.669019640 +0100
303+
diff -NBaur gcc-6.3.0/libgcc/crtstuff.c gcc-6.3.0-ppc/libgcc/crtstuff.c
304+
--- gcc-6.3.0/libgcc/crtstuff.c 2016-01-04 14:30:50.000000000 +0000
305+
+++ gcc-6.3.0-ppc/libgcc/crtstuff.c 2017-01-05 02:42:41.988000000 +0000
311306
@@ -47,6 +47,7 @@
312307

313308
/* Target machine header files require this define. */
@@ -316,15 +311,3 @@ diff -NBaur gcc-6.1.0/libgcc/crtstuff.c gcc-6.1.0-ppc/libgcc/crtstuff.c
316311

317312
/* FIXME: Including auto-host is incorrect, but until we have
318313
identified the set of defines that need to go into auto-target.h,
319-
diff -NBaur gcc-6.1.0/libstdc++-v3/include/std/type_traits gcc-6.1.0-ppc/libstdc++-v3/include/std/type_traits
320-
--- gcc-6.1.0/libstdc++-v3/include/std/type_traits 2016-01-12 21:19:58.000000000 +0000
321-
+++ gcc-6.1.0-ppc/libstdc++-v3/include/std/type_traits 2016-05-20 12:10:24.669019640 +0100
322-
@@ -38,7 +38,7 @@
323-
#include <bits/c++config.h>
324-
325-
#ifdef _GLIBCXX_USE_C99_STDINT_TR1
326-
-# if defined (__UINT_LEAST16_TYPE__) && defined(__UINT_LEAST32_TYPE__)
327-
+# if defined (__UINT_LEAST16_TYPE__) && defined(__UINT_LEAST32_TYPE__) && 0
328-
namespace std
329-
{
330-
typedef __UINT_LEAST16_TYPE__ uint_least16_t;

dkppc/patches/gdb-7.11.patch

Lines changed: 0 additions & 18 deletions
This file was deleted.

dkppc/scripts/build-gcc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ then
9595
--with-headers=../../newlib-$NEWLIB_VER/newlib/libc/include \
9696
--prefix=$prefix\
9797
--with-system-zlib\
98-
--with-bugurl="http://wiki.devkitpro.org/index.php/Bug_Reports" --with-pkgversion="devkitPPC release 30 alpha" \
98+
--with-bugurl="https://github.com/devkitpro/buildscripts/issues" --with-pkgversion="devkitPPC release 30" \
9999
$CROSS_PARAMS \
100100
|| { echo "Error configuring gcc stage 1"; exit 1; }
101101
touch configured-gcc

select_toolchain.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,12 @@ case "$VERSION" in
4040
toolchain=DEVKITARM
4141
;;
4242
"2" )
43-
GCC_VER=7.1.0
43+
GCC_VER=6.4.0
4444
BINUTILS_VER=2.28
4545
MN_BINUTILS_VER=2.17
4646
NEWLIB_VER=2.5.0
47-
GDB_VER=8.0
47+
GDB_VER=8.0.1
48+
>>>>>>> update binutils, gcc & gdb versions
4849
basedir='dkppc'
4950
package=devkitPPC
5051
target=powerpc-eabi

0 commit comments

Comments
 (0)