* 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.
This commit is contained in:
parent
2a20745c6f
commit
829c974507
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-12-23 Cary Coutant <ccoutant@google.com>
|
||||
|
||||
* 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.
|
||||
|
||||
2010-12-20 Ian Lance Taylor <iant@google.com>
|
||||
|
||||
* dwarf_reader.cc (Sized_dwarf_line_info::read_lines): Only keep
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue