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

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

2006-02-01 Thread Ayonam Ray
Hi again, I checked this with the snapshot binutils-060131.tar.bz2 and the problem persists. ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils

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

2006-01-30 Thread Ayonam Ray
Hi, I'm trying to build a cross-compiling environment for AMD64 to run on x86 platforms using binutils-2.15.92.0.2. I use the following command on my AMD64 machine to configure binutils: CC="gcc -m32" ../configure --target=x86_64-redhat-linux \ --prefix=$NIRMAAN_BUILD_ENV/usr \ -