This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src/bfd elf-bfd.h
- From: roland at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 9 Jul 2007 21:23:40 -0000
- Subject: src/bfd elf-bfd.h
CVSROOT: /cvs/src
Module name: src
Changes by: roland@sourceware.org 2007-07-09 21:23:40
Modified files:
bfd : elf-bfd.h
Log message:
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.
* elf-bfd.h (struct elf_size_info): Add checksum_contents hook.
(bfd_elf32_checksum_contents, bfd_elf64_checksum_contents): Declare.
* elfcode.h (elf_checksum_contents): New macro and function.
(NAME(_bfd_elf,size_info)): Initialize checksum_contents hook.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf-bfd.h.diff?cvsroot=src&r1=1.235&r2=1.236