From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjWGc-0004SZ-97 for qemu-devel@nongnu.org; Mon, 03 Jun 2013 11:01:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjWGZ-00014J-P3 for qemu-devel@nongnu.org; Mon, 03 Jun 2013 11:01:50 -0400 Received: from mail-vc0-f179.google.com ([209.85.220.179]:41887) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjWGZ-000148-LY for qemu-devel@nongnu.org; Mon, 03 Jun 2013 11:01:47 -0400 Received: by mail-vc0-f179.google.com with SMTP id hz10so2689299vcb.38 for ; Mon, 03 Jun 2013 08:01:47 -0700 (PDT) Sender: Richard Henderson Message-ID: <51ACAFD6.4000201@twiddle.net> Date: Mon, 03 Jun 2013 08:01:42 -0700 From: Richard Henderson MIME-Version: 1.0 References: <519A5B9F.6090507@twiddle.net> <51ACA6E0.5090202@twiddle.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Could configure generate QEMU's linker scripts? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Claudio Fontana , Michael Tokarev , Ed Maste , qemu-devel@nongnu.org On 06/03/2013 07:57 AM, Peter Maydell wrote: > Well, the output of ld --verbose says: > > PROVIDE (__executable_start = SEGMENT_START("text-segment", > 0x400000)); . = SEGMENT_START("text-segment", 0x400000) + > SIZEOF_HEADERS; > > and objdump of a random aarch64 binary suggests the > text segment defaults to a vaddr of 0x400000, so I guess > that means we need to change the start address. Yep. r~