This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.


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

ELF/x86 as error message


# gcc-elf -c loop.s
loop.s: Assembler messages:
loop.s:5: Error: Can not do 1 byte pc-relativerelocation

Any reason for ELF/x86 as to do that?

Thanks.

-- 
H.J. Lu
NYNEX Science and Technology, Inc.			hjl@nynexst.com
------
	.text
.byteloop:
         movb %al, (%edi)
         leal  1(%ebx,%edi),%edi
         loop .byteloop