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
Nick,
thanks for reply.
Actually it was input_line_pointer trick...
So, if I do in md_assemble() something like:
{
char *__t = input_line_pointer;
msp430_operands(str);
input_line_pointer = __t;
}
everything is fine then. If I leave input_line_pointer alone, I've got mentioned problems.
So, can anyone tell me what the input_line_pointer exactly for, except I use it in expressions?
There is a little info on this variable in docs, but not enough to know when use and
when use not this variable.
Thanks,
Dmitry.
On 07 Nov 2001 16:29:58 +0000
Nick Clifton <nickc@cambridge.redhat.com> wrote:
> 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
>
>
*********************************************************************
("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ
`6_ 6 ) `-. ( ).`-.__.`) Enterprise Information Sys
(_Y_.)' ._ ) `._ `. ``-..-' Nevsky prospekt, 20 / 44
_..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia
(il),-'' (li),' ((!.-' +7 (812) 314-8860, 5585314
*********************************************************************