Change ch_type to Elf_Word in struct Chdr_data<64>
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 4 Oct 2015 13:14:13 +0000 (06:14 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 4 Oct 2015 13:14:36 +0000 (06:14 -0700)
commit9706b5e627dfae1ab0a2788dda8a2aa5a0e09af7
tree0bf334bb6c09b5cbc906252434c5649de8d98308
parent73e5465df5bdb240d632ed207677916d0fa9ad4c
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
elfcpp/elfcpp.h
elfcpp/elfcpp_internal.h
This page took 0.025176 seconds and 4 git commands to generate.