Fixed dirent struct alignment
authorKevin Klues <klueska@parcad.millennium.berkeley.edu>
Thu, 22 Apr 2010 01:55:09 +0000 (18:55 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:43 +0000 (17:35 -0700)
So now it's the same size on all ISAs, which makes the appserver behave.

tools/compilers/gcc-glibc/glibc-2.11.1-ros/sysdeps/ros/bits/dirent.h

index ad41c84..7c3303f 100644 (file)
@@ -6,7 +6,7 @@ struct dirent
   unsigned short     d_reclen;
   unsigned char      d_type;
   char               d_name[256];
-};
+} __attribute__((aligned(8)));
 
 #define d_fileno d_ino