|
From: Tom H. <th...@cy...> - 2004-07-27 15:05:30
|
In message <Pin...@he...>
Nicholas Nethercote <nj...@ca...> wrote:
> On Tue, 27 Jul 2004, Nicholas Nethercote wrote:
>
>> I'm stumped... can anyone see what might be happening here? I'm
>> highly suspicious of the variables being put in two different memory
>> locations.
>
> Hmm, I just had the idea of running stage2 stand-alone, rather than
> launching it with stage1 as normal. The bogus-value problem went
> away, so it's definitely caused by stage1 somehow...
Given the address split between the two blocks of variables, have they
been put in separate sections in the ELF or something? Perhaps the
loader in stage1 isn't mapping the file right while the OS is?
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|