From 9706b5e627dfae1ab0a2788dda8a2aa5a0e09af7 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sun, 4 Oct 2015 06:14:13 -0700 Subject: Change ch_type to Elf_Word in struct Chdr_data<64> The ch_type field in struct Chdr_data<64> is 4 bytes, followed by a 4-byte padding. This change doesn't introduce any functional change since only the lower 32 bits of the ch_type field are used. PR gold/19060 * elfcpp.h (Chdr::get_ch_type): Change return type to Elf_Word. * elfcpp_internal.h (Chdr_data<64>): Change ch_type to 4 bytes and add ch_reserved. --- elfcpp/ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'elfcpp/ChangeLog') diff --git a/elfcpp/ChangeLog b/elfcpp/ChangeLog index 3342ac9..042d86e 100644 --- a/elfcpp/ChangeLog +++ b/elfcpp/ChangeLog @@ -1,3 +1,10 @@ +2015-10-02 H.J. Lu + + PR gold/19060 + * elfcpp.h (Chdr::get_ch_type): Change return type to Elf_Word. + * elfcpp_internal.h (Chdr_data<64>): Change ch_type to 4 bytes + and add ch_reserved. + 2015-04-08 H.J. Lu * elfcpp.h (Elf_sizes): Add chdr_size. -- cgit v1.1