2005-01-17 H.J. Lu <hongjiu.lu@intel.com>
commitbeea30729f5b3d94347c36afbc17fb7d1f4217eb
authorH.J. Lu <hjl@lucon.org>
Mon, 17 Jan 2005 17:12:00 +0000 (17 17:12 +0000)
committerH.J. Lu <hjl@lucon.org>
Mon, 17 Jan 2005 17:12:00 +0000 (17 17:12 +0000)
tree02ce174d42938d332fc4dd0f483de204168c95f8
parentafcc49547b768355bd30c75f0ef22140418a8a6e
2005-01-17  H.J. Lu  <hongjiu.lu@intel.com>

* dwarf2.c (dwarf2_debug): Move info_ptr_unit to ...
(comp_unit): Here.
(read_unsigned_leb128): Removed.
(read_signed_leb128): Removed.
(find_abstract_instance_name): Updated.
(parse_comp_unit): Accept info_ptr_unit.
(_bfd_dwarf2_find_nearest_line): Set info_ptr_unit for each
comp unit and pass it to parse_comp_unit.

* elf-eh-frame.c (read_unsigned_leb128): Moved to ...
(read_signed_leb128): Moved to ...
* libbfd.c: Here.

* libbfd-in.h (read_unsigned_leb128): New prototype.
(read_signed_leb128): Likewise.
* libbfd.h: Regenerated.
bfd/ChangeLog
bfd/dwarf2.c
bfd/elf-eh-frame.c
bfd/libbfd-in.h
bfd/libbfd.c
bfd/libbfd.h