X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gold%2Fdynobj.h;h=d63aa6af0b214d70f439434ff1520debb68f0adb;hb=c55fe0967e9ec38c1e9d9d3ffc4db30a49323302;hp=9e5dd43d70af39112e3cf80e741b724bb1d7842f;hpb=14b317405813ed4aaf59235b5bfaf4f8decf1ad0;p=deliverable%2Fbinutils-gdb.git diff --git a/gold/dynobj.h b/gold/dynobj.h index 9e5dd43d70..d63aa6af0b 100644 --- a/gold/dynobj.h +++ b/gold/dynobj.h @@ -12,7 +12,6 @@ namespace gold { class General_options; -class Stringpool; // A dynamic object (ET_DYN). This is an abstract base class itself. // The implementations is the template class Sized_dynobj. @@ -274,7 +273,8 @@ class Verdef : public Version_base // Write contents to buffer. template unsigned char* - write(const Stringpool*, bool is_last, unsigned char*) const; + write(const Stringpool*, bool is_last, unsigned char* + ACCEPT_SIZE_ENDIAN) const; private: Verdef(const Verdef&); @@ -359,7 +359,8 @@ class Verneed // Write contents to buffer. template unsigned char* - write(const Stringpool*, bool is_last, unsigned char*) const; + write(const Stringpool*, bool is_last, unsigned char* + ACCEPT_SIZE_ENDIAN) const; private: Verneed(const Verneed&); @@ -416,21 +417,24 @@ class Versions void symbol_section_contents(const Stringpool*, unsigned int local_symcount, const std::vector& syms, - unsigned char**, unsigned int*) const; + unsigned char**, unsigned int* + ACCEPT_SIZE_ENDIAN) const; // Build an allocated buffer holding the contents of the version // definition section (.gnu.version_d). template void def_section_contents(const Stringpool*, unsigned char**, - unsigned int* psize, unsigned int* pentries) const; + unsigned int* psize, unsigned int* pentries + ACCEPT_SIZE_ENDIAN) const; // Build an allocated buffer holding the contents of the version // reference section (.gnu.version_r). template void need_section_contents(const Stringpool*, unsigned char**, - unsigned int* psize, unsigned int* pentries) const; + unsigned int* psize, unsigned int* pentries + ACCEPT_SIZE_ENDIAN) const; private: // The type of the list of version definitions.