l4-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

patch: another little error


From: Johan Rydberg
Subject: patch: another little error
Date: Thu, 25 Sep 2003 22:52:24 +0200

Hi,

Another little error I found (well, I should have found it earlier.)

Index: loader.c
===================================================================
RCS file: /cvsroot/hurd/hurd-l4/laden/loader.c,v
retrieving revision 1.10
diff -u -p -r1.10 loader.c
--- loader.c    25 Sep 2003 12:39:20 -0000      1.10
+++ loader.c    25 Sep 2003 20:37:06 -0000
@@ -189,9 +189,9 @@ loader_elf_load (const char *name, l4_wo
 
   /* FIXME: Some architectures support both word sizes.  */
   if (!((elf->e_ident[EI_CLASS] == ELFCLASS32
-        && L4_WORD_SIZE == 32)
+        && L4_WORDSIZE == L4_WORDSIZE_32)
        || (elf->e_ident[EI_CLASS] == ELFCLASS64
-           && L4_WORD_SIZE == 64)))
+           && L4_WORDSIZE == L4_WORDSIZE_64)))
     panic ("%s has invalid word size", name);
   if (!((elf->e_ident[EI_DATA] == ELFDATA2LSB
         && L4_BYTE_ORDER == L4_LITTLE_ENDIAN)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]