This is no longer here.

This commit is contained in:
tv 1999-02-09 17:48:43 +00:00
parent 3cf7289326
commit 79734e08d0
16 changed files with 0 additions and 545 deletions

View File

@ -1,52 +0,0 @@
# $NetBSD: Makefile,v 1.22 1999/02/02 22:16:57 tv Exp $
LIB= bfd
NOLINT= nolint (GNU source)
NOMAN=
NOPROFILE=
SRCS= archive.c archures.c bfd.c cache.c coffgen.c corefile.c \
format.c init.c lib_bfd.c opncls.c reloc.c section.c syms.c \
targets.c hash.c linker.c srec.c binary.c tekhex.c \
ihex.c stabs.c stab-syms.c netbsd-core.c \
dis-buf.c disassemble.c \
argv.c basename.c choose-temp.c concat.c cplus-dem.c \
fdmatch.c fnmatch.c getopt.c getopt1.c getruntime.c hex.c \
floatformat.c objalloc.c obstack.c pexecute.c spaces.c \
strerror.c strsignal.c xatexit.c xexit.c xmalloc.c xstrdup.c \
xstrerror.c insque.c \
${BFD_ARCH_SRCS}
CPPFLAGS+= -I. -I${.CURDIR} \
-I${DIST}/bfd -I${DIST}/opcodes -I${DIST}/include \
${BFD_ARCH_DEFS} -DHAVE_CONFIG_H
DIST= ${.CURDIR}/../../dist
INCSDIR= /usr/include/bfd
INCS= ansidecl.h bfd.h libiberty.h
DPSRCS+= bfd.h elf32-target.h elf64-target.h targmatch.h
CLEANFILES+= bfd.h elf32-target.h elf64-target.h targmatch.h
.PATH: ${DIST}/bfd ${DIST}/opcodes ${DIST}/libiberty ${DIST}/include
# XXX temporary change mips -> mipsel
.include "_${MACHINE_ARCH:S/^mips$/mipsel/}.mk"
bfd.h: bfd-in2.h bfd-h.sed
sed -f ${.ALLSRC:M*.sed} ${.ALLSRC:M*.h} >$@
targmatch.h: config.bfd targmatch.sed
sed -f ${.ALLSRC:M*.sed} ${.ALLSRC:M*.bfd} >$@
elf32-target.h: elfxx-target.h
sed -e s/NN/32/g < $> > $@
elf64-target.h: elfxx-target.h
sed -e s/NN/64/g < $> > $@
.include <bsd.lib.mk>
${OBJS}: bfd.h elf32-target.h elf64-target.h
targets.o targets.so targets.po: targmatch.h _${MACHINE_ARCH:S/^mips$/mipsel/}.mk

View File

@ -1,14 +0,0 @@
# $NetBSD: _alpha.mk,v 1.5 1999/02/02 22:16:57 tv Exp $
BFD_ARCH_SRCS= cpu-alpha.c \
elf64-alpha.c elf64.c elf.c elflink.c dwarf2.c \
coff-alpha.c ecoff.c ecofflink.c \
alpha-dis.c alpha-opc.c
BFD_ARCH_DEFS= -DARCH_alpha \
-DSELECT_ARCHITECTURES='&bfd_alpha_arch' \
-DDEFAULT_VECTOR=bfd_elf64_alpha_vec \
-DSELECT_VECS='&bfd_elf64_alpha_vec, &ecoffalpha_little_vec' \
-DHAVE_bfd_elf64_alpha_vec \
-DHAVE_ecoffalpha_little_vec \
-DNETBSD_CORE

View File

@ -1,12 +0,0 @@
# $NetBSD: _arm32.mk,v 1.4 1999/02/02 20:31:07 tv Exp $
BFD_ARCH_SRCS= cpu-arm.c \
aout-arm32.c armnetbsd.c \
arm-dis.c
BFD_ARCH_DEFS= -DARCH_arm \
-DSELECT_ARCHITECTURES='&bfd_arm_arch' \
-DDEFAULT_VECTOR=armnetbsd_vec \
-DSELECT_VECS='&armnetbsd_vec' \
-DHAVE_armnetbsd_vec \
-DNETBSD_CORE

View File

