diff options
author | Marcin KoĆcielnicki <koriakin@0x04.net> | 2015-10-05 16:57:12 +0200 |
---|---|---|
committer | Cary Coutant <ccoutant@gmail.com> | 2015-10-28 16:46:07 -0700 |
commit | 6f97897dbef256a80fb08c561b7f447aacf4bdf1 (patch) | |
tree | 614791546ab3e0a3b2ca1f2bb8f37b9354caa019 /gold/archive.h | |
parent | 8d9743bd43d7c3123bfee2287e879dde0ac9bba4 (diff) | |
download | gdb-6f97897dbef256a80fb08c561b7f447aacf4bdf1.zip gdb-6f97897dbef256a80fb08c561b7f447aacf4bdf1.tar.gz gdb-6f97897dbef256a80fb08c561b7f447aacf4bdf1.tar.bz2 |
Add 64-bit archive support.
gold/
* archive.cc (Archive::sym64name): New const.
(Archive::setup): Add support for SYM64 armap.
(Archive::read_armap): Likewise.
(Archive::interpret_header): Likewise.
(Archive::const_iterator::read_next_header): Likewise.
* archive.h (Archive::sym64name): New const.
(Archive::read_armap): Add mapsize template parameter.
Diffstat (limited to 'gold/archive.h')
-rw-r--r-- | gold/archive.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/archive.h b/gold/archive.h index 18cd899..66e4b2c 100644 --- a/gold/archive.h +++ b/gold/archive.h @@ -175,6 +175,9 @@ class Archive : public Library_base // The string expected at the end of an archive member header. static const char arfmag[2]; + // Name of 64-bit symbol table member. + static const char sym64name[7]; + // The name of the object. This is the name used on the command // line; e.g., if "-lgcc" is on the command line, this will be // "gcc". @@ -290,6 +293,7 @@ class Archive : public Library_base { return this->input_file_->file().get_view(0, start, size, aligned, cache); } // Read the archive symbol map. + template<int mapsize> void read_armap(off_t start, section_size_type size); |