diff options
author | Ian Lance Taylor <ian@airs.com> | 2008-04-07 22:46:17 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2008-04-07 22:46:17 +0000 |
commit | 624f881062a90cbd4675e7b826225c232c39050e (patch) | |
tree | e9a126aef21b68223532b4da5d2ccc6cf51717bf /gold/testsuite/two_file_test_main.cc | |
parent | 6835af537eec580a0f4f2064d0e11e378c86b39e (diff) | |
download | gdb-624f881062a90cbd4675e7b826225c232c39050e.zip gdb-624f881062a90cbd4675e7b826225c232c39050e.tar.gz gdb-624f881062a90cbd4675e7b826225c232c39050e.tar.bz2 |
* 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.
Diffstat (limited to 'gold/testsuite/two_file_test_main.cc')
-rw-r--r-- | gold/testsuite/two_file_test_main.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gold/testsuite/two_file_test_main.cc b/gold/testsuite/two_file_test_main.cc index c69d6e0..b7e3838 100644 --- a/gold/testsuite/two_file_test_main.cc +++ b/gold/testsuite/two_file_test_main.cc @@ -52,5 +52,6 @@ main() assert(t16()); assert(t16a()); assert(t17()); + assert(t18()); return 0; } |