From 0c195c0ad40b1428fa41faa0b63dd44c8ed73a09 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 22 Jun 2009 06:56:05 +0000 Subject: * elfcpp.h (SHN_X86_64_LCOMMON): Define enum constant. (enum SHT): Add SHT_X86_64_UNWIND. (enum SHF): Add SHT_X86_64_LARGE. --- elfcpp/ChangeLog | 6 ++++++ elfcpp/elfcpp.h | 11 ++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) (limited to 'elfcpp') diff --git a/elfcpp/ChangeLog b/elfcpp/ChangeLog index b144025..2a8204f 100644 --- a/elfcpp/ChangeLog +++ b/elfcpp/ChangeLog @@ -1,3 +1,9 @@ +2009-06-21 Ian Lance Taylor + + * elfcpp.h (SHN_X86_64_LCOMMON): Define enum constant. + (enum SHT): Add SHT_X86_64_UNWIND. + (enum SHF): Add SHT_X86_64_LARGE. + 2009-05-27 Doug Kwan * arm.h: New file. diff --git a/elfcpp/elfcpp.h b/elfcpp/elfcpp.h index e148525..1b1a875 100644 --- a/elfcpp/elfcpp.h +++ b/elfcpp/elfcpp.h @@ -1,6 +1,6 @@ // elfcpp.h -- main header file for elfcpp -*- C++ -*- -// Copyright 2006, 2007, 2008, Free Software Foundation, Inc. +// Copyright 2006, 2007, 2008, 2009 Free Software Foundation, Inc. // Written by Ian Lance Taylor . // This file is part of elfcpp. @@ -321,6 +321,9 @@ enum // with the SHF_LINK_ORDER and SHF_ORDERED section flags. SHN_BEFORE = 0xff00, SHN_AFTER = 0xff01, + + // x86_64 specific large common symbol. + SHN_X86_64_LCOMMON = 0xff02 }; // The valid values found in the Shdr sh_type field. @@ -382,6 +385,9 @@ enum SHT SHT_ARM_DEBUGOVERLAY = 0x70000004, SHT_ARM_OVERLAYSECTION = 0x70000005, + // x86_64 unwind information. + SHT_X86_64_UNWIND = 0x70000001, + // Link editor is to sort the entries in this section based on the // address specified in the associated symbol table entry. SHT_ORDERED = 0x7fffffff, @@ -415,6 +421,9 @@ enum SHF // executable or shared object. This flag is ignored if SHF_ALLOC // is also set, or if relocations exist against the section. SHF_EXCLUDE = 0x80000000, + + // x86_64 specific large section. + SHF_X86_64_LARGE = 0x10000000 }; // Bit flags which appear in the first 32-bit word of the section data -- cgit v1.1