### 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 14 Nov 2007 07:45:01 -0000 @@ -1,3 +1,8 @@ +2006-11-13 Oyvind Harboe + + * support/file2c.tcl : align romdisk data to 4 bytes. With a bit + of bad luck, it would not be long-word aligned. + 2006-08-04 Andrew Lunn * src/romfs.c (romfs_getinfo): Support for block usage call. 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 14 Nov 2007 07:45:01 -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 CYGBLD_ATTRIB_ALIGN(4) const unsigned char filedata\[\] = {\n" set datalength [ string length $data ]