From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DQnEl-0006V7-1N for qemu-devel@nongnu.org; Wed, 27 Apr 2005 10:09:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DQnEh-0006Qu-TS for qemu-devel@nongnu.org; Wed, 27 Apr 2005 10:09:58 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DQnEh-0006Qa-MT for qemu-devel@nongnu.org; Wed, 27 Apr 2005 10:09:55 -0400 Received: from [195.250.128.75] (helo=smtp2.vol.cz) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DQmzv-0000VC-C4 for qemu-devel@nongnu.org; Wed, 27 Apr 2005 09:54:39 -0400 Received: from [10.0.0.2] (prg-v-6-220.static.adsl.vol.cz [62.177.70.220]) by smtp2.vol.cz (8.12.9p2/8.12.9) with ESMTP id j3RDoG8T067649 for ; Wed, 27 Apr 2005 15:50:16 +0200 (CEST) (envelope-from navaraf@reactos.com) Message-ID: <426F989A.8050909@reactos.com> Date: Wed, 27 Apr 2005 15:50:18 +0200 From: Filip Navara MIME-Version: 1.0 Subject: Re: [Qemu-devel] qemu/target-i386 op.c ops_sse.h References: <426F92D9.8010600@reactos.com> In-Reply-To: <426F92D9.8010600@reactos.com> Content-Type: multipart/mixed; boundary="------------020502040807020807090604" Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is a multi-part message in MIME format. --------------020502040807020807090604 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Filip Navara wrote: > Fabrice Bellard wrote: > >> CVSROOT: /cvsroot/qemu >> Module name: qemu >> Branch: >> Changes by: Fabrice Bellard 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 --------------020502040807020807090604 Content-Type: text/x-patch; name="dyngen.c.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dyngen.c.diff" 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); --------------020502040807020807090604--