From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27587 invoked by alias); 28 Apr 2008 03:26:49 -0000 Received: (qmail 27576 invoked by uid 22791); 28 Apr 2008 03:26:48 -0000 X-Spam-Check-By: sourceware.org Received: from mtaout6.012.net.il (HELO mtaout6.012.net.il) (84.95.2.16) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 28 Apr 2008 03:26:29 +0000 Received: from HOME-C4E4A596F7 ([84.229.228.217]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K0000CPMNJQ3PC0@i-mtaout6.012.net.il> for gdb-patches@sourceware.org; Mon, 28 Apr 2008 06:40:38 +0300 (IDT) Date: Mon, 28 Apr 2008 08:39:00 -0000 From: Eli Zaretskii Subject: Re: the "load" command and the .bss section In-reply-to: <200804271745.37849.vapier@gentoo.org> X-012-Sender: halo1@inter.net.il To: Mike Frysinger Cc: drow@false.org, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: References: <200804270509.34308.vapier@gentoo.org> <20080427135600.GA9356@caradoc.them.org> <200804271745.37849.vapier@gentoo.org> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-04/txt/msg00630.txt.bz2 > From: Mike Frysinger > Date: Sun, 27 Apr 2008 17:45:37 -0400 > Cc: gdb-patches@sourceware.org > > ah, now that i know the intentions, may i suggest the following to the > documentation. Thanks, but I'm afraid the text you suggested is not clear enough. > +The file is loaded according to the load addresses (rather than virtual) as How is "load address" opposed to "virtual address"? This requires explanation. > +is specified in the executable. It is expected that the target system will > +do the actual relocation, and in the process, handle such things as setup of > +allocated sections (e.g. the bss). This is also too cryptic to be useful. Can you (or someone else) suggest a more elaborate description? E.g., what is ``relocation'' in this context? and what other things besides .bss are expected to be set up by loading? TIA