@ -1,18 +0,0 @@
# $NetBSD: _i386.mk,v 1.6 1999/02/02 22:16:57 tv Exp $
BFD_ARCH_SRCS= cpu-i386.c \
i386bsd.c i386freebsd.c i386netbsd.c aout32.c \
coff-i386.c cofflink.c \
elf32-i386.c elf32.c elf.c elflink.c dwarf2.c \
i386-dis.c
BFD_ARCH_DEFS= -DARCH_i386 \
-DSELECT_ARCHITECTURES='&bfd_i386_arch' \
-DDEFAULT_VECTOR=i386netbsd_vec \
-DSELECT_VECS='&i386netbsd_vec, &bfd_elf32_i386_vec, &i386bsd_vec, &i386freebsd_vec, &i386coff_vec' \
-DHAVE_i386netbsd_vec \
-DHAVE_bfd_elf32_i386_vec \
-DHAVE_i386bsd_vec \
-DHAVE_i386freebsd_vec \
-DHAVE_i386coff_vec \
-DNETBSD_CORE

View File

@ -1,16 +0,0 @@
# $NetBSD: _m68k.mk,v 1.6 1999/02/02 22:16:57 tv Exp $
BFD_ARCH_SRCS= cpu-m68k.c \
m68knetbsd.c m68k4knetbsd.c sunos.c aout32.c \
elf32-m68k.c elf32.c elf.c elflink.c dwarf2.c \
m68k-dis.c m68k-opc.c
BFD_ARCH_DEFS= -DARCH_m68k \
-DSELECT_ARCHITECTURES='&bfd_m68k_arch' \
-DDEFAULT_VECTOR=m68knetbsd_vec \
-DSELECT_VECS='&m68knetbsd_vec, &m68k4knetbsd_vec, &bfd_elf32_m68k_vec, &sunos_big_vec' \
-DHAVE_m68knetbsd_vec \
-DHAVE_m68k4knetbsd_vec \
-DHAVE_bfd_elf32_m68k_vec \
-DHAVE_sunos_big_vec \
-DNETBSD_CORE

View File

@ -1,21 +0,0 @@
# $NetBSD: _mipseb.mk,v 1.4 1999/02/02 22:16:57 tv Exp $
BFD_ARCH_SRCS= cpu-mips.c \
elf32-mips.c elf32.c elf.c elflink.c dwarf2.c \
coff-mips.c ecoff.c ecofflink.c \
mips-dis.c mips-opc.c mips16-opc.c
BFD_ARCH_DEFS= -DARCH_mips \
-DSELECT_ARCHITECTURES='&bfd_mips_arch' \
-DDEFAULT_VECTOR=bfd_elf32_bigmips_vec \
-DSELECT_VECS='&bfd_elf32_littlemips_vec, &bfd_elf32_bigmips_vec, &ecoff_little_vec, &ecoff_big_vec' \
-DHAVE_bfd_elf32_littlemips_vec \
-DHAVE_bfd_elf32_bigmips_vec \
-DHAVE_ecoff_little_vec \
-DHAVE_ecoff_big_vec \
-DNETBSD_CORE
# XXX cannot support 64-bit BFD targets with gdb 4.16.
# They assume that BFD_ARCH_SIZE is 64, but that causes bfd_vma_addr
# to be a 64-bit int. GDB uses bfd_vma_addr for CORE_ADDR, but also
# casts CORE_ADDRS to ints, which loses on 32-bit mips hosts.

View File

@ -1,21 +0,0 @@
# $NetBSD: _mipsel.mk,v 1.4 1999/02/02 22:16:57 tv Exp $
BFD_ARCH_SRCS= cpu-mips.c \
elf32-mips.c elf32.c elf.c elflink.c dwarf2.c \
coff-mips.c ecoff.c ecofflink.c \
mips-dis.c mips-opc.c mips16-opc.c
BFD_ARCH_DEFS= -DARCH_mips \
-DSELECT_ARCHITECTURES='&bfd_mips_arch' \
-DDEFAULT_VECTOR=bfd_elf32_littlemips_vec \
-DSELECT_VECS='&bfd_elf32_littlemips_vec, &bfd_elf32_bigmips_vec, &ecoff_little_vec, &ecoff_big_vec' \
-DHAVE_bfd_elf32_littlemips_vec \
-DHAVE_bfd_elf32_bigmips_vec \
-DHAVE_ecoff_little_vec \
-DHAVE_ecoff_big_vec \
-DNETBSD_CORE
# XXX cannot support 64-bit BFD targets with gdb 4.16.
# They assume that BFD_ARCH_SIZE is 64, but that causes bfd_vma_addr
# to be a 64-bit int. GDB uses bfd_vma_addr for CORE_ADDR, but also
# casts CORE_ADDRS to ints, which loses on 32-bit mips hosts.

