This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
how to get rid of dot symbols
- To: binutils at sourceware dot cygnus dot com
- Subject: how to get rid of dot symbols
- From: Dmitry <diwil at eis dot ru>
- Date: Wed, 7 Nov 2001 11:34:15 +0300
- Organization: eis.ru
Fellows,
I am trying to write a support for msp430 series mcus.
I almost done it, exept I got several problems:
1. When I define a label as ".LabelN", the assembler treats it as defined symbol.
For example, AVR port of binutils does not do that.
The part of code:
--------------------------------
.file "s.c"
.arch msp430x149
Stack = 0x03ff
.text
.global aaa
.type aaa,@function
aaa:
mov @r15, r1
mov #4321, &1234
.L_3: mov r7, r11
mov #0x0000, 0x0002
cmp.b #1, r6
mov #mmm, r15
jnz aaa
br .L_3
.Lfe1:
.size aaa,.Lfe1-aaa
--------------------------------
the assembler output:
shell$ msp430-as -asl s.s
DEFINED SYMBOLS
*ABS*:00000000 s.c
*ABS*:000003ff Stack
s.s:7 .text:00000000 aaa
s.s:10 .text:00000008 L_3
s.s:16 .text:0000001a Lfe1
*ABS*:00000000 *ABS*
UNDEFINED SYMBOLS
mmm
2. If my label followed by an empty line, assembler crashes at write.c:997
on bfd_install_relocation().
My port is base don AVRs one and I did relocations and stuff like in AVR.
AVR port is free of these problems.
Is there a variable which should be defined or so to get rid of dot symbols?
(in the example above - Lfe1 and L_3)
Thanks in advance,
Dmitry.
*********************************************************************
("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ
`6_ 6 ) `-. ( ).`-.__.`) Enterprise Information Sys
(_Y_.)' ._ ) `._ `. ``-..-' Nevsky prospekt, 20 / 44
_..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia
(il),-'' (li),' ((!.-' +7 (812) 314-8860, 5585314
*********************************************************************