/[gxemul]/trunk/src/file/file_elf.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/file/file_elf.c

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

revision 45 by dpavlin, Mon Oct 8 16:22:56 2007 UTC revision 46 by dpavlin, Wed Oct 10 21:07:01 2007 UTC
# Line 319  static void file_load_elf(struct machine Line 319  static void file_load_elf(struct machine
319          debug("ELF%i %s, %s 0x", elf64? 64 : 32,          debug("ELF%i %s, %s 0x", elf64? 64 : 32,
320              encoding == ELFDATA2LSB? "LSB (LE)" : "MSB (BE)", s);              encoding == ELFDATA2LSB? "LSB (LE)" : "MSB (BE)", s);
321    
322            // XXX force load address to 0
323            eentry -= 0xc0000000;
324    
325          if (elf64)          if (elf64)
326                  debug("%016"PRIx64"\n", (uint64_t) eentry);                  debug("%016"PRIx64"\n", (uint64_t) eentry);
327          else          else

Legend:
Removed from v.45  
changed lines
  Added in v.46

  ViewVC Help
Powered by ViewVC 1.1.26