This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
gas bug on Alpha
- To: binutils at sourceware dot cygnus dot com
- Subject: gas bug on Alpha
- From: "Igor Schein" <igorschein at eudoramail dot com>
- Date: Fri, 24 Nov 2000 00:49:39 -0500
- Cc: igor at txc dot com
- Organization: QUALCOMM Eudora Web-Mail (http://www.eudoramail.com:80)
- Reply-To: igorschein at eudoramail dot com
Hi,
% as -v
GNU assembler version 2.10.91 (alphaev56-unknown-linux-gnu) using BFD version 2.10.91
the following 7-line piece of assembly code causes a fatal error:
------------------------------BEGIN------------------------------
.section .relationrank,"ax",@progbits
.align 4
.ent relationrank
relationrank:
.frame $15,96,$26,0
.mask 0x4008000,-96
ldgp $29,0($27)
-------------------------------END-------------------------------
% strace -elseek as asbug.s
lseek(3, 888, SEEK_SET) = 888
lseek(3, 18446744073709551615, SEEK_SET) = -1 EPERM (Operation not permitted)
a.out: Operation not permitted
asbug.s: Assembler messages:
asbug.s:7: FATAL: Can't write a.out: Operation not permitted
It tries to lseek beyong the end of the file, raising EPERM.
The same behavior holds for version 2.9.5, so it's a long-standing bug.
Please correct me if the above does not constitute a proper bug report, as this
is my first attempt for binutils.
Thanks
Igor
Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com