Remove now-unused GNU as build infrastructure
This commit is contained in:
parent
048c96e3e6
commit
90b9aa475e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=361894
@ -1,103 +0,0 @@
|
|||||||
# $FreeBSD$
|
|
||||||
|
|
||||||
|
|
||||||
# BINDIR
|
|
||||||
.include "${.CURDIR}/../../Makefile.inc"
|
|
||||||
.include "${.CURDIR}/../Makefile.inc0"
|
|
||||||
.include <src.opts.mk>
|
|
||||||
|
|
||||||
.PATH: ${SRCDIR}/gas ${SRCDIR}/gas/config
|
|
||||||
|
|
||||||
.if ${TARGET_ARCH:Marm*} || ${TARGET_ARCH} == "powerpc64"
|
|
||||||
NO_WERROR.clang=
|
|
||||||
.endif
|
|
||||||
|
|
||||||
PROG= as
|
|
||||||
SRCS+= app.c \
|
|
||||||
as.c \
|
|
||||||
atof-generic.c \
|
|
||||||
atof-ieee.c \
|
|
||||||
cond.c \
|
|
||||||
depend.c \
|
|
||||||
dw2gencfi.c \
|
|
||||||
dwarf2dbg.c \
|
|
||||||
ecoff.c \
|
|
||||||
ehopt.c \
|
|
||||||
expr.c \
|
|
||||||
flonum-copy.c \
|
|
||||||
flonum-konst.c \
|
|
||||||
flonum-mult.c \
|
|
||||||
frags.c \
|
|
||||||
hash.c \
|
|
||||||
input-file.c \
|
|
||||||
input-scrub.c \
|
|
||||||
listing.c \
|
|
||||||
literal.c \
|
|
||||||
macro.c \
|
|
||||||
messages.c \
|
|
||||||
obj-elf.c \
|
|
||||||
output-file.c \
|
|
||||||
read.c \
|
|
||||||
sb.c \
|
|
||||||
stabs.c \
|
|
||||||
subsegs.c \
|
|
||||||
symbols.c \
|
|
||||||
write.c
|
|
||||||
# DEO: why not used?
|
|
||||||
#SRCS+= itbl-ops.c
|
|
||||||
|
|
||||||
.if ${TARGET_ARCH:Marmv6*} != ""
|
|
||||||
CFLAGS+= -DCPU_DEFAULT=ARM_ARCH_V6K
|
|
||||||
.endif
|
|
||||||
.if ${TARGET_ARCH:Marmv7*} != ""
|
|
||||||
CFLAGS+= -DCPU_DEFAULT=ARM_ARCH_V7A
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${TARGET_CPUARCH} == "mips"
|
|
||||||
SRCS+= itbl-ops.c itbl-parse.y itbl-lex.l
|
|
||||||
.if ${TARGET_ARCH:Mmips64*} != ""
|
|
||||||
CFLAGS+= -DMIPS_DEFAULT_ABI=N64_ABI -DMIPS_DEFAULT_64BIT=1
|
|
||||||
.elif ${TARGET_ARCH:Mmipsn32*} != ""
|
|
||||||
CFLAGS+= -DMIPS_DEFAULT_ABI=N32_ABI
|
|
||||||
.else
|
|
||||||
MIPS_ABI_DEFAULT=ABI_32
|
|
||||||
.endif
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${TARGET_ARCH} == "amd64"
|
|
||||||
SRCS+= tc-i386.c
|
|
||||||
.elif ${TARGET_CPUARCH} == "powerpc"
|
|
||||||
SRCS+= tc-ppc.c
|
|
||||||
.elif ${TARGET_ARCH} == "sparc64"
|
|
||||||
SRCS+= tc-sparc.c
|
|
||||||
.else
|
|
||||||
SRCS+= tc-${TARGET_CPUARCH}.c
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${TARGET_ARCH} == "sparc64"
|
|
||||||
CFLAGS+= -DDEFAULT_ARCH=\"v9-64\"
|
|
||||||
.else
|
|
||||||
CFLAGS+= -DDEFAULT_ARCH=\"${BINUTILS_ARCH}\"
|
|
||||||
.endif
|
|
||||||
.if defined(TARGET_BIG_ENDIAN)
|
|
||||||
CFLAGS+= -DTARGET_BYTES_BIG_ENDIAN=1
|
|
||||||
.endif
|
|
||||||
CFLAGS+= -DTARGET_CPU=\"${BINUTILS_ARCH}\"
|
|
||||||
CFLAGS+= -DTARGET_OS=\"${TARGET_OS}\"
|
|
||||||
CFLAGS+= -DTARGET_CANONICAL=\"${TARGET_TUPLE}\"
|
|
||||||
CFLAGS+= -DTARGET_ALIAS=\"${TARGET_TUPLE}\"
|
|
||||||
CFLAGS+= -DVERSION=\"${VERSION}\"
|
|
||||||
CFLAGS+= -D_GNU_SOURCE
|
|
||||||
CFLAGS+= -I${SRCDIR}/gas -I${SRCDIR}/bfd -I${SRCDIR}/gas/config -I${SRCDIR}
|
|
||||||
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/${TARGET_CPUARCH}-freebsd
|
|
||||||
|
|
||||||
.if ${MK_SHARED_TOOLCHAIN} == "no"
|
|
||||||
NO_SHARED?= yes
|
|
||||||
.endif
|
|
||||||
|
|
||||||
DPADD= ${GNURELTOP}/libbfd/libbfd${PIE_SUFFIX}.a
|
|
||||||
DPADD+= ${GNURELTOP}/libiberty/libiberty${PIE_SUFFIX}.a
|
|
||||||
DPADD+= ${GNURELTOP}/libopcodes/libopcodes${PIE_SUFFIX}.a
|
|
||||||
LDADD= ${DPADD}
|
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
|
@ -1,20 +0,0 @@
|
|||||||
# $FreeBSD$
|
|
||||||
# Autogenerated - do NOT edit!
|
|
||||||
|
|
||||||
DIRDEPS = \
|
|
||||||
gnu/lib/csu \
|
|
||||||
gnu/usr.bin/binutils/libbfd \
|
|
||||||
gnu/usr.bin/binutils/libiberty \
|
|
||||||
gnu/usr.bin/binutils/libopcodes \
|
|
||||||
include \
|
|
||||||
include/xlocale \
|
|
||||||
lib/${CSU_DIR} \
|
|
||||||
lib/libc \
|
|
||||||
lib/libcompiler_rt \
|
|
||||||
|
|
||||||
|
|
||||||
.include <dirdeps.mk>
|
|
||||||
|
|
||||||
.if ${DEP_RELDIR} == ${_DEP_RELDIR}
|
|
||||||
# local dependencies - needed for -jN in clean tree
|
|
||||||
.endif
|
|
@ -1 +0,0 @@
|
|||||||
#include "tc-alpha.h"
|
|
@ -1,3 +0,0 @@
|
|||||||
/* $FreeBSD$ */
|
|
||||||
|
|
||||||
#include "itbl-i386.h"
|
|
@ -1,3 +0,0 @@
|
|||||||
/* $FreeBSD$*/
|
|
||||||
|
|
||||||
#include "tc-i386.h"
|
|
@ -1,3 +0,0 @@
|
|||||||
/* $FreeBSD$ */
|
|
||||||
|
|
||||||
#include "tc-arm.h"
|
|
File diff suppressed because it is too large
Load Diff
@ -1,254 +0,0 @@
|
|||||||
/* $FreeBSD$ */
|
|
||||||
|
|
||||||
/* config.h. Generated by configure. */
|
|
||||||
/* config.in. Generated from configure.in by autoheader. */
|
|
||||||
|
|
||||||
/* Define if using AIX 5.2 value for C_WEAKEXT. */
|
|
||||||
/* #undef AIX_WEAK_SUPPORT */
|
|
||||||
|
|
||||||
/* assert broken? */
|
|
||||||
/* #undef BROKEN_ASSERT */
|
|
||||||
|
|
||||||
/* 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 */
|
|
||||||
|
|
||||||
/* Compiling cross-assembler? */
|
|
||||||
/* #undef CROSS_COMPILE */
|
|
||||||
|
|
||||||
/* Define to 1 if using `alloca.c'. */
|
|
||||||
/* #undef C_ALLOCA */
|
|
||||||
|
|
||||||
/* Default architecture. */
|
|
||||||
/* #define DEFAULT_ARCH "i386" */
|
|
||||||
|
|
||||||
/* Default CRIS architecture. */
|
|
||||||
/* #undef DEFAULT_CRIS_ARCH */
|
|
||||||
|
|
||||||
/* Default emulation. */
|
|
||||||
/* #define DEFAULT_EMULATION "i386elf" */
|
|
||||||
|
|
||||||
/* Supported emulations. */
|
|
||||||
/* #define EMULATIONS &i386elf, */
|
|
||||||
|
|
||||||
/* Define if you want run-time sanity checks. */
|
|
||||||
/* #undef ENABLE_CHECKING */
|
|
||||||
|
|
||||||
/* Define to 1 if translation of program messages to the user's native
|
|
||||||
language is requested. */
|
|
||||||
/* #undef ENABLE_NLS */
|
|
||||||
|
|
||||||
/* Define to 1 if you have `alloca', as a function or macro. */
|
|
||||||
#define HAVE_ALLOCA 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
|
||||||
*/
|
|
||||||
/* #undef HAVE_ALLOCA_H */
|
|
||||||
|
|
||||||
/* Is the prototype for getopt in <unistd.h> in the expected format? */
|
|
||||||
#define HAVE_DECL_GETOPT 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
|
|
||||||
don't. */
|
|
||||||
#define HAVE_DECL_VSNPRINTF 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
||||||
#define HAVE_DLFCN_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <errno.h> header file. */
|
|
||||||
#define HAVE_ERRNO_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
||||||
#define HAVE_INTTYPES_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <memory.h> header file. */
|
|
||||||
#define HAVE_MEMORY_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `remove' function. */
|
|
||||||
/* #undef HAVE_REMOVE */
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `sbrk' function. */
|
|
||||||
/* #undef HAVE_SBRK */
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdarg.h> header file. */
|
|
||||||
#define HAVE_STDARG_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdint.h> header file. */
|
|
||||||
#define HAVE_STDINT_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
||||||
#define HAVE_STDLIB_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <strings.h> header file. */
|
|
||||||
#define HAVE_STRINGS_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <string.h> header file. */
|
|
||||||
#define HAVE_STRING_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
||||||
#define HAVE_SYS_STAT_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
||||||
#define HAVE_SYS_TYPES_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <unistd.h> header file. */
|
|
||||||
#define HAVE_UNISTD_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `unlink' function. */
|
|
||||||
#define HAVE_UNLINK 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <varargs.h> header file. */
|
|
||||||
/* #undef HAVE_VARARGS_H */
|
|
||||||
|
|
||||||
/* Using i386 COFF? */
|
|
||||||
/* #undef I386COFF */
|
|
||||||
|
|
||||||
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
|
||||||
*/
|
|
||||||
#define LT_OBJDIR ".libs/"
|
|
||||||
|
|
||||||
/* Using m68k COFF? */
|
|
||||||
/* #undef M68KCOFF */
|
|
||||||
|
|
||||||
/* Using m88k COFF? */
|
|
||||||
/* #undef M88KCOFF */
|
|
||||||
|
|
||||||
/* Default CPU for MIPS targets. */
|
|
||||||
/* #undef MIPS_CPU_STRING_DEFAULT */
|
|
||||||
|
|
||||||
/* Generate 64-bit code by default on MIPS targets. */
|
|
||||||
/* #undef MIPS_DEFAULT_64BIT */
|
|
||||||
|
|
||||||
/* Choose a default ABI for MIPS targets. */
|
|
||||||
/* #undef MIPS_DEFAULT_ABI */
|
|
||||||
|
|
||||||
/* 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 */
|
|
||||||
|
|
||||||
/* Define if ffs is not declared in system header files. */
|
|
||||||
/* #undef NEED_DECLARATION_FFS */
|
|
||||||
|
|
||||||
/* Define if free is not declared in system header files. */
|
|
||||||
/* #undef NEED_DECLARATION_FREE */
|
|
||||||
|
|
||||||
/* Define if malloc is not declared in system header files. */
|
|
||||||
/* #undef NEED_DECLARATION_MALLOC */
|
|
||||||
|
|
||||||
/* Define if sbrk is not declared in system header files. */
|
|
||||||
/* #undef NEED_DECLARATION_SBRK */
|
|
||||||
|
|
||||||
/* Define if strstr is not declared in system header files. */
|
|
||||||
/* #undef NEED_DECLARATION_STRSTR */
|
|
||||||
|
|
||||||
/* 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 */
|
|
||||||
|
|
||||||
/* SOM support? */
|
|
||||||
/* #undef OBJ_MAYBE_SOM */
|
|
||||||
|
|
||||||
/* Name of package */
|
|
||||||
#define PACKAGE "gas"
|
|
||||||
|
|
||||||
/* Define to the address where bug reports for this package should be sent. */
|
|
||||||
#define PACKAGE_BUGREPORT ""
|
|
||||||
|
|
||||||
/* Define to the full name of this package. */
|
|
||||||
#define PACKAGE_NAME ""
|
|
||||||
|
|
||||||
/* Define to the full name and version of this package. */
|
|
||||||
#define PACKAGE_STRING ""
|
|
||||||
|
|
||||||
/* Define to the one symbol short name of this package. */
|
|
||||||
#define PACKAGE_TARNAME ""
|
|
||||||
|
|
||||||
/* Define to the version of this package. */
|
|
||||||
#define PACKAGE_VERSION ""
|
|
||||||
|
|
||||||
/* Define if defaulting to ELF on SCO 5. */
|
|
||||||
/* #undef SCO_ELF */
|
|
||||||
|
|
||||||
/* 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 to 1 if you have the ANSI C header files. */
|
|
||||||
#define STDC_HEADERS 1
|
|
||||||
|
|
||||||
/* Using strict COFF? */
|
|
||||||
/* #undef STRICTCOFF */
|
|
||||||
|
|
||||||
/* Target alias. */
|
|
||||||
/* #define TARGET_ALIAS "i386-unknown-freebsd9.0" */
|
|
||||||
|
|
||||||
/* Define as 1 if big endian. */
|
|
||||||
/* #undef TARGET_BYTES_BIG_ENDIAN */
|
|
||||||
|
|
||||||
/* Canonical target. */
|
|
||||||
/* #define TARGET_CANONICAL "i386-unknown-freebsd9.0" */
|
|
||||||
|
|
||||||
/* Target CPU. */
|
|
||||||
/* #define TARGET_CPU "i386" */
|
|
||||||
|
|
||||||
/* Target OS. */
|
|
||||||
/* #define TARGET_OS "freebsd9.0" */
|
|
||||||
|
|
||||||
/* Define if default target is PowerPC Solaris. */
|
|
||||||
/* #undef TARGET_SOLARIS_COMMENT */
|
|
||||||
|
|
||||||
/* Define if target is Symbian OS. */
|
|
||||||
/* #undef TARGET_SYMBIAN */
|
|
||||||
|
|
||||||
/* Target vendor. */
|
|
||||||
/* #define TARGET_VENDOR "unknown" */
|
|
||||||
|
|
||||||
/* Use b modifier when opening binary files? */
|
|
||||||
/* #undef USE_BINARY_FOPEN */
|
|
||||||
|
|
||||||
/* Use emulation support? */
|
|
||||||
/* #undef USE_EMULATIONS */
|
|
||||||
|
|
||||||
/* Allow use of E_MIPS_ABI_O32 on MIPS targets. */
|
|
||||||
/* #undef USE_E_MIPS_ABI_O32 */
|
|
||||||
|
|
||||||
/* Using cgen code? */
|
|
||||||
/* #undef USING_CGEN */
|
|
||||||
|
|
||||||
/* Version number of package */
|
|
||||||
/* #define VERSION "2.17.50" */
|
|
||||||
|
|
||||||
/* Define to 1 if your processor stores words with the most significant byte
|
|
||||||
first (like Motorola and SPARC, unlike Intel and VAX). */
|
|
||||||
/* #undef WORDS_BIGENDIAN */
|
|
||||||
|
|
||||||
/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
|
|
||||||
`char[]'. */
|
|
||||||
#define YYTEXT_POINTER 1
|
|
||||||
|
|
||||||
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
|
||||||
calls it, or to nothing if 'inline' is not supported under any name. */
|
|
||||||
#ifndef __cplusplus
|
|
||||||
/* #undef inline */
|
|
||||||
#endif
|
|
@ -1 +0,0 @@
|
|||||||
#include "tc-i386.h"
|
|
@ -1,22 +0,0 @@
|
|||||||
/* $FreeBSD$ */
|
|
||||||
|
|
||||||
#include "itbl-mips.h"
|
|
||||||
|
|
||||||
/* Choose a default ABI for MIPS targets. */
|
|
||||||
#ifndef MIPS_DEFAULT_ABI
|
|
||||||
#define MIPS_DEFAULT_ABI NO_ABI
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Default CPU for MIPS targets. */
|
|
||||||
#define MIPS_CPU_STRING_DEFAULT "from-abi"
|
|
||||||
|
|
||||||
/* Generate 64-bit code by default on MIPS targets. */
|
|
||||||
#ifndef MIPS_DEFAULT_64BIT
|
|
||||||
#define MIPS_DEFAULT_64BIT 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Allow use of E_MIPS_ABI_O32 on MIPS targets. */
|
|
||||||
#define USE_E_MIPS_ABI_O32 1
|
|
||||||
|
|
||||||
/* Use traditional mips */
|
|
||||||
#define TE_TMIPS 1
|
|
@ -1,4 +0,0 @@
|
|||||||
/* $FreeBSD$ */
|
|
||||||
#define TE_TMIPS 1
|
|
||||||
|
|
||||||
#include "tc-mips.h"
|
|
@ -1,3 +0,0 @@
|
|||||||
/* $FreeBSD$ */
|
|
||||||
|
|
||||||
#include "obj-elf.h"
|
|
@ -1,6 +0,0 @@
|
|||||||
/* $FreeBSD$ */
|
|
||||||
|
|
||||||
/* Values for processors will be from 0 to NUMBER_OF_PROCESSORS-1 */
|
|
||||||
#define NUMBER_OF_PROCESSORS 1
|
|
||||||
|
|
||||||
#include "itbl-ppc.h"
|
|
@ -1,3 +0,0 @@
|
|||||||
/* $FreeBSD$ */
|
|
||||||
|
|
||||||
#include "tc-ppc.h"
|
|
@ -1,3 +0,0 @@
|
|||||||
/* $FreeBSD$ */
|
|
||||||
|
|
||||||
#include "tc-sparc.h"
|
|
@ -1,3 +0,0 @@
|
|||||||
/* $FreeBSD$ */
|
|
||||||
|
|
||||||
#include "te-freebsd.h"
|
|
Loading…
Reference in New Issue
Block a user