This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Building large exceutables for powerpc
- From: Rainer Knueppel <rainer dot knueppel at alcatel dot de>
- To: binutils at sources dot redhat dot com, Rainer Knueppel <rainer dot knueppel at alcatel dot de>, Martin Peter <M dot Peter at alcatel dot de>
- Date: Mon, 20 Oct 2003 18:22:43 +0200
- Subject: Building large exceutables for powerpc
- Organization: Alcatel SEL AG Stuttgart
Hi,
when building large processes (text segment presumable more than 32M) for powerpc
(debian linux) we get a lot of errors:
....relocation truncated to fit: R_PPC_REL24
independend of the used gcc-2.9* compiler. The gcc-3.3 offers an option -mlongcall
to generate code without the +/-32M limitations, but the man also page states that
this type of relaction errors should be handled by the linker (as already for
ppc64 targets). Are there any plans to include this feature for ppc32 targets.
Or are there others ways to circumvent these problems.
Thanks
Rainer