aboutsummaryrefslogtreecommitdiff
path: root/gold/dynobj.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2006-12-06 00:28:03 +0000
committerIan Lance Taylor <iant@google.com>2006-12-06 00:28:03 +0000
commit91da9340ccc0b222d729c9f775b2d4ec1480ee75 (patch)
tree42f402c173aaf6337b63a492ff4d7aad50b8426d /gold/dynobj.h
parent14b317405813ed4aaf59235b5bfaf4f8decf1ad0 (diff)
downloadgdb-91da9340ccc0b222d729c9f775b2d4ec1480ee75.zip
gdb-91da9340ccc0b222d729c9f775b2d4ec1480ee75.tar.gz
gdb-91da9340ccc0b222d729c9f775b2d4ec1480ee75.tar.bz2
gcc 3.2.2 and 4.1.0 portability hacks.
Diffstat (limited to 'gold/dynobj.h')
-rw-r--r--gold/dynobj.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/gold/dynobj.h b/gold/dynobj.h
index 9e5dd43..476b602 100644
--- a/gold/dynobj.h
+++ b/gold/dynobj.h
@@ -274,7 +274,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 +360,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 +418,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.