[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] PPC: Fix linker scripts on ppc hosts
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] [PATCH] PPC: Fix linker scripts on ppc hosts |
Date: |
Wed, 14 Dec 2011 00:30:44 +0000 |
User-agent: |
KMail/1.13.7 (Linux/3.1.0-1-amd64; KDE/4.6.5; x86_64; ; ) |
> >>>>> When compiling qemu statically with multilib on PPC, we hit the
> >>>>> same issue that commit 845f2c2812d9ed24b36c02a3d06ee83aeafe8b49
> >>>>> is fixing. Do the same here.
> >>>>
> >>>> How many of these ld files can we get rid of if we use -Ttext-segment
> >>>> instead? Generally all we're really caring about is moving the program
> >>>> base around so that it doesn't conflict with the address space we want
> >>>> to use for the client.
> >>>
> >>> Now that we have the automatic GUEST_BASE stuff you shouldn't need to
> >>> do either.
> >>
> >> If it was working, yes :)
> >
> > What doesn't work? I put a fair amout of effort into making it
> > automatically pick a sensible value. If there's some reason that won't
> > work then you probably want to be using -R.
>
> IIRC mmap'ing files would break with 32-on-64, but I'd have to check up on
> the details. I ended up passing MAP_32BIT to all linux-user mmap calla for
> 32-on-x86_64, but that doesn't work with -R.
Hmm, I thought we'd fixed that. It's the reason h2g_valid exists.
Either way it should definitely work with -R. I specifically added that to
avoid problems with the host mmap picking inconvenient addresse.
MAP_32BIT is an unconsionable hack, and doesn't exist on other 64-bit hosts.
Paul
- [Qemu-devel] [PATCH] PPC: Fix linker scripts on ppc hosts, Alexander Graf, 2011/12/12
- Re: [Qemu-devel] [PATCH] PPC: Fix linker scripts on ppc hosts, Richard Henderson, 2011/12/12
- Re: [Qemu-devel] [PATCH] PPC: Fix linker scripts on ppc hosts, Alexander Graf, 2011/12/12
- Re: [Qemu-devel] [PATCH] PPC: Fix linker scripts on ppc hosts, Paul Brook, 2011/12/13
- Re: [Qemu-devel] [PATCH] PPC: Fix linker scripts on ppc hosts, Alexander Graf, 2011/12/13
- Re: [Qemu-devel] [PATCH] PPC: Fix linker scripts on ppc hosts, Paul Brook, 2011/12/13
- Re: [Qemu-devel] [PATCH] PPC: Fix linker scripts on ppc hosts, Alexander Graf, 2011/12/13
- Re: [Qemu-devel] [PATCH] PPC: Fix linker scripts on ppc hosts,
Paul Brook <=
- Re: [Qemu-devel] [PATCH] PPC: Fix linker scripts on ppc hosts, Alexander Graf, 2011/12/13
- Re: [Qemu-devel] [PATCH] PPC: Fix linker scripts on ppc hosts, Paul Brook, 2011/12/13
- Re: [Qemu-devel] [PATCH] PPC: Fix linker scripts on ppc hosts, Peter Maydell, 2011/12/20
- Re: [Qemu-devel] [PATCH] PPC: Fix linker scripts on ppc hosts, Alexander Graf, 2011/12/20
- Re: [Qemu-devel] [PATCH] PPC: Fix linker scripts on ppc hosts, Peter Maydell, 2011/12/20
- Re: [Qemu-devel] [PATCH] PPC: Fix linker scripts on ppc hosts, Alexander Graf, 2011/12/20
- Re: [Qemu-devel] [PATCH] PPC: Fix linker scripts on ppc hosts, Peter Maydell, 2011/12/14
- Re: [Qemu-devel] [PATCH] PPC: Fix linker scripts on ppc hosts, Paul Brook, 2011/12/14
- Re: [Qemu-devel] [PATCH] PPC: Fix linker scripts on ppc hosts, Peter Maydell, 2011/12/14
- Re: [Qemu-devel] [PATCH] PPC: Fix linker scripts on ppc hosts, Paul Brook, 2011/12/14