diff options
author | Ian Lance Taylor <ian@airs.com> | 2009-10-15 00:33:18 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2009-10-15 00:33:18 +0000 |
commit | 82bb573a567ac147a333b86e36208e2397d5f5df (patch) | |
tree | e2c38c03b45f7749e5614c152278bc670231b719 /gold/object.h | |
parent | 7b6964b46ccee427823c18726e262f09284821d1 (diff) | |
download | gdb-82bb573a567ac147a333b86e36208e2397d5f5df.zip gdb-82bb573a567ac147a333b86e36208e2397d5f5df.tar.gz gdb-82bb573a567ac147a333b86e36208e2397d5f5df.tar.bz2 |
* object.h (class Relocate_info): Add reloc_shdr and data_shdr
fields.
* object.cc (Sized_relobj::relocate_sections): Set reloc_shdr and
data_shdr fields of relinfo.
* i386.cc (class Target_i386::Relocate): Remove ldo_addrs_ field.
(Target_i386::Relocate::relocate_tls): Don't call fix_up_ldo. For
R_386_TLS_LDO_32, adjust based on section flags.
(Target_i386::Relocate::fix_up_ldo): Remove.
Diffstat (limited to 'gold/object.h')
-rw-r--r-- | gold/object.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/object.h b/gold/object.h index 66f5dbb..ff96682 100644 --- a/gold/object.h +++ b/gold/object.h @@ -2007,8 +2007,12 @@ struct Relocate_info Sized_relobj<size, big_endian>* object; // Section index of relocation section. unsigned int reloc_shndx; + // Section header of relocation section. + const unsigned char* reloc_shdr; // Section index of section being relocated. unsigned int data_shndx; + // Section header of data section. + const unsigned char* data_shdr; // Return a string showing the location of a relocation. This is // only used for error messages. |