Custom Query (245 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (10 - 12 of 245)

1 2 3 4 5 6 7 8 9 10 11 12 13 14
Ticket Resolution Summary Owner Reporter
#46 fixed ilink map file name is wrong when multiple dots are in target name bird Yuri Dario
Description

When the target name has multiple dots (e.g. my.code.dll), ilink will generate a map file without proper extension (e.g. my.code). Patch will force .map extension if map file name is not specified on command line.

Index: emxomfld.c
===================================================================
--- emxomfld.c	(revision 2508)
+++ emxomfld.c	(working copy)
@@ -1659,6 +1659,9 @@
     {
       t = xstrdup (output_fname);
       _remext (t);
+      //yd if module name has multiple dots, ilink will not add .map extension
+      //so I'll force it here
+      strcat( t, ".map");
       map_fname = t;
     }

#47 fixed Create .sym files directly from emxomfld bird Yuri Dario
Description

This patch allows emxomfld to produce a .sym file directly when -Zsym is specified on command line; also -Zmap is required.

To be complete it requires gcc.exe to pass -Zsym to emxomfld, actually not done.

Index: emxomfld.c
===================================================================
--- emxomfld.c	(revision 2508)
+++ emxomfld.c	(working copy)
@@ -64,6 +64,9 @@
 static const char *map_fname = NULL;
 static int map_flag = FALSE;
 
+/* The sym file output flag, set by the -Zsym option. */
+static int sym_flag = FALSE;
+
 /* The module definition file name (input), set if a file matching
    *.def is given on the command line. */
 static const char *def_fname = NULL;
@@ -1947,6 +1959,21 @@
       free (t);
     }
 
+  /* Run mapsym if everything is ok until now. */
+  if (rc == 0 && sym_flag == TRUE)
+    {
+      arg_init (TRUE);
+      put_arg ("mapsym.exe", TRUE, FALSE);
+      put_arg (map_fname, TRUE, FALSE);
+      arg_end ();
+      rc = emxomfld_spawn (command_line, "Mapsym");
+      if (rc < 0)
+        {
+          perror ("emxomfld: mapsym");
+          exit (2);
+        }
+    }
+
   /* Return the return code of Linker or RC. */
 
   return rc;

#55 fixed emxomfld doesn't delete temporary files bird Yuri Dario
Description

when arg_init() is called, the temporary files is not deleted, so at program exit only the last temporary files is effectively erased.

Index: emxomfld.c
===================================================================
--- emxomfld.c	(revision 2508)
+++ emxomfld.c	(working copy)
@@ -1160,7 +1163,11 @@
 
 static void arg_init (int rsp)
 {
-  response_fname[0] = '\0';
+  if (response_fname[0] != '\0')
+    {
+      remove (response_fname);
+      response_fname[0] = '\0';
+    }
   command_line[0] = '\0';
   line_len = 0;
   response_flag = rsp;

1 2 3 4 5 6 7 8 9 10 11 12 13 14
Note: See TracQuery for help on using queries.