summaryrefslogtreecommitdiff
path: root/cross/COMMON/patches-binutils
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>1999-01-04 22:37:29 +0000
committertv <tv@pkgsrc.org>1999-01-04 22:37:29 +0000
commitccc8b400719974af8670fac0704ae6587690ecd7 (patch)
treef6d6b811a4c9cc20cd3b49a70a233e6958d1095b /cross/COMMON/patches-binutils
parent63c78674b53510ff581ef5426e739a2a1e3536bc (diff)
downloadpkgsrc-ccc8b400719974af8670fac0704ae6587690ecd7.tar.gz
Major `cross' category overhaul. Clean up the shared Makefiles; move all
binutils stuff (except gas) to a shared, multiple-target binutils build; reduce extract and compile times by being more specific with files and targets; update to egcs 1.1.1 with a diffball from NetBSD's src/gnu/dist tree; add 4.4BSD a.out archive support to binutils.
Diffstat (limited to 'cross/COMMON/patches-binutils')
-rw-r--r--cross/COMMON/patches-binutils/patch-aa21
-rw-r--r--cross/COMMON/patches-binutils/patch-arrays22
2 files changed, 43 insertions, 0 deletions
diff --git a/cross/COMMON/patches-binutils/patch-aa b/cross/COMMON/patches-binutils/patch-aa
new file mode 100644
index 00000000000..6201c47aacc
--- /dev/null
+++ b/cross/COMMON/patches-binutils/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1 1999/01/04 22:37:30 tv Exp $
+
+--- gas/Makefile.in.orig Mon Jan 4 00:34:23 1999
++++ gas/Makefile.in Mon Jan 4 00:37:14 1999
+@@ -452,14 +452,14 @@
+ # How to link with both our special library facilities
+ # and the system's installed libraries.
+
+-GASLIBS = @OPCODES_LIB@ @BFDLIB@ ../libiberty/libiberty.a
++GASLIBS = ../libiberty/libiberty.a
+
+ # Files to be copied away after each stage in building.
+ STAGESTUFF = *.o $(noinst_PROGRAMS)
+
+ as_new_SOURCES = $(GAS_CFILES)
+ as_new_LDADD = $(TARG_CPU_O) $(OBJ_FORMAT_O) $(ATOF_TARG_O) \
+- $(extra_objects) $(GASLIBS)
++ $(extra_objects) -Wl,-R${PREFIX}/lib -L${PREFIX}/lib -lopcodes-2.9.1 -lbfd-2.9.1 $(GASLIBS)
+ as_new_DEPENDENCIES = $(TARG_CPU_O) $(OBJ_FORMAT_O) $(ATOF_TARG_O) \
+ $(extra_objects) $(GASLIBS)
+
diff --git a/cross/COMMON/patches-binutils/patch-arrays b/cross/COMMON/patches-binutils/patch-arrays
new file mode 100644
index 00000000000..f283f155c63
--- /dev/null
+++ b/cross/COMMON/patches-binutils/patch-arrays
@@ -0,0 +1,22 @@
+--- ./bfd/libbfd-in.h.orig Fri May 1 11:48:12 1998
++++ ./bfd/libbfd-in.h Mon Dec 28 17:43:21 1998
+@@ -496,7 +498,7 @@
+
+ /* List of supported target vectors, and the default vector (if
+ bfd_default_vector[0] is NULL, there is no default). */
+-extern const bfd_target * const bfd_target_vector[];
++extern const bfd_target * const *bfd_target_vector;
+ extern const bfd_target *bfd_default_vector[];
+
+ /* Functions shared by the ECOFF and MIPS ELF backends, which have no
+--- ./bfd/libbfd.h.orig Fri May 1 11:48:12 1998
++++ ./bfd/libbfd.h Mon Dec 28 17:43:21 1998
+@@ -496,7 +498,7 @@
+
+ /* List of supported target vectors, and the default vector (if
+ bfd_default_vector[0] is NULL, there is no default). */
+-extern const bfd_target * const bfd_target_vector[];
++extern const bfd_target * const *bfd_target_vector;
+ extern const bfd_target *bfd_default_vector[];
+
+ /* Functions shared by the ECOFF and MIPS ELF backends, which have no