Minor cleanup for powerpc.

-- Heikki Lindholm
--- 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;
_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to