bug description: In my program, expression '$-label' is ok to pass(see
attachment file line 7&8) assemble, but 'lable-$' cannot pass and as give some
error message bellow:
cris@cris-pad:~/workspace$ as -o ef_base.o ef_base.s
ef_base.s: Assembler messages:
ef_base.s:45: Error: can't resolve `.text' {.text section} - `$' {*UND* section}
ef_base.s:47: Error: can't resolve `.text' {.text section} - `$' {*UND* section}
as version:
GNU assembler (GNU Binutils for Ubuntu) 2.22
system info(uname -ra):
Linux cris-pad1 3.2.0-48-generic #74-Ubuntu SMP Thu Jun 6 19:43:26 UTC 2013
x86_64 x86_64 x86_64 GNU/Linux
OS(cat /etc/issue): Ubuntu 12.04.2 LTS \n \l
--------------------------
Thanks & Best Regards
Cris
-----------------------------------------------------------
SHENZHEN TENA ELECTRONIC CO., LTD.
Mb:133 1659 6421
Tel:+86 755 2601 6862
Fax:+86 755 2601 6861
Email: [email protected]
ef_base.s
Description: Binary data
_______________________________________________ bug-binutils mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-binutils
