Remove asprintf() and vasprintf(), and bump sparc back to 32 bits (until

gdb is updated, at least).
This commit is contained in:
tv 1998-08-29 16:09:56 +00:00
parent b3159ade4d
commit c60c781fa3
3 changed files with 8 additions and 9 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.19 1998/08/28 16:47:13 tv Exp $
# $NetBSD: Makefile,v 1.20 1998/08/29 16:09:56 tv Exp $
LIB= bfd
@ -15,7 +15,7 @@ SRCS= archive.c archures.c bfd.c cache.c coffgen.c corefile.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 asprintf.c insque.c vasprintf.c \
xstrerror.c insque.c \
${BFD_ARCH_SRCS}
CPPFLAGS+= -I. -I${.CURDIR} \
-I${DIST}/bfd -I${DIST}/opcodes -I${DIST}/include \

View File

@ -1,17 +1,16 @@
# $NetBSD: _sparc.mk,v 1.4 1998/08/22 19:02:10 tv Exp $
# $NetBSD: _sparc.mk,v 1.5 1998/08/29 16:09:56 tv Exp $
BFD_ARCH_SRCS= cpu-sparc.c \
sparcnetbsd.c sunos.c aout32.c \
elf32-sparc.c elf64-sparc.c elf32.c elf64.c \
elf32-sparc.c elf32.c \
elf.c elflink.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, &bfd_elf64_sparc_vec' \
-DSELECT_VECS='&sparcnetbsd_vec, &sunos_big_vec, &bfd_elf32_sparc_vec' \
-DHAVE_sparcnetbsd_vec \
-DHAVE_sunos_big_vec \
-DHAVE_bfd_elf32_sparc_vec \
-DHAVE_bfd_elf64_sparc_vec \
-DNETBSD_CORE

View File

@ -1,10 +1,10 @@
# $NetBSD: bfd-h.sed,v 1.3 1998/08/22 20:32:02 tv Exp $
# $NetBSD: bfd-h.sed,v 1.4 1998/08/29 16:09:57 tv Exp $
# Preparse bfd.h such that it can be used on multiple machines.
s/@VERSION@/2.8.1/
/@wordsize@/{
i\
#if defined(__alpha__) || defined(__sparc__)\
#if defined(__alpha__)\
#define BFD_ARCH_SIZE 64\
#else\
#define BFD_ARCH_SIZE 32\
@ -16,7 +16,7 @@ s/@VERSION@/2.8.1/
#if defined(__alpha__)\
#define BFD_HOST_64BIT_LONG 1\
#else\
#define BFD_HOST_64BIT_LONG 1\
#define BFD_HOST_64BIT_LONG 0\
#endif
d
}