From: Mike Frysinger Date: Mon, 20 Dec 2010 22:52:02 +0000 (-0500) Subject: gdbserver: split out elf/fdpic.h X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d022a4c7f5dacd14055517b9cc04c080808e3a42;p=thirdparty%2Fbinutils-gdb.git gdbserver: split out elf/fdpic.h --- diff --git a/include/elf/fdpic.h b/include/elf/fdpic.h new file mode 100644 index 00000000000..5957609a07e --- /dev/null +++ b/include/elf/fdpic.h @@ -0,0 +1,24 @@ +#ifndef _ELF_FDPIC_H +#define _ELF_FDPIC_H + +struct elf32_fdpic_loadseg +{ + /* Core address to which the segment is mapped. */ + Elf32_Addr addr; + /* VMA recorded in the program header. */ + Elf32_Addr p_vaddr; + /* Size of this segment in memory. */ + Elf32_Word p_memsz; +}; + +struct elf32_fdpic_loadmap +{ + /* Protocol version number, must be zero. */ + Elf32_Half version; + /* Number of segments in this map. */ + Elf32_Half nsegs; + /* The actual memory map. */ + struct elf32_fdpic_loadseg segs[/*nsegs*/]; +}; + +#endif /* _ELF_FDPIC_H */