[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] ARM host compile fix
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] ARM host compile fix |
Date: |
Fri, 30 May 2008 21:21:13 +0100 |
User-agent: |
KMail/1.9.9 |
> > Also sparc-linux-user final link fails:
> > /src/qemu/cpu-exec.c:609: relocation truncated to fit: R_ARM_PC24
> > against symbol `code_gen_prologue' defined in COMMON section in
> > libqemu.a(exec.o)
> > collect2: ld returned 1 exit status
>
> Yes, arm-linux-user fails with the same error because gcc doesn't
> manage to make the call to code_gen_prologue. One solution is to wrap
> the #define tcg_qemu_tb_exec in tcg/tcg.h in an #ifndef, and override
> it tcg/arm/tcg-target.h with the same kind of call as was used before
> introduction of prologue/epilogue which was possibly more optimal.
Or tweak the linker script to place code_gen_prologue near to the code
segment.
Paul