aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2010-12-23 23:26:40 +0000
committerIan Lance Taylor <ian@airs.com>2010-12-23 23:26:40 +0000
commit0181c5b08bb0d02c21044b388373d4c403a2bbf1 (patch)
tree75ff6341c9e9279d25fa272c82d899c52ef38e6c /gold
parent78cc02c861b433d44c804eaa6536ca315b31aad6 (diff)
downloadfsf-binutils-gdb-0181c5b08bb0d02c21044b388373d4c403a2bbf1.zip
fsf-binutils-gdb-0181c5b08bb0d02c21044b388373d4c403a2bbf1.tar.gz
fsf-binutils-gdb-0181c5b08bb0d02c21044b388373d4c403a2bbf1.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')
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/output.h6
2 files changed, 8 insertions, 3 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 3f40a98..65c055b 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -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-21 Alan Modra <amodra@gmail.com>
* po/ja.po: New translation.
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.