]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gprof/i386.c
* config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
[thirdparty/binutils-gdb.git] / gprof / i386.c
index d09d34ed5a1aad35f04580e6508381a7b9c6fe56..18aad1caeec0e48457d08393ee970927057c469b 100644 (file)
@@ -18,7 +18,7 @@
  */
 #include "gprof.h"
 #include "cg_arcs.h"
-#include "core.h"
+#include "corefile.h"
 #include "hist.h"
 #include "symtab.h"
 
@@ -86,7 +86,7 @@ i386_find_call (parent, p_lowpc, p_highpc)
                   */
                  DBG (CALLDEBUG,
                       printf ("\tdestpc 0x%lx (%s)\n", destpc, child->name));
-                 arc_add (parent, child, (long) 0);
+                 arc_add (parent, child, (unsigned long) 0);
                  instructp += 4;       /* call is a 5 byte instruction */
                  continue;
                }