From e6431284690e855532e8ee125d87b0e749a61ddf Mon Sep 17 00:00:00 2001 From: obrien Date: Fri, 11 Oct 2002 09:31:55 +0000 Subject: [PATCH] Switch over to the new FreeBSD emulation and bfd vec --- gnu/usr.bin/binutils/ld/Makefile.i386 | 2 +- gnu/usr.bin/binutils/libbfd/Makefile.i386 | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gnu/usr.bin/binutils/ld/Makefile.i386 b/gnu/usr.bin/binutils/ld/Makefile.i386 index 2c9b608b726a..f03ecd31a0e3 100644 --- a/gnu/usr.bin/binutils/ld/Makefile.i386 +++ b/gnu/usr.bin/binutils/ld/Makefile.i386 @@ -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}\" diff --git a/gnu/usr.bin/binutils/libbfd/Makefile.i386 b/gnu/usr.bin/binutils/libbfd/Makefile.i386 index 03c15c1d384f..f61aac1ab076 100644 --- a/gnu/usr.bin/binutils/libbfd/Makefile.i386 +++ b/gnu/usr.bin/binutils/libbfd/Makefile.i386 @@ -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