/[gxemul]/trunk/src/symbol.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/symbol.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3 by dpavlin, Mon Oct 8 16:17:48 2007 UTC revision 4 by dpavlin, Mon Oct 8 16:18:00 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *   *
27   *   *
28   *  $Id: symbol.c,v 1.23 2005/03/20 11:11:48 debug Exp $   *  $Id: symbol.c,v 1.24 2005/04/10 16:42:56 debug Exp $
29   *   *
30   *  Address to symbol translation routines.   *  Address to symbol translation routines.
31   *   *
# Line 205  void add_symbol_name(struct symbol_conte Line 205  void add_symbol_name(struct symbol_conte
205                  exit(1);                  exit(1);
206          }          }
207    
208            if (name == NULL) {
209                    fprintf(stderr, "add_symbol_name(): name = NULL\n");
210                    exit(1);
211            }
212    
213            /*  TODO: Maybe this should be optional?  */
214            if (name[0] == '$')
215                    return;
216    
217          if ((addr >> 32) == 0 && (addr & 0x80000000ULL))          if ((addr >> 32) == 0 && (addr & 0x80000000ULL))
218                  addr |= 0xffffffff00000000ULL;                  addr |= 0xffffffff00000000ULL;
219    

Legend:
Removed from v.3  
changed lines
  Added in v.4

  ViewVC Help
Powered by ViewVC 1.1.26