This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Use directory table to squeeze some bytes from .debug_line section
- From: Nick Clifton <nickc at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: 28 Jan 2003 11:22:01 +0000
- Subject: Re: [PATCH] Use directory table to squeeze some bytes from .debug_line section
- References: <20030123212353.H17910@sunsite.ms.mff.cuni.cz>
Hi Jakub,
> 2003-01-23 Jakub Jelinek <jakub@redhat.com>
>
> * dwarf2dbg.c: Include filenames.h.
> (struct file_entry): Make filename const char *.
> (dirs, dirs_in_use, dirs_allocated): New variables.
> (get_filenum): Add NUM argument. Build directory table.
> (dwarf2_where): Adjust caller.
> (dwarf2_directive_file): Use get_filenum to allocate
> slot in file and directory tables.
> (dwarf2_directive_loc): Recreate full filename from
> directory and filename part if needed for listing.
> (out_file_list): Output directory table.
> Output main source file dirname before its filename.
Approved and applied - thanks!
Cheers
Nick