qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Heikki Lindholm <holindho@cs.helsinki.fi>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] Minor dyngen.c cleanup
Date: Thu, 03 Aug 2006 10:55:16 +0300	[thread overview]
Message-ID: <44D1ABE4.1050804@cs.helsinki.fi> (raw)

[-- 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;

                 reply	other threads:[~2006-08-03  7:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44D1ABE4.1050804@cs.helsinki.fi \
    --to=holindho@cs.helsinki.fi \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).