X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=elfcpp%2Felfcpp_internal.h;h=424a1f6f713f173aaaf8e7b911b17d1cd2c46cad;hb=c7c1b3e998a77eb077ac3c08c88a97d2e11dfef0;hp=df84e7e765b7163fc19d45fc133f9bdc11ed5e50;hpb=6cb15b7f89d59fb61780b01ad3de2340f33c3728;p=deliverable%2Fbinutils-gdb.git diff --git a/elfcpp/elfcpp_internal.h b/elfcpp/elfcpp_internal.h index df84e7e765..424a1f6f71 100644 --- a/elfcpp/elfcpp_internal.h +++ b/elfcpp/elfcpp_internal.h @@ -1,6 +1,6 @@ // elfcpp_internal.h -- internals for elfcpp -*- C++ -*- -// Copyright 2006, 2007, Free Software Foundation, Inc. +// Copyright (C) 2006-2015 Free Software Foundation, Inc. // Written by Ian Lance Taylor . // This file is part of elfcpp. @@ -79,6 +79,16 @@ struct Shdr_data typename Elf_types::Elf_WXword sh_entsize; }; +// An ELF compression header. + +template +struct Chdr_data +{ + typename Elf_types::Elf_WXword ch_type; + typename Elf_types::Elf_WXword ch_size; + typename Elf_types::Elf_WXword ch_addralign; +}; + // An ELF segment header. We use template specialization for the // 32-bit and 64-bit versions because the fields are in a different // order.