CVS: winex/tools/winebuild spec32.c,1.15,1.16

[email protected]
Newsgroups gmane.comp.emulators.winex.cvs
Message-ID <[email protected]>
Subject: winex/tools/winebuild spec32.c,1.15,1.16Update of /var/lib/cvsd/cvsroot/winex/tools/winebuild
In directory agravaine:/tmp/cvs-serv7147/tools/winebuild

Modified Files:
	spec32.c 
Log Message:

- ensure generated trampolines are in .text instead of .data; this gets Cedega built on Edgy Eft working


Index: spec32.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/tools/winebuild/spec32.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- spec32.c	28 Mar 2007 14:34:37 -0000	1.15
+++ spec32.c	30 Mar 2007 19:01:35 -0000	1.16
@@ -241,6 +241,11 @@
 
     if (debugging)
     {
+#if defined(__APPLE__)
+        fprintf( outfile, "    \"\\t.text\\n\"\n" );
+#else
+        fprintf( outfile, "    \"\\t.text 1\\n\"\n" );
+#endif
         for (i = Base; i <= Limit; i++)
         {
             ORDDEF *odp = Ordinals[i];
@@ -290,6 +295,8 @@
         ignore:
             fprintf( outfile, "    \"\\t.long 0,0,0,0\\n\"\n" );
         }
+
+        fprintf( outfile, "    \"\\t.data\\n\"\n" );
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.