OSDN Git Service

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)
commita54e44ca7106e2b680c34c00a8b0a532eac5c6a3
treef9ab2bb56dda4685982a2c360982845779d04dd0
parent80e43385d1886afb3e57a40cd318864024920b95
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