2007-07-09 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Mon, 9 Jul 2007 21:23:43 +0000 (21:23 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 9 Jul 2007 21:23:43 +0000 (21:23 +0000)
commitff59fc360e31b2d4b84e810753f128035e7c9e4a
tree22d1416efb0384e77f23d3a00e59d2911bb00abb
parent20a761b5e938488128342ab0f12244b5eadd8d35
2007-07-09  Roland McGrath  <roland@redhat.com>

* elf-bfd.h (struct elf_obj_tdata): Add members
emit_note_gnu_build_id and note_gnu_build_id_sec.
* elf.c (_bfd_id_note_section_size): New global function.
(read_hex, _bfd_elf_write_build_id_section): New static functions.
(_bfd_elf_write_object_contents): Call _bfd_elf_write_build_id_section
if emit_note_gnu_build_id is set.
* Makefile.am (elf.lo): Update dependencies.
bfd/Makefile.am
bfd/elf.c