diff --git a/gnu/usr.bin/gas.new/Makefile b/gnu/usr.bin/gas.new/Makefile index 6afac4949009..c629ace45f91 100644 --- a/gnu/usr.bin/gas.new/Makefile +++ b/gnu/usr.bin/gas.new/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 1999/01/11 11:49:20 christos Exp $ +# $NetBSD: Makefile,v 1.6 1999/02/02 22:02:47 tv Exp $ # .include @@ -6,10 +6,10 @@ DIST= ${.CURDIR}/../../dist TARGET_ARCH ?= ${MACHINE_ARCH} PROG= as -SRCS= app.c as.c atof-generic.c bignum-copy.c cond.c expr.c \ - flonum-konst.c flonum-copy.c flonum-mult.c frags.c hash.c \ - input-file.c input-scrub.c literal.c messages.c output-file.c \ - read.c subsegs.c symbols.c write.c listing.c ecoff.c stabs.c \ +SRCS= app.c as.c atof-generic.c bignum-copy.c cond.c depend.c ecoff.c \ + ehopt.c expr.c flonum-konst.c flonum-copy.c flonum-mult.c frags.c \ + hash.c input-file.c input-scrub.c literal.c messages.c output-file.c \ + read.c subsegs.c symbols.c write.c listing.c stabs.c \ sb.c macro.c .PATH: ${DIST}/gas/config ${DIST}/gas ${DIST}/gas/doc @@ -25,10 +25,6 @@ BFDOBJ!=cd ${.CURDIR}/../../lib/bfd; \ .include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc" SRCS+= ${TARG_CPU_C} ${OBJ_FORMAT_C} ${ATOF_TARG_C} -TARGET_CPU= ${GNU_ARCH.${TARGET_ARCH}} -CPPFLAGS+= -DTARGET_ALIAS=\"${TARGET_CPU}-netbsd\" -CPPFLAGS+= -DTARGET_CPU=\"${TARGET_CPU}\" -CPPFLAGS+= -DTARGET_CANONICAL=\"${TARGET_CPU}--netbsd\" LDADD+= -L${BFDOBJ} -lbfd DPADD+= ${BFDOBJ}/libbfd.a diff --git a/gnu/usr.bin/gas.new/arch/alpha/config.h b/gnu/usr.bin/gas.new/arch/alpha/config.h new file mode 100644 index 000000000000..d12d899f85d5 --- /dev/null +++ b/gnu/usr.bin/gas.new/arch/alpha/config.h @@ -0,0 +1,146 @@ +/* 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 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 and it should be used (not on Ultrix). */ +/* #undef HAVE_ALLOCA_H */ + +/* Define as __inline if that's what the C compiler calls it. */ +/* #undef inline */ + +/* 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 lex declares yytext as a char * by default, not a char[]. */ +#define YYTEXT_POINTER 1 + +/* Name of package. */ +#define PACKAGE "gas" + +/* Version of package. */ +#define VERSION "2.9.1" + +/* Should gas use high-level BFD interfaces? */ +#define BFD_ASSEMBLER 1 + +/* Some assert/preprocessor combinations are incapable of handling + certain kinds of constructs in the argument of assert. For example, + quoted strings (if requoting isn't done right) or newlines. */ +/* #undef BROKEN_ASSERT */ + +/* If we aren't doing cross-assembling, some operations can be optimized, + since byte orders and value sizes don't need to be adjusted. */ +/* #undef CROSS_COMPILE */ + +/* Some gas code wants to know these parameters. */ +#define TARGET_ALIAS "alpha--netbsd" +#define TARGET_CPU "alpha" +#define TARGET_CANONICAL "alpha--netbsd" +#define TARGET_OS "netbsd" +#define TARGET_VENDOR "" + +/* Sometimes the system header files don't declare strstr. */ +/* #undef NEED_DECLARATION_STRSTR */ + +/* Sometimes the system header files don't declare malloc and realloc. */ +/* #undef NEED_DECLARATION_MALLOC */ + +/* Sometimes the system header files don't declare free. */ +/* #undef NEED_DECLARATION_FREE */ + +/* Sometimes the system header files don't declare sbrk. */ +/* #undef NEED_DECLARATION_SBRK */ + +/* Sometimes errno.h doesn't declare errno itself. */ +/* #undef NEED_DECLARATION_ERRNO */ + +/* #undef MANY_SEGMENTS */ + +/* The configure script defines this for some targets based on the + target name used. It is not always defined. */ +/* #undef TARGET_BYTES_BIG_ENDIAN */ + +/* Needed only for some configurations that can produce multiple output + formats. */ +#define DEFAULT_EMULATION "" +#define EMULATIONS +/* #undef USE_EMULATIONS */ +/* #undef OBJ_MAYBE_AOUT */ +/* #undef OBJ_MAYBE_BOUT */ +/* #undef OBJ_MAYBE_COFF */ +/* #undef OBJ_MAYBE_ECOFF */ +/* #undef OBJ_MAYBE_ELF */ +/* #undef OBJ_MAYBE_GENERIC */ +/* #undef OBJ_MAYBE_HP300 */ +/* #undef OBJ_MAYBE_IEEE */ +/* #undef OBJ_MAYBE_SOM */ +/* #undef OBJ_MAYBE_VMS */ + +/* Used for some of the COFF configurations, when the COFF code needs + to select something based on the CPU type before it knows it... */ +/* #undef I386COFF */ +/* #undef M68KCOFF */ +/* #undef M88KCOFF */ + +/* Using cgen code? */ +/* #undef USING_CGEN */ + +/* Needed only for sparc configuration. */ +/* #undef DEFAULT_ARCH */ + +/* Needed only for PowerPC Solaris. */ +/* #undef TARGET_SOLARIS_COMMENT */ + +/* Needed only for SCO 5. */ +/* #undef SCO_ELF */ + +/* 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 unlink function. */ +#define HAVE_UNLINK 1 + +/* Define if you have the header file. */ +#define HAVE_ERRNO_H 1 + +/* Define if you have the header file. */ +#define HAVE_MEMORY_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDARG_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define if you have the header file. */ +#define HAVE_STRINGS_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Define if you have the header file. */ +#define HAVE_VARARGS_H 1 diff --git a/gnu/usr.bin/gas.new/arch/arm32/config.h b/gnu/usr.bin/gas.new/arch/arm32/config.h new file mode 100644 index 000000000000..c3542c2f2b7a --- /dev/null +++ b/gnu/usr.bin/gas.new/arch/arm32/config.h @@ -0,0 +1,146 @@ +/* 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 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 and it should be used (not on Ultrix). */ +/* #undef HAVE_ALLOCA_H */ + +/* Define as __inline if that's what the C compiler calls it. */ +/* #undef inline */ + +/* 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 lex declares yytext as a char * by default, not a char[]. */ +#define YYTEXT_POINTER 1 + +/* Name of package. */ +#define PACKAGE "gas" + +/* Version of package. */ +#define VERSION "2.9.1" + +/* Should gas use high-level BFD interfaces? */ +#define BFD_ASSEMBLER 1 + +/* Some assert/preprocessor combinations are incapable of handling + certain kinds of constructs in the argument of assert. For example, + quoted strings (if requoting isn't done right) or newlines. */ +/* #undef BROKEN_ASSERT */ + +/* If we aren't doing cross-assembling, some operations can be optimized, + since byte orders and value sizes don't need to be adjusted. */ +/* #undef CROSS_COMPILE */ + +/* Some gas code wants to know these parameters. */ +#define TARGET_ALIAS "arm--netbsd" +#define TARGET_CPU "arm" +#define TARGET_CANONICAL "arm--netbsd" +#define TARGET_OS "netbsd" +#define TARGET_VENDOR "" + +/* Sometimes the system header files don't declare strstr. */ +/* #undef NEED_DECLARATION_STRSTR */ + +/* Sometimes the system header files don't declare malloc and realloc. */ +/* #undef NEED_DECLARATION_MALLOC */ + +/* Sometimes the system header files don't declare free. */ +/* #undef NEED_DECLARATION_FREE */ + +/* Sometimes the system header files don't declare sbrk. */ +/* #undef NEED_DECLARATION_SBRK */ + +/* Sometimes errno.h doesn't declare errno itself. */ +/* #undef NEED_DECLARATION_ERRNO */ + +/* #undef MANY_SEGMENTS */ + +/* The configure script defines this for some targets based on the + target name used. It is not always defined. */ +#define TARGET_BYTES_BIG_ENDIAN 0 + +/* Needed only for some configurations that can produce multiple output + formats. */ +#define DEFAULT_EMULATION "" +#define EMULATIONS +/* #undef USE_EMULATIONS */ +/* #undef OBJ_MAYBE_AOUT */ +/* #undef OBJ_MAYBE_BOUT */ +/* #undef OBJ_MAYBE_COFF */ +/* #undef OBJ_MAYBE_ECOFF */ +/* #undef OBJ_MAYBE_ELF */ +/* #undef OBJ_MAYBE_GENERIC */ +/* #undef OBJ_MAYBE_HP300 */ +/* #undef OBJ_MAYBE_IEEE */ +/* #undef OBJ_MAYBE_SOM */ +/* #undef OBJ_MAYBE_VMS */ + +/* Used for some of the COFF configurations, when the COFF code needs + to select something based on the CPU type before it knows it... */ +/* #undef I386COFF */ +/* #undef M68KCOFF */ +/* #undef M88KCOFF */ + +/* Using cgen code? */ +/* #undef USING_CGEN */ + +/* Needed only for sparc configuration. */ +/* #undef DEFAULT_ARCH */ + +/* Needed only for PowerPC Solaris. */ +/* #undef TARGET_SOLARIS_COMMENT */ + +/* Needed only for SCO 5. */ +/* #undef SCO_ELF */ + +/* 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 unlink function. */ +#define HAVE_UNLINK 1 + +/* Define if you have the header file. */ +#define HAVE_ERRNO_H 1 + +/* Define if you have the header file. */ +#define HAVE_MEMORY_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDARG_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define if you have the header file. */ +#define HAVE_STRINGS_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Define if you have the header file. */ +#define HAVE_VARARGS_H 1 diff --git a/gnu/usr.bin/gas.new/arch/i386/config.h b/gnu/usr.bin/gas.new/arch/i386/config.h new file mode 100644 index 000000000000..a88ba13702eb --- /dev/null +++ b/gnu/usr.bin/gas.new/arch/i386/config.h @@ -0,0 +1,146 @@ +/* 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 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 and it should be used (not on Ultrix). */ +/* #undef HAVE_ALLOCA_H */ + +/* Define as __inline if that's what the C compiler calls it. */ +/* #undef inline */ + +/* 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 lex declares yytext as a char * by default, not a char[]. */ +#define YYTEXT_POINTER 1 + +/* Name of package. */ +#define PACKAGE "gas" + +/* Version of package. */ +#define VERSION "2.9.1" + +/* Should gas use high-level BFD interfaces? */ +#define BFD_ASSEMBLER 1 + +/* Some assert/preprocessor combinations are incapable of handling + certain kinds of constructs in the argument of assert. For example, + quoted strings (if requoting isn't done right) or newlines. */ +/* #undef BROKEN_ASSERT */ + +/* If we aren't doing cross-assembling, some operations can be optimized, + since byte orders and value sizes don't need to be adjusted. */ +/* #undef CROSS_COMPILE */ + +/* Some gas code wants to know these parameters. */ +#define TARGET_ALIAS "i386--netbsd" +#define TARGET_CPU "i386" +#define TARGET_CANONICAL "i386--netbsd" +#define TARGET_OS "netbsd" +#define TARGET_VENDOR "" + +/* Sometimes the system header files don't declare strstr. */ +/* #undef NEED_DECLARATION_STRSTR */ + +/* Sometimes the system header files don't declare malloc and realloc. */ +/* #undef NEED_DECLARATION_MALLOC */ + +/* Sometimes the system header files don't declare free. */ +/* #undef NEED_DECLARATION_FREE */ + +/* Sometimes the system header files don't declare sbrk. */ +/* #undef NEED_DECLARATION_SBRK */ + +/* Sometimes errno.h doesn't declare errno itself. */ +/* #undef NEED_DECLARATION_ERRNO */ + +/* #undef MANY_SEGMENTS */ + +/* The configure script defines this for some targets based on the + target name used. It is not always defined. */ +/* #undef TARGET_BYTES_BIG_ENDIAN */ + +/* Needed only for some configurations that can produce multiple output + formats. */ +#define DEFAULT_EMULATION "" +#define EMULATIONS +/* #undef USE_EMULATIONS */ +/* #undef OBJ_MAYBE_AOUT */ +/* #undef OBJ_MAYBE_BOUT */ +/* #undef OBJ_MAYBE_COFF */ +/* #undef OBJ_MAYBE_ECOFF */ +/* #undef OBJ_MAYBE_ELF */ +/* #undef OBJ_MAYBE_GENERIC */ +/* #undef OBJ_MAYBE_HP300 */ +/* #undef OBJ_MAYBE_IEEE */ +/* #undef OBJ_MAYBE_SOM */ +/* #undef OBJ_MAYBE_VMS */ + +/* Used for some of the COFF configurations, when the COFF code needs + to select something based on the CPU type before it knows it... */ +/* #undef I386COFF */ +/* #undef M68KCOFF */ +/* #undef M88KCOFF */ + +/* Using cgen code? */ +/* #undef USING_CGEN */ + +/* Needed only for sparc configuration. */ +/* #undef DEFAULT_ARCH */ + +/* Needed only for PowerPC Solaris. */ +/* #undef TARGET_SOLARIS_COMMENT */ + +/* Needed only for SCO 5. */ +/* #undef SCO_ELF */ + +/* 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 unlink function. */ +#define HAVE_UNLINK 1 + +/* Define if you have the header file. */ +#define HAVE_ERRNO_H 1 + +/* Define if you have the header file. */ +#define HAVE_MEMORY_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDARG_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define if you have the header file. */ +#define HAVE_STRINGS_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Define if you have the header file. */ +#define HAVE_VARARGS_H 1 diff --git a/gnu/usr.bin/gas.new/arch/mips/config.h b/gnu/usr.bin/gas.new/arch/mips/config.h new file mode 100644 index 000000000000..9a1df9c31381 --- /dev/null +++ b/gnu/usr.bin/gas.new/arch/mips/config.h @@ -0,0 +1,146 @@ +/* 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 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 and it should be used (not on Ultrix). */ +/* #undef HAVE_ALLOCA_H */ + +/* Define as __inline if that's what the C compiler calls it. */ +/* #undef inline */ + +/* 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 lex declares yytext as a char * by default, not a char[]. */ +#define YYTEXT_POINTER 1 + +/* Name of package. */ +#define PACKAGE "gas" + +/* Version of package. */ +#define VERSION "2.9.1" + +/* Should gas use high-level BFD interfaces? */ +#define BFD_ASSEMBLER 1 + +/* Some assert/preprocessor combinations are incapable of handling + certain kinds of constructs in the argument of assert. For example, + quoted strings (if requoting isn't done right) or newlines. */ +/* #undef BROKEN_ASSERT */ + +/* If we aren't doing cross-assembling, some operations can be optimized, + since byte orders and value sizes don't need to be adjusted. */ +/* #undef CROSS_COMPILE */ + +/* Some gas code wants to know these parameters. */ +#define TARGET_ALIAS "mips-dec-netbsd" +#define TARGET_CPU "mips" +#define TARGET_CANONICAL "mips-dec-netbsd" +#define TARGET_OS "netbsd" +#define TARGET_VENDOR "dec" + +/* Sometimes the system header files don't declare strstr. */ +/* #undef NEED_DECLARATION_STRSTR */ + +/* Sometimes the system header files don't declare malloc and realloc. */ +/* #undef NEED_DECLARATION_MALLOC */ + +/* Sometimes the system header files don't declare free. */ +/* #undef NEED_DECLARATION_FREE */ + +/* Sometimes the system header files don't declare sbrk. */ +/* #undef NEED_DECLARATION_SBRK */ + +/* Sometimes errno.h doesn't declare errno itself. */ +/* #undef NEED_DECLARATION_ERRNO */ + +/* #undef MANY_SEGMENTS */ + +/* The configure script defines this for some targets based on the + target name used. It is not always defined. */ +#define TARGET_BYTES_BIG_ENDIAN 1 + +/* Needed only for some configurations that can produce multiple output + formats. */ +#define DEFAULT_EMULATION "mipslelf" +#define EMULATIONS &mipslelf, &mipsbelf, &mipself, +#define USE_EMULATIONS 1 +/* #undef OBJ_MAYBE_AOUT */ +/* #undef OBJ_MAYBE_BOUT */ +/* #undef OBJ_MAYBE_COFF */ +/* #undef OBJ_MAYBE_ECOFF */ +/* #undef OBJ_MAYBE_ELF */ +/* #undef OBJ_MAYBE_GENERIC */ +/* #undef OBJ_MAYBE_HP300 */ +/* #undef OBJ_MAYBE_IEEE */ +/* #undef OBJ_MAYBE_SOM */ +/* #undef OBJ_MAYBE_VMS */ + +/* Used for some of the COFF configurations, when the COFF code needs + to select something based on the CPU type before it knows it... */ +/* #undef I386COFF */ +/* #undef M68KCOFF */ +/* #undef M88KCOFF */ + +/* Using cgen code? */ +/* #undef USING_CGEN */ + +/* Needed only for sparc configuration. */ +/* #undef DEFAULT_ARCH */ + +/* Needed only for PowerPC Solaris. */ +/* #undef TARGET_SOLARIS_COMMENT */ + +/* Needed only for SCO 5. */ +/* #undef SCO_ELF */ + +/* 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 unlink function. */ +#define HAVE_UNLINK 1 + +/* Define if you have the header file. */ +#define HAVE_ERRNO_H 1 + +/* Define if you have the header file. */ +#define HAVE_MEMORY_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDARG_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define if you have the header file. */ +#define HAVE_STRINGS_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Define if you have the header file. */ +#define HAVE_VARARGS_H 1 diff --git a/gnu/usr.bin/gas.new/arch/sparc/config.h b/gnu/usr.bin/gas.new/arch/sparc/config.h new file mode 100644 index 000000000000..15dd40d4cae4 --- /dev/null +++ b/gnu/usr.bin/gas.new/arch/sparc/config.h @@ -0,0 +1,146 @@ +/* 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 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 and it should be used (not on Ultrix). */ +/* #undef HAVE_ALLOCA_H */ + +/* Define as __inline if that's what the C compiler calls it. */ +/* #undef inline */ + +/* 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 lex declares yytext as a char * by default, not a char[]. */ +#define YYTEXT_POINTER 1 + +/* Name of package. */ +#define PACKAGE "gas" + +/* Version of package. */ +#define VERSION "2.9.1" + +/* Should gas use high-level BFD interfaces? */ +#define BFD_ASSEMBLER 1 + +/* Some assert/preprocessor combinations are incapable of handling + certain kinds of constructs in the argument of assert. For example, + quoted strings (if requoting isn't done right) or newlines. */ +/* #undef BROKEN_ASSERT */ + +/* If we aren't doing cross-assembling, some operations can be optimized, + since byte orders and value sizes don't need to be adjusted. */ +/* #undef CROSS_COMPILE */ + +/* Some gas code wants to know these parameters. */ +#define TARGET_ALIAS "sparc--netbsd" +#define TARGET_CPU "sparc" +#define TARGET_CANONICAL "sparc--netbsd" +#define TARGET_OS "netbsd" +#define TARGET_VENDOR "" + +/* Sometimes the system header files don't declare strstr. */ +/* #undef NEED_DECLARATION_STRSTR */ + +/* Sometimes the system header files don't declare malloc and realloc. */ +/* #undef NEED_DECLARATION_MALLOC */ + +/* Sometimes the system header files don't declare free. */ +/* #undef NEED_DECLARATION_FREE */ + +/* Sometimes the system header files don't declare sbrk. */ +/* #undef NEED_DECLARATION_SBRK */ + +/* Sometimes errno.h doesn't declare errno itself. */ +/* #undef NEED_DECLARATION_ERRNO */ + +/* #undef MANY_SEGMENTS */ + +/* The configure script defines this for some targets based on the + target name used. It is not always defined. */ +/* #undef TARGET_BYTES_BIG_ENDIAN */ + +/* Needed only for some configurations that can produce multiple output + formats. */ +#define DEFAULT_EMULATION "" +#define EMULATIONS +/* #undef USE_EMULATIONS */ +/* #undef OBJ_MAYBE_AOUT */ +/* #undef OBJ_MAYBE_BOUT */ +/* #undef OBJ_MAYBE_COFF */ +/* #undef OBJ_MAYBE_ECOFF */ +/* #undef OBJ_MAYBE_ELF */ +/* #undef OBJ_MAYBE_GENERIC */ +/* #undef OBJ_MAYBE_HP300 */ +/* #undef OBJ_MAYBE_IEEE */ +/* #undef OBJ_MAYBE_SOM */ +/* #undef OBJ_MAYBE_VMS */ + +/* Used for some of the COFF configurations, when the COFF code needs + to select something based on the CPU type before it knows it... */ +/* #undef I386COFF */ +/* #undef M68KCOFF */ +/* #undef M88KCOFF */ + +/* Using cgen code? */ +/* #undef USING_CGEN */ + +/* Needed only for sparc configuration. */ +#define DEFAULT_ARCH "sparclite" + +/* Needed only for PowerPC Solaris. */ +/* #undef TARGET_SOLARIS_COMMENT */ + +/* Needed only for SCO 5. */ +/* #undef SCO_ELF */ + +/* 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 unlink function. */ +#define HAVE_UNLINK 1 + +/* Define if you have the header file. */ +#define HAVE_ERRNO_H 1 + +/* Define if you have the header file. */ +#define HAVE_MEMORY_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDARG_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define if you have the header file. */ +#define HAVE_STRINGS_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Define if you have the header file. */ +#define HAVE_VARARGS_H 1 diff --git a/gnu/usr.bin/gas.new/arch/sparc64/config.h b/gnu/usr.bin/gas.new/arch/sparc64/config.h new file mode 100644 index 000000000000..419d525db92d --- /dev/null +++ b/gnu/usr.bin/gas.new/arch/sparc64/config.h @@ -0,0 +1,146 @@ +/* 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 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 and it should be used (not on Ultrix). */ +/* #undef HAVE_ALLOCA_H */ + +/* Define as __inline if that's what the C compiler calls it. */ +/* #undef inline */ + +/* 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 lex declares yytext as a char * by default, not a char[]. */ +#define YYTEXT_POINTER 1 + +/* Name of package. */ +#define PACKAGE "gas" + +/* Version of package. */ +#define VERSION "2.9.1" + +/* Should gas use high-level BFD interfaces? */ +#define BFD_ASSEMBLER 1 + +/* Some assert/preprocessor combinations are incapable of handling + certain kinds of constructs in the argument of assert. For example, + quoted strings (if requoting isn't done right) or newlines. */ +/* #undef BROKEN_ASSERT */ + +/* If we aren't doing cross-assembling, some operations can be optimized, + since byte orders and value sizes don't need to be adjusted. */ +/* #undef CROSS_COMPILE */ + +/* Some gas code wants to know these parameters. */ +#define TARGET_ALIAS "sparc64--netbsd" +#define TARGET_CPU "sparc64" +#define TARGET_CANONICAL "sparc64--netbsd" +#define TARGET_OS "netbsd" +#define TARGET_VENDOR "" + +/* Sometimes the system header files don't declare strstr. */ +/* #undef NEED_DECLARATION_STRSTR */ + +/* Sometimes the system header files don't declare malloc and realloc. */ +/* #undef NEED_DECLARATION_MALLOC */ + +/* Sometimes the system header files don't declare free. */ +/* #undef NEED_DECLARATION_FREE */ + +/* Sometimes the system header files don't declare sbrk. */ +/* #undef NEED_DECLARATION_SBRK */ + +/* Sometimes errno.h doesn't declare errno itself. */ +/* #undef NEED_DECLARATION_ERRNO */ + +/* #undef MANY_SEGMENTS */ + +/* The configure script defines this for some targets based on the + target name used. It is not always defined. */ +/* #undef TARGET_BYTES_BIG_ENDIAN */ + +/* Needed only for some configurations that can produce multiple output + formats. */ +#define DEFAULT_EMULATION "" +#define EMULATIONS +/* #undef USE_EMULATIONS */ +/* #undef OBJ_MAYBE_AOUT */ +/* #undef OBJ_MAYBE_BOUT */ +/* #undef OBJ_MAYBE_COFF */ +/* #undef OBJ_MAYBE_ECOFF */ +/* #undef OBJ_MAYBE_ELF */ +/* #undef OBJ_MAYBE_GENERIC */ +/* #undef OBJ_MAYBE_HP300 */ +/* #undef OBJ_MAYBE_IEEE */ +/* #undef OBJ_MAYBE_SOM */ +/* #undef OBJ_MAYBE_VMS */ + +/* Used for some of the COFF configurations, when the COFF code needs + to select something based on the CPU type before it knows it... */ +/* #undef I386COFF */ +/* #undef M68KCOFF */ +/* #undef M88KCOFF */ + +/* Using cgen code? */ +/* #undef USING_CGEN */ + +/* Needed only for sparc configuration. */ +#define DEFAULT_ARCH "v9-64" + +/* Needed only for PowerPC Solaris. */ +/* #undef TARGET_SOLARIS_COMMENT */ + +/* Needed only for SCO 5. */ +/* #undef SCO_ELF */ + +/* 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 unlink function. */ +#define HAVE_UNLINK 1 + +/* Define if you have the header file. */ +#define HAVE_ERRNO_H 1 + +/* Define if you have the header file. */ +#define HAVE_MEMORY_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDARG_H 1 + +/* Define if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define if you have the header file. */ +#define HAVE_STRINGS_H 1 + +/* Define if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Define if you have the header file. */ +#define HAVE_VARARGS_H 1 diff --git a/gnu/usr.bin/gas.new/config.h b/gnu/usr.bin/gas.new/arch/vax/config.h similarity index 80% rename from gnu/usr.bin/gas.new/config.h rename to gnu/usr.bin/gas.new/arch/vax/config.h index 6ce088532983..4d52b9307c40 100644 --- a/gnu/usr.bin/gas.new/config.h +++ b/gnu/usr.bin/gas.new/arch/vax/config.h @@ -1,17 +1,5 @@ -/* $NetBSD: config.h,v 1.3 1998/09/29 05:32:23 jonathan Exp $ - * - * Munged from actual 2.8.1 config.h file for machine independence. - * - * NOTE: Define BFD_ASSEMBLER, TARGET_ALIAS, TARGET_CPU, and - * TARGET_CANONICAL must be defined elsewhere. - */ - -/* config.h. Generated automatically by make. */ -#ifndef GAS_VERSION -#define GAS_VERSION "2.8.1" - -/* conf. Generated automatically by configure. */ -/* conf.in. Generated automatically from configure.in by autoheader. */ +/* config.h. Generated automatically by configure. */ +/* config.in. Generated automatically from configure.in by autoheader. */ /* Define if using alloca.c. */ /* #undef C_ALLOCA */ @@ -38,6 +26,15 @@ */ /* #undef STACK_DIRECTION */ +/* Define if lex declares yytext as a char * by default, not a char[]. */ +#define YYTEXT_POINTER 1 + +/* Name of package. */ +#define PACKAGE "gas" + +/* Version of package. */ +#define VERSION "2.9.1" + /* Should gas use high-level BFD interfaces? */ /* #undef BFD_ASSEMBLER */ @@ -51,12 +48,11 @@ /* #undef CROSS_COMPILE */ /* Some gas code wants to know these parameters. */ -#if !defined(TARGET_ALIAS) || !defined(TARGET_CPU) || \ - !defined(TARGET_CANONICAL) -#error TARGET_ALIAS, TARGET_CPU, and TARGET_CANONICAL must all be defined -#endif +#define TARGET_ALIAS "vax--netbsd" +#define TARGET_CPU "vax" +#define TARGET_CANONICAL "vax--netbsd" #define TARGET_OS "netbsd" -#define TARGET_VENDOR "unknown" +#define TARGET_VENDOR "" /* Sometimes the system header files don't declare strstr. */ /* #undef NEED_DECLARATION_STRSTR */ @@ -75,21 +71,14 @@ /* #undef MANY_SEGMENTS */ -/* Needed only for sparc configuration. */ -/* #undef SPARC_V9 */ -/* #undef SPARC_ARCH64 */ - -/* Defined if using CGEN. */ -/* #undef USING_CGEN */ +/* The configure script defines this for some targets based on the + target name used. It is not always defined. */ +/* #undef TARGET_BYTES_BIG_ENDIAN */ /* Needed only for some configurations that can produce multiple output formats. */ -#ifndef DEFAULT_EMULATION -# define DEFAULT_EMULATION "" -#endif -#ifndef EMULATIONS -# define EMULATIONS -#endif +#define DEFAULT_EMULATION "" +#define EMULATIONS /* #undef USE_EMULATIONS */ /* #undef OBJ_MAYBE_AOUT */ /* #undef OBJ_MAYBE_BOUT */ @@ -108,6 +97,18 @@ /* #undef M68KCOFF */ /* #undef M88KCOFF */ +/* Using cgen code? */ +/* #undef USING_CGEN */ + +/* Needed only for sparc configuration. */ +/* #undef DEFAULT_ARCH */ + +/* Needed only for PowerPC Solaris. */ +/* #undef TARGET_SOLARIS_COMMENT */ + +/* Needed only for SCO 5. */ +/* #undef SCO_ELF */ + /* Define if you have the remove function. */ /* #undef HAVE_REMOVE */ @@ -143,4 +144,3 @@ /* Define if you have the header file. */ #define HAVE_VARARGS_H 1 -#endif /* GAS_VERSION */