* output.cc (Output_reloc<SHT_REL>::local_section_offset): Add
authorIan Lance Taylor <ian@airs.com>
Mon, 7 Apr 2008 22:46:17 +0000 (22:46 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 7 Apr 2008 22:46:17 +0000 (22:46 +0000)
commit624f881062a90cbd4675e7b826225c232c39050e
treee9a126aef21b68223532b4da5d2ccc6cf51717bf
parent6835af537eec580a0f4f2064d0e11e378c86b39e
* output.cc (Output_reloc<SHT_REL>::local_section_offset): Add
addend parameter.  Change caller.  Handle merge sections.
(Output_reloc<SHT_REL>::symbol_value): Change parameter type from
Address to Addend.  Don't add in the result of
local_section_offset, pass down the addend and use the returned
value.
* output.h (class Output_reloc<SHT_REL>): Add Addend typedef.
Update declarations of local_section_offset and symbol_value.
* testsuite/two_file_test_1.cc (t18): New function.
* testsuite/two_file_test_2.cc (f18): New function.
* testsuite/two_file_test_main.cc (main): Call t18.
* testsuite/two_file_test.h (t18, f18): Declare.
gold/ChangeLog
gold/output.cc
gold/output.h
gold/testsuite/two_file_test.h
gold/testsuite/two_file_test_1.cc
gold/testsuite/two_file_test_2.cc
gold/testsuite/two_file_test_main.cc
This page took 0.024632 seconds and 4 git commands to generate.