[Bug ld/2809] New: ld incorrect applies LTOFF22X/LDXMOV relocations

2006-06-19 Thread cgray at cse dot unsw dot edu dot au
ld on ia64 applies LTOFF22X and LDXMOV relocations at linktime, voilating the ABI. The IA64 ABI description here http://refspecs.freestandards.org/elf/IA64-SysV-psABI.pdf states in Section 5.2.1 - Linktime and Runtime Addresses: "Since there is no fixed address relationship at runtime among segm

Re: BUG elf32-i386 R_386_PC32 done wrong

2006-06-19 Thread Ian Lance Taylor
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 i

AIX 5.1 objcopy copy problem in 64 bit mode.

2006-06-19 Thread Henrik Goldman
Hi, I'm having a situation where gnu objcopy fails badly when using it with 64 bit compiles under AIX 5.1: What I'm doing is to hide some symbols on g++ compiled code: g++ -maix64 -c -pthread -o temp/AIX/test.o test.cpp mv temp/AIX/test.o temp/AIX/to_be_fixed.o ld -b64 -r temp/AIX/to_be_fixed.o