From owner-freebsd-current Wed Oct 7 13:16:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA11206 for freebsd-current-outgoing; Wed, 7 Oct 1998 13:16:20 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA11134 for ; Wed, 7 Oct 1998 13:16:16 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id VAA13546; Wed, 7 Oct 1998 21:15:22 +0100 (BST) Date: Wed, 7 Oct 1998 21:15:22 +0100 (BST) From: Doug Rabson To: Brian Feldman cc: current@FreeBSD.ORG Subject: Re: your mail In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 7 Oct 1998, Brian Feldman wrote: > How does this work, as a translation of elf_machdep.c from alpha, to i386? > > Note: kldload still doesn't work right..... It looks reasonable at first inspection. You can use 'objdump --reloc' to list the types of relocation in the object you are trying to load. The easiest way to debug this stuff is to put a breakpoint in elf_reloc and simply examine each one. For a small test module, there won't be very many. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message