]> code.delx.au - gnu-emacs/blobdiff - src/unexalpha.c
Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-24
[gnu-emacs] / src / unexalpha.c
index 9ffeee973b541dc0f2803e704e4a92130aa97285..97f8f383dda3ae9af832a8d78d67a9eae3a2ac83 100644 (file)
@@ -26,7 +26,6 @@ Boston, MA 02111-1307, USA.  */
 #include <sys/stat.h>
 #include <sys/mman.h>
 #include <stdio.h>
-#include <varargs.h>
 #include <errno.h>
 #ifdef HAVE_STRING_H
 #include <string.h>
@@ -486,12 +485,12 @@ update_dynamic_symbols (old, new_name, new, aout)
       fprintf (stderr, "...relocated\n");
 #endif
 
-      if (rd_base[i].type == R_REFLONG) 
+      if (rd_base[i].type == R_REFLONG)
        len = 4;
-      else if (rd_base[i].type == R_REFQUAD) 
+      else if (rd_base[i].type == R_REFQUAD)
        len = 8;
       else
-       fatal_unexec ("unrecognized relocation type in .dyn.rel section (symbol #%d)", i);
+       fatal_unexec ("unrecognized relocation type in .dyn.rel section (symbol #%d)", (char *) i);
 
       SEEK (new, newref, "seeking to dynamic symbol in %s", new_name);
       WRITE (new, oldref, len, "writing old dynrel info in %s", new_name);
@@ -541,3 +540,6 @@ fatal_unexec (s, arg)
   fputs (".\n", stderr);
   exit (1);
 }
+
+/* arch-tag: 46316c49-ee08-4aa3-942b-00798902f5bd
+   (do not change this comment) */