mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-04-04 08:15:09 -05:00
update to binutils 2.24
Signed-off-by: Dave Murphy <wntrmute@users.sourceforge.net>
This commit is contained in:
parent
4abda470f2
commit
a9486a0343
|
|
@ -1,74 +0,0 @@
|
|||
diff -Nbaur binutils-2.23.1/bfd/configure binutils-2.23.1-ppc/bfd/configure
|
||||
--- binutils-2.23.1/bfd/configure 2012-11-13 14:17:40.000000000 +0000
|
||||
+++ binutils-2.23.1-ppc/bfd/configure 2013-09-07 09:25:54.000000000 +0100
|
||||
@@ -606,6 +606,7 @@
|
||||
tdefaults
|
||||
bfd_ufile_ptr
|
||||
bfd_file_ptr
|
||||
+lt_cv_dlopen_libs
|
||||
supports_plugins
|
||||
bfd_default_target_size
|
||||
bfd_machines
|
||||
@@ -15622,6 +15623,7 @@
|
||||
fi
|
||||
|
||||
|
||||
+
|
||||
# Determine the host dependant file_ptr a.k.a. off_t type. In order
|
||||
# prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
|
||||
# fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
|
||||
diff -Nbaur binutils-2.23.1/bfd/configure.in binutils-2.23.1-ppc/bfd/configure.in
|
||||
--- binutils-2.23.1/bfd/configure.in 2012-11-13 14:17:38.000000000 +0000
|
||||
+++ binutils-2.23.1-ppc/bfd/configure.in 2013-09-07 09:25:54.000000000 +0100
|
||||
@@ -1099,6 +1099,7 @@
|
||||
supports_plugins=0
|
||||
fi
|
||||
AC_SUBST(supports_plugins)
|
||||
+AC_SUBST(lt_cv_dlopen_libs)
|
||||
|
||||
# Determine the host dependant file_ptr a.k.a. off_t type. In order
|
||||
# prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
|
||||
diff -Nbaur binutils-2.23.1/bfd/Makefile.am binutils-2.23.1-ppc/bfd/Makefile.am
|
||||
--- binutils-2.23.1/bfd/Makefile.am 2012-11-13 14:17:38.000000000 +0000
|
||||
+++ binutils-2.23.1-ppc/bfd/Makefile.am 2013-09-07 09:25:54.000000000 +0100
|
||||
@@ -35,7 +35,7 @@
|
||||
AM_CPPFLAGS = -DBINDIR='"$(bindir)"'
|
||||
if PLUGINS
|
||||
bfdinclude_HEADERS += $(INCDIR)/plugin-api.h
|
||||
-LIBDL = -ldl
|
||||
+LIBDL = @lt_cv_dlopen_libs@
|
||||
endif
|
||||
|
||||
# bfd.h goes here, for now
|
||||
diff -Nbaur binutils-2.23.1/bfd/Makefile.in binutils-2.23.1-ppc/bfd/Makefile.in
|
||||
--- binutils-2.23.1/bfd/Makefile.in 2012-11-13 14:17:43.000000000 +0000
|
||||
+++ binutils-2.23.1-ppc/bfd/Makefile.in 2013-09-07 09:25:54.000000000 +0100
|
||||
@@ -293,6 +293,7 @@
|
||||
libexecdir = @libexecdir@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
+lt_cv_dlopen_libs = @lt_cv_dlopen_libs@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
oldincludedir = @oldincludedir@
|
||||
@@ -336,7 +337,7 @@
|
||||
@INSTALL_LIBBFD_FALSE@noinst_LTLIBRARIES = libbfd.la
|
||||
AM_CFLAGS = $(WARN_CFLAGS)
|
||||
AM_CPPFLAGS = -DBINDIR='"$(bindir)"'
|
||||
-@PLUGINS_TRUE@LIBDL = -ldl
|
||||
+@PLUGINS_TRUE@LIBDL = @lt_cv_dlopen_libs@
|
||||
|
||||
# bfd.h goes here, for now
|
||||
BFD_H = bfd.h
|
||||
diff -Nbaur binutils-2.23.1/opcodes/ppc-opc.c binutils-2.23.1-ppc/opcodes/ppc-opc.c
|
||||
--- binutils-2.23.1/opcodes/ppc-opc.c 2012-09-04 13:53:51.000000000 +0100
|
||||
+++ binutils-2.23.1-ppc/opcodes/ppc-opc.c 2013-09-07 08:56:16.000000000 +0100
|
||||
@@ -2707,7 +2707,7 @@
|
||||
#define MFDEC1 PPC_OPCODE_POWER
|
||||
#define MFDEC2 PPC_OPCODE_PPC | PPC_OPCODE_601 | PPC_OPCODE_BOOKE | PPC_OPCODE_TITAN
|
||||
#define BOOKE PPC_OPCODE_BOOKE
|
||||
-#define NO371 PPC_OPCODE_BOOKE | PPC_OPCODE_PPCPS | PPC_OPCODE_EFS | PPC_OPCODE_VLE
|
||||
+#define NO371 PPC_OPCODE_BOOKE | PPC_OPCODE_EFS | PPC_OPCODE_VLE
|
||||
#define PPCE300 PPC_OPCODE_E300
|
||||
#define PPCSPE PPC_OPCODE_SPE | PPC_OPCODE_VLE
|
||||
#define PPCISEL PPC_OPCODE_ISEL | PPC_OPCODE_VLE
|
||||
12
dkppc/patches/binutils-2.24.patch
Normal file
12
dkppc/patches/binutils-2.24.patch
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
diff -Nbaur binutils-2.24/opcodes/ppc-opc.c binutils-2.24-ppc/opcodes/ppc-opc.c
|
||||
--- binutils-2.24/opcodes/ppc-opc.c 2013-11-04 15:33:40.000000000 +0000
|
||||
+++ binutils-2.24-ppc/opcodes/ppc-opc.c 2014-04-01 14:22:06.000000000 +0100
|
||||
@@ -2735,7 +2735,7 @@
|
||||
#define MFDEC1 PPC_OPCODE_POWER
|
||||
#define MFDEC2 PPC_OPCODE_PPC | PPC_OPCODE_601 | PPC_OPCODE_BOOKE | PPC_OPCODE_TITAN
|
||||
#define BOOKE PPC_OPCODE_BOOKE
|
||||
-#define NO371 PPC_OPCODE_BOOKE | PPC_OPCODE_PPCPS | PPC_OPCODE_EFS | PPC_OPCODE_VLE
|
||||
+#define NO371 PPC_OPCODE_BOOKE | PPC_OPCODE_EFS | PPC_OPCODE_VLE
|
||||
#define PPCE300 PPC_OPCODE_E300
|
||||
#define PPCSPE PPC_OPCODE_SPE | PPC_OPCODE_VLE
|
||||
#define PPCISEL PPC_OPCODE_ISEL | PPC_OPCODE_VLE
|
||||
|
|
@ -41,7 +41,7 @@ case "$VERSION" in
|
|||
;;
|
||||
"2" )
|
||||
GCC_VER=4.8.2
|
||||
BINUTILS_VER=2.23.1
|
||||
BINUTILS_VER=2.24
|
||||
NEWLIB_VER=2.0.0
|
||||
GDB_VER=7.7
|
||||
basedir='dkppc'
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user