#include <elf.h>

/*
 * ELF dump of 'uspace/srv/ns/ns'
 *     128528 (0x1F610) bytes
 */

Elf32_Dyn dumpedelf_dyn_0[];
struct {
	Elf32_Ehdr ehdr;
	Elf32_Phdr phdrs[2];
	Elf32_Shdr shdrs[9];
	Elf32_Dyn *dyns;
} dumpedelf_0 = {

.ehdr = {
	.e_ident = { /* (EI_NIDENT bytes) */
		/* [0] EI_MAG:        */ 0x7F,'E','L','F',
		/* [4] EI_CLASS:      */ 1 , /* (ELFCLASS32) */
		/* [5] EI_DATA:       */ 1 , /* (ELFDATA2LSB) */
		/* [6] EI_VERSION:    */ 1 , /* (EV_CURRENT) */
		/* [7] EI_OSABI:      */ 0 , /* (ELFOSABI_NONE) */
		/* [8] EI_ABIVERSION: */ 0 ,
		/* [9] EI_PAD:        */ 0x00 /* x 7 bytes */
	},
	.e_type      = 2          , /* (ET_EXEC) */
	.e_machine   = 40         , /* (EM_ARM) */
	.e_version   = 1          ,
	.e_entry     = 0x1100     ,
	.e_phoff     = 52         , /* (bytes into file) */
	.e_shoff     = 100564     , /* (bytes into file) */
	.e_flags     = 0x5000002  ,
	.e_ehsize    = 52         , /* (bytes) */
	.e_phentsize = 32         , /* (bytes) */
	.e_phnum     = 2          , /* (program headers) */
	.e_shentsize = 40         , /* (bytes) */
	.e_shnum     = 9          , /* (section headers) */
	.e_shstrndx  = 6         
},

.phdrs = {
/* Program Header #0 0x34 */
{
	.p_type   = 1          , /* [PT_LOAD] */
	.p_offset = 256        ,
	.p_vaddr  = 0x1100     ,
	.p_paddr  = 0x1100     ,
	.p_filesz = 99764      ,
	.p_memsz  = 99764      ,
	.p_flags  = 5          ,
	.p_align  = 256       
},
/* Program Header #1 0x54 */
{
	.p_type   = 1          , /* [PT_LOAD] */
	.p_offset = 100020     ,
	.p_vaddr  = 0x1A6B4    ,
	.p_paddr  = 0x1A6B4    ,
	.p_filesz = 484        ,
	.p_memsz  = 684        ,
	.p_flags  = 6          ,
	.p_align  = 4         
},
},

.shdrs = {
/* Section Header #0 '' 0x188D4 */
{
	.sh_name      = 0          ,
	.sh_type      = 0          , /* [SHT_NULL] */
	.sh_flags     = 0          ,
	.sh_addr      = 0x0        ,
	.sh_offset    = 0          , /* (bytes) */
	.sh_size      = 0          , /* (bytes) */
	.sh_link      = 0          ,
	.sh_info      = 0          ,
	.sh_addralign = 0          ,
	.sh_entsize   = 0         
},
/* Section Header #1 '.init' 0x188FC */
{
	.sh_name      = 27         ,
	.sh_type      = 1          , /* [SHT_PROGBITS] */
	.sh_flags     = 6          ,
	.sh_addr      = 0x1100     ,
	.sh_offset    = 256        , /* (bytes) */
	.sh_size      = 256        , /* (bytes) */
	.sh_link      = 0          ,
	.sh_info      = 0          ,
	.sh_addralign = 256        ,
	.sh_entsize   = 0         
},
/* Section Header #2 '.text' 0x18924 */
{
	.sh_name      = 33         ,
	.sh_type      = 1          , /* [SHT_PROGBITS] */
	.sh_flags     = 6          ,
	.sh_addr      = 0x1200     ,
	.sh_offset    = 512        , /* (bytes) */
	.sh_size      = 99508      , /* (bytes) */
	.sh_link      = 0          ,
	.sh_info      = 0          ,
	.sh_addralign = 4          ,
	.sh_entsize   = 0         
},
/* Section Header #3 '.data' 0x1894C */
{
	.sh_name      = 39         ,
	.sh_type      = 1          , /* [SHT_PROGBITS] */
	.sh_flags     = 3          ,
	.sh_addr      = 0x1A6B4    ,
	.sh_offset    = 100020     , /* (bytes) */
	.sh_size      = 484        , /* (bytes) */
	.sh_link      = 0          ,
	.sh_info      = 0          ,
	.sh_addralign = 4          ,
	.sh_entsize   = 0         
},
/* Section Header #4 '.tdata' 0x18974 */
{
	.sh_name      = 45         ,
	.sh_type      = 8          , /* [SHT_NOBITS] */
	.sh_flags     = 1027       ,
	.sh_addr      = 0x1A898    ,
	.sh_offset    = 100504     , /* (bytes) */
	.sh_size      = 12         , /* (bytes) */
	.sh_link      = 0          ,
	.sh_info      = 0          ,
	.sh_addralign = 4          ,
	.sh_entsize   = 0         
},
/* Section Header #5 '.bss' 0x1899C */
{
	.sh_name      = 52         ,
	.sh_type      = 8          , /* [SHT_NOBITS] */
	.sh_flags     = 3          ,
	.sh_addr      = 0x1A898    ,
	.sh_offset    = 100504     , /* (bytes) */
	.sh_size      = 200        , /* (bytes) */
	.sh_link      = 0          ,
	.sh_info      = 0          ,
	.sh_addralign = 4          ,
	.sh_entsize   = 0         
},
/* Section Header #6 '.shstrtab' 0x189C4 */
{
	.sh_name      = 17         ,
	.sh_type      = 3          , /* [SHT_STRTAB] */
	.sh_flags     = 0          ,
	.sh_addr      = 0x0        ,
	.sh_offset    = 100504     , /* (bytes) */
	.sh_size      = 57         , /* (bytes) */
	.sh_link      = 0          ,
	.sh_info      = 0          ,
	.sh_addralign = 1          ,
	.sh_entsize   = 0         
},
/* Section Header #7 '.symtab' 0x189EC */
{
	.sh_name      = 1          ,
	.sh_type      = 2          , /* [SHT_SYMTAB] */
	.sh_flags     = 0          ,
	.sh_addr      = 0x0        ,
	.sh_offset    = 100924     , /* (bytes) */
	.sh_size      = 19136      , /* (bytes) */
	.sh_link      = 8          ,
	.sh_info      = 784        ,
	.sh_addralign = 4          ,
	.sh_entsize   = 16        
},
/* Section Header #8 '.strtab' 0x18A14 */
{
	.sh_name      = 9          ,
	.sh_type      = 3          , /* [SHT_STRTAB] */
	.sh_flags     = 0          ,
	.sh_addr      = 0x0        ,
	.sh_offset    = 120060     , /* (bytes) */
	.sh_size      = 8468       , /* (bytes) */
	.sh_link      = 0          ,
	.sh_info      = 0          ,
	.sh_addralign = 1          ,
	.sh_entsize   = 0         
},
},

.dyns = dumpedelf_dyn_0,
};
Elf32_Dyn dumpedelf_dyn_0[] = {
 /* no dynamic tags ! */ };
