diff options
author | Cary Coutant <ccoutant@google.com> | 2010-12-23 19:56:14 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2010-12-23 19:56:14 +0000 |
commit | 829c9745074912fd5cc1d0389e9cf51fb979b70a (patch) | |
tree | 4d93fbea04be73bc58dc67f63b06345bb4e6f7af /gold/output.h | |
parent | 2a20745c6f5dcf86417ebaabbfdb4b1c56e2c9c4 (diff) | |
download | gdb-829c9745074912fd5cc1d0389e9cf51fb979b70a.zip gdb-829c9745074912fd5cc1d0389e9cf51fb979b70a.tar.gz gdb-829c9745074912fd5cc1d0389e9cf51fb979b70a.tar.bz2 |
* output.h (Output_data_reloc::add_output_section): Pass OD instead
of OS to this->add. Add OD parameter to second form of the function.
Diffstat (limited to 'gold/output.h')
-rw-r--r-- | gold/output.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gold/output.h b/gold/output.h index 9ccc21a..0d88294 100644 --- a/gold/output.h +++ b/gold/output.h @@ -1789,13 +1789,13 @@ class Output_data_reloc<elfcpp::SHT_RELA, dynamic, size, big_endian> void add_output_section(Output_section* os, unsigned int type, Output_data* od, Address address, Addend addend) - { this->add(os, Output_reloc_type(os, type, od, address, addend)); } + { this->add(od, Output_reloc_type(os, type, od, address, addend)); } void - add_output_section(Output_section* os, unsigned int type, + add_output_section(Output_section* os, unsigned int type, Output_data* od, Sized_relobj<size, big_endian>* relobj, unsigned int shndx, Address address, Addend addend) - { this->add(os, Output_reloc_type(os, type, relobj, shndx, address, + { this->add(od, Output_reloc_type(os, type, relobj, shndx, address, addend)); } // Add an absolute relocation. |