This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Tiny 64-bit Dwarf2 glitch
On Jun 25, 12:41pm, Jason Eckhardt wrote:
> This 64- vs. 32-bit glitch was giving me problems on IRIX64.
> Objections?
>
> 2002-06-25 Jason Eckhardt <jle@rice.edu>
>
> * dwarf2.c (decode_line_info): Check unit->addr_size
> to read in the proper number of prologue bytes.
>
> *** orig.dwarf2.c Tue Jun 25 10:25:02 2002
> --- dwarf2.c Tue Jun 25 10:30:50 2002
> *************** decode_line_info (unit, stash)
> *** 972,986 ****
> line_ptr = stash->dwarf_line_buffer + unit->line_offset;
>
> /* Read in the prologue. */
> ! lh.total_length = read_4_bytes (abfd, line_ptr);
> ! line_ptr += 4;
> ! offset_size = 4;
> ! if (lh.total_length == 0xffffffff)
Why are you eliminating the escape mechanism that indicates 64-bit
offsets?