This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gas bug on Alpha


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]