summaryrefslogtreecommitdiff
path: root/elfcpp
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2009-03-20 23:37:51 +0000
committerIan Lance Taylor <ian@airs.com>2009-03-20 23:37:51 +0000
commit0acc7cf0262d2a6f49017d167f3a8effcb3db575 (patch)
treecde21ced96fd720df177dc430ba2375f3e3f41e5 /elfcpp
parent5f181e2111c86a95bb43a09853f0c5a68a70749c (diff)
downloadbinutils-redhat-0acc7cf0262d2a6f49017d167f3a8effcb3db575.tar.gz
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.
Diffstat (limited to 'elfcpp')
-rw-r--r--elfcpp/ChangeLog4
-rw-r--r--elfcpp/elfcpp.h6
2 files changed, 8 insertions, 2 deletions
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 <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>
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 <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); }