From: Roland McGrath Date: Mon, 9 Jul 2007 21:25:39 +0000 (+0000) Subject: . X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fd2f25da9bc875ddeb5c03bdb515fd23934c1e7f;p=binutils-gdb.git . --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index be0ad302441..95ea20e8a3a 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,18 @@ +2007-07-09 Roland McGrath + + * 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. + 2007-07-06 Michael Snyder * elflink.c (elf_link_add_object_symbols): Return via diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 3415c9d0c8e..81006b12ff0 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2007-07-09 Roland McGrath + + * readelf.c (get_gnu_elf_note_type): New function. + (process_note): Use it for "GNU" name. + 2007-07-08 Andreas Schwab * Makefile.am (HFILES): Add dwarf.h, sysdep.h and unwind-ia64.h. diff --git a/include/ChangeLog b/include/ChangeLog index 88cbfa355f9..58d698ce483 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2007-07-09 Roland McGrath + + * bfdlink.h (struct bfd_link_info): Add member emit_note_gnu_build_id. + 2007-07-06 Nick Clifton * bfdlink.h: Update copyright notice to refer to GPLv3. @@ -68,7 +72,7 @@ * dis-asm.h (print_i386_disassembler_options): New. 2007-01-31 Vladimir Prus - + * libiberty.h (PEX_STDERR_TO_PIPE): New define. (PEX_BINARY_ERROR): New define. (pex_read_err): New function. @@ -83,7 +87,7 @@ PR ld/3831 * bfdlink.h (bfd_link_info): Rename dynamic to dynamic_list. - Add dynamic and dynamic_data. + Add dynamic and dynamic_data. 2006-12-05 Michael Tautschnig Nick Clifton @@ -296,7 +300,7 @@ 2005-06-20 Geoffrey Keating - * libiberty.h (strverscmp): Prototype. + * libiberty.h (strverscmp): Prototype. 2005-06-17 Jakub Jelinek diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index ba08331c4c0..8341638d25c 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,7 @@ +2007-07-09 Roland McGrath + + * common.h (NT_GNU_HWCAP, NT_GNU_BUILD_ID): New macros. + 2007-06-29 Joseph Myers * ppc.h (Tag_GNU_Power_ABI_FP): Define. @@ -22,13 +26,13 @@ 2007-06-11 Sterling Augustine Bob Wilson - + * xtensa.h (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to... (XTENSA_PROP_NO_TRANSFORM): ...this. - + 2007-05-18 Caroline Tice - * dwarf2.h: (enum dwarf_location_atom): Add new DW_OP, + * dwarf2.h: (enum dwarf_location_atom): Add new DW_OP, DW_OP_GNU_uninit. 2007-05-12 Alan Modra @@ -153,15 +157,15 @@ Randolph Chung * hppa.h (R_PARISC_TLS_GD21L, R_PARISC_TLS_GD14R, R_PARISC_TLS_GDCALL, R_PARISC_TLS_LDM21L, R_PARISC_TLS_LDM14R, R_PARISC_TLS_LDMCALL, - R_PARISC_TLS_LDO21L, R_PARISC_TLS_LDO14R, R_PARISC_TLS_DTPMOD32, - R_PARISC_TLS_DTPMOD64, R_PARISC_TLS_DTPOFF32, R_PARISC_TLS_DTPOFF64): + R_PARISC_TLS_LDO21L, R_PARISC_TLS_LDO14R, R_PARISC_TLS_DTPMOD32, + R_PARISC_TLS_DTPMOD64, R_PARISC_TLS_DTPOFF32, R_PARISC_TLS_DTPOFF64): New TLS relocs. (R_PARISC_TLS_LE21L, R_PARISC_TLS_LE14R, R_PARISC_TLS_IE21L, R_PARISC_TLS_IE14R, R_PARISC_TLS_TPREL32, R_PARISC_TLS_TPREL64): Define TLS relocs using existing equivalents. -2006-05-24 Bjoern Haase - +2006-05-24 Bjoern Haase + * avr.h: Add E_AVR_MACH_AVR6, R_AVR_LO8_LDI_GS and R_AVR_HI8_LDI_GS. 2006-03-22 Richard Sandiford @@ -234,7 +238,7 @@ * common.h (EM_XC16X): New entry for xc16x cpu. Sort other EM_* numbers into numerical order. * xc16x.h: New file. - + 2006-02-10 H.J. Lu PR binutils/2258 @@ -337,7 +341,7 @@ Add support for Renesas M32C and M16C. * common.h (EM_M32C): New machine number. * m32c.h: New file. - + 2005-06-17 Jan Beulich * x86-64.h (elf_x86_64_reloc_type): Adjust comment for diff --git a/ld/ChangeLog b/ld/ChangeLog index 504f1917e26..180c9240aea 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,13 @@ +2007-07-09 Roland McGrath + + * emultempl/elf32.em (gld${EMULATION_NAME}_add_option): Add --build-id. + (gld${EMULATION_NAME}_handle_option): Handle --build-id. + (gld${EMULATION_NAME}_list_options): List --build-id. + (gld${EMULATION_NAME}_after_open): If --build-id was given, + synthesize a ".note.gnu.build-id" section and cache it in elf_tdata. + * ld.texinfo (Options): Describe --build-id. + * NEWS: Mention --build-id. + 2007-07-06 Nick Clifton * deffile.h: Update copyright notice to refer to GPLv3. @@ -122,10 +132,10 @@ 2007-06-11 Sterling Augustine Bob Wilson - + * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use renamed XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM. - + 2007-06-01 Noah Misch Alan Modra @@ -201,7 +211,7 @@ 2007-05-05 Anatoly Sokolov - * multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for + * multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for "--pmem-wrap-around". (PARSE_AND_LIST_OPTIONS): Describe new value for "--pmem-wrap-around".