OLD | NEW |
1 2012-01-05 Jan Kratochvil <jan.kratochvil@redhat.com> | 1 2011-12-24 Jan Kratochvil <jan.kratochvil@redhat.com> |
2 | 2 |
3 » Fix zero registers core files when built by gcc-4.7. | 3 » * elf32-rl78.c (rl78_elf_relocate_section, rl78_dump_symtab) |
4 » * elf64-x86-64.c: Update copyright year. | 4 » (rl78_elf_relax_section): Remove debug prints. |
5 » (elf_x86_64_write_core_note): Remove variables p and size. Call | 5 |
6 » elfcore_write_note for the local variables. Remove the final | 6 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com> |
7 » elfcore_write_note call. Add NOTREACHED comments. | 7 |
| 8 » * elf32-rl78.c (rl78_elf_relocate_section, rl78_elf_relax_section): Use |
| 9 » BFD_VMA_FMT. |
| 10 |
| 11 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 12 |
| 13 » * elf32-rl78.c (prev_alignment, sec_start): Remove unused variables. |
| 14 |
| 15 2011-12-23 Tristan Gingold <gingold@adacore.com> |
| 16 |
| 17 » * vms-lib.c (vms_traverse_index): Move pointer update code. |
| 18 |
| 19 2011-12-22 DJ Delorie <dj@redhat.com> |
| 20 |
| 21 » * elf32-rl78.c (rl78_elf_howto_table): Add R_RL78_RH_RELAX. |
| 22 » (rl78_reloc_map): Add BFD_RELOC_RL78_RELAX. |
| 23 » (rl78_elf_relocate_section): Add R_RL78_RH_RELAX, R_RL78_RH_SFR, |
| 24 » and R_RL78_RH_SADDR. |
| 25 » (rl78_elf_finish_dynamic_sections): Only validate PLT section if |
| 26 » we didn't relax anything, as relaxing might remove a PLT reference |
| 27 » after we've set up the table. |
| 28 » (elf32_rl78_relax_delete_bytes): New. |
| 29 » (reloc_bubblesort): New. |
| 30 » (rl78_offset_for_reloc): New. |
| 31 » (relax_addr16): New. |
| 32 » (rl78_elf_relax_section): Add support for relaxing long |
| 33 » instructions into short ones. |
| 34 |
| 35 2011-12-22 Martin Schwidefsky <schwidefsky@de.ibm.com> |
| 36 |
| 37 » * elf32-s390.c (elf_s390_relocate_section): Add check for debugging |
| 38 » section in LD to LE linker relaxation for R_390_TLS_LDO32. |
| 39 » * elf64-s390.c (elf_s390_relocate_section): Likewise for |
| 40 » R_390_TLS_LDO64. |
8 | 41 |
9 2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org> | 42 2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org> |
10 | 43 |
11 * elf32-arm.c (elf32_arm_nabi_grok_psinfo): Fill in core_pid. | 44 * elf32-arm.c (elf32_arm_nabi_grok_psinfo): Fill in core_pid. |
12 | 45 |
| 46 2011-12-19 Iain Sandoe <idsandoe@googlemail.com> |
| 47 |
| 48 * mach-o-i386.c (bfd_mach_o_section_type_valid_for_tgt): Define NULL. |
| 49 * mach-o-target.c (bfd_mach_o_backend_data): Initialize |
| 50 bfd_mach_o_section_type_valid_for_tgt |
| 51 * mach-o-x86-64.c (bfd_mach_o_section_type_valid_for_x86_64): New. |
| 52 (bfd_mach_o_section_type_valid_for_tgt): Set to |
| 53 bfd_mach_o_section_type_valid_for_x86_64. |
| 54 * mach-o.c (bfd_mach_o_section_type_name): Reorder and eliminate dup. |
| 55 (bfd_mach_o_section_attribute_name): Reorder. |
| 56 (bfd_mach_o_get_section_type_from_name): If the target has defined a |
| 57 validator for section types, then use it. |
| 58 * mach-o.h (bfd_mach_o_get_section_type_from_name): Alter declaration |
| 59 to include the bfd. |
| 60 |
| 61 2011-12-19 Chung-Lin Tang <cltang@codesourcery.com> |
| 62 |
| 63 * reloc.c (BFD_RELOC_MIPS16_TLS_GD,BFD_RELOC_MIPS16_TLS_LDM, |
| 64 BFD_RELOC_MIPS16_TLS_DTPREL_HI16,BFD_RELOC_MIPS16_TLS_DTPREL_LO16, |
| 65 BFD_RELOC_MIPS16_TLS_GOTTPREL,BFD_RELOC_MIPS16_TLS_TPREL_HI16, |
| 66 BFD_RELOC_MIPS16_TLS_TPREL_LO16): New relocations for MIPS16 TLS. |
| 67 * bfd-in2.h (bfd_reloc_code_real): Regenerate. |
| 68 * libbfd.h (bfd_reloc_code_real_names): Regenerate. |
| 69 * elf32-mips.c (elf_mips16_howto_table_rel): Add R_MIPS16_TLS_* |
| 70 entries. |
| 71 (mips16_reloc_map): Add BFD_RELOC_MIPS16_TLS_* to R_MIPS16_TLS_* |
| 72 mappings. |
| 73 * elfn32-mips.c (elf_mips16_howto_table_rel, |
| 74 elf_mips16_howto_table_rela): Add R_MIPS16_TLS_* entries. |
| 75 (mips16_reloc_map): Add BFD_RELOC_MIPS16_TLS_* to R_MIPS16_TLS_* |
| 76 mappings. |
| 77 * elf64-mips.c (mips16_elf64_howto_table_rel, |
| 78 mips16_elf64_howto_table_rela): Add R_MIPS16_TLS_* entries. |
| 79 (mips16_reloc_map): Add BFD_RELOC_MIPS16_TLS_* to R_MIPS16_TLS_* |
| 80 mappings. |
| 81 * elfxx-mips.c (TLS_RELOC_P,mips16_reloc_p, |
| 82 _bfd_mips_elf_check_relocs): Add cases for R_MIPS16_TLS_* relocations. |
| 83 (tls_gd_reloc_p): Add R_MIPS16_TLS_GD case. |
| 84 (tls_ldm_reloc_p): Add R_MIPS16_TLS_LDM case. |
| 85 (tls_gottprel_reloc_p): Add R_MIPS16_TLS_GOTTPREL case. |
| 86 (mips_elf_calculate_relocation): Add cases for R_MIPS16_TLS_*, |
| 87 R_MIPS_TLS_DTPREL32/64, and R_MIPS_TLS_TPREL32/64 relocations. |
| 88 |
| 89 2011-12-19 Chung-Lin Tang <cltang@codesourcery.com> |
| 90 Catherine Moore <clm@codesourcery.com> |
| 91 Sandra Loosemore <sandra@codesourcery.com> |
| 92 Richard Sandiford <rdsandiford@googlemail.com> |
| 93 |
| 94 * elfxx-mips.c (mips_elf_local_pic_function_p): Return true when |
| 95 H is a MIPS16 function with a kept 32-bit stub. Update comments. |
| 96 (mips_elf_get_la25_target): New function. |
| 97 (mips_elf_add_la25_intro): Change to use mips_elf_get_la25_target(). |
| 98 (mips_elf_add_la25_stub): Move compute of use_trampoline_p down, |
| 99 change to use mips_elf_get_la25_target(). |
| 100 (mips_elf_relocation_needs_la25_stub): Add target_is_16_bit_code_p |
| 101 parameter, add switch case for R_MIPS16_26. |
| 102 (mips_elf_calculate_relocation): Redirect relocation to point to the |
| 103 LA25 stub if it exists, instead of the MIPS16 stub. Update arguments |
| 104 of call to mips_elf_relocation_needs_la25_stub(), don't use la25 stub |
| 105 for mips16->mips16 calls. |
| 106 (_bfd_mips_elf_check_relocs): Update arguments of call to |
| 107 mips_elf_relocation_needs_la25_stub(). |
| 108 (mips_elf_create_la25_stub): Change to use mips_elf_get_la25_target(). |
| 109 |
| 110 2011-12-16 Shinichiro Hamaji <shinichiro.hamaji@gmail.com> |
| 111 |
| 112 * mach-o-i386.c (TARGET_PRIORITY): Define as 0 (top priority) |
| 113 * mach-o-target.c (TARGET_NAME): Use TARGET_PRIORITY |
| 114 * mach-o-x86-64.c (TARGET_PRIORITY): Define as 0 (top priority) |
| 115 * mach-o.c (bfd_mach_o_header_p): Remove special handling for |
| 116 mach-o-i386. |
| 117 (TARGET_PRIORITY) Set 1 for mach-o-be and mach-o-le, and set 0 for |
| 118 mach-o-fat. |
| 119 |
| 120 2011-12-15 Kevin Buettner <kevinb@redhat.com> |
| 121 |
| 122 * elf32-am33lin.c (elf32_am33lin_grok_prstatus): Add case |
| 123 to correspond to a smaller ELF_NGREG defined by the kernel. |
| 124 |
| 125 2011-12-15 H.J. Lu <hongjiu.lu@intel.com> |
| 126 |
| 127 * elf64-x86-64.c (ELF32_DYNAMIC_INTERPRETER): Set to |
| 128 "/lib/ldx32.so.1". |
| 129 |
| 130 2011-12-15 Iain Sandoe <iains@gcc.gnu.org> |
| 131 |
| 132 * mach-o.c (bfd_mach_o_mkobject_init): Initialize dyn_reloc_cache. |
| 133 (bfd_mach_o_close_and_cleanup): Only cleanup Mach-O private data |
| 134 for object files. |
| 135 |
| 136 2011-12-15 Shinichiro Hamaji <shinichiro.hamaji@gmail.com> |
| 137 |
| 138 * mach-o.c (bfd_mach_o_canonicalize_reloc): Update relocation |
| 139 table only when there isn't the cahce. |
| 140 (bfd_mach_o_get_dynamic_reloc_upper_bound): Need one more space |
| 141 for a pointer for the watchdog. |
| 142 (bfd_mach_o_canonicalize_dynamic_reloc): Utilize cache like |
| 143 bfd_mach_o_canonicalize_reloc. |
| 144 (bfd_mach_o_close_and_cleanup): Call bfd_mach_o_free_cached_info. |
| 145 (bfd_mach_o_free_cached_info): Free up cache data. |
| 146 * mach-o.h (reloc_cache): A place to store cache of dynamic relocs. |
| 147 (bfd_mach_o_free_cached_info): Add declaration. |
| 148 |
| 149 2011-12-15 Iain Sandoe <iains@gcc.gnu.org> |
| 150 |
| 151 * mach-o-target.c (bfd_mach_o_bfd_set_private_flags): Use |
| 152 bfd_mach_o_bfd_set_private_flags. |
| 153 * mach-o.c (bfd_mach_o_bfd_set_private_flags): New. |
| 154 * mach-o.h (bfd_mach_o_bfd_set_private_flags): Declare. |
| 155 |
| 156 2011-12-14 Nick Clifton <nickc@redhat.com> |
| 157 |
| 158 PR ld/12451 |
| 159 * elfcode.h (elf_checksum_contents): Read in the section's |
| 160 contents if they are not already available, and the section |
| 161 actually has some contents. |
| 162 |
| 163 * compress.c (bfd_get_full_section_contents): Use zmalloc to |
| 164 allocate the buffers so that excess bytes are guaranteed to be |
| 165 zero. |
| 166 |
| 167 2011-12-14 Iain Sandoe <iains@gcc.gnu.org> |
| 168 |
| 169 * mach-o-i386.c (text_section_names_xlat): New table. |
| 170 (data_section_names_xlat): Likewise. |
| 171 (import_section_names_xlat): Likewise. |
| 172 (mach_o_i386_segsec_names_xlat): Likewise. |
| 173 (bfd_mach_o_tgt_seg_table): Use new tables. |
| 174 * mach-o-x86-64.c (bfd_mach_o_tgt_seg_table): Set NULL. |
| 175 * mach-o.c (mach_o_section_name_xlat, mach_o_segment_name_xlat): |
| 176 Move to mach-o.h as typedefs. |
| 177 (text_section_names_xlat): Update for current GCC usage. |
| 178 (data_section_names_xlat): Likewise. |
| 179 (dwarf_section_names_xlat): Likewise. |
| 180 (objc_section_names_xlat): New table. |
| 181 (segsec_names_xlat): Add objc table. |
| 182 (bfd_mach_o_normalize_section_name): Replace with... |
| 183 (bfd_mach_o_section_data_for_mach_sect): New. |
| 184 (bfd_mach_o_section_data_for_bfd_name): New. |
| 185 (bfd_mach_o_section_data_for_bfd_name): Update to use additional data. |
| 186 (bfd_mach_o_convert_section_name_to_mach_o): Likewise. |
| 187 (bfd_mach_o_bfd_copy_private_section_data): Implement. |
| 188 (bfd_mach_o_write_symtab): Write a zero-length string as the first entry |
| 189 for compatibility with system tools. |
| 190 (bfd_mach_o_build_commands): Update section alignment info. |
| 191 (bfd_mach_o_new_section_hook): Use translation table data to define |
| 192 default section flags, type, attributes and alignment, when available. |
| 193 (bfd_mach_o_init_section_from_mach_o): Add TODO comment. |
| 194 (bfd_mach_o_section_type_name): Add 'symbol_stubs'. |
| 195 (bfd_mach_o_section_attribute_name): Add 'self_modifying_code'. |
| 196 (bfd_mach_o_get_section_type_from_name): Change "not-found" return |
| 197 value. |
| 198 (bfd_mach_o_tgt_seg_table): Set default NULL. |
| 199 * mach-o.h (bfd_mach_o_segment_command): Use define for name length. |
| 200 (bfd_mach_o_backend_data): Move until after contents are defined. |
| 201 (bfd_mach_o_normalize_section_name): Remove. |
| 202 (bfd_mach_o_convert_section_name_to_bfd): Declare. |
| 203 (mach_o_section_name_xlat): Declare. |
| 204 (mach_o_segment_name_xlat): Declare. |
| 205 (bfd_mach_o_section_data_for_mach_sect): Declare. |
| 206 (bfd_mach_o_section_data_for_bfd_name): Declare. |
| 207 |
| 208 2011-12-13 Shinichiro Hamaji <shinichiro.hamaji@gmail.com> |
| 209 |
| 210 * dwarf2.c (bfd_dwarf2_cleanup_debug_info): Accept stash as an |
| 211 argument like other functions to support formats other than ELF. |
| 212 * elf-bfd.h (bfd_dwarf2_cleanup_debug_info): Move to bfd-in.h. |
| 213 * elf.c (_bfd_elf_close_and_cleanup): Pass dwarf2_find_line_info |
| 214 in tdata as a parameter. |
| 215 * libbfd-in.h (bfd_dwarf2_cleanup_debug_info): Move from |
| 216 elf-bfd.h. |
| 217 * libbfd.h (bfd_dwarf2_cleanup_debug_info): Regenerate. |
| 218 * mach-o-target.c (bfd_mach_o_close_and_cleanup): Remove the |
| 219 fallback macro. |
| 220 (bfd_mach_o_find_nearest_line): Likewise. |
| 221 * mach-o.c (bfd_mach_o_find_nearest_line): Add the definition |
| 222 which calls _bfd_dwarf2_find_nearest_line. |
| 223 (bfd_mach_o_close_and_cleanup): Likewise. |
| 224 * mach-o.h (mach_o_data_struct): Add dwarf2_find_line_info. |
| 225 (bfd_mach_o_find_nearest_line): Add declaration. |
| 226 (bfd_mach_o_close_and_cleanup): Add declaration. |
| 227 |
13 2011-12-13 Tristan Gingold <gingold@adacore.com> | 228 2011-12-13 Tristan Gingold <gingold@adacore.com> |
14 | 229 |
15 * mach-o.c (bfd_mach_o_read_symtab_symbols): Make global. Remove | 230 * mach-o.c (bfd_mach_o_read_symtab_symbols): Make global. Remove |
16 prototype. | 231 prototype. |
17 (bfd_mach_o_section_get_entry_size): Make global. | 232 (bfd_mach_o_section_get_entry_size): Make global. |
18 (bfd_mach_o_section_get_nbr_indirect): Likewise. | 233 (bfd_mach_o_section_get_nbr_indirect): Likewise. |
19 (bfd_mach_o_read_symtab_strtab): Likewise. | 234 (bfd_mach_o_read_symtab_strtab): Likewise. |
20 (struct bfd_mach_o_xlat_name): Move to mach-o.h | 235 (struct bfd_mach_o_xlat_name): Move to mach-o.h |
21 (bfd_mach_o_print_flags): Move to binutils/od-macho.c | 236 (bfd_mach_o_print_flags): Move to binutils/od-macho.c |
22 (bfd_mach_o_get_name_of_null, bfd_mach_o_get_name): Likewise. | 237 (bfd_mach_o_get_name_of_null, bfd_mach_o_get_name): Likewise. |
(...skipping 3137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3160 | 3375 |
3161 For older changes see ChangeLog-2010 | 3376 For older changes see ChangeLog-2010 |
3162 | 3377 |
3163 | 3378 |
3164 Local Variables: | 3379 Local Variables: |
3165 mode: change-log | 3380 mode: change-log |
3166 left-margin: 8 | 3381 left-margin: 8 |
3167 fill-column: 74 | 3382 fill-column: 74 |
3168 version-control: never | 3383 version-control: never |
3169 End: | 3384 End: |
OLD | NEW |