Rename elf.h to elf32.h; Additional ELF loader changes

git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5263 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2012-10-26 02:42:39 +00:00
parent 247e94d02a
commit 7f2512627e
17 changed files with 69 additions and 119 deletions
+1 -1
View File
@@ -174,7 +174,7 @@ int elf_main(int argc, char *argv[])
/* Create a ROM disk for the ROMFS filesystem */
message("Registering romdisk at /dev/ram%d\n", CONFIG_EXAMPLES_ELF_DEVMINOR);
ret = romdisk_register(CONFIG_EXAMPLES_ELF_DEVMINOR, romfs_img,
ret = romdisk_register(CONFIG_EXAMPLES_ELF_DEVMINOR, (FAR uint8_t *)romfs_img,
NSECTORS(romfs_img_len), SECTORSIZE);
if (ret < 0)
{