This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use directory table to squeeze some bytes from .debug_line section


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]