From 2e734fae4ee336c1db223fd172c1b1925a61cd9a Mon Sep 17 00:00:00 2001 From: John Birrell Date: Sat, 6 Nov 1999 21:09:40 +0000 Subject: [PATCH] Teach binutils how to understand NT format objects and libs. This is useful for those who want to objdump --disassemble things that they're not supposed to. 8-) --- gnu/usr.bin/binutils/libbfd/Makefile.i386 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/usr.bin/binutils/libbfd/Makefile.i386 b/gnu/usr.bin/binutils/libbfd/Makefile.i386 index ac30822f3d0..e7044fb986e 100644 --- a/gnu/usr.bin/binutils/libbfd/Makefile.i386 +++ b/gnu/usr.bin/binutils/libbfd/Makefile.i386 @@ -7,6 +7,13 @@ VECS+= bfd_elf32_i386_vec CFLAGS+= -DDEFAULT_VECTOR=bfd_elf32_i386_vec .endif CFLAGS+= -DHAVE_bfd_elf32_i386_vec + +.if defined(BINUTILSDISTDIR) && exists(${BINUTILSDISTDIR}) +SRCS+= pe-i386.c pei-i386.c +VECS+= i386pe_vec i386pei_vec +CFLAGS+= -DHAVE_i386pe_vec -DHAVE_i386pei_vec +.endif + CLEANFILES+= elf32-target.h elf32-target.h: elfxx-target.h