base: Add byte order attribute for object files
authorSandipan Das <sandipan@linux.ibm.com>
Sat, 6 Feb 2021 11:57:32 +0000 (17:27 +0530)
committerSandipan Das <sandipan@linux.ibm.com>
Mon, 15 Feb 2021 08:32:38 +0000 (14:02 +0530)
commit3064018c763df7a58eba9cf4c2459083d21cc7a4
treeb9f7a0a42cf8ae24d6ab6dc597fbaaa0d71a63cf
parentbc72457a0784ea18801d73bfe3ab36a649f55489
base: Add byte order attribute for object files

This adds byte order as an attribute for object files by
introducing new members to the ObjectFile class. This is
populated by the looking at the ELF headers.

Change-Id: Ibe55699175cc0295e0c9d49bdbe02e580988bc4f
Signed-off-by: Sandipan Das <sandipan@linux.ibm.com>
src/base/loader/elf_object.cc
src/base/loader/elf_object.hh
src/base/loader/object_file.hh