qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Remove redundant relocations by dyngen


From: Jonas Maebe
Subject: [Qemu-devel] [PATCH] Remove redundant relocations by dyngen
Date: Sun, 10 Apr 2005 16:24:52 +0200

Hello,

The attached patch removes redundant relocations generated by dyngen under Mac OS X. The patch is generic and can easily be extended for other OS'es and cpu's as well. The point is that if a relocation is absolute, it must only be adapted after copying if the original symbol has to be replaced with a reference to another symbol (like param1 or so).

This does not make the dynamically generated code any faster, but the generation of that code at run time by qemu is sped up a little (since redundant relocation calculations in op.h are removed).


Jonas

Attachment: dyngen.c.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]