* dwarf2.c (comp_unit): Move it earlier in the source. Add
authorGavin Romig-Koch <gavin@redhat.com>
Tue, 7 Apr 1998 20:29:26 +0000 (20:29 +0000)
committerGavin Romig-Koch <gavin@redhat.com>
Tue, 7 Apr 1998 20:29:26 +0000 (20:29 +0000)
commitb7781f9fb662ca625381080f4ecbfe13535e0408
tree0e9f21eac1479f80bf1acbbdbbb18f3004f8ca77
parent5faa69dac313549d4952911e8dfc4e30d832614d
* dwarf2.c (comp_unit): Move it earlier in the source. Add
addr_size.
(read_address): Replace 'bdf*' argument with 'comp_unit*' argument.
        Use addr_size for address size, rather than sizeof(bfd_vma).
(read_attribute): Replace bdf* argument with 'comp_unit*' argument.
Fix call to read_address.
(decode_line_info): Replace bdf* argument with 'comp_unit*' argument.
Scrap other unneeded arguments.  Fix call to read_address.
(scan_unit_for_functions): Fix call to read_attribute.
(parse_comp_unit): We now handle more values for addr_size.
Set addr_size in unit.  Fix call to read_attribute and
decode_line_info.
bfd/ChangeLog
bfd/dwarf2.c