(_bfd_dwarf2_find_nearest_line): If address length is zero, set it to 8 for
authorNick Clifton <nickc@redhat.com>
Fri, 20 Sep 2002 07:28:54 +0000 (07:28 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 20 Sep 2002 07:28:54 +0000 (07:28 +0000)
(non-standard) 64-bit DWARF2 formats (e.g. IRIX64).

bfd/ChangeLog
bfd/dwarf2.c

index 8874b8c1ef171b513f142783fd4db98a602bd932..1bb5aa5991a7d5383eb9093e9c4777cb338b520d 100644 (file)
@@ -1,3 +1,9 @@
+2002-09-19  Nathan Tallent  <eraxxon@alumni.rice.edu>
+
+       * dwarf2.c (_bfd_dwarf2_find_nearest_line): If address length is
+       zero, set it to 8 for (non-standard) 64-bit DWARF2 formats
+       (e.g. IRIX64).
+
 2002-09-19  Jakub Jelinek  <jakub@redhat.com>
 
        * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Clear .got word
index 9c5e7b8d173652d88bfae7943f584885300e3209..1cdd46156bba02b0bc5f19dad5fa927d8860c559 100644 (file)
@@ -1907,6 +1907,13 @@ _bfd_dwarf2_find_nearest_line (abfd, section, symbols, offset,
              length = read_8_bytes (abfd, stash->info_ptr + 4);
              stash->info_ptr += 8;
            }
+         else if (length == 0)
+           {
+             /* Handle (non-standard) 64-bit DWARF2 formats.  */
+             offset_size = 8;
+             length = read_4_bytes (abfd, stash->info_ptr + 4);
+             stash->info_ptr += 4;
+           }
        }
       else
        length = read_8_bytes (abfd, stash->info_ptr);
This page took 0.0321900000000001 seconds and 4 git commands to generate.