Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 22 Jan 2003 00:51:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 22 Jan 2003 00:51:45 -0500 Received: from TYO201.gate.nec.co.jp ([210.143.35.51]:43904 "EHLO TYO201.gate.nec.co.jp") by vger.kernel.org with ESMTP id ; Wed, 22 Jan 2003 00:51:44 -0500 To: Sam Ravnborg Cc: Greg Ungerer , Kai Germaschewski , linux-kernel@vger.kernel.org Subject: Re: common RODATA in vmlinux.lds.h (2.5.59) References: <3E2E0F38.7090506@snapgear.com> <20030122054230.GA954@mars.ravnborg.org> Reply-To: Miles Bader System-Type: i686-pc-linux-gnu Blat: Foop From: Miles Bader Date: 22 Jan 2003 15:00:25 +0900 In-Reply-To: <20030122054230.GA954@mars.ravnborg.org> Message-ID: Lines: 21 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Sam Ravnborg writes: > > [To be honest, I think the stuff with `LOAD_OFFSET' is a bit of a waste; > > it seems cleaner to just have archs define their own sections as > > appropriate, and use RODATA_CONTENTS directly -- it's the input sections > > and related symbols that are always changing (and so better centralized), > > after all, not the output sections.] > > There were some reports of failed boots that boiled down to > mis-alignment of a single section. > With your suggestion we will end up in the same problem. > __start_ksymbtab will in some cases have a value less than the actual > start of the first symbol. Then it would seem an alignment directive should probably be included before __start_ksymbtab (and possibly other places). [but I can't see what it has to do with having separate sections or not.] -Miles -- "Most attacks seem to take place at night, during a rainstorm, uphill, where four map sheets join." -- Anon. British Officer in WW I - 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/