Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757505AbXEQRFq (ORCPT ); Thu, 17 May 2007 13:05:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755571AbXEQRFk (ORCPT ); Thu, 17 May 2007 13:05:40 -0400 Received: from terminus.zytor.com ([192.83.249.54]:59473 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755487AbXEQRFj (ORCPT ); Thu, 17 May 2007 13:05:39 -0400 Message-ID: <464C8B60.5040109@zytor.com> Date: Thu, 17 May 2007 10:05:36 -0700 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.0 (X11/20070419) MIME-Version: 1.0 To: Alexander van Heukelum CC: linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86 new setup: use appropriate sections for code and data References: <20070517112553.GA12901@mailshack.com> In-Reply-To: <20070517112553.GA12901@mailshack.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1049 Lines: 28 Alexander van Heukelum wrote: > An intermediate elf file is generated for the 16-bit setup code. > The generated code can be viewed using objdump -m i8086 -d. As it > stands, it also tries to disassemble the bugger_off_msg, which > results in garbage. This introduces two new sections to separate > the code and the data part of the bootsector stub. It also moves > some code from the .header section (a data section) to .inittext. > > Signed-off-by: Alexander van Heukelum > --- > > Hi, > > I hope the new section names are ok? Alternatives would be > .bstext/.bsdata or .floppytext/.floppydata. I'd prefer .bstext or .bs_text and .bsdata/.bs_data; possibly .bsecttext and .bsectdata. The term "boot sector" for that particular piece of code is firmly established. -hpa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/