From ccc8b400719974af8670fac0704ae6587690ecd7 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 4 Jan 1999 22:37:29 +0000 Subject: 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. --- cross/COMMON/patches-binutils/patch-aa | 21 +++++++++++++++++++++ cross/COMMON/patches-binutils/patch-arrays | 22 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 cross/COMMON/patches-binutils/patch-aa create mode 100644 cross/COMMON/patches-binutils/patch-arrays (limited to 'cross/COMMON/patches-binutils') 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 -- cgit v1.2.3