From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hqmoi-00087H-GG for qemu-devel@nongnu.org; Wed, 23 May 2007 05:07:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hqmod-00080T-Oh for qemu-devel@nongnu.org; Wed, 23 May 2007 05:07:35 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hqmod-000806-I5 for qemu-devel@nongnu.org; Wed, 23 May 2007 05:07:31 -0400 Received: from web54602.mail.re2.yahoo.com ([206.190.49.172]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Hqmoc-0003QT-Rd for qemu-devel@nongnu.org; Wed, 23 May 2007 05:07:31 -0400 Date: Wed, 23 May 2007 02:07:24 -0700 (PDT) From: sinisa marovic MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1813208615-1179911244=:95127" Message-ID: <235654.95127.qm@web54602.mail.re2.yahoo.com> Subject: [Qemu-devel] Porting QEMU to PalmOS 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 --0-1813208615-1179911244=:95127 Content-Type: text/plain; charset=ascii Hi, I started porting QEMU to PalmOS. I already ported some projects successfuly (Like UAE and dosbox) but dosbox is so slow. QEMU has less compatibility with games but it is much faster. Now, I am having some problems with dyngen. Since QEMU supports ARM hosts I do not have to modify the code. Detailed description of the problem follows: Dyngen is used to create op.h, opc.h and gen-op.h during compilation. Since it is not possible to do the actual compilation on Palm itself, I thought of creating dyngen executable on the compilation host (PC with cygwin) and QEMU would then be built for execution host (Palm). This idea worked fine, but when dyngen was executed to create op.h I got an error: "Unsupported data relocation." I did some debugging to find out what the actual problem is, and this is what I found out: Relocation types that fail are 25 and 26, which are R_ARM_GOTPC and R_ARM_GOT32 respectively. Their names are: _GLOBAL_OFFSET_TABLE_ cc_table __op_param1 __op_param2 __op_param3 Is there a way to fix this? Regards, Voda. ____________________________________________________________________________________ Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. http://sims.yahoo.com/ --0-1813208615-1179911244=:95127 Content-Type: text/html; charset=ascii
Hi,
 
   I started porting QEMU to PalmOS. I already ported some projects successfuly (Like UAE and
dosbox) but dosbox is so slow. QEMU has less compatibility with games but it is much faster.
Now, I am having some problems with dyngen. Since QEMU supports ARM hosts I do not have
to modify the code. Detailed description of the problem follows:
 
Dyngen is used to create op.h, opc.h and gen-op.h during compilation. Since it is not possible to do
the actual compilation on Palm itself, I thought of creating dyngen executable on the compilation host
(PC with cygwin) and QEMU would then be built  for execution host (Palm). This idea worked fine,
but when dyngen was executed to create op.h I got an error:
 
"Unsupported data relocation."
 
I did some debugging to find out what the actual problem is, and this is what I found out:
 
Relocation types that fail are 25 and 26, which are R_ARM_GOTPC and R_ARM_GOT32
respectively. Their names are:
 
_GLOBAL_OFFSET_TABLE_
cc_table
__op_param1
__op_param2
__op_param3

Is there a way to fix this?
 
Regards,
     Voda.


Pinpoint customers who are looking for what you sell. --0-1813208615-1179911244=:95127--