Cosmetic improvements for OSABI access.
[deliverable/binutils-gdb.git] / elfcpp / elfcpp.h
index ee69d322e79a2bc5d384c6f715ba870e06e1eafa..428ecb8935009b44665f8f35bf8369f8df769c18 100644 (file)
@@ -1100,6 +1100,14 @@ class Ehdr
   get_e_ident() const
   { return this->p_->e_ident; }
 
+  unsigned char
+  get_ei_osabi() const
+  { return this->p_->e_ident[EI_OSABI]; }
+
+  unsigned char
+  get_ei_abiversion() const
+  { return this->p_->e_ident[EI_ABIVERSION]; }
+
   Elf_Half
   get_e_type() const
   { return Convert<16, big_endian>::convert_host(this->p_->e_type); }
This page took 0.036284 seconds and 4 git commands to generate.