]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - binutils/readelf.c
* readelf.c (eh_addr_size): New variable.
authorRichard Sandiford <rdsandiford@googlemail.com>
Mon, 31 Jan 2005 20:35:25 +0000 (20:35 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Mon, 31 Jan 2005 20:35:25 +0000 (20:35 +0000)
commit89fac5e3c33745a93c9b90538048505d46ca365c
tree1cea1c62066a3db527f16669ef44e2022527fdfd
parentc46f8c5116f1207b4675c247287b5020f4bae1d1
* readelf.c (eh_addr_size): New variable.
(find_section): Move earlier in file.  Return empty sections too.
(process_program_headers): Use find_section to find .dynamic.
(process_section_headers): Initialize eh_addr_size.
(dump_ia64_unwind, slurp_ia64_unwind_table, ia64_process_unwind)
(dump_hppa_unwind, slurp_hppa_unwind_table, hppa_process_unwind)
(display_debug_frames): Use it instead of local addr_size variable.
(size_of_encoded_value): Get pointer size from eh_addr_size rather
than is_32bit_elf.
binutils/ChangeLog
binutils/readelf.c