x86: also test alternative VMGEXIT encoding
[deliverable/binutils-gdb.git] / include / elf / internal.h
index 844675c30f3bfb59db6d8ba43ffc6fd9d73dc639..9692028eed3ea49b9c67ee8df533fbb2cb0e3f3e 100644 (file)
@@ -84,14 +84,15 @@ typedef struct elf_internal_ehdr {
 /* Program header */
 
 struct elf_internal_phdr {
-  unsigned long        p_type;                 /* Identifies program segment type */
-  unsigned long        p_flags;                /* Segment flags */
-  bfd_vma      p_offset;               /* Segment file offset */
-  bfd_vma      p_vaddr;                /* Segment virtual address */
-  bfd_vma      p_paddr;                /* Segment physical address */
-  bfd_vma      p_filesz;               /* Segment size in file */
-  bfd_vma      p_memsz;                /* Segment size in memory */
-  bfd_vma      p_align;                /* Segment alignment, file & memory */
+  unsigned long        p_type;              /* Identifies program segment type.  */
+  unsigned long        p_flags;             /* Segment flags.  */
+  bfd_vma      p_offset;            /* Segment file offset in octets.  */
+  bfd_vma      p_vaddr;             /* Segment virtual address in octets.  */
+  bfd_vma      p_paddr;             /* Segment physical address in octets.  */
+  bfd_vma      p_filesz;            /* Segment size in file in octets.  */
+  bfd_vma      p_memsz;             /* Segment size in memory in octets.  */
+  bfd_vma      p_align;             /* Segment alignment in bytes, file
+                                       & memory */
 };
 
 typedef struct elf_internal_phdr Elf_Internal_Phdr;
@@ -102,9 +103,10 @@ typedef struct elf_internal_shdr {
   unsigned int sh_name;                /* Section name, index in string tbl */
   unsigned int sh_type;                /* Type of section */
   bfd_vma      sh_flags;               /* Miscellaneous section attributes */
-  bfd_vma      sh_addr;                /* Section virtual addr at execution */
-  file_ptr     sh_offset;              /* Section file offset */
-  bfd_size_type        sh_size;                /* Size of section in bytes */
+  bfd_vma      sh_addr;                /* Section virtual addr at execution in
+                                          octets.  */
+  file_ptr     sh_offset;              /* Section file offset in octets.  */
+  bfd_size_type        sh_size;                /* Size of section in octets.  */
   unsigned int sh_link;                /* Index of another section */
   unsigned int sh_info;                /* Additional section information */
   bfd_vma      sh_addralign;           /* Section alignment */
@@ -265,13 +267,13 @@ struct elf_segment_map
   unsigned long p_type;
   /* Program segment flags.  */
   unsigned long p_flags;
-  /* Program segment physical address.  */
+  /* Program segment physical address in octets.  */
   bfd_vma p_paddr;
-  /* Program segment virtual address offset from section vma.  */
+  /* Program segment virtual address offset from section vma in bytes.  */
   bfd_vma p_vaddr_offset;
   /* Program segment alignment.  */
   bfd_vma p_align;
-  /* Segment size in file and memory */
+  /* Segment size in file and memory in octets.  */
   bfd_vma p_size;
   /* Whether the p_flags field is valid; if not, the flags are based
      on the section flags.  */
This page took 0.024117 seconds and 4 git commands to generate.