aboutsummaryrefslogtreecommitdiff
path: root/gold/ehframe.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-12-07 06:44:01 +0000
committerIan Lance Taylor <iant@google.com>2007-12-07 06:44:01 +0000
commit4117d76827b3768e9da6ef52f52a59c5ae92bed3 (patch)
tree0e922a8a56fb517fce40ab926e9d1bb98039818a /gold/ehframe.h
parenta20d5e98e51d91b66dfccc205d4d27e8850238b2 (diff)
downloadgdb-4117d76827b3768e9da6ef52f52a59c5ae92bed3.zip
gdb-4117d76827b3768e9da6ef52f52a59c5ae92bed3.tar.gz
gdb-4117d76827b3768e9da6ef52f52a59c5ae92bed3.tar.bz2
Fix ehframe header handling for shared libraries.
Diffstat (limited to 'gold/ehframe.h')
-rw-r--r--gold/ehframe.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gold/ehframe.h b/gold/ehframe.h
index 12c8c16..5a733e7 100644
--- a/gold/ehframe.h
+++ b/gold/ehframe.h
@@ -131,7 +131,8 @@ class Eh_frame_hdr : public Output_section_data
// Return the PC to which an FDE refers.
template<int size, bool big_endian>
typename elfcpp::Elf_types<size>::Elf_Addr
- get_fde_pc(const unsigned char* eh_frame_contents,
+ get_fde_pc(typename elfcpp::Elf_types<size>::Elf_Addr eh_frame_address,
+ const unsigned char* eh_frame_contents,
off_t fde_offset, unsigned char fde_encoding);
// Convert Fde_offsets to Fde_addresses.