qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/5] PPC: remove the ELF section hack
@ 2009-06-12 18:58 Blue Swirl
  2009-06-12 20:09 ` Alexander Graf
  0 siblings, 1 reply; 3+ messages in thread
From: Blue Swirl @ 2009-06-12 18:58 UTC (permalink / raw)
  To: qemu-devel

GEN_HANDLER{,2} generate a structure in special ELF section. This may
not work in all cases.

Separate the structure from op function, later change the ELF section
hack to a normal C table.

This passes my tests.

Blue Swirl (5):
  Clean up GEN_HANDLER
  Clean up GEN_HANDLER2
  Concentrate most table entries to top
  Concentrate rest of table entries to top
  Replace ELF section hack with normal table

 target-ppc/translate.c      | 1511 ++++++++++++++++++++++++++++++++++---------
 target-ppc/translate_init.c |   11 +-
 2 files changed, 1194 insertions(+), 328 deletions(-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH 0/5] PPC: remove the ELF section hack
  2009-06-12 18:58 [Qemu-devel] [PATCH 0/5] PPC: remove the ELF section hack Blue Swirl
@ 2009-06-12 20:09 ` Alexander Graf
  2009-06-12 20:34   ` Blue Swirl
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Graf @ 2009-06-12 20:09 UTC (permalink / raw)
  To: Blue Swirl; +Cc: qemu-devel


On 12.06.2009, at 20:58, Blue Swirl wrote:

> GEN_HANDLER{,2} generate a structure in special ELF section. This may
> not work in all cases.
>
> Separate the structure from op function, later change the ELF section
> hack to a normal C table.
>
> This passes my tests.

Have you tried this on PPC hosts? IIRC malc put in a configure hack to  
make PPC hosts work with the elf section hacks which should be  
obsolete with your patch, right? So you can remove the hack as well.

Alex

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH 0/5] PPC: remove the ELF section hack
  2009-06-12 20:09 ` Alexander Graf
@ 2009-06-12 20:34   ` Blue Swirl
  0 siblings, 0 replies; 3+ messages in thread
From: Blue Swirl @ 2009-06-12 20:34 UTC (permalink / raw)
  To: Alexander Graf; +Cc: qemu-devel

On 6/12/09, Alexander Graf <agraf@suse.de> wrote:
>
>  On 12.06.2009, at 20:58, Blue Swirl wrote:
>
>
> > GEN_HANDLER{,2} generate a structure in special ELF section. This may
> > not work in all cases.
> >
> > Separate the structure from op function, later change the ELF section
> > hack to a normal C table.
> >
> > This passes my tests.
> >
>
>  Have you tried this on PPC hosts? IIRC malc put in a configure hack to make
> PPC hosts work with the elf section hacks which should be obsolete with your
> patch, right? So you can remove the hack as well.

Right, that commit was r6967.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-06-12 20:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-12 18:58 [Qemu-devel] [PATCH 0/5] PPC: remove the ELF section hack Blue Swirl
2009-06-12 20:09 ` Alexander Graf
2009-06-12 20:34   ` Blue Swirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).