comparison packages/services/objloader/current/src/objloader.c @ 2013:8bf90d16b837

* include/objelf.h: Include hal_tables.h otherwise we get strange linker errors. * cdl/objloader.cdl: Rearranged the building of the test case. * include/relocate_i386.h (New): * src/relocate_i386.c (New): Added a relocator for i386. * src/objelf.c: Fixed various Elf_Rel vs Elf_Rela issues. * test/load_mods.c: * test/library/hello.c: Modified to make use of the eCos test infrastructure. Uses a romfs to hold the object file to be loaded.
author asl
date Fri, 08 Jul 2005 20:14:13 +0000
parents 662e1b34b811
children 6fd46febe457
comparison
equal deleted inserted replaced
2012:fa05b44883a4 2013:8bf90d16b837
53 * ================================================================= 53 * =================================================================
54 */ 54 */
55 55
56 #include <cyg/infra/diag.h> // For diagnostic printing. 56 #include <cyg/infra/diag.h> // For diagnostic printing.
57 #include <cyg/infra/cyg_ass.h> 57 #include <cyg/infra/cyg_ass.h>
58 #include <stdio.h>
59 #include <stdlib.h> 58 #include <stdlib.h>
60 #include <string.h> 59 #include <string.h>
61 60
62 #include <pkgconf/objloader.h> 61 #include <pkgconf/objloader.h>
62
63 #include <cyg/objloader/elf.h> 63 #include <cyg/objloader/elf.h>
64 #include <cyg/objloader/objelf.h> 64 #include <cyg/objloader/objelf.h>
65 #include <cyg/objloader/loader_fs.h> 65 #include <cyg/objloader/loader_fs.h>
66 66
67 cyg_uint8 *cyg_ldr_last_error; 67 cyg_uint8 *cyg_ldr_last_error;