This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: fake: undefined re
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: "Vineet Sharma, Noida" <vineets at noida dot hcltech dot com>
- Cc: binutils at sources dot redhat dot com
- Date: 27 Nov 2003 21:43:44 -0500
- Subject: Re: fake: undefined re
- References: <1B3885BC15C7024C845AAC78314766C50126294F@EXCH-01>
"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