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] |
From: hjl@nynexst.com (H.J. Lu) Date: Fri, 30 Sep 94 1:16:15 EDT # 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? In gas/config/tc-i386.c, the `reloc' function tests for OBJ_ELF, and shouldn't. The 8- and 16-bit relocations should always be generated. In the case of ELF, they should always be eliminated before object file generation, but that happens at a later stage. And in the error message generated in that function, "pc-relative" should have a space after it. :-)