View File

@ -1,12 +0,0 @@
# $NetBSD: _ns32k.mk,v 1.4 1998/08/22 19:02:10 tv Exp $
BFD_ARCH_SRCS= ns32knetbsd.c aout-ns32k.c \
cpu-ns32k.c \
ns32k-dis.c
BFD_ARCH_DEFS= -DARCH_ns32k \
-DSELECT_ARCHITECTURES='&bfd_ns32k_arch' \
-DDEFAULT_VECTOR=pc532netbsd_vec \
-DSELECT_VECS='&pc532netbsd_vec' \
-DHAVE_pc532netbsd_vec \
-DNETBSD_CORE

View File

@ -1,13 +0,0 @@
# $NetBSD: _powerpc.mk,v 1.4 1999/02/02 22:16:58 tv Exp $
BFD_ARCH_SRCS= cpu-powerpc.c \
elf32-ppc.c elf32.c elf.c elflink.c dwarf2.c \
ppc-dis.c ppc-opc.c
BFD_ARCH_DEFS= -DARCH_powerpc \
-DSELECT_ARCHITECTURES='&bfd_powerpc_arch' \
-DDEFAULT_VECTOR=bfd_elf32_powerpc_vec \
-DSELECT_VECS='&bfd_elf32_powerpc_vec, &bfd_elf32_powerpcle_vec' \
-DHAVE_bfd_elf32_powerpc_vec \
-DHAVE_bfd_elf32_powerpcle_vec \
-DNETBSD_CORE

View File

@ -1,16 +0,0 @@
# $NetBSD: _sparc.mk,v 1.6 1999/02/02 22:16:58 tv Exp $
BFD_ARCH_SRCS= cpu-sparc.c \
sparcnetbsd.c sunos.c aout32.c \
elf32-sparc.c elf32.c \
elf.c elflink.c dwarf2.c \
sparc-dis.c sparc-opc.c
BFD_ARCH_DEFS= -DARCH_sparc \
-DSELECT_ARCHITECTURES='&bfd_sparc_arch' \
-DDEFAULT_VECTOR=sparcnetbsd_vec \
-DSELECT_VECS='&sparcnetbsd_vec, &sunos_big_vec, &bfd_elf32_sparc_vec' \
-DHAVE_sparcnetbsd_vec \
-DHAVE_sunos_big_vec \
-DHAVE_bfd_elf32_sparc_vec \
-DNETBSD_CORE

View File

@ -1,17 +0,0 @@
# $NetBSD: _sparc64.mk,v 1.2 1999/02/02 22:16:58 tv Exp $
BFD_ARCH_SRCS= cpu-sparc.c \
elf32-sparc.c elf32.c \
elf64-sparc.c elf64.c \
elf.c elflink.c dwarf2.c \
sparc-dis.c sparc-opc.c
BFD_ARCH_DEFS= -DARCH_sparc \
-DSELECT_ARCHITECTURES='&bfd_sparc_arch' \
-DDEFAULT_VECTOR=bfd_elf64_sparc_vec \
-DSELECT_VECS='&bfd_elf64_sparc_vec,&bfd_elf32_sparc_vec' \
-DHAVE_bfd_elf64_sparc_vec \
-DHAVE_bfd_elf32_sparc_vec \
-DNETBSD_CORE

View File

@ -1,12 +0,0 @@
# $NetBSD: _vax.mk,v 1.5 1998/10/29 17:31:11 matt Exp $
BFD_ARCH_SRCS= cpu-vax.c \
vaxnetbsd.c aout32.c \
vax-dis.c
BFD_ARCH_DEFS= -DARCH_vax \
-DSELECT_ARCHITECTURES='&bfd_vax_arch' \
-DDEFAULT_VECTOR=vaxnetbsd_vec \
-DSELECT_VECS='&vaxnetbsd_vec' \
-DHAVE_vaxnetbsd_vec \
-DNETBSD_CORE

View File

