Switch over to the new FreeBSD emulation and bfd vec

This commit is contained in:
obrien 2002-10-11 09:31:55 +00:00
parent 683dd9f551
commit e643128469
2 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
TARGET_TUPLE?= i386-unknown-freebsd
.if ${TARGET_ARCH} == "i386"
NATIVE_EMULATION= elf_i386
NATIVE_EMULATION= elf_i386_fbsd
HOST= ${TARGET_TUPLE}
CFLAGS+= -DDEFAULT_EMULATION=\"${NATIVE_EMULATION}\"
CFLAGS+= -DTARGET=\"${TARGET_TUPLE}\"

View File

@ -1,11 +1,11 @@
# $FreeBSD$
SRCS+= cpu-i386.c elf32-i386.c elf32-target.h elf32.c elflink.c
VECS+= bfd_elf32_i386_vec
SRCS+= cpu-i386.c elf32-i386-fbsd.c elf32-target.h elf32.c elflink.c
VECS+= bfd_elf32_i386_freebsd_vec
.if ${TARGET_ARCH} == "i386"
CFLAGS+= -DDEFAULT_VECTOR=bfd_elf32_i386_vec
CFLAGS+= -DDEFAULT_VECTOR=bfd_elf32_i386_freebsd_vec
.endif
CFLAGS+= -DHAVE_bfd_elf32_i386_vec
CFLAGS+= -DHAVE_bfd_elf32_i386_freebsd_vec
.if defined(BINUTILSDISTDIR) && exists(${BINUTILSDISTDIR})
SRCS+= pe-i386.c pei-i386.c