/[hurd]/hurd/serverboot/elf-load.c
ViewVC logotype

Diff of /hurd/serverboot/elf-load.c

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

revision 1.3 by roland, Sun Jun 23 04:29:14 2002 UTC revision 1.4 by roland, Wed Jul 3 19:08:04 2002 UTC
# Line 60  int exec_load(exec_read_func_t *read, ex Line 60  int exec_load(exec_read_func_t *read, ex
60  #error Not ported to this architecture!  #error Not ported to this architecture!
61  #endif  #endif
62    
63          if ((x.h.e_ident[EI_CLASS] != ELFCLASS64) ||          if ((x.h.e_ident[EI_CLASS] != MY_CLASS) ||
64              (x.h.e_ident[EI_DATA] != ELFDATA2LSB) ||              (x.h.e_ident[EI_DATA] != MY_DATA) ||
65              (x.h.e_machine != EM_ALPHA))              (x.h.e_machine != MY_MACHINE))
66                  return EX_WRONG_ARCH;                  return EX_WRONG_ARCH;
67    
68          if (MY_CLASS == ELFCLASS64)          if (MY_CLASS == ELFCLASS64)

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26