]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdbserver: split out elf/fdpic.h
authorMike Frysinger <vapier@gentoo.org>
Mon, 20 Dec 2010 22:52:02 +0000 (17:52 -0500)
committerMike Frysinger <vapier@gentoo.org>
Thu, 10 Nov 2022 18:44:13 +0000 (01:44 +0700)
include/elf/fdpic.h [new file with mode: 0644]

diff --git a/include/elf/fdpic.h b/include/elf/fdpic.h
new file mode 100644 (file)
index 0000000..5957609
--- /dev/null
@@ -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 */