From: Filip Navara <navaraf@reactos.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qemu/target-i386 op.c ops_sse.h
Date: Wed, 27 Apr 2005 15:50:18 +0200 [thread overview]
Message-ID: <426F989A.8050909@reactos.com> (raw)
In-Reply-To: <426F92D9.8010600@reactos.com>
[-- Attachment #1: Type: text/plain, Size: 699 bytes --]
Filip Navara wrote:
> Fabrice Bellard wrote:
>
>> CVSROOT: /cvsroot/qemu
>> Module name: qemu
>> Branch:
>> Changes by: Fabrice Bellard <bellard@savannah.gnu.org> 05/04/26
>> 20:38:17
>>
>> Modified files:
>> target-i386 : op.c ops_sse.h
>> Log message:
>> removed switches in op.c (Paul Brook)
>>
>> CVSWeb URLs:
>> http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/target-i386/op.c.diff?tr1=1.36&tr2=1.37&r1=text&r2=text
>>
>> http://savannah.gnu.org/cgi-bin/viewcvs/qemu/qemu/target-i386/ops_sse.h.diff?tr1=1.5&tr2=1.6&r1=text&r2=text
>>
>>
>>
> This breaks compilation on Windows... the attached patch fixes it.
And this time with the correct patch...
- Filip
[-- Attachment #2: dyngen.c.diff --]
[-- Type: text/x-patch, Size: 976 bytes --]
Index: dyngen.c
===================================================================
RCS file: /cvsroot/qemu/qemu/dyngen.c,v
retrieving revision 1.39
diff -u -p -r1.39 dyngen.c
--- dyngen.c 7 Apr 2005 22:20:28 -0000 1.39
+++ dyngen.c 27 Apr 2005 13:40:23 -0000
@@ -635,6 +635,8 @@ static char *get_rel_sym_name(EXE_RELOC
name = get_sym_name(symtab + *(uint32_t *)(rel->r_reloc->r_symndx));
if (!strcmp(name, ".data"))
name = name_for_dotdata(rel);
+ if (name[0] == '.')
+ return NULL;
return name;
}
@@ -1698,6 +1700,8 @@ void gen_code(const char *name, host_ulo
if (rel->r_offset >= start_offset &&
rel->r_offset < start_offset + copy_size) {
sym_name = get_rel_sym_name(rel);
+ if (!sym_name)
+ continue;
if (strstart(sym_name, "__op_jmp", &p)) {
int n;
n = strtol(p, NULL, 10);
prev parent reply other threads:[~2005-04-27 14:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-26 20:38 [Qemu-devel] qemu/target-i386 op.c ops_sse.h Fabrice Bellard
2005-04-27 13:25 ` Filip Navara
2005-04-27 13:50 ` Filip Navara [this message]
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=426F989A.8050909@reactos.com \
--to=navaraf@reactos.com \
--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).