X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gprof%2Fsymtab.c;fp=gprof%2Fsymtab.c;h=3436f1b4c8fada940bf4e5a7528bcfb6f7343a1e;hp=bdd1a9e5078dfcb2b008aede1de29e3720d3cbc1;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/gprof/symtab.c b/gprof/symtab.c index bdd1a9e..3436f1b 100644 --- a/gprof/symtab.c +++ b/gprof/symtab.c @@ -1,6 +1,7 @@ /* symtab.c - Copyright 1999, 2000, 2001, 2002, 2004, 2007 Free Software Foundation, Inc. + Copyright 1999, 2000, 2001, 2002, 2004, 2007, 2008 + Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -164,8 +165,9 @@ symtab_finalize (Sym_Table *tab) for (j = 0; j < tab->len; ++j) { printf ("[symtab_finalize] 0x%lx-0x%lx\t%s\n", - (long) tab->base[j].addr, (long) tab->base[j].end_addr, - tab->base[j].name); + (unsigned long) tab->base[j].addr, + (unsigned long) tab->base[j].end_addr, + tab->base[j].name); } ); } @@ -176,7 +178,7 @@ symtab_finalize (Sym_Table *tab) Sym * dbg_sym_lookup (Sym_Table *sym_tab, bfd_vma address) { - long low, mid, high; + unsigned long low, mid, high; Sym *sym; fprintf (stderr, "[dbg_sym_lookup] address 0x%lx\n",