[Bug ld/2267] New: Segfault linking mips-elf binaries

2006-02-03 Thread aurelbu at free dot fr
Segmentation fault occuring with ld (sde-ld v2.15 (from MIPS techniologies inc.) and mips-elf-ld v2.16) and both i686-pc-linux (FC4) and i686-pc-cygwin $ mips-elf-ld.exe -EL -mips32 -T ld.script -o test setup.o app2.o Segmentation fault (core dumped) I did a backtrace for mips-elf-ld 2.16 on cygw

Re: Assembler unable to handle relative offsets in PIC code under cross-compiling env.

2006-02-03 Thread Ayonam Ray
The assembly fragment in question looks like this: leaq.L5465(%rip), %rax leaq(%rax,%rdx), %rax jmp *%rax .section.rodata .align 4 .align 4 .L5465: .long .L5457-.+(.-.L5465) .long .L5458-.+(.-.L5465) <<- Problem first reported here .lo