This is the mail archive of the binutils@sourceware.org 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] Parse NT_GNU_BUILD_ID into elf_obj_tdata->build_id*


On Sun, Aug 19, 2007 at 10:16:32PM +0200, Jan Kratochvil wrote:
> 2007-08-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	* bfd/elf-bfd.h (struct elf_obj_tdata): New build_id_size, build_id.
> 	* bfd/elf.c (elfcore_read_notes): Split to ...
> 	(elf_read_notes) ... here ...
> 	(elf_parse_notes): ... and here.  Check `bfd_get_format (abfd)' with
> 	the former subfunctions called only for BFD_CORE.
> 	Call ELFOBJ_GROK_GNU_NOTE for BFD_OBJECT files with the owner "GNU".
> 	(_bfd_elf_make_section_from_shdr): Call ELF_PARSE_NOTES for SHT_NOTEs.
> 	(bfd_section_from_phdr): Update the call for renamed ELFCORE_READ_NOTES.
> 	(elfobj_grok_gnu_build_id, elfobj_grok_gnu_note): New functions.

OK.

-- 
Daniel Jacobowitz
CodeSourcery


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