From: Paul Brook <paul@codesourcery.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] ARM host compile fix
Date: Fri, 30 May 2008 21:21:13 +0100 [thread overview]
Message-ID: <200805302121.13900.paul@codesourcery.com> (raw)
In-Reply-To: <fb249edb0805301310i57b59ee0xdb47c5129fe8844e@mail.gmail.com>
> > 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
next prev parent reply other threads:[~2008-05-30 20:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-30 19:43 [Qemu-devel] ARM host compile fix Blue Swirl
2008-05-30 20:10 ` andrzej zaborowski
2008-05-30 20:21 ` Paul Brook [this message]
2008-05-30 20:25 ` Blue Swirl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200805302121.13900.paul@codesourcery.com \
--to=paul@codesourcery.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.