Switch over to the new FreeBSD emulation and bfd vec
This commit is contained in:
parent
683dd9f551
commit
e643128469
@ -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}\"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user