/[hurd]/hurd-l4/laden/loader.c
ViewVC logotype

Diff of /hurd-l4/laden/loader.c

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

revision 1.10 by marcus, Thu Sep 25 12:39:20 2003 UTC revision 1.11 by marcus, Thu Sep 25 13:46:39 2003 UTC
# Line 189  loader_elf_load (const char *name, l4_wo Line 189  loader_elf_load (const char *name, l4_wo
189    
190    /* FIXME: Some architectures support both word sizes.  */    /* FIXME: Some architectures support both word sizes.  */
191    if (!((elf->e_ident[EI_CLASS] == ELFCLASS32    if (!((elf->e_ident[EI_CLASS] == ELFCLASS32
192           && L4_WORD_SIZE == 32)           && L4_WORDSIZE == 32)
193          || (elf->e_ident[EI_CLASS] == ELFCLASS64          || (elf->e_ident[EI_CLASS] == ELFCLASS64
194              && L4_WORD_SIZE == 64)))              && L4_WORDSIZE == 64)))
195      panic ("%s has invalid word size", name);      panic ("%s has invalid word size", name);
196    if (!((elf->e_ident[EI_DATA] == ELFDATA2LSB    if (!((elf->e_ident[EI_DATA] == ELFDATA2LSB
197           && L4_BYTE_ORDER == L4_LITTLE_ENDIAN)           && L4_BYTE_ORDER == L4_LITTLE_ENDIAN)

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

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