mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-04-17 07:16:08 -05:00
75 lines
2.8 KiB
Diff
75 lines
2.8 KiB
Diff
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
|