Messages in this thread | | | Date | Thu, 31 Jan 2008 13:35:03 +0100 | From | Ingo Molnar <> | Subject | Re: PATCH] x86_64: fix comments in vmlinux_64.lds |
| |
* Yinghai Lu <Yinghai.Lu@Sun.COM> wrote:
> ENTRY(startup_64) > SECTIONS > { > - /* Be careful parts of head_64.S assume startup_64 is at > + /* Be careful parts of head_64.S assume startup_32 is at > * address 0. > */ > . = 0;
but this linker script rule is about startup_64, not about startup_32.
startup_32 does exist on 64-bit too (and is 32-bit code), but it's linked to a different address that is not 0:
ffffffff806c23c0 r startup_32
startup_64 is at offset 0:
ffffffff80200000 T startup_64
So your patch looks wrong to me.
Ingo
| |