diff options
author | Ian Lance Taylor <iant@google.com> | 2006-12-01 00:10:37 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2006-12-01 00:10:37 +0000 |
commit | 1ddbd1e61787c0402eee18fdaa6af9d62034b6b7 (patch) | |
tree | 90ddc2edc3c351cd508811a325370aae9ab8c5d0 /gold/output.cc | |
parent | 2711582ca64d4a68932da22cf26ca13989fb35ee (diff) | |
download | gdb-1ddbd1e61787c0402eee18fdaa6af9d62034b6b7.zip gdb-1ddbd1e61787c0402eee18fdaa6af9d62034b6b7.tar.gz gdb-1ddbd1e61787c0402eee18fdaa6af9d62034b6b7.tar.bz2 |
gcc 3.2.2 portability hacks.
Diffstat (limited to 'gold/output.cc')
-rw-r--r-- | gold/output.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gold/output.cc b/gold/output.cc index 2dbf576..1493847 100644 --- a/gold/output.cc +++ b/gold/output.cc @@ -625,7 +625,8 @@ template<int size, bool big_endian> void Output_data_dynamic::Dynamic_entry::write( unsigned char* pov, - const Stringpool* pool) const + const Stringpool* pool + ACCEPT_SIZE_ENDIAN) const { typename elfcpp::Elf_types<size>::Elf_WXword val; switch (this->classification_) @@ -720,7 +721,8 @@ Output_data_dynamic::sized_write(Output_file* of) p != this->entries_.end(); ++p) { - p->write<size, big_endian>(pov, this->pool_); + p->write SELECT_SIZE_ENDIAN_NAME(size, big_endian)( + pov, this->pool_ SELECT_SIZE_ENDIAN(size, big_endian)); pov += dyn_size; } |