From owner-freebsd-arm@FreeBSD.ORG Sun Jul 20 22:44:13 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 33469C71; Sun, 20 Jul 2014 22:44:13 +0000 (UTC) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0E44124A8; Sun, 20 Jul 2014 22:44:12 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id s6KMPYm2034654; Sun, 20 Jul 2014 22:25:35 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.101] (192.168.1.66 [192.168.1.66]) by kientzle.com with SMTP id vdaw6hpf82wki98ffnynjfr39i; Sun, 20 Jul 2014 22:25:34 +0000 (UTC) (envelope-from tim@kientzle.com) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: [CFR] mge driver / elf reloc From: Tim Kientzle In-Reply-To: <20140720220514.GP45513@funkthat.com> Date: Sun, 20 Jul 2014 15:25:34 -0700 Content-Transfer-Encoding: 7bit Message-Id: References: <14D22EA6-B73C-47BA-9A86-A957D24F23B8@freebsd.org> <1405810447.85788.41.camel@revolution.hippie.lan> <20140720220514.GP45513@funkthat.com> To: John-Mark Gurney X-Mailer: Apple Mail (2.1878.6) Cc: arch@freebsd.org, freebsd-arm@freebsd.org, Fabien Thomas , Ian Lepore X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2014 22:44:13 -0000 On Jul 20, 2014, at 3:05 PM, John-Mark Gurney wrote: > Ian Lepore wrote this message on Sat, Jul 19, 2014 at 16:54 -0600: >> Sorry to take so long to reply to this, I'm trying to get caught up. I >> see you've already committed the mge fixes. I think the ELF alignment >> fix looks good and should also be committed. > > So, re the elf alignment... > > I think we should get a set of macros that handle load/stores to/from > unaligned addresses that are transparent to the caller.... I need > these for some other code I'm writing... > > I thought Open/Net had these available, but I can't seem to find them > right now... $ man 9 byteorder is most of what you want, lacking only some aliases to pick the correct macro for native byte order. Tim