[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug(?) in GNU as assembler
From: |
Boris Pisarcik |
Subject: |
Bug(?) in GNU as assembler |
Date: |
Mon, 12 Mar 2001 23:18:19 +0100 |
User-agent: |
Mutt/1.2.5i |
Hi !
I wrote a small assembly program containing
really a few lines of source.
The program's function was only to call system call "exit" under linux.
The source file i send as an attachement to this message, but it
is very simple so that i write it also here:
.text
_start:
.global _start
movl $1, %eax
int $0x80
.end
I named this source file as "pok.s" and
compiled it with the following commandline options:
> as --gstabs -o pok.o pok.s
and it gave mi following error:
pok.s: Assembler messages:
pok.s: Error: local label "0" (instance number 0 of a dollar label) is not
defined
I found, that it writes that message only when i use "--gstabs" flags
on it, but only in case, the file name consists exacly of
3 chars+period+1 suffix char, so eg. "pok.s" "abc.d" "xxx.y" etc...
When I rename this to anything else (like "abcd.e"), it functions well
also with "--gstabs" otion.
My configuration:
Version: GNU assembler 2.10.90
Platform: Intel Pentium 1 MMX 166MHZ
OS: Linux, Kernel (2.2.17, 2.4.0, 2.4.2), Linux Mandrake 7.2
distribution
GCC version: 2.95.3
I don't have sources of GNU assembler.
Best regards Boris
email: address@hidden
--
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Bug(?) in GNU as assembler,
Boris Pisarcik <=