aboutsummaryrefslogtreecommitdiff
path: root/gold/dynobj.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-02-29 19:19:17 +0000
committerIan Lance Taylor <iant@google.com>2008-02-29 19:19:17 +0000
commit7d1a9ebbf2b6018657e88172df4356ad4733b9c6 (patch)
tree684a7533508954f514333d59e7aac505a7764b9f /gold/dynobj.h
parentc24d74257b6b46bc55be02dd1760658f842a3872 (diff)
downloadgdb-7d1a9ebbf2b6018657e88172df4356ad4733b9c6.zip
gdb-7d1a9ebbf2b6018657e88172df4356ad4733b9c6.tar.gz
gdb-7d1a9ebbf2b6018657e88172df4356ad4733b9c6.tar.bz2
Remove gcc 3.2 compatibility hacks.
Diffstat (limited to 'gold/dynobj.h')
-rw-r--r--gold/dynobj.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/gold/dynobj.h b/gold/dynobj.h
index cdfa9ce..b55ae35 100644
--- a/gold/dynobj.h
+++ b/gold/dynobj.h
@@ -365,8 +365,7 @@ 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*
- ACCEPT_SIZE_ENDIAN) const;
+ write(const Stringpool*, bool is_last, unsigned char*) const;
private:
Verdef(const Verdef&);
@@ -451,8 +450,7 @@ class Verneed
// Write contents to buffer.
template<int size, bool big_endian>
unsigned char*
- write(const Stringpool*, bool is_last, unsigned char*
- ACCEPT_SIZE_ENDIAN) const;
+ write(const Stringpool*, bool is_last, unsigned char*) const;
private:
Verneed(const Verneed&);
@@ -508,24 +506,21 @@ class Versions
symbol_section_contents(const Symbol_table*, const Stringpool*,
unsigned int local_symcount,
const std::vector<Symbol*>& syms,
- unsigned char**, unsigned int*
- ACCEPT_SIZE_ENDIAN) const;
+ unsigned char**, unsigned int*) 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
- ACCEPT_SIZE_ENDIAN) const;
+ unsigned int* psize, unsigned int* pentries) 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
- ACCEPT_SIZE_ENDIAN) const;
+ unsigned int* psize, unsigned int* pentries) const;
const Version_script_info&
version_script() const