summaryrefslogtreecommitdiff
path: root/cross/nios2-gcc/patches
diff options
context:
space:
mode:
authormef <mef>2013-11-18 06:41:27 +0000
committermef <mef>2013-11-18 06:41:27 +0000
commit63941e0f4f37fa7e153f984fbf21d36c16a3ee14 (patch)
treea9e292f1a63df8adf1ccb0ea388ae813783057f2 /cross/nios2-gcc/patches
parent24766010b8e8e462f4867e5f3351fad73b71287a (diff)
downloadpkgsrc-63941e0f4f37fa7e153f984fbf21d36c16a3ee14.tar.gz
As proposed in following mail:
http://mail-index.netbsd.org/pkgsrc-users/2013/11/16/msg018897.html (1) Import nios2-binutils 2.23 (CodeSourcery derived) from wip. (2) nios2-gcc41 now does not include nios2/Makefile.common, and unnecessary buildlink3 line to kpathsea removed. (3) Switch nios2/Makefile.common to provide above (1) package. (4) Import nios2-gcc 4.7.3 (CodeSourcery derived) from wip, including file (3) nios2/Makefile.common and DEPENDS (1) binutils. (5) Switch all gcc's, nios2-gcc{3,41} to DEPENDS above (1) binutils. (6) Delete nios2-binutils220 (2.20).
Diffstat (limited to 'cross/nios2-gcc/patches')
-rw-r--r--cross/nios2-gcc/patches/patch-aa21
-rw-r--r--cross/nios2-gcc/patches/patch-gcc_doc_invoke.texi15
2 files changed, 36 insertions, 0 deletions
diff --git a/cross/nios2-gcc/patches/patch-aa b/cross/nios2-gcc/patches/patch-aa
new file mode 100644
index 00000000000..fafe4344dc1
--- /dev/null
+++ b/cross/nios2-gcc/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.3 2013/11/18 06:41:27 mef Exp $
+#
+# (1) craft FPBIT_FUNCS and DPBIT_FUNCS lists to avoid routine collision
+# against NetBSD softfloat implementation. Following twelve are to
+# be eliminated;
+# _addsub_df.o _addsub_sf.o _df_to_sf.o _df_to_si.o
+# _div_df.o _div_sf.o _mul_df.o _mul_sf.o _sf_to_df.o _sf_to_si.o
+# _si_to_df.o _si_to_sf.o
+# (2) To swith with and without documents, put @@VAR@@ type words.
+
+--- gcc/Makefile.in.orig 2013-06-26 06:01:21.000000000 +0900
++++ gcc/Makefile.in 2013-11-16 17:45:15.000000000 +0900
+@@ -1752,7 +1752,7 @@ quickstrap: all
+ all.internal: start.encap rest.encap doc
+ # This is what to compile if making a cross-compiler.
+ all.cross: native gcc-cross$(exeext) cpp$(exeext) specs \
+- libgcc-support lang.all.cross doc @GENINSRC@ srcextra
++ libgcc-support lang.all.cross @@DOC@@ @GENINSRC@ srcextra
+ # This is what must be made before installing GCC and converting libraries.
+ start.encap: native xgcc$(exeext) cpp$(exeext) specs \
+ libgcc-support lang.start.encap @GENINSRC@ srcextra
diff --git a/cross/nios2-gcc/patches/patch-gcc_doc_invoke.texi b/cross/nios2-gcc/patches/patch-gcc_doc_invoke.texi
new file mode 100644
index 00000000000..2898db82f26
--- /dev/null
+++ b/cross/nios2-gcc/patches/patch-gcc_doc_invoke.texi
@@ -0,0 +1,15 @@
+$NetBSD: patch-gcc_doc_invoke.texi,v 1.1 2013/11/18 06:41:27 mef Exp $
+
+wip/nios2-gcc/work/gcc-4.1/gcc/doc/invoke.texi:1078: I can't find file `'.
+
+--- gcc-nios2/gcc/doc/invoke.texi.orig 2013-06-26 05:56:33.000000000 +0900
++++ gcc/doc/invoke.texi 2013-11-11 13:58:30.000000000 +0900
+@@ -1457,7 +1457,7 @@
+ useful way to start writing a Go interface to code written in some
+ other language.
+
+-@include @value{srcdir}/../libiberty/at-file.texi
++@c @include @value{srcdir}/../libiberty/at-file.texi
+ @end table
+
+ @node Invoking G++