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]

Re: how to get rid of dot symbols


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


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