fake: undefined re
Ian Lance Taylor
ian@wasabisystems.com
Fri Nov 28 02:44:00 GMT 2003
"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
More information about the Binutils
mailing list