doctor electron <[EMAIL PROTECTED]> writes: > As author of the HotBasic compiler for Windows, in porting same > to Linux, I find that ld does not properly link relative > relocations (R_386_PC32) in correct elf32-i386 .o files.
GNU ld is correct according to the ELF ABI Processor Supplement for i386 Processors. In typical use, the .o file will contain a 0xfffffffc in the four bytes affected by R_386_PC32. R_386_PC32 is defined to add the PC relative offset from the start of the 4 byte field to the existing contents of the 4 byte field. Ian _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils