[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] pnet/engine unroll.c,1.9,1.10
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] pnet/engine unroll.c,1.9,1.10 |
Date: |
Wed, 29 Oct 2003 10:26:51 +0000 |
Update of /cvsroot/dotgnu-pnet/pnet/engine
In directory subversions:/tmp/cvs-serv7092/engine
Modified Files:
unroll.c
Log Message:
Fix the VMA when dumping unrolled code with "objdump"
(thanks to Miroslaw Dobrzanski-Neumann <address@hidden>).
Index: unroll.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/unroll.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** unroll.c 10 Aug 2003 02:11:58 -0000 1.9
--- unroll.c 29 Oct 2003 10:26:48 -0000 1.10
***************
*** 1459,1462 ****
--- 1459,1463 ----
char cmdline[BUFSIZ];
FILE *file = fopen("/tmp/unroll.s", "w");
+ unsigned char *ip = start;
if(!file)
{
***************
*** 1471,1476 ****
while(len > 0)
{
! fprintf(file, ".byte %d\n", (int)(*start));
! ++start;
--len;
}
--- 1472,1477 ----
while(len > 0)
{
! fprintf(file, ".byte %d\n", (int)(*ip));
! ++ip;
--len;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] pnet/engine unroll.c,1.9,1.10,
Rhys Weatherley <address@hidden> <=