@ -1,25 +0,0 @@
# $NetBSD: bfd-h.sed,v 1.6 1999/02/02 20:00:39 tv Exp $
# Preparse bfd.h such that it can be used on multiple machines.
s/@VERSION@/2.9.1/
/@wordsize@/{
i\
#if defined(__alpha__) || defined (__sparc_v9__)\
#define BFD_ARCH_SIZE 64\
#else\
#define BFD_ARCH_SIZE 32\
#endif
d
}
/@BFD_HOST_64BIT_LONG@/ {
i\
#if defined(__alpha__) || defined (__sparc_v9__)\
#define BFD_HOST_64BIT_LONG 1\
#else\
#define BFD_HOST_64BIT_LONG 0\
#endif
d
}
s/@BFD_HOST_64_BIT_DEFINED@/1/
s/@BFD_HOST_64_BIT@/long long/
s/@BFD_HOST_U_64_BIT@/unsigned long long/

View File

@ -1,289 +0,0 @@
/* $NetBSD: config.h,v 1.4 1999/02/02 20:00:39 tv Exp $ */
/****************/
/* bfd config.h */
/****************/
/* Name of package. */
#define PACKAGE "bfd"
/* Version of package. */
#define VERSION "2.9.1"
/* Whether strstr must be declared even if <string.h> is included. */
/* #undef NEED_DECLARATION_STRSTR */
/* Whether malloc must be declared even if <stdlib.h> is included. */
/* #undef NEED_DECLARATION_MALLOC */
/* Whether realloc must be declared even if <stdlib.h> is included. */
/* #undef NEED_DECLARATION_REALLOC */
/* Whether free must be declared even if <stdlib.h> is included. */
/* #undef NEED_DECLARATION_FREE */
/* Whether getenv must be declared even if <stdlib.h> is included. */
/* #undef NEED_DECLARATION_GETENV */
/* Define if you have a working `mmap' system call. */
#define HAVE_MMAP 1
/* Define if you need to in order for stat and other things to work. */
/* #undef _POSIX_SOURCE */
/* Define if you can safely include both <sys/time.h> and <time.h>. */
#define TIME_WITH_SYS_TIME 1
/* Do we need to use the b modifier when opening binary files? */
/* #undef USE_BINARY_FOPEN */
/* Name of host specific header file to include in trad-core.c. */
/* #undef TRAD_HEADER */
/* Define only if <sys/procfs.h> is available *and* it defines prstatus_t. */
/* #undef HAVE_SYS_PROCFS_H */
/* Do we really want to use mmap if it's available? */
#define USE_MMAP 1
/* Define if you have the fcntl function. */
#define HAVE_FCNTL 1
/* Define if you have the fdopen function. */
#define HAVE_FDOPEN 1
/* Define if you have the getpagesize function. */
#define HAVE_GETPAGESIZE 1
/* Define if you have the madvise function. */
#define HAVE_MADVISE 1
/* Define if you have the mprotect function. */
#define HAVE_MPROTECT 1
/* Define if you have the setitimer function. */
#define HAVE_SETITIMER 1
/* Define if you have the sysconf function. */
#define HAVE_SYSCONF 1
/* Define if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define if you have the <stddef.h> header file. */
#define HAVE_STDDEF_H 1
/* Define if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define if you have the <sys/file.h> header file. */
#define HAVE_SYS_FILE_H 1
/* Define if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1
/* Define if you have the <time.h> header file. */
#define HAVE_TIME_H 1
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/**********************/
/* libiberty config.h */
/**********************/
/* Define if using alloca.c. */
/* #undef C_ALLOCA */
/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
This function is required for alloca.c support on those systems. */
/* #undef CRAY_STACKSEG_END */
/* Define if you have alloca, as a function or macro. */
#define HAVE_ALLOCA 1
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
/* #undef HAVE_ALLOCA_H */
/* Define if you have <vfork.h>. */
/* #undef HAVE_VFORK_H */
/* Define to `int' if <sys/types.h> doesn't define. */
/* #undef pid_t */
/* Define if you need to in order for stat and other things to work. */
/* #undef _POSIX_SOURCE */
/* If using the C implementation of alloca, define if you know the
direction of stack growth for your system; otherwise it will be
automatically deduced at run-time.
STACK_DIRECTION > 0 => grows toward higher addresses
STACK_DIRECTION < 0 => grows toward lower addresses
STACK_DIRECTION = 0 => direction of growth unknown
*/
/* #undef STACK_DIRECTION */
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define vfork as fork if vfork does not work. */
/* #undef vfork */
/* Define if you have the sys_errlist variable. */
#define HAVE_SYS_ERRLIST 1
/* Define if you have the sys_nerr variable. */
#define HAVE_SYS_NERR 1
/* Define if you have the sys_siglist variable. */
#define HAVE_SYS_SIGLIST 1
/* Define if you have the strerror function. */
#define HAVE_STRERROR 1
/* Define if you have the asprintf function. */
/* #undef HAVE_ASPRINTF */
/* Define if you have the atexit function. */
#define HAVE_ATEXIT 1
/* Define if you have the basename function. */
#define HAVE_BASENAME 1
/* Define if you have the bcmp function. */
#define HAVE_BCMP 1
/* Define if you have the bcopy function. */
#define HAVE_BCOPY 1
/* Define if you have the bzero function. */
#define HAVE_BZERO 1
/* Define if you have the clock function. */
#define HAVE_CLOCK 1
/* Define if you have the getcwd function. */
#define HAVE_GETCWD 1
/* Define if you have the getpagesize function. */
#define HAVE_GETPAGESIZE 1
/* Define if you have the getrusage function. */
#define HAVE_GETRUSAGE 1
/* Define if you have the index function. */
#define HAVE_INDEX 1
/* Define if you have the insque function. */
/* #undef HAVE_INSQUE */
/* Define if you have the memchr function. */
#define HAVE_MEMCHR 1
/* Define if you have the memcmp function. */
#define HAVE_MEMCMP 1
/* Define if you have the memcpy function. */
#define HAVE_MEMCPY 1
/* Define if you have the memmove function. */
#define HAVE_MEMMOVE 1
/* Define if you have the memset function. */
#define HAVE_MEMSET 1
/* Define if you have the on_exit function. */
/* #undef HAVE_ON_EXIT */
/* Define if you have the psignal function. */
#define HAVE_PSIGNAL 1
/* Define if you have the random function. */
#define HAVE_RANDOM 1
/* Define if you have the rename function. */
#define HAVE_RENAME 1
/* Define if you have the rindex function. */
#define HAVE_RINDEX 1
/* Define if you have the sigsetmask function. */
#define HAVE_SIGSETMASK 1
/* Define if you have the strcasecmp function. */
#define HAVE_STRCASECMP 1
/* Define if you have the strchr function. */
#define HAVE_STRCHR 1
/* Define if you have the strdup function. */
#define HAVE_STRDUP 1
/* Define if you have the strerror function. */
#define HAVE_STRERROR 1
/* Define if you have the strncasecmp function. */
#define HAVE_STRNCASECMP 1
/* Define if you have the strrchr function. */
#define HAVE_STRRCHR 1
/* Define if you have the strsignal function. */
#define HAVE_STRSIGNAL 1
/* Define if you have the strstr function. */
#define HAVE_STRSTR 1
/* Define if you have the strtod function. */
#define HAVE_STRTOD 1
/* Define if you have the strtol function. */
#define HAVE_STRTOL 1
/* Define if you have the strtoul function. */
#define HAVE_STRTOUL 1
/* Define if you have the sysconf function. */
#define HAVE_SYSCONF 1
/* Define if you have the times function. */
#define HAVE_TIMES 1
/* Define if you have the tmpnam function. */
#define HAVE_TMPNAM 1
/* Define if you have the vasprintf function. */
/* #undef HAVE_VASPRINTF */
/* Define if you have the vfprintf function. */
#define HAVE_VFPRINTF 1
/* Define if you have the vprintf function. */
#define HAVE_VPRINTF 1
/* Define if you have the vsprintf function. */
#define HAVE_VSPRINTF 1
/* Define if you have the waitpid function. */
#define HAVE_WAITPID 1
/* Define if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define if you have the <sys/file.h> header file. */
#define HAVE_SYS_FILE_H 1
/* Define if you have the <sys/param.h> header file. */
#define HAVE_SYS_PARAM_H 1
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1

View File

@ -1,4 +0,0 @@
/* $NetBSD: lib_bfd.c,v 1.3 1998/08/22 19:39:23 tv Exp $ */
/* ELF systems need this to avoid the "wrong" libbfd.so. */
#include "libbfd.c"

View File

@ -1,3 +0,0 @@
# $NetBSD: shlib_version,v 1.7 1999/02/02 20:00:40 tv Exp $
major=3
minor=0