From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53576) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0BOh-0000wt-Hn for qemu-devel@nongnu.org; Tue, 10 May 2016 13:24:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0BOd-0003FU-Ci for qemu-devel@nongnu.org; Tue, 10 May 2016 13:24:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35306) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0BOd-0003FN-6C for qemu-devel@nongnu.org; Tue, 10 May 2016 13:24:35 -0400 References: <1461600281-23048-1-git-send-email-rjones@redhat.com> <20160509132449.GF3372@stefanha-x1.localdomain> <20160509164814.GS1683@redhat.com> From: Paolo Bonzini Message-ID: <5732194C.3050000@redhat.com> Date: Tue, 10 May 2016 19:24:28 +0200 MIME-Version: 1.0 In-Reply-To: <20160509164814.GS1683@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v6] Add optionrom compatible with fw_cfg DMA version List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Richard W.M. Jones" , Stefan Hajnoczi Cc: qemu-devel , =?UTF-8?Q?Marc_Mar=c3=ad?= , Eduardo Habkost , "Michael S. Tsirkin" , Gerd Hoffmann , Stefan Hajnoczi , Laszlo Ersek , Richard Henderson On 09/05/2016 18:48, Richard W.M. Jones wrote: > > Of course we're well outside any standards here. Can we tell clang > users to use the GCC/pre-compiled option ROMs :-? Any other ideas? I > don't think I've missed a flag (GCC has -fno-toplevel-reorder, but > clang 3.8 doesn't ...) I guess the checksumming script (scripts/signrom.py) could take care of padding the file to a multiple of 512 bytes, and fill in the size in the third byte. Then "_end" would not be necessary anymore and -m16 could replace the .code16 directive. Paolo