Add new toolchain binutils build structure.
This commit is contained in:
parent
4e7d8e10f6
commit
362f95d733
@ -1,5 +1,18 @@
|
||||
# $NetBSD: Makefile,v 1.12 2001/01/09 03:13:40 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2001/08/06 19:11:59 tv Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.if defined(USE_NEW_TOOLCHAIN)
|
||||
|
||||
.include "${.CURDIR}/common/arch/${MACHINE_ARCH}/defs.mk"
|
||||
|
||||
SUBDIR= common gas ld ${G_PROGRAMS:C/-new$//:cxxfilt=c++filt}
|
||||
SUBDIR:= ${SUBDIR:O} # alphabetize
|
||||
|
||||
.else
|
||||
#
|
||||
# XXX - BEGIN - Old toolchain build goop - delete when everything migrated - XXX
|
||||
#
|
||||
.if (${MACHINE_ARCH} != sparc64)
|
||||
SUBDIR= common .WAIT addr2line ar c++filt nm objcopy objdump ranlib \
|
||||
size strings strip
|
||||
@ -11,4 +24,9 @@ INFOFLAGS= -I${.CURDIR}/../../dist/binutils
|
||||
.PATH: ${.CURDIR}/../../dist/binutils
|
||||
|
||||
.include <bsd.info.mk>
|
||||
#
|
||||
# XXX - END - Old toolchain build goop - delete when everything migrated - XXX
|
||||
#
|
||||
.endif
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
@ -1,10 +1,24 @@
|
||||
# $NetBSD: Makefile.inc,v 1.8 2001/01/09 08:52:58 enami Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.9 2001/08/06 19:11:59 tv Exp $
|
||||
|
||||
.if !defined(__MAKEFILE_INC_INCLUDED__)
|
||||
__MAKEFILE_INC_INCLUDED__=1
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.if defined(USE_NEW_TOOLCHAIN)
|
||||
|
||||
# Make sure we use the pre-generated C files
|
||||
.l.c .y.c:
|
||||
|
||||
GCPPFLAGS= ${G_DEFS} ${G_INCLUDES}
|
||||
CPPFLAGS+= ${GCPPFLAGS:M-D*:N-DLOCALEDIR*} ${GCPPFLAGS:M-I*:N-I.*} \
|
||||
-I${TOP}/lib/libbfd/arch/${MACHINE_ARCH} \
|
||||
-DLOCALEDIR=\"${LOCALEDIR}\"
|
||||
|
||||
.else
|
||||
#
|
||||
# XXX - BEGIN - Old toolchain build goop - delete when everything migrated - XXX
|
||||
#
|
||||
CPPFLAGS+= -I${.OBJDIR} -I${.CURDIR} -I${.CURDIR}/../common \
|
||||
-I${BFDOBJ} -I${DIST}/bfd -I${DIST}/binutils -I${DIST}/include \
|
||||
-DHAVE_CONFIG_H
|
||||
@ -16,6 +30,10 @@ BFDOBJ!= cd ${.CURDIR}/../../../lib/libbfd && ${PRINTOBJDIR}
|
||||
LIBCOMMONDIR!= cd ${.CURDIR}/../common && ${PRINTOBJDIR}
|
||||
|
||||
.PATH: ${DIST}/binutils
|
||||
#
|
||||
# XXX - END - Old toolchain build goop - delete when everything migrated - XXX
|
||||
#
|
||||
.endif
|
||||
|
||||
.if exists(${.CURDIR}/../../Makefile.inc)
|
||||
.include "${.CURDIR}/../../Makefile.inc"
|
||||
|
@ -1,7 +1,13 @@
|
||||
# $NetBSD: Makefile,v 1.4 1999/02/09 19:21:54 tv Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2001/08/06 19:12:00 tv Exp $
|
||||
|
||||
PROG= addr2line
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.if defined(USE_NEW_TOOLCHAIN)
|
||||
.include "${.CURDIR}/../common/Makefile.prog"
|
||||
.else
|
||||
SRCS= addr2line.c
|
||||
MAN= addr2line.1
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.endif
|
||||
|
@ -1,7 +1,13 @@
|
||||
# $NetBSD: Makefile,v 1.4 1999/02/09 19:21:54 tv Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2001/08/06 19:12:00 tv Exp $
|
||||
|
||||
PROG= ar
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.if defined(USE_NEW_TOOLCHAIN)
|
||||
.include "${.CURDIR}/../common/Makefile.prog"
|
||||
.else
|
||||
SRCS= ar.c not-ranlib.c
|
||||
MAN= ar.1
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.endif
|
||||
|
@ -1,14 +1,19 @@
|
||||
# $NetBSD: Makefile,v 1.9 1999/02/09 19:21:54 tv Exp $
|
||||
# $NetBSD: Makefile,v 1.10 2001/08/06 19:12:00 tv Exp $
|
||||
|
||||
PROG= c++filt
|
||||
SRCS= cplus-dem.c underscore.c
|
||||
MAN= c++filt.1
|
||||
CPPFLAGS+= -DMAIN
|
||||
CLEANFILES+= ${MAN}
|
||||
CLEANFILES+= c++filt.1
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.if defined(USE_NEW_TOOLCHAIN)
|
||||
.include "${.CURDIR}/../common/Makefile.prog"
|
||||
.else
|
||||
SRCS= cplus-dem.c underscore.c
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.endif
|
||||
|
||||
.PATH: ${DIST}/libiberty
|
||||
|
||||
${MAN}: ${DIST}/binutils/cxxfilt.man
|
||||
c++filt.1: ${DIST}/binutils/cxxfilt.man
|
||||
sed -e "s/@PROGRAM@/${PROG}/" < $> > $@
|
||||
|
@ -1,5 +1,24 @@
|
||||
# $NetBSD: Makefile,v 1.8 1999/10/10 13:02:32 pk Exp $
|
||||
# $NetBSD: Makefile,v 1.9 2001/08/06 19:12:01 tv Exp $
|
||||
.include <bsd.own.mk>
|
||||
|
||||
.if defined(USE_NEW_TOOLCHAIN)
|
||||
|
||||
.include "${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk"
|
||||
|
||||
TOP= ${.CURDIR}/../../..
|
||||
DIST= ${TOP}/dist/toolchain
|
||||
|
||||
TEXINFO= ${G_TEXINFOS}
|
||||
INFOFLAGS= -I${DIST}/binutils
|
||||
|
||||
.PATH: ${DIST}/binutils
|
||||
|
||||
.include <bsd.info.mk>
|
||||
|
||||
.else
|
||||
#
|
||||
# XXX - BEGIN - Old toolchain build goop - delete when everything migrated - XXX
|
||||
#
|
||||
LIB= common
|
||||
|
||||
SRCS= arparse.y arlex.l arsup.c bucomm.c version.c filemode.c \
|
||||
@ -18,3 +37,7 @@ libinstall::
|
||||
arlex.c: arparse.h
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
#
|
||||
# XXX - END - Old toolchain build goop - delete when everything migrated - XXX
|
||||
#
|
||||
.endif
|
||||
|
41
gnu/usr.bin/binutils/common/Makefile.prog
Normal file
41
gnu/usr.bin/binutils/common/Makefile.prog
Normal file
@ -0,0 +1,41 @@
|
||||
# $NetBSD: Makefile.prog,v 1.1 2001/08/06 19:12:01 tv Exp $
|
||||
#
|
||||
# Common Makefile fragment for a binutils program.
|
||||
#
|
||||
|
||||
.include <bsd.own.mk>
|
||||
TOP= ${.CURDIR}/../../..
|
||||
DIST= ${TOP}/dist/toolchain
|
||||
|
||||
.include "${.CURDIR}/../common/arch/${MACHINE_ARCH}/defs.mk"
|
||||
|
||||
# Might end in "-new" in GNU makefile
|
||||
XPROG= ${PROG:c++filt=cxxfilt}
|
||||
BUPROG= ${G_PROGRAMS:M${XPROG}*:S/-/_/}
|
||||
|
||||
SRCS= ${G_${BUPROG}_OBJECTS:.o=.c} \
|
||||
${G_${BUPROG}_DEPENDENCIES:M*.o:.o=.c}
|
||||
MAN= ${G_man_MANS:M${PROG}.1}
|
||||
|
||||
CPPFLAGS+= -I${.CURDIR}/../common/arch/${MACHINE_ARCH}
|
||||
|
||||
LDADD= -lintl
|
||||
DPADD= ${LIBINTL}
|
||||
|
||||
.if !empty(G_${BUPROG}_DEPENDENCIES:M*/libbfd*)
|
||||
BFDOBJ!= cd ${TOP}/lib/libbfd && ${PRINTOBJDIR}
|
||||
LDADD+= -L${BFDOBJ} -lbfd
|
||||
DPADD+= ${BFDOBJ}/libbfd_pic.a
|
||||
.endif
|
||||
|
||||
.if !empty(G_${BUPROG}_DEPENDENCIES:M*/libiberty*)
|
||||
IBERTYOBJ!= cd ${TOP}/lib/libiberty && ${PRINTOBJDIR}
|
||||
LDADD+= -L${IBERTYOBJ} -liberty
|
||||
DPADD+= ${IBERTYOBJ}/libiberty.a
|
||||
.endif
|
||||
|
||||
.y.c .l.c:
|
||||
|
||||
.PATH: ${DIST}/binutils
|
||||
|
||||
.include <bsd.prog.mk>
|
193
gnu/usr.bin/binutils/common/arch/i386/config.h
Normal file
193
gnu/usr.bin/binutils/common/arch/i386/config.h
Normal file
@ -0,0 +1,193 @@
|
||||
/* This file is automatically generated. DO NOT EDIT! */
|
||||
/* Generated from: NetBSD: toolchain2netbsd,v 1.4 2001/08/06 15:31:23 tv Exp */
|
||||
|
||||
/* config.h. Generated automatically by configure. */
|
||||
/* config.in. Generated automatically from configure.in by autoheader. */
|
||||
|
||||
/* Define if using alloca.c. */
|
||||
/* #undef C_ALLOCA */
|
||||
|
||||
/* Define to empty if the keyword does not work. */
|
||||
/* #undef const */
|
||||
|
||||
/* 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 a working `mmap' system call. */
|
||||
#define HAVE_MMAP 1
|
||||
|
||||
/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
|
||||
#define HAVE_SYS_WAIT_H 1
|
||||
|
||||
/* Define as __inline if that's what the C compiler calls it. */
|
||||
/* #undef inline */
|
||||
|
||||
/* Define to `long' if <sys/types.h> doesn't define. */
|
||||
/* #undef off_t */
|
||||
|
||||
/* Define to `unsigned' if <sys/types.h> doesn't define. */
|
||||
/* #undef size_t */
|
||||
|
||||
/* 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 if lex declares yytext as a char * by default, not a char[]. */
|
||||
#define YYTEXT_POINTER 1
|
||||
|
||||
/* Define if you have the __argz_count function. */
|
||||
/* #undef HAVE___ARGZ_COUNT */
|
||||
|
||||
/* Define if you have the __argz_next function. */
|
||||
/* #undef HAVE___ARGZ_NEXT */
|
||||
|
||||
/* Define if you have the __argz_stringify function. */
|
||||
/* #undef HAVE___ARGZ_STRINGIFY */
|
||||
|
||||
/* Define if you have the dcgettext function. */
|
||||
#define HAVE_DCGETTEXT 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 munmap function. */
|
||||
#define HAVE_MUNMAP 1
|
||||
|
||||
/* Define if you have the putenv function. */
|
||||
#define HAVE_PUTENV 1
|
||||
|
||||
/* Define if you have the sbrk function. */
|
||||
#define HAVE_SBRK 1
|
||||
|
||||
/* Define if you have the setenv function. */
|
||||
#define HAVE_SETENV 1
|
||||
|
||||
/* Define if you have the setlocale function. */
|
||||
#define HAVE_SETLOCALE 1
|
||||
|
||||
/* Define if you have the setmode function. */
|
||||
#define HAVE_SETMODE 1
|
||||
|
||||
/* Define if you have the stpcpy function. */
|
||||
/* #undef HAVE_STPCPY */
|
||||
|
||||
/* 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 utimes function. */
|
||||
#define HAVE_UTIMES 1
|
||||
|
||||
/* Define if you have the <argz.h> header file. */
|
||||
/* #undef HAVE_ARGZ_H */
|
||||
|
||||
/* Define if you have the <fcntl.h> header file. */
|
||||
#define HAVE_FCNTL_H 1
|
||||
|
||||
/* Define if you have the <limits.h> header file. */
|
||||
#define HAVE_LIMITS_H 1
|
||||
|
||||
/* Define if you have the <locale.h> header file. */
|
||||
#define HAVE_LOCALE_H 1
|
||||
|
||||
/* Define if you have the <malloc.h> header file. */
|
||||
#define HAVE_MALLOC_H 1
|
||||
|
||||
/* Define if you have the <nl_types.h> header file. */
|
||||
#define HAVE_NL_TYPES_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/param.h> header file. */
|
||||
#define HAVE_SYS_PARAM_H 1
|
||||
|
||||
/* Define if you have the <unistd.h> header file. */
|
||||
#define HAVE_UNISTD_H 1
|
||||
|
||||
/* Define if you have the <values.h> header file. */
|
||||
/* #undef HAVE_VALUES_H */
|
||||
|
||||
/* Name of package */
|
||||
#define PACKAGE "binutils"
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "2.11"
|
||||
|
||||
/* Define if you have the stpcpy function */
|
||||
/* #undef HAVE_STPCPY */
|
||||
|
||||
/* Define if your locale.h file contains LC_MESSAGES. */
|
||||
#define HAVE_LC_MESSAGES 1
|
||||
|
||||
/* Define to 1 if NLS is requested */
|
||||
#define ENABLE_NLS 1
|
||||
|
||||
/* Define as 1 if you have gettext and don't want to use GNU gettext. */
|
||||
#define HAVE_GETTEXT 1
|
||||
|
||||
/* Does the platform use an executable suffix? */
|
||||
/* #undef HAVE_EXECUTABLE_SUFFIX */
|
||||
|
||||
/* Suffix used for executables, if any. */
|
||||
#define EXECUTABLE_SUFFIX ""
|
||||
|
||||
/* Is the type time_t defined in <time.h>? */
|
||||
#define HAVE_TIME_T_IN_TIME_H 1
|
||||
|
||||
/* Is the type time_t defined in <sys/types.h>? */
|
||||
#define HAVE_TIME_T_IN_TYPES_H 1
|
||||
|
||||
/* Does <utime.h> define struct utimbuf? */
|
||||
#define HAVE_GOOD_UTIME_H 1
|
||||
|
||||
/* Define if fprintf is not declared in system header files. */
|
||||
/* #undef NEED_DECLARATION_FPRINTF */
|
||||
|
||||
/* Define if strstr is not declared in system header files. */
|
||||
/* #undef NEED_DECLARATION_STRSTR */
|
||||
|
||||
/* Define if sbrk is not declared in system header files. */
|
||||
/* #undef NEED_DECLARATION_SBRK */
|
||||
|
||||
/* Define if getenv is not declared in system header files. */
|
||||
/* #undef NEED_DECLARATION_GETENV */
|
||||
|
||||
/* Define if environ is not declared in system header files. */
|
||||
#define NEED_DECLARATION_ENVIRON 1
|
||||
|
||||
/* Use b modifier when opening binary files? */
|
||||
/* #undef USE_BINARY_FOPEN */
|
||||
|
||||
/* Configured target name. */
|
||||
#define TARGET "i386-unknown-netbsdelf1.5.1"
|
||||
|
30
gnu/usr.bin/binutils/common/arch/i386/defs.mk
Normal file
30
gnu/usr.bin/binutils/common/arch/i386/defs.mk
Normal file
@ -0,0 +1,30 @@
|
||||
# This file is automatically generated. DO NOT EDIT!
|
||||
# Generated from: NetBSD: toolchain2netbsd,v 1.4 2001/08/06 15:31:23 tv Exp
|
||||
#
|
||||
G_DEFS=-DHAVE_CONFIG_H -I. -I${DIST}/binutils -I.
|
||||
G_INCLUDES=-D_GNU_SOURCE -I. -I${DIST}/binutils -I../bfd -I${DIST}/binutils/../bfd -I${DIST}/binutils/../include -I${DIST}/binutils/../intl -I../intl -DLOCALEDIR="\"/usr/local/share/locale\""
|
||||
G_man_MANS=ar.1 nm.1 objdump.1 ranlib.1 size.1 strings.1 strip.1 objcopy.1 addr2line.1 nlmconv.1 c++filt.1
|
||||
G_PROGRAMS=size objdump ar strings ranlib objcopy addr2line readelf nm-new strip-new cxxfilt
|
||||
G_TEXINFOS=binutils.texi
|
||||
G_size_OBJECTS=size.o bucomm.o version.o filemode.o
|
||||
G_size_DEPENDENCIES=../bfd/libbfd.la ../libiberty/libiberty.a
|
||||
G_objdump_OBJECTS=objdump.o prdbg.o rddbg.o debug.o stabs.o ieee.o rdcoff.o bucomm.o version.o filemode.o
|
||||
G_objdump_DEPENDENCIES=../opcodes/libopcodes.la ../bfd/libbfd.la ../libiberty/libiberty.a
|
||||
G_ar_OBJECTS=arparse.o arlex.o ar.o not-ranlib.o arsup.o rename.o bucomm.o version.o filemode.o
|
||||
G_ar_DEPENDENCIES=../bfd/libbfd.la ../libiberty/libiberty.a
|
||||
G_strings_OBJECTS=strings.o bucomm.o version.o filemode.o
|
||||
G_strings_DEPENDENCIES=../bfd/libbfd.la ../libiberty/libiberty.a
|
||||
G_ranlib_OBJECTS=ar.o is-ranlib.o arparse.o arlex.o arsup.o rename.o bucomm.o version.o filemode.o
|
||||
G_ranlib_DEPENDENCIES=../bfd/libbfd.la ../libiberty/libiberty.a
|
||||
G_objcopy_OBJECTS=objcopy.o not-strip.o rename.o rddbg.o debug.o stabs.o ieee.o rdcoff.o wrstabs.o bucomm.o version.o filemode.o
|
||||
G_objcopy_DEPENDENCIES=../bfd/libbfd.la ../libiberty/libiberty.a
|
||||
G_addr2line_OBJECTS=addr2line.o bucomm.o version.o filemode.o
|
||||
G_addr2line_DEPENDENCIES=../bfd/libbfd.la ../libiberty/libiberty.a
|
||||
G_readelf_OBJECTS=readelf.o version.o
|
||||
G_readelf_DEPENDENCIES=../libiberty/libiberty.a
|
||||
G_nm_new_OBJECTS=nm.o bucomm.o version.o filemode.o
|
||||
G_nm_new_DEPENDENCIES=../bfd/libbfd.la ../libiberty/libiberty.a
|
||||
G_strip_new_OBJECTS=objcopy.o is-strip.o rename.o rddbg.o debug.o stabs.o ieee.o rdcoff.o wrstabs.o bucomm.o version.o filemode.o
|
||||
G_strip_new_DEPENDENCIES=../bfd/libbfd.la ../libiberty/libiberty.a
|
||||
G_cxxfilt_OBJECTS=
|
||||
G_cxxfilt_DEPENDENCIES=cplus-dem.o underscore.o ../libiberty/libiberty.a
|
31
gnu/usr.bin/binutils/gas/Makefile
Normal file
31
gnu/usr.bin/binutils/gas/Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
# $NetBSD: Makefile,v 1.1 2001/08/06 19:12:02 tv Exp $
|
||||
|
||||
TOP= ${.CURDIR}/../../..
|
||||
DIST= ${TOP}/dist/toolchain
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.include "${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk"
|
||||
|
||||
PROG= as
|
||||
SRCS= ${G_OBJS:.o=.c}
|
||||
|
||||
CPPFLAGS+= -I${.CURDIR}/arch/${MACHINE_ARCH}
|
||||
|
||||
LDADD= -lintl
|
||||
DPADD= ${LIBINTL}
|
||||
|
||||
BFDOBJ!= cd ${TOP}/lib/libbfd && ${PRINTOBJDIR}
|
||||
LDADD+= -L${BFDOBJ} -lbfd
|
||||
DPADD+= ${BFDOBJ}/libbfd_pic.a
|
||||
|
||||
IBERTYOBJ!= cd ${TOP}/lib/libiberty && ${PRINTOBJDIR}
|
||||
LDADD+= -L${IBERTYOBJ} -liberty
|
||||
DPADD+= ${IBERTYOBJ}/libiberty.a
|
||||
|
||||
TEXINFO= as.texinfo
|
||||
INFOFLAGS= -I${DIST}/gas/doc -I${.CURDIR}
|
||||
|
||||
.PATH: ${DIST}/gas ${DIST}/gas/config ${DIST}/gas/doc
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include <bsd.info.mk>
|
277
gnu/usr.bin/binutils/gas/arch/i386/config.h
Normal file
277
gnu/usr.bin/binutils/gas/arch/i386/config.h
Normal file
@ -0,0 +1,277 @@
|
||||
/* This file is automatically generated. DO NOT EDIT! */
|
||||
/* Generated from: NetBSD: toolchain2netbsd,v 1.4 2001/08/06 15:31:23 tv Exp */
|
||||
|
||||
/* config.h. Generated automatically by configure. */
|
||||
/* config.in. Generated automatically from configure.in by autoheader. */
|
||||
|
||||
/* Define if using alloca.c. */
|
||||
/* #undef C_ALLOCA */
|
||||
|
||||
/* Define to empty if the keyword does not work. */
|
||||
/* #undef const */
|
||||
|
||||
/* 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 a working `mmap' system call. */
|
||||
#define HAVE_MMAP 1
|
||||
|
||||
/* Define as __inline if that's what the C compiler calls it. */
|
||||
/* #undef inline */
|
||||
|
||||
/* Define to `long' if <sys/types.h> doesn't define. */
|
||||
/* #undef off_t */
|
||||
|
||||
/* Define to `unsigned' if <sys/types.h> doesn't define. */
|
||||
/* #undef size_t */
|
||||
|
||||
/* 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 if lex declares yytext as a char * by default, not a char[]. */
|
||||
#define YYTEXT_POINTER 1
|
||||
|
||||
/* Define if you have the __argz_count function. */
|
||||
/* #undef HAVE___ARGZ_COUNT */
|
||||
|
||||
/* Define if you have the __argz_next function. */
|
||||
/* #undef HAVE___ARGZ_NEXT */
|
||||
|
||||
/* Define if you have the __argz_stringify function. */
|
||||
/* #undef HAVE___ARGZ_STRINGIFY */
|
||||
|
||||
/* Define if you have the dcgettext function. */
|
||||
#define HAVE_DCGETTEXT 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 munmap function. */
|
||||
#define HAVE_MUNMAP 1
|
||||
|
||||
/* Define if you have the putenv function. */
|
||||
#define HAVE_PUTENV 1
|
||||
|
||||
/* Define if you have the remove function. */
|
||||
/* #undef HAVE_REMOVE */
|
||||
|
||||
/* Define if you have the sbrk function. */
|
||||
#define HAVE_SBRK 1
|
||||
|
||||
/* Define if you have the setenv function. */
|
||||
#define HAVE_SETENV 1
|
||||
|
||||
/* Define if you have the setlocale function. */
|
||||
#define HAVE_SETLOCALE 1
|
||||
|
||||
/* Define if you have the stpcpy function. */
|
||||
/* #undef HAVE_STPCPY */
|
||||
|
||||
/* 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 unlink function. */
|
||||
#define HAVE_UNLINK 1
|
||||
|
||||
/* Define if you have the <argz.h> header file. */
|
||||
/* #undef HAVE_ARGZ_H */
|
||||
|
||||
/* Define if you have the <errno.h> header file. */
|
||||
#define HAVE_ERRNO_H 1
|
||||
|
||||
/* Define if you have the <limits.h> header file. */
|
||||
#define HAVE_LIMITS_H 1
|
||||
|
||||
/* Define if you have the <locale.h> header file. */
|
||||
#define HAVE_LOCALE_H 1
|
||||
|
||||
/* Define if you have the <malloc.h> header file. */
|
||||
#define HAVE_MALLOC_H 1
|
||||
|
||||
/* Define if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define if you have the <nl_types.h> header file. */
|
||||
#define HAVE_NL_TYPES_H 1
|
||||
|
||||
/* Define if you have the <stdarg.h> header file. */
|
||||
#define HAVE_STDARG_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/param.h> header file. */
|
||||
#define HAVE_SYS_PARAM_H 1
|
||||
|
||||
/* Define if you have the <sys/types.h> header file. */
|
||||
#define HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define if you have the <unistd.h> header file. */
|
||||
#define HAVE_UNISTD_H 1
|
||||
|
||||
/* Define if you have the <values.h> header file. */
|
||||
/* #undef HAVE_VALUES_H */
|
||||
|
||||
/* Define if you have the <varargs.h> header file. */
|
||||
#define HAVE_VARARGS_H 1
|
||||
|
||||
/* Name of package */
|
||||
#define PACKAGE "gas"
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "2.11"
|
||||
|
||||
/* Define if defaulting to ELF on SCO 5. */
|
||||
/* #undef SCO_ELF */
|
||||
|
||||
/* Using strict COFF? */
|
||||
/* #undef STRICTCOFF */
|
||||
|
||||
/* Use ELF stabs for MIPS, not ECOFF stabs */
|
||||
/* #undef MIPS_STABS_ELF */
|
||||
|
||||
/* Define if default target is PowerPC Solaris. */
|
||||
/* #undef TARGET_SOLARIS_COMMENT */
|
||||
|
||||
/* Define as 1 if big endian. */
|
||||
/* #undef TARGET_BYTES_BIG_ENDIAN */
|
||||
|
||||
/* Default architecture. */
|
||||
#define DEFAULT_ARCH "i386"
|
||||
|
||||
/* Using cgen code? */
|
||||
/* #undef USING_CGEN */
|
||||
|
||||
/* Using i386 COFF? */
|
||||
/* #undef I386COFF */
|
||||
|
||||
/* Using m68k COFF? */
|
||||
/* #undef M68KCOFF */
|
||||
|
||||
/* Using m88k COFF? */
|
||||
/* #undef M88KCOFF */
|
||||
|
||||
/* a.out support? */
|
||||
/* #undef OBJ_MAYBE_AOUT */
|
||||
|
||||
/* b.out support? */
|
||||
/* #undef OBJ_MAYBE_BOUT */
|
||||
|
||||
/* COFF support? */
|
||||
/* #undef OBJ_MAYBE_COFF */
|
||||
|
||||
/* ECOFF support? */
|
||||
/* #undef OBJ_MAYBE_ECOFF */
|
||||
|
||||
/* ELF support? */
|
||||
/* #undef OBJ_MAYBE_ELF */
|
||||
|
||||
/* generic support? */
|
||||
/* #undef OBJ_MAYBE_GENERIC */
|
||||
|
||||
/* HP300 support? */
|
||||
/* #undef OBJ_MAYBE_HP300 */
|
||||
|
||||
/* IEEE support? */
|
||||
/* #undef OBJ_MAYBE_IEEE */
|
||||
|
||||
/* SOM support? */
|
||||
/* #undef OBJ_MAYBE_SOM */
|
||||
|
||||
/* VMS support? */
|
||||
/* #undef OBJ_MAYBE_VMS */
|
||||
|
||||
/* Use emulation support? */
|
||||
/* #undef USE_EMULATIONS */
|
||||
|
||||
/* Supported emulations. */
|
||||
#define EMULATIONS &i386elf,
|
||||
|
||||
/* Default emulation. */
|
||||
#define DEFAULT_EMULATION "i386elf"
|
||||
|
||||
/* old COFF support? */
|
||||
/* #undef MANY_SEGMENTS */
|
||||
|
||||
/* Use BFD interface? */
|
||||
#define BFD_ASSEMBLER 1
|
||||
|
||||
/* Target alias. */
|
||||
#define TARGET_ALIAS "i386-unknown-netbsdelf1.5.1"
|
||||
|
||||
/* Canonical target. */
|
||||
#define TARGET_CANONICAL "i386-unknown-netbsdelf1.5.1"
|
||||
|
||||
/* Target CPU. */
|
||||
#define TARGET_CPU "i386"
|
||||
|
||||
/* Target vendor. */
|
||||
#define TARGET_VENDOR "unknown"
|
||||
|
||||
/* Target OS. */
|
||||
#define TARGET_OS "netbsdelf1.5.1"
|
||||
|
||||
/* Define if you have the stpcpy function */
|
||||
/* #undef HAVE_STPCPY */
|
||||
|
||||
/* Define if your locale.h file contains LC_MESSAGES. */
|
||||
#define HAVE_LC_MESSAGES 1
|
||||
|
||||
/* Define to 1 if NLS is requested */
|
||||
#define ENABLE_NLS 1
|
||||
|
||||
/* Define as 1 if you have gettext and don't want to use GNU gettext. */
|
||||
#define HAVE_GETTEXT 1
|
||||
|
||||
/* Compiling cross-assembler? */
|
||||
/* #undef CROSS_COMPILE */
|
||||
|
||||
/* assert broken? */
|
||||
/* #undef BROKEN_ASSERT */
|
||||
|
||||
/* Define if strstr is not declared in system header files. */
|
||||
/* #undef NEED_DECLARATION_STRSTR */
|
||||
|
||||
/* Define if malloc is not declared in system header files. */
|
||||
/* #undef NEED_DECLARATION_MALLOC */
|
||||
|
||||
/* Define if free is not declared in system header files. */
|
||||
/* #undef NEED_DECLARATION_FREE */
|
||||
|
||||
/* Define if sbrk is not declared in system header files. */
|
||||
/* #undef NEED_DECLARATION_SBRK */
|
||||
|
||||
/* Define if environ is not declared in system header files. */
|
||||
#define NEED_DECLARATION_ENVIRON 1
|
||||
|
||||
/* Define if errno is not declared in system header files. */
|
||||
/* #undef NEED_DECLARATION_ERRNO */
|
||||
|
6
gnu/usr.bin/binutils/gas/arch/i386/defs.mk
Normal file
6
gnu/usr.bin/binutils/gas/arch/i386/defs.mk
Normal file
@ -0,0 +1,6 @@
|
||||
# This file is automatically generated. DO NOT EDIT!
|
||||
# Generated from: NetBSD: toolchain2netbsd,v 1.4 2001/08/06 15:31:23 tv Exp
|
||||
#
|
||||
G_DEFS=-DHAVE_CONFIG_H -I. -I${DIST}/gas -I.
|
||||
G_INCLUDES=-D_GNU_SOURCE -I. -I${DIST}/gas -I../bfd -I${DIST}/gas/config -I${DIST}/gas/../include -I${DIST}/gas/.. -I${DIST}/gas/../bfd -I${DIST}/gas/../intl -I../intl -DLOCALEDIR="\"/usr/local/share/locale\""
|
||||
G_OBJS=tc-i386.o obj-elf.o atof-ieee.o app.o as.o atof-generic.o bignum-copy.o cond.o depend.o dwarf2dbg.o ehopt.o expr.o flonum-konst.o flonum-copy.o flonum-mult.o frags.o hash.o input-file.o input-scrub.o literal.o messages.o output-file.o read.o subsegs.o symbols.o write.o listing.o ecoff.o stabs.o sb.o macro.o
|
4
gnu/usr.bin/binutils/gas/arch/i386/itbl-cpu.h
Normal file
4
gnu/usr.bin/binutils/gas/arch/i386/itbl-cpu.h
Normal file
@ -0,0 +1,4 @@
|
||||
/* This file is automatically generated. DO NOT EDIT! */
|
||||
/* Generated from: NetBSD: toolchain2netbsd,v 1.4 2001/08/06 15:31:23 tv Exp */
|
||||
|
||||
#include "itbl-i386.h"
|
4
gnu/usr.bin/binutils/gas/arch/i386/obj-format.h
Normal file
4
gnu/usr.bin/binutils/gas/arch/i386/obj-format.h
Normal file
@ -0,0 +1,4 @@
|
||||
/* This file is automatically generated. DO NOT EDIT! */
|
||||
/* Generated from: NetBSD: toolchain2netbsd,v 1.4 2001/08/06 15:31:23 tv Exp */
|
||||
|
||||
#include "obj-elf.h"
|
4
gnu/usr.bin/binutils/gas/arch/i386/targ-cpu.h
Normal file
4
gnu/usr.bin/binutils/gas/arch/i386/targ-cpu.h
Normal file
@ -0,0 +1,4 @@
|
||||
/* This file is automatically generated. DO NOT EDIT! */
|
||||
/* Generated from: NetBSD: toolchain2netbsd,v 1.4 2001/08/06 15:31:23 tv Exp */
|
||||
|
||||
#include "tc-i386.h"
|
4
gnu/usr.bin/binutils/gas/arch/i386/targ-env.h
Normal file
4
gnu/usr.bin/binutils/gas/arch/i386/targ-env.h
Normal file
@ -0,0 +1,4 @@
|
||||
/* This file is automatically generated. DO NOT EDIT! */
|
||||
/* Generated from: NetBSD: toolchain2netbsd,v 1.4 2001/08/06 15:31:23 tv Exp */
|
||||
|
||||
#include "te-nbsd.h"
|
2
gnu/usr.bin/binutils/gas/asconfig.texi
Normal file
2
gnu/usr.bin/binutils/gas/asconfig.texi
Normal file
@ -0,0 +1,2 @@
|
||||
@c $NetBSD: asconfig.texi,v 1.1 2001/08/06 19:12:02 tv Exp $
|
||||
@include all.texi
|
60
gnu/usr.bin/binutils/ld/Makefile
Normal file
60
gnu/usr.bin/binutils/ld/Makefile
Normal file
@ -0,0 +1,60 @@
|
||||
# $NetBSD: Makefile,v 1.1 2001/08/06 19:12:03 tv Exp $
|
||||
|
||||
TOP= ${.CURDIR}/../../..
|
||||
DIST= ${TOP}/dist/toolchain
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.include "${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk"
|
||||
|
||||
TARGET= ${G_target_alias:C/[\.0-9]*$//}
|
||||
|
||||
PROG= ld
|
||||
SRCS= ${G_OFILES:.o=.c}
|
||||
CPPFLAGS+= -I${.CURDIR}/arch/${MACHINE_ARCH} \
|
||||
-DDEFAULT_EMULATION=\"${G_EMUL}\" \
|
||||
-DSCRIPTDIR=\"/usr/share\" \
|
||||
-DTARGET=\"${TARGET}\"
|
||||
|
||||
LDADD= -lintl
|
||||
DPADD= ${LIBINTL}
|
||||
|
||||
BFDOBJ!= cd ${TOP}/lib/libbfd && ${PRINTOBJDIR}
|
||||
LDADD+= -L${BFDOBJ} -lbfd
|
||||
DPADD+= ${BFDOBJ}/libbfd_pic.a
|
||||
|
||||
IBERTYOBJ!= cd ${TOP}/lib/libiberty && ${PRINTOBJDIR}
|
||||
LDADD+= -L${IBERTYOBJ} -liberty
|
||||
DPADD+= ${IBERTYOBJ}/libiberty.a
|
||||
|
||||
TEXINFO= ld.texinfo
|
||||
INFOFLAGS= -I${DIST}/ld -I${DIST}/bfd/doc
|
||||
|
||||
.PATH: ${DIST}/ld ${DIST}/ld/emulparams \
|
||||
${DIST}/ld/emultempl ${DIST}/ld/scripttempl
|
||||
|
||||
CLEANFILES+= stringify.sed
|
||||
stringify.sed: ${G_STRINGIFY}
|
||||
cp $> $@
|
||||
|
||||
.for f in ${G_EMULATION_OFILES:S/^e//:R}
|
||||
.if exists(.depend.${f})
|
||||
.include ".depend.${f}"
|
||||
.endif
|
||||
|
||||
.depend: .depend.${f}
|
||||
.depend.${f}: ${f}.sh
|
||||
(. ${>:M*.sh} && echo "e${f}.c: $$TEMPLATE_NAME.em $$SCRIPT_NAME.sc") >$@
|
||||
|
||||
CLEANFILES+= .depend.${f} e${f}.c
|
||||
|
||||
e${f}.c: ${DIST}/ld/genscripts.sh stringify.sed
|
||||
LIB_PATH=/usr/lib sh ${DIST}/ld/genscripts.sh ${DIST}/ld ${LIBDIR} /usr \
|
||||
none ${TARGET} ${TARGET} ${G_EMUL} ${LIBDIR} ${f}
|
||||
.endfor
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.include <bsd.info.mk>
|
||||
|
||||
cleanprog: __cleanldscripts
|
||||
__cleanldscripts:
|
||||
-rm -rf ldscripts
|
178
gnu/usr.bin/binutils/ld/arch/i386/config.h
Normal file
178
gnu/usr.bin/binutils/ld/arch/i386/config.h
Normal file
@ -0,0 +1,178 @@
|
||||
/* This file is automatically generated. DO NOT EDIT! */
|
||||
/* Generated from: NetBSD: toolchain2netbsd,v 1.4 2001/08/06 15:31:23 tv Exp */
|
||||
|
||||
/* config.h. Generated automatically by configure. */
|
||||
/* config.in. Generated automatically from configure.in by autoheader. */
|
||||
|
||||
/* Define if using alloca.c. */
|
||||
/* #undef C_ALLOCA */
|
||||
|
||||
/* Define to empty if the keyword does not work. */
|
||||
/* #undef const */
|
||||
|
||||
/* 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 a working `mmap' system call. */
|
||||
#define HAVE_MMAP 1
|
||||
|
||||
/* Define as __inline if that's what the C compiler calls it. */
|
||||
/* #undef inline */
|
||||
|
||||
/* Define to `long' if <sys/types.h> doesn't define. */
|
||||
/* #undef off_t */
|
||||
|
||||
/* Define if you need to in order for stat and other things to work. */
|
||||
/* #undef _POSIX_SOURCE */
|
||||
|
||||
/* Define to `unsigned' if <sys/types.h> doesn't define. */
|
||||
/* #undef size_t */
|
||||
|
||||
/* 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 if lex declares yytext as a char * by default, not a char[]. */
|
||||
#define YYTEXT_POINTER 1
|
||||
|
||||
/* Define if you have the __argz_count function. */
|
||||
/* #undef HAVE___ARGZ_COUNT */
|
||||
|
||||
/* Define if you have the __argz_next function. */
|
||||
/* #undef HAVE___ARGZ_NEXT */
|
||||
|
||||
/* Define if you have the __argz_stringify function. */
|
||||
/* #undef HAVE___ARGZ_STRINGIFY */
|
||||
|
||||
/* Define if you have the dcgettext function. */
|
||||
#define HAVE_DCGETTEXT 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 munmap function. */
|
||||
#define HAVE_MUNMAP 1
|
||||
|
||||
/* Define if you have the putenv function. */
|
||||
#define HAVE_PUTENV 1
|
||||
|
||||
/* Define if you have the sbrk function. */
|
||||
#define HAVE_SBRK 1
|
||||
|
||||
/* Define if you have the setenv function. */
|
||||
#define HAVE_SETENV 1
|
||||
|
||||
/* Define if you have the setlocale function. */
|
||||
#define HAVE_SETLOCALE 1
|
||||
|
||||
/* Define if you have the stpcpy function. */
|
||||
/* #undef HAVE_STPCPY */
|
||||
|
||||
/* 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 <argz.h> header file. */
|
||||
/* #undef HAVE_ARGZ_H */
|
||||
|
||||
/* Define if you have the <dirent.h> header file. */
|
||||
#define HAVE_DIRENT_H 1
|
||||
|
||||
/* Define if you have the <limits.h> header file. */
|
||||
#define HAVE_LIMITS_H 1
|
||||
|
||||
/* Define if you have the <locale.h> header file. */
|
||||
#define HAVE_LOCALE_H 1
|
||||
|
||||
/* Define if you have the <malloc.h> header file. */
|
||||
#define HAVE_MALLOC_H 1
|
||||
|
||||
/* Define if you have the <ndir.h> header file. */
|
||||
/* #undef HAVE_NDIR_H */
|
||||
|
||||
/* Define if you have the <nl_types.h> header file. */
|
||||
#define HAVE_NL_TYPES_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/dir.h> header file. */
|
||||
/* #undef HAVE_SYS_DIR_H */
|
||||
|
||||
/* Define if you have the <sys/ndir.h> header file. */
|
||||
/* #undef HAVE_SYS_NDIR_H */
|
||||
|
||||
/* 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
|
||||
|
||||
/* Define if you have the <values.h> header file. */
|
||||
/* #undef HAVE_VALUES_H */
|
||||
|
||||
/* Name of package */
|
||||
#define PACKAGE "ld"
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "2.11"
|
||||
|
||||
/* Define if you have the stpcpy function */
|
||||
/* #undef HAVE_STPCPY */
|
||||
|
||||
/* Define if your locale.h file contains LC_MESSAGES. */
|
||||
#define HAVE_LC_MESSAGES 1
|
||||
|
||||
/* Define to 1 if NLS is requested */
|
||||
#define ENABLE_NLS 1
|
||||
|
||||
/* Define as 1 if you have gettext and don't want to use GNU gettext. */
|
||||
#define HAVE_GETTEXT 1
|
||||
|
||||
/* Use b modifier when opening binary files? */
|
||||
/* #undef USE_BINARY_FOPEN */
|
||||
|
||||
/* Define if strstr is not declared in system header files. */
|
||||
/* #undef NEED_DECLARATION_STRSTR */
|
||||
|
||||
/* Define if free is not declared in system header files. */
|
||||
/* #undef NEED_DECLARATION_FREE */
|
||||
|
||||
/* Define if sbrk is not declared in system header files. */
|
||||
/* #undef NEED_DECLARATION_SBRK */
|
||||
|
||||
/* Define if getenv is not declared in system header files. */
|
||||
/* #undef NEED_DECLARATION_GETENV */
|
||||
|
||||
/* Define if environ is not declared in system header files. */
|
||||
#define NEED_DECLARATION_ENVIRON 1
|
||||
|
||||
/* Additional extension a shared object might have. */
|
||||
/* #undef EXTRA_SHLIB_EXTENSION */
|
||||
|
10
gnu/usr.bin/binutils/ld/arch/i386/defs.mk
Normal file
10
gnu/usr.bin/binutils/ld/arch/i386/defs.mk
Normal file
@ -0,0 +1,10 @@
|
||||
# This file is automatically generated. DO NOT EDIT!
|
||||
# Generated from: NetBSD: toolchain2netbsd,v 1.4 2001/08/06 15:31:23 tv Exp
|
||||
#
|
||||
G_DEFS=-DHAVE_CONFIG_H -I. -I${DIST}/ld -I.
|
||||
G_EMUL=elf_i386
|
||||
G_EMULATION_OFILES=eelf_i386.o ei386nbsd.o
|
||||
G_INCLUDES=-D_GNU_SOURCE -I. -I${DIST}/ld -I../bfd -I${DIST}/ld/../bfd -I${DIST}/ld/../include -I${DIST}/ld/../intl -I../intl -g -O2 -DLOCALEDIR="\"/usr/local/share/locale\""
|
||||
G_OFILES=ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o eelf_i386.o ei386nbsd.o
|
||||
G_STRINGIFY=astring.sed
|
||||
G_target_alias=i386-unknown-netbsdelf1.5.1
|
11
gnu/usr.bin/binutils/ld/arch/i386/ldemul-list.h
Normal file
11
gnu/usr.bin/binutils/ld/arch/i386/ldemul-list.h
Normal file
@ -0,0 +1,11 @@
|
||||
/* This file is automatically generated. DO NOT EDIT! */
|
||||
/* Generated from: NetBSD: toolchain2netbsd,v 1.4 2001/08/06 15:31:23 tv Exp */
|
||||
|
||||
/* This file is automatically generated. DO NOT EDIT! */
|
||||
extern ld_emulation_xfer_type ld_elf_i386_emulation;
|
||||
extern ld_emulation_xfer_type ld_i386nbsd_emulation;
|
||||
|
||||
#define EMULATION_LIST \
|
||||
&ld_elf_i386_emulation, \
|
||||
&ld_i386nbsd_emulation, \
|
||||
0
|
@ -1,7 +1,13 @@
|
||||
# $NetBSD: Makefile,v 1.4 1999/02/09 19:21:54 tv Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2001/08/06 19:12:05 tv Exp $
|
||||
|
||||
PROG= nm
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.if defined(USE_NEW_TOOLCHAIN)
|
||||
.include "${.CURDIR}/../common/Makefile.prog"
|
||||
.else
|
||||
SRCS= nm.c
|
||||
MAN= nm.1
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.endif
|
||||
|
@ -1,7 +1,13 @@
|
||||
# $NetBSD: Makefile,v 1.4 1999/02/09 19:21:54 tv Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2001/08/06 19:12:05 tv Exp $
|
||||
|
||||
PROG= objcopy
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.if defined(USE_NEW_TOOLCHAIN)
|
||||
.include "${.CURDIR}/../common/Makefile.prog"
|
||||
.else
|
||||
SRCS= objcopy.c not-strip.c
|
||||
MAN= objcopy.1
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.endif
|
||||
|
@ -1,7 +1,13 @@
|
||||
# $NetBSD: Makefile,v 1.4 1999/02/09 19:21:55 tv Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2001/08/06 19:12:05 tv Exp $
|
||||
|
||||
PROG= objdump
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.if defined(USE_NEW_TOOLCHAIN)
|
||||
.include "${.CURDIR}/../common/Makefile.prog"
|
||||
.else
|
||||
SRCS= objdump.c prdbg.c
|
||||
MAN= objdump.1
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.endif
|
||||
|
@ -1,7 +1,13 @@
|
||||
# $NetBSD: Makefile,v 1.4 1999/02/09 19:21:55 tv Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2001/08/06 19:12:05 tv Exp $
|
||||
|
||||
PROG= ranlib
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.if defined(USE_NEW_TOOLCHAIN)
|
||||
.include "${.CURDIR}/../common/Makefile.prog"
|
||||
.else
|
||||
SRCS= ar.c is-ranlib.c
|
||||
MAN= ranlib.1
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.endif
|
||||
|
5
gnu/usr.bin/binutils/readelf/Makefile
Normal file
5
gnu/usr.bin/binutils/readelf/Makefile
Normal file
@ -0,0 +1,5 @@
|
||||
# $NetBSD: Makefile,v 1.1 2001/08/06 19:12:06 tv Exp $
|
||||
|
||||
PROG= readelf
|
||||
|
||||
.include "../common/Makefile.prog"
|
@ -1,7 +1,13 @@
|
||||
# $NetBSD: Makefile,v 1.4 1999/02/09 19:21:55 tv Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2001/08/06 19:12:06 tv Exp $
|
||||
|
||||
PROG= size
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.if defined(USE_NEW_TOOLCHAIN)
|
||||
.include "${.CURDIR}/../common/Makefile.prog"
|
||||
.else
|
||||
SRCS= size.c
|
||||
MAN= size.1
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.endif
|
||||
|
@ -1,7 +1,13 @@
|
||||
# $NetBSD: Makefile,v 1.4 1999/02/09 19:21:55 tv Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2001/08/06 19:12:06 tv Exp $
|
||||
|
||||
PROG= strings
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.if defined(USE_NEW_TOOLCHAIN)
|
||||
.include "${.CURDIR}/../common/Makefile.prog"
|
||||
.else
|
||||
SRCS= strings.c
|
||||
MAN= strings.1
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
.endif
|
||||
|
@ -1,6 +1,11 @@
|
||||
# $NetBSD: Makefile,v 1.7 2000/02/01 06:02:01 tsutsui Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2001/08/06 19:12:06 tv Exp $
|
||||
|
||||
PROG= strip
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.if defined(USE_NEW_TOOLCHAIN)
|
||||
.include "${.CURDIR}/../common/Makefile.prog"
|
||||
.else
|
||||
SRCS= objcopy.c is-strip.c
|
||||
MAN= strip.1
|
||||
|
||||
@ -15,3 +20,4 @@ __installstrip:
|
||||
${STRIP} ${DESTDIR}${BINDIR}/strip
|
||||
chmod ${BINMODE} ${DESTDIR}${BINDIR}/strip
|
||||
.endif
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user