Re: The 3G (or nG) Kernel Memory Space Offset

From: Jan Engelhardt
Date: Wed Aug 30 2006 - 02:09:58 EST


>
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/