From 0acc7cf0262d2a6f49017d167f3a8effcb3db575 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 20 Mar 2009 23:37:51 +0000 Subject: include/elf: * common.h (SHT_GNU_INCREMENTAL_INPUTS): Define. elfcpp: * elfcpp.h (SHT_GNU_INCREMENTAL_INPUTS): Define. gold: * incremental.cc: New file. * Makefile.am (CCFILES): Add incremental.cc. * Makefile.in: Rebuild. --- elfcpp/ChangeLog | 4 ++++ elfcpp/elfcpp.h | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'elfcpp') diff --git a/elfcpp/ChangeLog b/elfcpp/ChangeLog index 5674d1573b..9f048dda52 100644 --- a/elfcpp/ChangeLog +++ b/elfcpp/ChangeLog @@ -1,3 +1,7 @@ +2009-03-20 Mikolaj Zalewski + + * elfcpp.h (SHT_GNU_INCREMENTAL_INPUTS): Define. + 2009-03-01 Ian Lance Taylor * elfcpp_swap.h: #include "config.h". Only #include diff --git a/elfcpp/elfcpp.h b/elfcpp/elfcpp.h index 46306e7858..a3786de8fe 100644 --- a/elfcpp/elfcpp.h +++ b/elfcpp/elfcpp.h @@ -4,7 +4,7 @@ // Written by Ian Lance Taylor . // This file is part of elfcpp. - + // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public License // as published by the Free Software Foundation; either version 2, or @@ -351,6 +351,8 @@ enum SHT SHT_LOUSER = 0x80000000, SHT_HIUSER = 0xffffffff, // The remaining values are not in the standard. + // Incremental build data. + SHT_GNU_INCREMENTAL_INPUTS = 0x6fff4700, // Object attributes. SHT_GNU_ATTRIBUTES = 0x6ffffff5, // GNU style dynamic hash table. @@ -934,7 +936,7 @@ class Ehdr_write void put_e_type(Elf_Half v) { this->p_->e_type = Convert<16, big_endian>::convert_host(v); } - + void put_e_machine(Elf_Half v) { this->p_->e_machine = Convert<16, big_endian>::convert_host(v); } -- cgit v1.2.1