Re: Unable To Jump To Undefined Symbol

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Kernel Newbies]     [Security]     [Linux C Programming]     [Linux for Hams]     [DCCP]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux