This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Enable Windows --auto-image-base to take an argument
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Tue, 18 Mar 2014 11:16:14 +1030
- Subject: Re: [PATCH] Enable Windows --auto-image-base to take an argument
- Authentication-results: sourceware.org; auth=none
- References: <20140317141715 dot GA7385 at ednor dot casa dot cgf dot cx> <20140317174053 dot GA6657 at ednor dot casa dot cgf dot cx>
On Mon, Mar 17, 2014 at 01:40:53PM -0400, Christopher Faylor wrote:
> +static unsigned long pe_auto_image_base = 0x61500000;
[snip]
> - return 0x61300000 + ((hash << 16) & 0x0FFC0000);
> + return pe_auto_image_base + ((hash << 16) & 0x0FFC0000);
Was the magic number (613 to 615) change deliberate or is this a typo?
--
Alan Modra
Australia Development Lab, IBM