summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-12-04 11:08:57 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-12-05 16:50:48 +0100
commitcea2bc962d7c6bdbfff0a753443c4151d721c0a3 (patch)
tree889e090b2f7dd2f06150553fcaf9f5c08263413f
parentbf0ba9578171aa01c9d723a1d6287fec607d87e2 (diff)
downloadOSELAS.Toolchain-cea2bc962d7c6bdbfff0a753443c4151d721c0a3.tar.gz
gdb-7.5 patches
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--patches/gdb-7.5/0001-sim-ppc-remove-bogus-dependency.patch30
-rw-r--r--patches/gdb-7.5/series4
2 files changed, 34 insertions, 0 deletions
diff --git a/patches/gdb-7.5/0001-sim-ppc-remove-bogus-dependency.patch b/patches/gdb-7.5/0001-sim-ppc-remove-bogus-dependency.patch
new file mode 100644
index 0000000..15f5073
--- /dev/null
+++ b/patches/gdb-7.5/0001-sim-ppc-remove-bogus-dependency.patch
@@ -0,0 +1,30 @@
+From: Michael Olbrich <m.olbrich@pengutronix.de>
+Date: Mon, 31 Oct 2011 14:09:45 +0100
+Subject: [PATCH] sim/ppc: remove bogus dependency
+
+Otherwise compiling may fail for PPC with:
+
+make[4]: *** No rule to make target `-lz', needed by `psim'. Stop.
+
+The problem is that while make can resolve '-lz' as a dependency, this only
+works if zlib is in the default search path or VPATH. sysroot-host/lib is
+not searched. As a result '-lz' may not be resolved.
+
+Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
+---
+ sim/ppc/Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in
+index 71c65cf..968620f 100644
+--- a/sim/ppc/Makefile.in
++++ b/sim/ppc/Makefile.in
+@@ -551,7 +551,7 @@ PACKAGE_SRC = @sim_pk_src@
+ PACKAGE_OBJ = @sim_pk_obj@
+
+
+-psim: $(TARGETLIB) main.o $(LIBIBERTY_LIB) $(BFD_LIB) $(LIBS) $(LIBINTL_DEP)
++psim: $(TARGETLIB) main.o $(LIBIBERTY_LIB) $(BFD_LIB) $(LIBINTL_DEP)
+ $(CC) $(CFLAGS) $(SIM_CFLAGS) $(LDFLAGS) -o psim$(EXEEXT) main.o $(TARGETLIB) $(BFD_LIB) $(LIBINTL) $(LIBIBERTY_LIB) $(LIBS)
+
+ run: psim
diff --git a/patches/gdb-7.5/series b/patches/gdb-7.5/series
new file mode 100644
index 0000000..997b0aa
--- /dev/null
+++ b/patches/gdb-7.5/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-sim-ppc-remove-bogus-dependency.patch
+# 0c022cd0da9d4e74ed54e12281eeadc2 - git-ptx-patches magic