qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Minor dyngen.c cleanup
@ 2006-08-03  7:55 Heikki Lindholm
  0 siblings, 0 replies; only message in thread
From: Heikki Lindholm @ 2006-08-03  7:55 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 47 bytes --]

Minor cleanup for powerpc.

-- Heikki Lindholm

[-- Attachment #2: qemu-dyngen.patch --]
[-- Type: text/plain, Size: 619 bytes --]

--- dyngen.c.old	2006-08-03 10:25:40.000000000 +0300
+++ dyngen.c	2006-08-03 10:26:11.000000000 +0300
@@ -1912,7 +1912,7 @@
                 for(i = 0, rel = relocs;i < nb_relocs; i++, rel++) {
                     if (rel->r_offset >= start_offset &&
 			rel->r_offset < start_offset + copy_size) {
-                        sym_name = strtab + symtab[ELFW(R_SYM)(rel->r_info)].st_name;
+                        sym_name = get_rel_sym_name(rel);
                         reloc_offset = rel->r_offset - start_offset;
                         if (strstart(sym_name, "__op_jmp", &p)) {
                             int n;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-08-03  7:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-03  7:55 [Qemu-devel] [PATCH] Minor dyngen.c cleanup Heikki Lindholm

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).