From owner-freebsd-amd64@FreeBSD.ORG Mon Jan 17 18:13:06 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E22916A4CE for ; Mon, 17 Jan 2005 18:13:06 +0000 (GMT) Received: from will.iki.fi (will.iki.fi [217.169.64.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C45443D4C for ; Mon, 17 Jan 2005 18:13:06 +0000 (GMT) (envelope-from will@exomi.com) Received: from ZMXLVII.dsl.saunalahti.fi (ZMXLVII.dsl.saunalahti.fi [85.76.70.148]) by will.iki.fi (Postfix) with ESMTP id 921E8152; Mon, 17 Jan 2005 20:13:04 +0200 (EET) From: Ville-Pertti Keinonen To: william paul In-Reply-To: <200501171758.JAA01960@huisne.wrs.com> References: <200501171758.JAA01960@huisne.wrs.com> Content-Type: text/plain Date: Mon, 17 Jan 2005 20:12:35 +0200 Message-Id: <1105985555.68143.9.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit cc: freebsd-amd64@freebsd.org Subject: Re: RFC: if_ndis on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jan 2005 18:13:06 -0000 On Mon, 2005-01-17 at 09:58 -0800, william paul wrote: > Oh... something just occured to me. Did you have to modify ndiscvt(8) > or subr_pe.c to deal with any differences between i386 PE binaries > and AMD64 PE binaries? I noticed that there were some changes needed > to handle the 64 bit relocations. Was that all really that had to be fixed? Getting ndiscvt to work required a couple of minor modifications in the pe_var.h header, as image_optional_header looks slightly different for 64-bit. The only other change related to the binary format was adding the 64-bit relocation type in subr_pe.c.