-- 
Øyvind Harboe
http://www.zylin.com - eCos ARM & FPGA  developer kit
### Eclipse Workspace Patch 1.0
#P ecos
Index: fs/rom/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/fs/rom/current/ChangeLog,v
retrieving revision 1.20
diff -u -r1.20 ChangeLog
--- fs/rom/current/ChangeLog    4 Aug 2006 09:21:33 -0000       1.20
+++ fs/rom/current/ChangeLog    13 Nov 2007 07:23:57 -0000
@@ -1,4 +1,9 @@
 2006-08-04 Andrew Lunn <[EMAIL PROTECTED]>
+
+       * support/file2c.tcl : align to romdisk data to 4 bytes. With a bit
+       of bad luck, it would not be long-word aligned.
+
+2006-08-04 Andrew Lunn <[EMAIL PROTECTED]>
        
        * src/romfs.c (romfs_getinfo): Support for block usage call.
        * tests/romfs1.c (main): Add file system block usage test. 
Index: fs/rom/current/support/file2c.tcl
===================================================================
RCS file: /cvs/ecos/ecos/packages/fs/rom/current/support/file2c.tcl,v
retrieving revision 1.4
diff -u -r1.4 file2c.tcl
--- fs/rom/current/support/file2c.tcl   29 Jan 2003 12:45:02 -0000      1.4
+++ fs/rom/current/support/file2c.tcl   13 Nov 2007 07:23:57 -0000
@@ -88,7 +88,7 @@
 }
 
 append result "/* This is a generated file. Do not edit. */\n\n"
-append result "static const unsigned char filedata\[\] = {\n"
+append result "static __attribute__((__aligned__ (4))) const unsigned char 
filedata\[\] = {\n"
 
 set datalength [ string length $data ]
 

Reply via email to