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.
This commit is contained in:
Ian Lance Taylor
2009-03-20 23:37:51 +00:00
parent 6c7a06a3fa
commit 0e87992779
8 changed files with 175 additions and 9 deletions

View File

@@ -1,3 +1,7 @@
2009-03-20 Mikolaj Zalewski <mikolajz@google.com>
* elfcpp.h (SHT_GNU_INCREMENTAL_INPUTS): Define.
2009-03-01 Ian Lance Taylor <iant@google.com>
* elfcpp_swap.h: #include "config.h". Only #include <byteswap.h>

View File

@@ -4,7 +4,7 @@
// Written by Ian Lance Taylor <iant@google.com>.
// 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); }