diff options
author | Cary Coutant <ccoutant@gmail.com> | 2020-12-15 14:37:22 -0800 |
---|---|---|
committer | Cary Coutant <ccoutant@gmail.com> | 2020-12-15 14:37:22 -0800 |
commit | 2b2d74f4a135e69fa2e0b68dd273212a4db88f81 (patch) | |
tree | 7b43bfe833c9b37411c723ee671d7d910a8e6a65 /gold/ChangeLog | |
parent | 8947abe6bfbf2615e1f4ea2420b3aad5cbac4d90 (diff) | |
download | gdb-2b2d74f4a135e69fa2e0b68dd273212a4db88f81.zip gdb-2b2d74f4a135e69fa2e0b68dd273212a4db88f81.tar.gz gdb-2b2d74f4a135e69fa2e0b68dd273212a4db88f81.tar.bz2 |
Cosmetic improvements for OSABI access.
Add accessor methods to elfcpp::Ehdr class for EI_OSABI and EI_ABIVERSION;
use those to simplify initialization of Osabi class and eliminate the need
to template the class.
elfcpp/
* elfcpp.h (class Ehdr): Add get_ei_osabi and get_ei_abiversion methods.
gold/
* dwp.cc (class Dwo_file): Use new Ehdr::get_ei_osabi and
get_ei_abiversion methods.
* incremental.cc (make_sized_incremental_binary): Likewise.
* object.cc (Sized_relobj_file::Sized_relobj_file): Likewise.
(make_elf_sized_object): Likewise.
* object.h (class Osabi): Make the class untemplated.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 32decc6..77b1f88 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,12 @@ +2020-12-15 Cary Coutant <ccoutant@gmail.com> + + * dwp.cc (class Dwo_file): Use new Ehdr::get_ei_osabi and + get_ei_abiversion methods. + * incremental.cc (make_sized_incremental_binary): Likewise. + * object.cc (Sized_relobj_file::Sized_relobj_file): Likewise. + (make_elf_sized_object): Likewise. + * object.h (class Osabi): Make the class untemplated. + 2020-12-15 Vivek Das Mohapatra <vivek@collabora.com> Implement -z unique / -z nounique options. |