aboutsummaryrefslogtreecommitdiff
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
commit0e8799277927082e381d875694ee72030e703d89 (patch)
tree76944ca8fa32597789724bff2a372671058f468a /elfcpp
parentgdb: (diff)
downloadbinutils-gdb-0e8799277927082e381d875694ee72030e703d89.tar.gz
binutils-gdb-0e8799277927082e381d875694ee72030e703d89.tar.bz2
binutils-gdb-0e8799277927082e381d875694ee72030e703d89.zip
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 5674d1573bb..9f048dda52f 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 46306e78588..a3786de8fe8 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); }