Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751549AbWH3GMm (ORCPT ); Wed, 30 Aug 2006 02:12:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751548AbWH3GMm (ORCPT ); Wed, 30 Aug 2006 02:12:42 -0400 Received: from mailer.gwdg.de ([134.76.10.26]:59044 "EHLO mailer.gwdg.de") by vger.kernel.org with ESMTP id S1751089AbWH3GMl (ORCPT ); Wed, 30 Aug 2006 02:12:41 -0400 Date: Wed, 30 Aug 2006 08:11:18 +0200 (MEST) From: Jan Engelhardt To: Jeremy Fitzhardinge cc: Peter Grandi , Linux kernel Subject: Re: The 3G (or nG) Kernel Memory Space Offset In-Reply-To: <44F4AE80.4010607@goop.org> Message-ID: References: <44F46E8C.1000308@goop.org> <17652.35152.661745.96581@base.ty.sabi.co.UK> <44F4AE80.4010607@goop.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Report: Content analysis: 0.0 points, 6.0 required _SUMMARY_ Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 777 Lines: 21 > > The load address for ET_EXEC executables is defined as 0x08048000; > you can use ET_DYN if you want to load them elsewhere. Using lower > addresses allows the use of instructions with smaller pointers and > offsets (though this might be less important on x86). Less on x86. HTE tells me there are only two ways (EB and E9): EB ?? jmp OFFSET8 for 16/32/64 E9 ?? ?? jmp OFFSET16 for 16-bit mode E9 ?? ?? ?? ?? jmp OFFSET32 for 32/64-bit mode Jan Engelhardt -- - 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/