This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fake: undefined re


"Vineet Sharma, Noida" <vineets@noida.hcltech.com> writes:

>          Can any one tell me whats wrong with liker if it giving a err msg
> like in COFF 
> 
> 	link1.out(.text+0x0):fake: undefined reference to `abc'
> 	link2.out(.text+0x0):fake: undefined reference to `xyz'

It means that your input file didn't use .file.  In such a case the
assembler generates a .file with the name "fake".  See
coff_adjust_symtab() in gas/config/obj-coff.c.

This is probably not the best way of handling the situation.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]