why do we need reloc_offset ??

2009-09-02 Thread HongWoo Lee
Hi everyone~ In ther linux kernel code, I found the reloc_offset. {{{ // file : misc.S /* Returns (address we are running at) - (address we were linked at) * for use before the text and data are mapped to KERNELBASE. */ _GLOBAL(reloc_offset) }}} I couldn't understand the comment saying

Re: why do we need reloc_offset ??

2009-09-02 Thread Michael Ellerman
On Wed, 2009-09-02 at 15:33 +0900, HongWoo Lee wrote: Hi everyone~ In ther linux kernel code, I found the reloc_offset. {{{ // file : misc.S /* Returns (address we are running at) - (address we were linked at) * for use before the text and data are mapped to KERNELBASE. */