Cosmetic improvements for OSABI access.
[deliverable/binutils-gdb.git] / gold / dwp.cc
index 7c4eef090d482056d6b4ac379aeaf402cc6c4490..aae1fe212a2aa9ee0ac99d0a63b667d97207d490 100644 (file)
@@ -1107,8 +1107,8 @@ Dwo_file::sized_make_object(const unsigned char* p, Input_file* input_file,
   if (output_file != NULL)
     output_file->record_target_info(
        this->name_, ehdr.get_e_machine(), size, big_endian,
-       ehdr.get_e_ident()[elfcpp::EI_OSABI],
-       ehdr.get_e_ident()[elfcpp::EI_ABIVERSION]);
+       ehdr.get_ei_osabi(),
+       ehdr.get_ei_abiversion());
   return obj;
 }
 
This page took 0.023179 seconds and 4 git commands to generate.