* elflink.c (_bfd_elf_link_assign_sym_version): Improve error
[deliverable/binutils-gdb.git] / gold / dynobj.h
index 9e5dd43d70af39112e3cf80e741b724bb1d7842f..d63aa6af0b214d70f439434ff1520debb68f0adb 100644 (file)
@@ -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<int size, bool big_endian>
   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<int size, bool big_endian>
   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<Symbol*>& 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<int size, bool big_endian>
   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<int size, bool big_endian>
   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.
This page took 0.024809 seconds and 4 git commands to generate.