From owner-freebsd-arm@FreeBSD.ORG Wed Oct 4 04:14:13 2006 Return-Path: X-Original-To: freebsd-arm@freebsd.org Delivered-To: freebsd-arm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B505816A412; Wed, 4 Oct 2006 04:14:13 +0000 (UTC) (envelope-from jb@what-creek.com) Received: from what-creek.com (what-creek.com [66.111.37.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8048143D62; Wed, 4 Oct 2006 04:14:13 +0000 (GMT) (envelope-from jb@what-creek.com) Received: by what-creek.com (Postfix, from userid 102) id 65160140EC01; Wed, 4 Oct 2006 03:55:33 +0000 (GMT) Date: Wed, 4 Oct 2006 03:55:33 +0000 From: John Birrell To: freebsd-ppc@freebsd.org, freebsd-arm@freebsd.org Message-ID: <20061004035533.GA76969@what-creek.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: Proposed elf header changes which affect PPC and ARM X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2006 04:14:13 -0000 The patch: moves all the relocation definitions for each arch from the machine/elf.h header to sys/elf_common.h. This will allow DTrace running hosted on one FreeBSD arch connect to a target FreeBSD arch to trace it. Although this isn't functionality that Sun has in OpenSolaris, FreeBSD needs to support embedded targets. I have tested all the arches define in 'make universe', but it seems that PPC and ARM aren't up to that stage yet. Note that this patch also contains the extra things that Sun has added to their ELF format. I doubt this patch will cause any problems on either PPC or ARM. Any problems? -- John Birrell