This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: how to get rid of dot symbols
- To: Dmitry <diwil at eis dot ru>
- Subject: Re: how to get rid of dot symbols
- From: Nick Clifton <nickc at cambridge dot redhat dot com>
- Date: 07 Nov 2001 16:29:58 +0000
- Cc: binutils at sourceware dot cygnus dot com
- References: <20011107113415.051a980b.diwil@eis.ru>
Hi Dmitry,
> 1. When I define a label as ".LabelN", the assembler treats it as
> defined symbol.
Normally symbols starting with '.L' are treated as local symbols.
This is usually handled by the function _bfd_elf_is_local_label_name
defined in bfd/elf.c. Perhaps you are overriding this function ? Or
maybe you are not definibg BFD_ASSEMBLER and your definition of
LOCAL_LABEL is broken ? (See colon() in gas/symbols.c).
> 2. If my label followed by an empty line, assembler crashes at
> write.c:997 on bfd_install_relocation().
This may be related to the problem 1 above, or it may be something
else. I suggest that you investigate further.
Cheers
Nick