yup, as leslie pointed out, you need an EXTRN directive so that undefined refernces are handled by the linker. and what is LEAF, END ??? On 3/14/06, Deepak Pandey <deepak.pandey@xxxxxxxxx> wrote: > Hi, > I got a compilation problem saying UNABLE TO JUMP TO UNDEFIND SYMBOL > while compiling a code in which I tried to jump to a symbol(symbol_name) > from a different file by an assembly instruction (j symbol_name).However > I also declared the symbol as global(.globl symbol_name) but still it > didnot worked. > The Symbol was defined as follows: > LEAF(symbol_name) > /*some assembly instructions*/ > END(symbol_name) > Thanks in Advance. > - > : send the line "unsubscribe linux-assembly" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- The person who cannot reason is a fool, one who won't reason is a bigot, one who dare not reason is a slave. - : send the line "unsubscribe linux-assembly" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
- References:
- Unable To Jump To Undefined Symbol
- From: Deepak Pandey
- Unable To Jump To Undefined Symbol
- Prev by Date: Re: Unable To Jump To Undefined Symbol
- Next by Date: nasm / code distance
- Previous by thread: Re: Unable To Jump To Undefined Symbol
- Next by thread: nasm / code distance
- Index(es):