The AMD x86-64 Hammer bits.
This commit is contained in:
parent
06b04bc450
commit
4df8032cad
8
gnu/usr.bin/binutils/as/x86-64-freebsd/Makefile
Normal file
8
gnu/usr.bin/binutils/as/x86-64-freebsd/Makefile
Normal file
@ -0,0 +1,8 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.include "${.CURDIR}/../Makefile.inc0"
|
||||
|
||||
NOMAN= true
|
||||
SRCS+= obj-elf.c tc-i386.c
|
||||
|
||||
.include <bsd.prog.mk>
|
282
gnu/usr.bin/binutils/as/x86-64-freebsd/config.h
Normal file
282
gnu/usr.bin/binutils/as/x86-64-freebsd/config.h
Normal file
@ -0,0 +1,282 @@
|
||||
/* $FreeBSD$ */
|
||||
|
||||
/* 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. */
|
||||
/* #undef HAVE_DCGETTEXT */
|
||||
|
||||
/* 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. */
|
||||
/* #undef HAVE_MALLOC_H */
|
||||
|
||||
/* 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/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_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.12.1" */
|
||||
|
||||
/* Define if defaulting to ELF on SCO 5. */
|
||||
/* #undef SCO_ELF */
|
||||
|
||||
/* Using strict COFF? */
|
||||
/* #undef STRICTCOFF */
|
||||
|
||||
/* Define if default target is PowerPC Solaris. */
|
||||
/* #undef TARGET_SOLARIS_COMMENT */
|
||||
|
||||
/* Define as 1 if big endian. */
|
||||
/* #undef TARGET_BYTES_BIG_ENDIAN */
|
||||
|
||||
/* Use ELF stabs for MIPS, not ECOFF stabs */
|
||||
/* #undef MIPS_STABS_ELF */
|
||||
|
||||
/* Default architecture. */
|
||||
#define DEFAULT_ARCH "x86_64"
|
||||
|
||||
/* 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 "x86_64-obrien-freebsd5"
|
||||
|
||||
/* Canonical target. */
|
||||
#define TARGET_CANONICAL "x86_64-obrien-freebsd5"
|
||||
|
||||
/* Target CPU. */
|
||||
#define TARGET_CPU "x86_64"
|
||||
|
||||
/* Target vendor. */
|
||||
#define TARGET_VENDOR "obrien"
|
||||
|
||||
/* Target OS. */
|
||||
#define TARGET_OS "freebsd5"
|
||||
|
||||
/* 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. */
|
||||
/* #undef HAVE_GETTEXT */
|
||||
|
||||
/* 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 */
|
||||
|
3
gnu/usr.bin/binutils/as/x86-64-freebsd/itbl-cpu.h
Normal file
3
gnu/usr.bin/binutils/as/x86-64-freebsd/itbl-cpu.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $FreeBSD$ */
|
||||
|
||||
#include "itbl-i386.h"
|
3
gnu/usr.bin/binutils/as/x86-64-freebsd/targ-cpu.h
Normal file
3
gnu/usr.bin/binutils/as/x86-64-freebsd/targ-cpu.h
Normal file
@ -0,0 +1,3 @@
|
||||
/* $FreeBSD$*/
|
||||
|
||||
#include "tc-i386.h"
|
20
gnu/usr.bin/binutils/ld/Makefile.x86-64
Normal file
20
gnu/usr.bin/binutils/ld/Makefile.x86-64
Normal file
@ -0,0 +1,20 @@
|
||||
# $FreeBSD$
|
||||
|
||||
TARGET_TUPLE?= x86_64-obrien-freebsd
|
||||
|
||||
NATIVE_EMULATION= elf_x86_64_fbsd
|
||||
HOST= ${TARGET_TUPLE}
|
||||
CFLAGS+= -DDEFAULT_EMULATION=\"${NATIVE_EMULATION}\"
|
||||
CFLAGS+= -DTARGET=\"${TARGET_TUPLE}\"
|
||||
_x86_64_path= \"${TOOLS_PREFIX}/usr/lib\"
|
||||
EMS+= ${NATIVE_EMULATION}
|
||||
LDSCRIPTS+= ${NATIVE_EMULATION}.x ${NATIVE_EMULATION}.xbn ${NATIVE_EMULATION}.xn ${NATIVE_EMULATION}.xr \
|
||||
${NATIVE_EMULATION}.xs ${NATIVE_EMULATION}.xu ${NATIVE_EMULATION}.xc ${NATIVE_EMULATION}.xsc
|
||||
SRCS+= e${NATIVE_EMULATION}.c
|
||||
CLEANFILES+= e${NATIVE_EMULATION}.c
|
||||
|
||||
e${NATIVE_EMULATION}.c: emulparams/${NATIVE_EMULATION}.sh emultempl/elf32.em scripttempl/elf.sc \
|
||||
genscripts.sh stringify.sed
|
||||
sh ${.CURDIR}/genscripts.sh ${SRCDIR}/ld ${_x86_64_path} \
|
||||
${HOST} ${TARGET_TUPLE} ${TARGET_TUPLE} \
|
||||
"${NATIVE_EMULATION}" "" ${NATIVE_EMULATION} "${TARGET_TUPLE}"
|
15
gnu/usr.bin/binutils/libbfd/Makefile.x86-64
Normal file
15
gnu/usr.bin/binutils/libbfd/Makefile.x86-64
Normal file
@ -0,0 +1,15 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SRCS+= cpu-i386.c elf64-x86-64.c elf64-target.h elf64-gen.c elf64.c \
|
||||
elf32-i386.c elf32-target.h elf32.c efi-app-ia32.c elf32-gen.c elflink.c
|
||||
VECS+= bfd_elf64_x86_64_vec bfd_elf32_i386_vec
|
||||
CFLAGS+= -DDEFAULT_VECTOR=bfd_elf64_x86_64_vec
|
||||
CFLAGS+= -DHAVE_bfd_elf64_x86_64_vec -DHAVE_bfd_elf32_i386_vec -DHAVE_bfd_efi_app_ia32_vec -DHAVE_bfd_elf64_little_generic_vec -DHAVE_bfd_elf64_big_generic_vec -DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec
|
||||
|
||||
CLEANFILES+= elf64-target.h elf32-target.h
|
||||
|
||||
elf64-target.h: elfxx-target.h
|
||||
sed -e s/NN/64/g ${.ALLSRC} > ${.TARGET}
|
||||
|
||||
elf32-target.h: elfxx-target.h
|
||||
sed -e s/NN/32/g ${.ALLSRC} > ${.TARGET}
|
3918
gnu/usr.bin/binutils/libbfd/x86-64/bfd.h
Normal file
3918
gnu/usr.bin/binutils/libbfd/x86-64/bfd.h
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user