WIP MachO binutils port assisted by AI I may consider upstreaming this in the future.
0

Configure Feed

Select the types of activity you want to include in your feed.

opcodes/ChangeLog * cr16-dis.c (match_opcode,make_instruction: Remove static declaration. (dwordU,wordU): Moved typedefs to opcode/cr16.h (cr16_words,cr16_allWords,cr16_currInsn): Added prefix 'cr16_'

bfd/Changelog
* config.bfd (cr16*-*-uclinux*): New target support.

include/opcode/ChangeLog
* cr16.h (dwordU,wordU): Moved typedefs from cr16-dis.c
(make_instruction,match_opcode): Added function prototypes.
(cr16_words,cr16_allWords,cr16_currInsn): Declare as extern.

Nick Clifton (Jan 2, 2013, 1:13 PM UTC) bab4becb 60c5dd93

+4641 -4574
+4 -3284
bfd/ChangeLog
··· 1 - 2012-12-23 Mike Frysinger <vapier@gentoo.org> 2 - 3 - * config.bfd (i[3-7]86-*-linux-*): Add x86_64pei_vec to 4 - targ64_selvecs. 5 - 6 - 2012-12-21 H.J. Lu <hongjiu.lu@intel.com> 7 - 8 - * elf64-x86-64.c (elf_x86_64_relocate_section): Check 9 - R_X86_64_standard instead of R_X86_64_max for unrecognized 10 - relocation. 11 - 12 - 2012-12-21 H.J. Lu <hongjiu.lu@intel.com> 13 - 14 - PR ld/14980 15 - * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Properly 16 - adjust h->plt.refcount. 17 - * elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise. 18 - 19 - 2012-12-19 H.J. Lu <hongjiu.lu@intel.com> 20 - 21 - * elf32-i386.c (elf_i386_relocate_section): Replace 22 - bfd_elf32_swap_reloc_out with elf_append_rel. 23 - (elf_i386_finish_dynamic_symbol): Likewise. 24 - 25 - * elflink.c (elf_append_rel): Call swap_reloc_out instead of 26 - swap_reloca_out. 27 - 28 - 2012-12-18 H.J. Lu <hongjiu.lu@intel.com> 29 - 30 - * elf32-i386.c (elf_i386_finish_dynamic_symbol): Reindent. 31 - 32 - 2012-12-18 Edgar E. Iglesias <edgar.iglesias@gmail.com> 33 - 34 - PR ld/14736 35 - * elf32-microblaze.c (calc_fixup): Add end range. 36 - 37 - 2012-12-18 Alan Modra <amodra@gmail.com> 38 - 39 - * elf.c (swap_out_syms): Set shndx to SHN_ABS when not one of 40 - the special MAP_* values. 41 - 42 - 2012-12-17 Roland McGrath <mcgrathr@google.com> 43 - Alan Modra <amodra@gmail.com> 44 - 45 - * elf32-arm.c (elf32_arm_size_stubs): Skip input BFDs that are 46 - not ARM ELF. 47 - 48 - 2012-12-17 Nick Clifton <nickc@redhat.com> 49 - 50 - * MAINTAINERS: Add copyright notice. 51 - * Makefile.am: Likewise. 52 - * PORTING: Likewise. 53 - * README: Likewise. 54 - * TODO: Likewise. 55 - * acinclude.m4: Likewise. 56 - * bfd.m4: Likewise. 57 - * config.bfd: Likewise. 58 - * configure.com: Likewise. 59 - * configure.host: Likewise. 60 - * configure.in: Likewise. 61 - * makefile.vms: Likewise. 62 - * warning.m4: Likewise. 63 - * elf64-hppa.c: Fix copyright notice. 64 - * Makefile.in: Regenerate. 65 - 66 - 2012-12-16 H.J. Lu <hongjiu.lu@intel.com> 67 - 68 - * elf32-i386.c (elf_i386_check_relocs): Don't check IFUNC 69 - relocations here. 70 - * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise. 71 - 72 - 2012-12-16 H.J. Lu <hongjiu.lu@intel.com> 73 - 74 - PR ld/14968 75 - * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Also check 76 - local IFUNC references. 77 - * elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise. 78 - 79 - 2012-12-14 Tom Tromey <tromey@redhat.com> 80 - 81 - * elf.c (elfcore_grok_note) <NT_FILE>: New case. 82 - 83 - 2012-12-13 H.J. Lu <hongjiu.lu@intel.com> 84 - 85 - PR ld/14956 86 - * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Check local 87 - IFUNC calls. 88 - * elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise. 89 - 90 - 2012-12-10 Edgar E. Iglesias <edgar.iglesias@gmail.com> 91 - 92 - * reloc.c (MICROBLAZE): Document new relocations 93 - * bfd-in2.h: Regenerated 94 - * libbfd.h: Regenerated 95 - * elf32-microblaze.c (microblaze_elf_howto_raw): Add TLS relocations 96 - (microblaze_elf_reloc_type_lookup): Likewise 97 - (elf32_mb_link_hash_entry): define TLS reference types 98 - (elf32_mb_link_hash_table): add TLS Local dynamic GOT entry 99 - #define has_tls_reloc if section has TLS relocs 100 - (dtprel_base), (check_unique_offset): New 101 - (microblaze_elf_output_dynamic_relocation): output simple 102 - dynamic relocation into SRELOC. 103 - (microblaze_elf_relocate_section): Accommodate TLS relocations. 104 - (microblaze_elf_check_relocs): Likewise 105 - (update_local_sym_info): New 106 - (microblaze_elf_copy_indirect_symbol): Add tls_mask. 107 - (allocate_dynrelocs): Handle TLS symbol 108 - (microblaze_elf_size_dynamic_sections): Set size and offset 109 - (microblaze_elf_finish_dynamic_symbol): Use 110 - microblaze_elf_output_dynamic_relocation 111 - 112 - 2012-12-09 H.J. Lu <hongjiu.lu@intel.com> 113 - 114 - PR binutils/14933 115 - * archive.c (bsd_write_armap): Properly check indicies bigger 116 - than 4Gb. 117 - 118 - 2012-12-07 Alan Modra <amodra@gmail.com> 119 - 120 - PR ld/14926 121 - * elf.c (_bfd_elf_map_sections_to_segments): Include elf header 122 - size when determining phdr_in_segment. 123 - 124 - 2012-12-06 Yufeng Zhang <yufeng.zhang@arm.com> 125 - 126 - * elf64-aarch64.c (elf64_aarch64_grok_prstatus): New function. 127 - (elf_backend_grok_prstatus): Define to elf64_aarch64_grok_prstatus. 128 - 129 - 2012-12-06 Alan Modra <amodra@gmail.com> 130 - 131 - * elfxx-mips.c (allocate_dynrelocs): Correct test for symbol 132 - defined in a regular file to include common symbols. 133 - 134 - 2012-12-05 Leif Ekblad <leif@rdos.net> 135 - 136 - * config.bfd: Add x86_64-*-rdos. 137 - 138 - 2012-12-05 Alan Modra <amodra@gmail.com> 139 - 140 - * elf64-ppc.c (build_plt_stub): Fix off by one error in branch 141 - to glink. 142 - 143 - 2012-12-03 Maciej W. Rozycki <macro@codesourcery.com> 144 - 145 - PR ld/10629 146 - * elfxx-mips.c (mips_elf_link_hash_table): Update comment for 147 - use_rld_obj_head. 148 - (_bfd_mips_elf_create_dynamic_sections): Always create a 149 - .rld_map section if no __rld_obj_head symbol has been seen. 150 - 151 - 2012-12-03 Maciej W. Rozycki <macro@codesourcery.com> 152 - 153 - * elf32-mips.c (mips_elf32_object_p): Return right away when the 154 - ABI is not compatible. 155 - * elfn32-mips.c (mips_elf_n32_object_p): Likewise. 156 - 157 - 2012-12-03 Maciej W. Rozycki <macro@codesourcery.com> 158 - 159 - * elf32-tilepro.c (tilepro_elf_mkobject): New function. 160 - (bfd_elf32_mkobject): New macro. 161 - 162 - 2012-12-03 Maciej W. Rozycki <macro@codesourcery.com> 163 - 164 - * elf32-mips.c (bfd_elf32_mkobject): New macro. 165 - * elf64-mips.c (bfd_elf64_mkobject): Likewise. 166 - * elfn32-mips.c (bfd_elf32_mkobject): Likewise. 167 - * elfxx-mips.h (_bfd_mips_elf_mkobject): New prototype. 168 - * elfxx-mips.c (mips_elf_obj_tdata): New struct. 169 - (mips_elf_tdata): New macro. 170 - (_bfd_mips_elf_mkobject): New function. 171 - (mips_elf_merge_obj_attributes): Report the originating input BFD 172 - on attribute conflicts. 173 - 174 - 2012-12-03 Maciej W. Rozycki <macro@codesourcery.com> 175 - 176 - * elfxx-mips.c (mips_elf_merge_obj_attributes): Correct messages 177 - for the -mdouble-float and -msingle-float cases throughout; make 178 - all the messages report the output file consistently on the 179 - left-hand side. 180 - 181 - 2012-11-29 Roland McGrath <mcgrathr@google.com> 182 - 183 - * elf-nacl.c (segment_eligible_for_headers): Disallow writable segments. 184 - 185 - 2012-11-26 Roland McGrath <mcgrathr@google.com> 186 - 187 - * elf-nacl.c (nacl_modify_segment_map): Don't crash when INFO is null. 188 - 189 - 2012-11-21 H.J. Lu <hongjiu.lu@intel.com> 190 - 191 - PR binutils/14493 192 - * elf.c (copy_elf_program_header): When rewriting program 193 - header, set the output maxpagesize to the maximum alignment 194 - of input PT_LOAD segments. 195 - 196 - 2012-11-21 Roland McGrath <mcgrathr@google.com> 197 - 198 - * elf-nacl.c (segment_nonexecutable_and_has_contents): Renamed to ... 199 - (segment_eligible_for_headers): ... this. Take new arguments 200 - MAXPAGESIZE and SIZEOF_HEADERS. Return false if the first section's 201 - start address doesn't leave space for the headers. 202 - (nacl_modify_segment_map): Update caller. 203 - 204 - 2012-11-20 H.J. Lu <hongjiu.lu@intel.com> 205 - 206 - PR ld/14862 207 - * elf-bfd.h (elf_link_hash_entry): Remove ref_dynamic_nonweak 208 - added by accident. 209 - (elf_link_add_object_symbols): Don't set nor check 210 - ref_dynamic_nonweak. 211 - 212 - 2012-11-20 Alan Modra <amodra@gmail.com> 213 - 214 - * elf32-rx.c (rx_elf_print_private_bfd_data): Warning fix. 215 - 216 - 2012-11-16 Joey Ye <joey.ye@arm.com> 217 - 218 - * elf32-arm.c (elf32_arm_final_link_relocate 219 - <case R_ARM_THM_ALU_PREL_11_0, case R_ARM_THM_PC12>): Align address of 220 - the place being relocated. 221 - (elf32_arm_final_link_relocate, case R_ARM_THM_PC8): Align address 222 - of the place being relocated and truncate addend. 223 - (Pa): New macro. 224 - 225 - 2012-11-14 Roland McGrath <mcgrathr@google.com> 226 - 227 - * elf32-arm.c (elf32_arm_nacl_plt0_entry): Use bic rather than bfc 228 - instruction for data sandboxing. 229 - 230 - 2012-11-14 Tristan Gingold <gingold@adacore.com> 231 - 232 - * mach-o.c (bfd_mach_o_read_main) 233 - (bfd_mach_o_read_source_version): New functions. 234 - (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_DATA_IN_CODE, 235 - BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS, BFD_MACH_O_LC_MAIN, 236 - BFD_MACH_O_LC_SOURCE_VERSION. 237 - * mach-o.h (bfd_mach_o_main_command) 238 - (bfd_mach_o_source_version_command): New types. 239 - (bfd_mach_o_load_command): Add fields for these new types. 240 - 241 - 2012-11-14 Tristan Gingold <gingold@adacore.com> 242 - 243 - * mach-o.c (bfd_mach_o_canonicalize_one_reloc): Add a special 244 - handling for non-scattered pairs. Update comments. 245 - 246 - 2012-11-13 Joe Seymour <jseymour@codesourcery.com> 247 - 248 - * elf.c (rewrite_elf_program_header): Allocate elf_segment_map 249 - with bfd_zalloc, instead of bfd_alloc. 250 - 251 - 2012-11-09 Nick Clifton <nickc@redhat.com> 252 - 253 - * Makefile.am (ALL_MACHINES): Add cpu-v850-rh850.lo. 254 - (ALL_MACHINES_CFILES): Add cpu-v850-rh850.c. 255 - * archures.c (bfd_arch_info): Add bfd_v850_rh850_arch. 256 - * config.bfd: Likewise. 257 - * configure.in: Add bfd_elf32_v850_rh850_vec. 258 - * cpu-v850.c: Update printed description. 259 - * cpu-v850_rh850.c: New file. 260 - * elf32-v850.c (v850_elf_check_relocs): Add support for RH850 ABI 261 - relocs. 262 - (v850_elf_perform_relocation): Likewise. 263 - (v850_elf_final_link_relocate): Likewise. 264 - (v850_elf_relocate_section): Likewise. 265 - (v850_elf_relax_section): Likewise. 266 - (v800_elf_howto_table): New. 267 - (v850_elf_object_p): Add support for RH850 ABI values. 268 - (v850_elf_final_write_processing): Likewise. 269 - (v850_elf_merge_private_bfd_data): Likewise. 270 - (v850_elf_print_private_bfd_data): Likewise. 271 - (v800_elf_reloc_map): New. 272 - (v800_elf_reloc_type_lookup): New. 273 - (v800_elf_reloc_name_lookup): New. 274 - (v800_elf_info_to_howto): New. 275 - (bfd_elf32_v850_rh850_vec): New. 276 - (bfd_arch_v850_rh850): New. 277 - * targets.c (_bfd_targets): Add bfd_elf32_v850_rh850_vec. 278 - * Makefile.in: Regenerate. 279 - * bfd-in2.h: Regenerate. 280 - * configure: Regenerate. 281 - 282 - * elf32-rx.c (describe_flags): New function. Returns a buffer 283 - containing a description of the E_FLAG_RX_... values set. 284 - (rx_elf_merge_private_bfd_data): Use it. 285 - (rx_elf_print_private_bfd_data): Likewise. 286 - (elf32_rx_machine): Skip EF_RX_CPU_RX check. 287 - (elf32_rx_special_sections): Define. 288 - (elf_backend_special_sections): Define. 289 - 290 - 2012-11-09 Edgar E. Iglesias <edgar.iglesias@gmail.com> 291 - 292 - * config.bfd: Add microblazeel-*-* 293 - * configure.in: Likewise. 294 - * configure: Regenerate. 295 - * elf32-microblaze.c (microblaze_elf_relocate_section): Add endian awareness. 296 - (microblaze_elf_merge_private_bfd_data): New. 297 - (microblaze_bfd_write_imm_value_32): New. 298 - (microblaze_bfd_write_imm_value_64): New. 299 - (microblaze_elf_relax_section): Add endian awareness. 300 - (microblaze_elf_add_symbol_hook): Define TARGET_LITTLE_NAME, 301 - TARGET_LITTLE_SYM and bfd_elf32_bfd_merge_private_bfd_data. 302 - * targets.c: Add bfd target bfd_elf32_microblazeel_vec. 303 - 304 - 2012-11-09 H.J. Lu <hongjiu.lu@intel.com> 305 - 306 - * aout-tic30.c (MY_final_link_callback): Remove trailing 307 - redundant `;'. 308 - * coff-h8500.c (extra_case): Likewise. 309 - (bfd_coff_reloc16_get_value): Likewise. 310 - * dwarf2.c (_bfd_dwarf2_cleanup_debug_info): Likewise. 311 - * elf.c (_bfd_elf_slurp_version_tables): Likewise. 312 - * elf32-frv.c (elf32_frv_relocate_section): Likewise. 313 - * elf32-v850.c (v850_elf_perform_relocation): Likewise. 314 - * opncls.c (bfd_calc_gnu_debuglink_crc32): Likewise. 315 - * plugin.c (add_symbols): Likewise. 316 - * reloc.c (bfd_check_overflow): Likewise. 317 - * vms-lib.c (_bfd_vms_lib_archive_p): Likewise. 318 - 319 - 2012-11-08 Tom Tromey <tromey@redhat.com> 320 - 321 - * elf.c (elfcore_grok_note) <NT_SIGINFO>: New case; make 322 - pseudosection. 323 - 324 - 2012-11-08 Alan Modra <amodra@gmail.com> 325 - 326 - * aclocal.m4: Regenerate. 327 - * Makefile.in: Regenerate. 328 - * po/SRC-POTFILES.in: Regenerate. 329 - 330 - 2012-11-07 H.J. Lu <hongjiu.lu@intel.com> 331 - 332 - * section.c (bfd_get_section_contents): Replace memcpy 333 - with memmove. 334 - 335 - 2012-11-07 Hans-Peter Nilsson <hp@axis.com> 336 - 337 - PR binutils/14481 338 - * aout-target.h (MY_close_and_cleanup): Make local function 339 - instead of alias of MY_bfd_free_cached_info. Also call 340 - _bfd_generic_close_and_cleanup. 341 - 342 - 2012-11-06 H.J. Lu <hongjiu.lu@intel.com> 343 - 344 - PR binutils/14813 345 - * bfdio.c (bfd_iovec): Change return type of bclose to 346 - bfd_boolean. 347 - (memory_bclose): Change return type to bfd_boolean. 348 - * cache.c (cache_bclose): Likewise. 349 - * opncls.c (opncls_bclose): Likewise. Return TRUE on success. 350 - * vms-lib.c (vms_lib_bclose): Likewise. Return TRUE. 351 - * libbfd.h: Regenerated. 352 - 353 - 2012-11-06 Tristan Gingold <gingold@adacore.com> 354 - 355 - * coff-x86_64.c (_bfd_generic_find_nearest_line_discriminator): 356 - Define as coff_find_nearest_line_discriminator. 357 - 358 - 2012-11-06 Alan Modra <amodra@gmail.com> 359 - 360 - PR binutils/14567 361 - * opncls.c (opncls_iovec): Forward declare. 362 - (_bfd_new_bfd_contained_in): If using opncls_iovec, copy iostream 363 - to new bfd. 364 - 365 - 2012-11-06 Alan Modra <amodra@gmail.com> 366 - 367 - * mach-o.c (bfd_mach_o_close_and_cleanup): Don't call 368 - _bfd_generic_close_and_cleanup for mach_o_fat archives. 369 - 370 - 2012-11-06 Alan Modra <amodra@gmail.com> 371 - 372 - * coff-tic4x.c (tic4x_coff0_vec, tic4x_coff0_beh_vec, 373 - tic4x_coff1_vec, tic4x_coff1_beh_vec, tic4x_coff2_vec, 374 - tic4x_coff2_beh_vec): Allow SEC_CODE and SEC_READONLY in 375 - section flags. 376 - * coff-ppc.c (TARGET_LITTLE_SYM): Likewise. 377 - (TARGET_BIG_SYM): Likewise. 378 - 379 - 2012-11-06 Alan Modra <amodra@gmail.com> 380 - 381 - * elf64-ppc.c (struct ppc_link_hash_table): Add dot_toc_dot. 382 - (ppc64_elf_size_stubs): Lookup ".TOC.". 383 - (ppc64_elf_relocate_section): Resolve special symbol ".TOC.". 384 - 385 - 2012-11-06 Alan Modra <amodra@gmail.com> 386 - 387 - * elf64-ppc.c (maybe_strip_output): Heed SEC_KEEP. 388 - 389 - 2012-11-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 390 - 391 - PR target/14788 392 - * elf32-s390.c (elf_s390_relocate_section): Set elf.dynobj for 393 - local ifunc symbols. 394 - * elf64-s390.c (elf_s390_relocate_section): Likewise. 395 - 396 - 2012-11-05 Alan Modra <amodra@gmail.com> 397 - 398 - * configure.in: Apply 2012-09-10 change to config.in here. 399 - 400 - 2012-11-05 Alan Modra <amodra@gmail.com> 401 - 402 - * elf64-ppc.c (ppc64_elf_edit_toc): Clear "repeat" inside 403 - loop. Really mark toc entry referring to another toc entry 404 - only if the first is used. 405 - 406 - 2012-10-30 H.J. Lu <hongjiu.lu@intel.com> 407 - 408 - * configure.in: Also handle --enable-64-bit-bfd when setting 409 - CORE_HEADER for 'i[3-7]86-*-linux-*'. 410 - 411 - 2012-10-30 Steve McIntyre <steve.mcintyre@linaro.org> 412 - 413 - * elf32-arm.c (elf32_arm_print_private_bfd_data): Recognise and 414 - display the new ARM hard-float/soft-float ABI flags for EABI_VER5 415 - (elf32_arm_post_process_headers): Add the hard-float/soft-float 416 - ABI flag as appropriate for ET_DYN/ET_EXEC in EABI_VER5. 417 - 418 - 2012-10-30 Yao Qi <yao@codesourcery.com> 419 - H.J. Lu <hongjiu.lu@intel.com> 420 - 421 - * configure.in: Set CORE_HEADER to hosts/x86-64linux.h for 422 - 'i[3-7]86-*-linux-*' if x86_64-*linux is enabled. 423 - * configure: Regenerated. 424 - 425 - * elf64-x86-64.c (elf_x86_64_write_core_note): Replace type 426 - 'prpsinfo_t' and 'prstatus_t' with 'prpsinfo64_t' and 427 - 'prstatus64_t' respectively. 428 - 429 - * hosts/x86-64linux.h (a8_uint64_t): New. 430 - (user_regsx32_struct): Renamed to ... 431 - (user_regs64_struct): This. Replace uint64_t with a8_uint64_t. 432 - (elf_gregx32_t): Renamed to ... 433 - (elf_greg64_t): This. Replace uint64_t with a8_uint64_t. 434 - (ELF_NGREGX32): Removed. 435 - (ELF_NGREG64): New. 436 - (elf_gregx32_t): Removed. 437 - (elf_greg64_t): New. 438 - (struct prstatus64_timeval): New. 439 - (elf_prstatusx32): Replace elf_gregsetx32_t with elf_gregset64_t. 440 - (elf_prstatus64): New. 441 - (elf_prpsinfo64): New. 442 - (prstatus64_t, prpsinfo64_t): New typedef. 443 - 444 - 2012-10-29 Sean Keys <skeys@ipdatasys.com> 445 - 446 - * elf32-xgate.c(elf_xgate_howto_table): Fix src and dest mask for 447 - R_XGATE_16 448 - 449 - 2012-10-29 Alan Modra <amodra@gmail.com> 450 - 451 - * elf32-ppc.c (ppc_elf_howto_raw): Correct dst_mask in 452 - R_PPC_VLE_LO16A, R_PPC_VLE_HI16A, R_PPC_VLE_HA16A, 453 - R_PPC_VLE_SDAREL_LO16A, R_PPC_VLE_SDAREL_HI16A, 454 - R_PPC_VLE_SDAREL_HA16A reloc howtos. 455 - 456 - 2012-10-26 Nick Clifton <nickc@redhat.com> 457 - 458 - * po/uk.po: Updated Ukranian translation. 459 - 460 - 2012-10-26 Alan Modra <amodra@gmail.com> 461 - 462 - PR target/14758 463 - * elf32-ppc.c (ppc_elf_reloc_type_lookup): Decode ppc64 _DS 464 - bfd_reloc values. Map to corresponding D-form relocs. 465 - (is_insn_ds_form, is_insn_qs_form): New functions. 466 - (ppc_elf_relocate_section): Validate insn with DS-form or DQ-form 467 - fields using D-form reloc. 468 - 469 - 2012-10-25 H.J. Lu <hongjiu.lu@intel.com> 470 - 471 - * elf32-i386.c (elf_i386_size_dynamic_sections): Replace 472 - _GLOBAL_OFFSET_TABLE_ lookup with htab->elf.hgot. 473 - * elf64-x86-64.c (elf_x86_64_size_dynamic_sections): Likewise. 474 - 475 - 2012-10-24 H.J. Lu <hongjiu.lu@intel.com> 476 - 477 - * compress.c (bfd_is_section_compressed): Don't decompress the 478 - section. 479 - 480 - 2012-10-23 Nathan Sidwell <nathan@codesourcery.com> 481 - 482 - * bfd-in.h (bfd_elf_stack_segment_size): Declare. 483 - * bfd-in2.h: Rebuilt. 484 - * elfxx-target.h (elf_backend_stack_align): New. 485 - (elfNN_bed): Add it. 486 - * elf-bfd.h (struct elf_backend_data): Add stack_align field. 487 - * elf.c (bfd_elf_map_sections_to_segments): Pay attention to 488 - stack_align and stacksize for PT_GNU_STACK segment. 489 - (assign_file_positions_for_non_load_sections): Set p_memsz for 490 - PT_GNU_STACK segment. 491 - (copy_elf_program_header): Copy PT_GNU_STACK size. 492 - * elflink.c (bfd_elf_stack_segment_size): New function, taken from 493 - uclinux backends. 494 - (bfd_elf_size_dynamic_sections): Determine 495 - PT_GNU_STACK requirements after calling backend. Pay attention to 496 - stacksize. 497 - * elf32-bfin.c (elf32_bfinfdpic_always_size_sections): Call 498 - bfd_elf_stack_segment_size. 499 - (elf32_bfinfdpic_modify_program_headers): Delete. 500 - (elf32_bfingfdpic_copy_private_bfd_data): Don't copy PT_GNU_STACK 501 - here. 502 - (elf_backend_stack_align): Override. 503 - (elf_backend_modify_program_headers): Don't override. 504 - * elf32-frv.c (frvfdpic_always_size_sections): Call 505 - bfd_elf_stack_segment_size. 506 - (elf32_frvfdpic_modify_program_headers): Delete. 507 - (elf32_frvfdpic_copy_private_bfd_data): Don't copy PT_GNU_STACK 508 - here. 509 - (elf_backend_stack_align): Override. 510 - (elf_backend_modify_program_headers): Don't override. 511 - * elf32-lm32.c (lm32_elf_always_size_sections): Leave 512 - PT_GNU_STACK creation to underlying elf support. Check 513 - __stacksize here for backwards compatibility, and set it if 514 - needed. 515 - (lm32_elf_modify_segment_map): Delete. 516 - (lm32_elf_modify_program_headers): Delete. 517 - (elf_backend_stack_align): Override. 518 - (elf_backend_modify_segment_map): Don't override. 519 - (elf_backend_modify_program_headers): Don't override. 520 - * elf32-sh.c (sh_elf_always_size_sections): Call 521 - bfd_elf_stack_segment_size. 522 - (sh_elf_modify_program_headers): Delete. 523 - (sh_elf_copy_private_data): Don't copy PT_GNU_STACK 524 - here. 525 - (elf_backend_stack_align): Override. 526 - (elf_backend_modify_program_headers): Don't override. 527 - * elf32-tic6x.c (elf32_tic6x_always_size_sections): Call 528 - bfd_elf_stack_segment_size. 529 - (elf32_tic6x_modify_program_headers): Delete. 530 - (elf32_tic6x_copy_private_data): Delete. 531 - (elf_backend_stack_align): Override. 532 - (bfd_elf32_bfd_copy_private_bfd_data): Don't override. 533 - (elf_backend_modify_program_headers): Don't override. 534 - 535 - 2012-10-22 Alan Modra <amodra@gmail.com> 536 - 537 - * cache.c (cache_bmmap): Don't use void* arithmetic. 538 - 539 - 2012-10-21 Alan Modra <amodra@gmail.com> 540 - 541 - * compress.c (bfd_cache_section_contents): New function. 542 - * bfd-in2.h: Regenerate. 543 - 544 - 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com> 545 - 546 - * linker.c (_bfd_generic_link_output_symbols): Handle a 547 - no-longer-global symbol entered through a plugin. 548 - 549 - 2012-10-20 Alan Modra <amodra@gmail.com> 550 - 551 - * compress.c: Reinstate 2012-10-19 change. 552 - (bfd_get_full_section_contents): Don't free unless we alloc. 553 - Use proper decompress size. Delete some vars, rename others. 554 - 555 - 2012-10-19 Tom Tromey <tromey@redhat.com> 556 - 557 - * compress.c: Revert previous patch. 558 - 559 - 2012-10-19 Tom Tromey <tromey@redhat.com> 560 - 561 - * compress.c (bfd_get_full_section_contents): Don't cache 562 - decompressed contents. 563 - 564 - 2012-10-18 Kai Tietz <ktietz@redhat.com> 565 - 566 - PR binutils/14067 567 - * coff-i386.c (bfd_target): Add section flag SEC_EXCLUDE. 568 - Allow BFD_COMPRESS and BFD_DECOMPRESS flags. 569 - * coff-x86_64.c: Likewise. 570 - * coffcode.h (DOT_ZDEBUG): New define. 571 - (sec_to_styp_flags): Check for .zdebug. 572 - (styp_to_sec_flags): Likewise. 573 - * coffgen.c (make_a_section): Handle .debug_* section 574 - compression/decompression flags. 575 - * cofflink.c (mark_relocs): Ignore relocations 576 - for a section, which isn't marked as used. 577 - (_bfd_coff_link_input_bfd): Add support of compressed 578 - debug sections. 579 - * compress.c (decompress_contents): Loop as long 580 - as there is input available and there is room for 581 - output. 582 - * bfd/pe-arm.c: Add .zdebug_ partial match entry. 583 - * pe-i386.c: Likewise. 584 - * pe-x86_64.c: Likewise. 585 - * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't clear all 586 - data-directories as this might destroy content. 587 - 588 - * coff-i386.c (_bfd_generic_find_nearest_line_discriminator): 589 - define as coff_find_nearest_line_discriminator. 590 - * libcoff-in.h (coff_find_nearest_line_discriminator): New 591 - * libcoff.h: Regenerated. 592 - * coff-x86_64.c: Likewise. 593 - * coffgen.c (coff_find_nearest_line_discriminator): New function. 594 - prototype. 595 - 596 - 2012-10-16 Joel Brobecker <brobecker@adacore.com> 597 - 598 - * coff64-rs6000.c (rs6000coff64_vec): Set _close_and_cleanup 599 - field to _bfd_archive_close_and_cleanup. 600 - (aix5coff64_vec): Likewise. 601 - 602 - 2012-10-16 Joel Brobecker <brobecker@adacore.com> 603 - 604 - * coff-rs6000.c (rs6000coff_vec): Set _close_and_cleanup 605 - field to _bfd_archive_close_and_cleanup. 606 - (pmac_xcoff_vec): Likewise. 607 - 608 - 2012-10-16 Sofiane Naci <sofiane.naci@arm.com> 609 - 610 - * elf64-aarch64.c (elf64_aarch64_tls_howto_table): Fix shift value for 611 - R_AARCH64_TLSIE_LD_GOTTPREL_PREL19, R_AARCH64_TLSLE_MOVW_TPREL_G2, 612 - R_AARCH64_TLSLE_MOVW_TPREL_G1, R_AARCH64_TLSLE_MOVW_TPREL_G1_NC, 613 - R_AARCH64_TLSLE_ADD_TPREL_HI12. 614 - (elf64_aarch64_tlsdesc_howto_table): Fix shift value for 615 - R_AARCH64_TLSDESC_LD64_PREL19 and R_AARCH64_TLSDESC_OFF_G1. 616 - (elf64_aarch64_final_link_relocate): Add signed_addend when resolving 617 - AARCH64_TLSLE_*_TPREL_* relocations. 618 - 619 - 2012-10-16 Alan Modra <amodra@gmail.com> 620 - 621 - * elf32-xtensa.c (free_section_cache): Renamed from 622 - clear_section_cache. Don't zero cache. 623 - (section_cache_section): Remove ineffectual zero of cache. 624 - Call init_section_cache instead. 625 - 626 - 2012-10-15 Doug Evans <dje@google.com> 627 - 628 - * elf.c (special_sections_d): Add comment. 629 - 630 - 2012-10-13 H.J. Lu <hongjiu.lu@intel.com> 631 - 632 - * Makefile.am (LIBDL): Replace -ldl with @lt_cv_dlopen_libs@. 633 - * configure.in (lt_cv_dlopen_libs): AC_SUBST. 634 - * Makefile.in: Regenerated. 635 - * configure: Likewise. 636 - 637 - 2012-10-08 Alan Modra <amodra@gmail.com> 638 - 639 - PR binutils/14662 640 - * elf.c (_bfd_elf_make_section_from_shdr): Treat .gdb_index as 641 - SEC_DEBUGGING. 642 - 643 - 2012-09-20 Walter Lee <walt@tilera.com> 644 - 645 - * elf32-tilepro.c (tilepro_elf_relocate_section): Adjust got 646 - relocations with value of hgot. 647 - * elfxx-tilegx.c (tilegx_elf_relocate_section): Ditto. 648 - 649 - 2012-09-19 Steve Ellcey <sellcey@mips.com> 650 - 651 - * config.bfd: Add mips*-mti-elf* target. 652 - 653 - 2012-09-18 H.J. Lu <hongjiu.lu@intel.com> 654 - 655 - PR ld/14591 656 - * elf-bfd.h (_bfd_elf_merge_symbol): Add an argument to return 657 - if the old symbol is weak. 658 - 659 - * elf32-sh-symbian.c (sh_symbian_relocate_section): Update 660 - _bfd_elf_merge_symbol call. 661 - 662 - * elflink.c (_bfd_elf_merge_symbol): Add an argument to return 663 - if the old symbol is weak. 664 - (_bfd_elf_add_default_symbol): Update _bfd_elf_merge_symbol 665 - call. 666 - (elf_link_add_object_symbols): Don't update symbol type from a 667 - weak definition. Update symbol type from a common symbol when 668 - overriding a weak symbol. 669 - 670 - 2012-09-17 H.J. Lu <hongjiu.lu@intel.com> 671 - 672 - * elf32-i386.c (elf_i386_convert_mov_to_lea): Ignore discarded 673 - section. 674 - * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Likewise. 675 - 676 - 2012-09-17 H.J. Lu <hongjiu.lu@intel.com> 677 - 678 - * elf32-i386.c (elf_i386_finish_dynamic_symbol): Replace return 679 - FALSE with abort. 680 - * elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise. 681 - 682 - 2012-09-17 Walter Lee <walt@tilera.com> 683 - 684 - * elf32-tilepro.c (tilepro_elf_relocate_section): Remove unused 685 - got_base variable. 686 - * elfxx-tilegx.c (tilegx_elf_relocate_section): Ditto. 687 - 688 - 2012-09-17 Walter Lee <walt@tilera.com> 689 - 690 - * elf32-tilepro.c (tilepro_elf_relocate_section): Fix computation 691 - of got relocations for when .got.plt section is merged with .got. 692 - * elfxx-tilegx.c (tilegx_elf_relocate_section): Ditto. 693 - 694 - 2012-09-14 David Edelsohn <dje.gcc@gmail.com> 695 - 696 - * configure: Regenerate. 697 - 698 - 2012-09-13 Anthony Green <green@moxielogic.com> 699 - 700 - * targets.c (bfd_elf32_bigmoxie_vec, bfd_elf32_littlemoxie_vec): 701 - Define. 702 - (bfd_elf32_moxie_vec): Remove. 703 - * config.bfd, configure.in: Add bi-endian support for moxie. 704 - * configure: Rebuilt. 705 - * elf32-moxie.c (TARGET_LITTLE_NAME, TARGET_LITTLE_SYM): Define. 706 - (TARGET_BIG_NAME, TARGET_BIG_SYM): Update for bi-endian support. 707 - 708 - 2012-09-12 Doug Kwan <dougkwan@google.com> 709 - 710 - * elf64-ppc.c (ppc64_elf_relocate_section): Use pre-adjusted 711 - relocation for stub lookup. 712 - 713 - 2012-09-12 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com> 714 - 715 - * bfd-in2.h: Regenerated. 716 - * elf64-aarch64.c 717 - (elf64_aarch64_howto_table): Add R_AARCH64_GOT_LD_PREL19 reloc to HOWTO. 718 - (elf64_aarch64_reloc_map): Add reloc entry. 719 - (aarch64_resolve_relocation): Likewise. 720 - (bfd_elf_aarch64_put_addend): Likewise. 721 - (aarch64_reloc_got_type): Likewise. 722 - (elf64_aarch64_final_link_relocate): Likewise. 723 - (lf64_aarch64_check_relocs): Likewise. 724 - (elf64_aarch64_check_relocs): New case for R_AARCH64_ADR_PREL_LO21 725 - reloc. 726 - * libbfd.h: Regenerated. 727 - * reloc.c (R_AARCH64_GOT_LD_PREL19): New reloc. 728 - 729 - 2012-09-10 Matthias Klose <doko@ubuntu.com> 730 - 731 - * config.in: Disable sanity check for kfreebsd. 732 - 733 - 2012-09-10 H.J. Lu <hongjiu.lu@intel.com> 734 - 735 - * configure: Regenerated. 736 - 737 - 2012-09-04 Sergey A. Guriev <sergey.a.guriev@intel.com> 738 - 739 - * cpu-ia64-opc.c (ins_cnt6a): New function. 740 - (ext_cnt6a): Ditto. 741 - (ins_strd5b): Ditto. 742 - (ext_strd5b): Ditto. 743 - (elf64_ia64_operands): Add new operand types. 744 - 745 - 2012-09-04 H.J. Lu <hongjiu.lu@intel.com> 746 - 747 - PR binutils/14493 748 - * elf.c (ignore_section_sym): Also ignore section symbols without 749 - a BFD section. 750 - 751 - 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 752 - 753 - * elf32-s390.c (elf_s390_relocate_section): Handle PLTOFF for 754 - local and global ifunc symbols. 755 - * elf64-s390.c (elf_s390_relocate_section): Likewise. 756 - 757 - 2012-09-02 H.J. Lu <hongjiu.lu@intel.com> 758 - 759 - * elf-bfd.h (elf_link_hash_table): Add hdynamic for the 760 - _DYNAMIC symbol. 761 - 762 - * elflink.c (_bfd_elf_link_create_dynamic_sections): Set 763 - hdynamic. 764 - 765 - * elf-m10300.c (_bfd_mn10300_elf_finish_dynamic_symbol): Check 766 - hdynamic instead of "_DYNAMIC". 767 - * elf32-arm.c (elf32_arm_finish_dynamic_symbol): Likewise. 768 - * elf32-cr16.c (elf32_arm_finish_dynamic_symbol): Likewise. 769 - * elf32-cris.c (elf_cris_finish_dynamic_symbol): Likewise. 770 - * elf32-hppa.c (elf32_hppa_finish_dynamic_symbol): Likewise. 771 - * elf32-i386.c (elf_i386_convert_mov_to_lea): Likewise. 772 - * elf32-lm32.c (lm32_elf_finish_dynamic_symbol): Likewise. 773 - * elf32-m32r.c (m32r_elf_finish_dynamic_symbol): Likewise. 774 - * elf32-s390.c (elf_s390_finish_dynamic_symbol): Likewise. 775 - * elf32-sh.c (sh_elf_finish_dynamic_symbol): Likewise. 776 - * elf32-tic6x.c (elf32_tic6x_finish_dynamic_symbol): Likewise. 777 - * elf32-tilepro.c (tilepro_elf_finish_dynamic_symbol): Likewise. 778 - * elf32-vax.c (elf_vax_finish_dynamic_symbol): Likewise. 779 - * elf32-xtensa.c (elf_xtensa_finish_dynamic_symbol): Likewise. 780 - * elf64-aarch64.c elf64_aarch64_finish_dynamic_symbol(): Likewise. 781 - * elf64-alpha.c (elf64_alpha_finish_dynamic_symbol): Likewise. 782 - * elf64-ia64-vms.c (elf64_ia64_finish_dynamic_symbol): Likewise. 783 - * elf64-s390.c (elf_s390_finish_dynamic_symbol): Likewise. 784 - * elf64-sh64.c (sh64_elf64_finish_dynamic_symbol): Likewise. 785 - * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Likewise. 786 - * elfnn-ia64.c (elfNN_ia64_finish_dynamic_symbol): Likewise. 787 - * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Likewise. 788 - * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_symbol): Likewise. 789 - * elfxx-tilegx.c (tilegx_elf_finish_dynamic_symbol): Likewise. 790 - 791 - * elf32-microblaze.c (microblaze_elf_finish_dynamic_symbol): Check 792 - hdynamic, hgot, hplt instead of _DYNAMIC, _GLOBAL_OFFSET_TABLE_, 793 - _PROCEDURE_LINKAGE_TABLE_. 794 - * elf32-score.c (s3_bfd_score_elf_finish_dynamic_symbol): Likewise. 795 - * elf32-score7.c (s7_bfd_score_elf_finish_dynamic_symbol): Likewise. 796 - 797 - 2012-08-31 H.J. Lu <hongjiu.lu@intel.com> 798 - 799 - * elf32-i386.c (elf_i386_convert_mov_to_lea): Don't optimize 800 - _DYNAMIC. 801 - * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Likewise. 802 - 803 - 2012-08-31 H.J. Lu <hongjiu.lu@intel.com> 804 - 805 - * elf32-i386.c (elf_i386_convert_mov_to_lea): New. 806 - (elf_i386_size_dynamic_sections): Use it on input sections. 807 - (elf_i386_relocate_section): Don't convert 808 - "mov foo@GOT(%reg), %reg" to "lea foo@GOTOFF(%reg), %reg" 809 - for local symbols here. 810 - 811 - * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): New. 812 - (elf_x86_64_size_dynamic_sections): Use it on input sections. 813 - (elf_x86_64_relocate_section): Don't convert 814 - "mov foo@GOTPCREL(%rip), %reg" to "lea foo(%rip), %reg" 815 - for local symbols here. 816 - 817 - 2012-08-30 H.J. Lu <hongjiu.lu@intel.com> 818 - 819 - * elf32-i386.c (elf_i386_relocate_section): Convert 820 - "mov foo@GOT(%reg), %reg" to "lea foo@GOTOFF(%reg), %reg" 821 - for local symbols. 822 - 823 - * elf64-x86-64.c (elf_x86_64_relocate_section): Convert 824 - "mov foo@GOTPCREL(%rip), %reg" to "lea foo(%rip), %reg" 825 - for local symbols. 826 - 827 - 2012-08-31 Alan Modra <amodra@gmail.com> 828 - 829 - PR ld/14464 830 - * elf64-ppc.c (ppc64_elf_relocate_section): Map symbols defined 831 - by a linker script in .opd to corresponding input .opd section. 832 - 833 - 2012-08-28 Maciej W. Rozycki <macro@codesourcery.com> 834 - 835 - * elf32-ppc.c (ppc_elf_relocate_section): Assert that dynindx is 836 - not minus one. 837 - * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. 838 - 839 - 2012-08-28 Maciej W. Rozycki <macro@codesourcery.com> 840 - 841 - * elflink.c (_bfd_elf_merge_symbol): Also override the version 842 - a dynamic symbol defaulted to if preempted with a hidden or 843 - internal definition. 844 - 845 - 2012-08-28 Walter Lee <walt@tilera.com> 846 - 847 - * elf32-tilepro.c (allocate_dynrelocs): Use PLT_ENTRY_SIZE as size 848 - of header. 849 - (tilepro_plt_entry_build): Account for new header size. 850 - (tilepro_elf_finish_dynamic_sections): Ditto. 851 - (tilepro_elf_plt_sym_val): Ditto. 852 - * elfxx-tilegx.c (allocate_dynrelocs): Use PLT_ENTRY_SIZE as size 853 - of header + tail. 854 - (tilegx_elf_finish_dynamic_sections): Account for new padding. 855 - 856 - 2012-08-27 Walter Lee <walt@tilera.com> 857 - 858 - * reloc.c (Add BFD_RELOC_TILEGX_IMM16_X0_HW0_PLT_PCREL, 859 - BFD_RELOC_TILEGX_IMM16_X1_HW0_PLT_PCREL, 860 - BFD_RELOC_TILEGX_IMM16_X0_HW1_PLT_PCREL, 861 - BFD_RELOC_TILEGX_IMM16_X1_HW1_PLT_PCREL, 862 - BFD_RELOC_TILEGX_IMM16_X0_HW2_PLT_PCREL, 863 - BFD_RELOC_TILEGX_IMM16_X1_HW2_PLT_PCREL, 864 - BFD_RELOC_TILEGX_IMM16_X0_HW3_PLT_PCREL, 865 - BFD_RELOC_TILEGX_IMM16_X1_HW3_PLT_PCREL, 866 - BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_PLT_PCREL, 867 - BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_PLT_PCREL, 868 - BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_PLT_PCREL, 869 - BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_PLT_PCREL, 870 - BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_PLT_PCREL, 871 - BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_PLT_PCREL): new relocations. 872 - * elfxx-tilegx.c (tilegx_elf_howto_table): Handle new relocations. 873 - (tilegx_reloc_map): Ditto. 874 - (reloc_to_create_func): Ditto. 875 - (tilegx_elf_check_relocs): Ditto. 876 - (tilegx_elf_gc_sweep_hook): Ditto. 877 - (tilegx_elf_relocate_section): Ditto. 878 - * libbfd.h: Regenerate. 879 - * bfd-in2.h: Regenerate. 880 - 881 - 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 882 - 883 - * elf32-arm.c (v8): New array. 884 - (tag_cpu_arch_combine): Add support for ARMv8 attributes. 885 - (elf32_arm_merge_eabi_attributes): Likewise. 886 - (VFP_VERSION_COUNT): New define. 887 - 888 - 2012-08-20 Tom Tromey <tromey@redhat.com> 889 - 890 - * vms-lib.c (_bfd_vms_lib_get_module): Use bfd_zmalloc for 891 - areltdata. 892 - * opncls.c (_bfd_delete_bfd): Free arelt_data. 893 - * mach-o.c (bfd_mach_o_fat_member_init): Use bfd_zmalloc for 894 - areltdata. 895 - * ecoff.c (_bfd_ecoff_slurp_armap): Use free for mapdata. 896 - * coff-rs6000.c (_bfd_xcoff_read_ar_hdr): Use bfd_zmalloc for 897 - areltdata. 898 - (xcoff_write_archive_contents_old): Likewise. 899 - (xcoff_write_archive_contents_big): Likewise. 900 - * archive64.c (bfd_elf64_archive_slurp_armap): Use free for 901 - areltdata. 902 - * archive.c (_bfd_generic_read_ar_hdr_mag): Use bfd_zmalloc and 903 - free for areltdata. 904 - (_bfd_get_elt_at_filepos): Likewise. Clear n_nfd->arelt_data on 905 - failure. 906 - (do_slurp_bsd_armap): Use bfd_zmalloc and free for areltdata. 907 - (do_slurp_coff_armap): Likewise. 908 - (_bfd_slurp_extended_name_table): Likewise. 909 - (bfd_slurp_bsd_armap_f2): Likewise. Don't leak 'mapdata'. 910 - 911 - 2012-08-17 Nick Clifton <nickc@redhat.com> 912 - 913 - * po/vi.po: Updated Vietnamese translation. 914 - 915 - 2012-08-17 Yuri Chornoivan <yurchor@ukr.net> 916 - 917 - * elf-bfd.h, * elf32-ppc.c, * elf64-ia64-vms.c, * elfnn-ia64.c, 918 - * elfxx-mips.c, * vms-alpha.c: Typo fixes. 919 - 920 - 2012-08-17 Alan Modra <amodra@gmail.com> 921 - 922 - PR binutils/14475: 923 - * archive.c (bfd_ar_hdr_from_filesystem): Revert last change. 924 - Instead malloc areltdata. 925 - 926 - 2012-08-16 Tom Tromey <tromey@redhat.com> 927 - 928 - PR binutils/14475: 929 - * archive.c (bfd_ar_hdr_from_filesystem): Allocate areltdata on 930 - 'member' BFD. Don't try to free 'ared'. 931 - 932 - 2012-08-14 Nick Clifton <nickc@redhat.com> 933 - 934 - * po/uk.po: Updated Ukranian translation. 935 - 936 - 2012-08-13 Maciej W. Rozycki <macro@codesourcery.com> 937 - 938 - * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Look up 939 - the options section in the output rather than input BFD to 940 - decide if to add a DT_MIPS_OPTIONS tag. 941 - 942 - 2012-08-13 Maciej W. Rozycki <macro@codesourcery.com> 943 - 944 - * config.bfd: Wrap mips*el-*-linux* and mips*-*-linux* into 945 - #ifdef BFD64. 946 - 947 - 2012-08-13 Ian Bolton <ian.bolton@arm.com> 948 - Laurent Desnogues <laurent.desnogues@arm.com> 949 - Jim MacArthur <jim.macarthur@arm.com> 950 - Marcus Shawcroft <marcus.shawcroft@arm.com> 951 - Nigel Stephens <nigel.stephens@arm.com> 952 - Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> 953 - Richard Earnshaw <rearnsha@arm.com> 954 - Sofiane Naci <sofiane.naci@arm.com> 955 - Tejas Belagod <tejas.belagod@arm.com> 956 - Yufeng Zhang <yufeng.zhang@arm.com> 957 - 958 - * Makefile.am: Add AArch64 files. 959 - * Makefile.in: Regenerate. 960 - * archures.c (bfd_aarch64_arch): New declaration. 961 - (bfd_archures_list): Use bfd_archures_list. 962 - * bfd-in.h (bfd_elf64_aarch64_init_maps): New declaration. 963 - (bfd_aarch64_process_before_allocation): New declaration. 964 - (bfd_elf64_aarch64_process_before_allocation): New declaration. 965 - (bfd_elf64_aarch64_set_options): New declaration. 966 - (bfd_elf64_aarch64_add_glue_sections_to_bfd): New declaration. 967 - (BFD_AARCH64_SPECIAL_SYM_TYPE_MAP): New definition. 968 - (BFD_AARCH64_SPECIAL_SYM_TYPE_TAG): New definition. 969 - (BFD_AARCH64_SPECIAL_SYM_TYPE_OTHER): New definition. 970 - (BFD_AARCH64_SPECIAL_SYM_TYPE_ANY): New definition. 971 - (bfd_is_aarch64_special_symbol_name): New declaration. 972 - (bfd_aarch64_merge_machines): New declaration. 973 - (bfd_aarch64_update_notes): New declaration. 974 - (int bfd_aarch64_get_mach_from_notes): New declaration. 975 - (elf64_aarch64_setup_section_lists): New declaration. 976 - (elf64_aarch64_next_input_section): New declaration. 977 - (elf64_aarch64_size_stubs): New declaration. 978 - (elf64_aarch64_build_stubs): New declaration. 979 - * config.bfd: Add AArch64. 980 - * configure.in: Add AArch64. 981 - * configure: Regenerate. 982 - * cpu-aarch64.c: New file. 983 - * elf-bfd.h: Add AArch64. 984 - * bfd-in2.h: Regenerate. 985 - * libbfd.h: Regenerate. 986 - * elf64-aarch64.c: New file. 987 - * reloc.c: Add AArch64 relocations. 988 - * targets.c: Add AArch64. 989 - * po/SRC-POTFILES.in: Regenerate. 990 - 991 - 2012-08-13 Maciej W. Rozycki <macro@codesourcery.com> 992 - 993 - * elfxx-mips.c (mips_elf_calculate_relocation): Fix the handling 994 - of protected symbols. 995 - 996 - 2012-08-10 Alan Modra <amodra@gmail.com> 997 - 998 - PR binutils/14444 999 - * elf.c (IS_VALID_GROUP_SECTION_HEADER) Add minsize param. 1000 - (setup_group): Adjust uses. 1001 - (bfd_section_from_shdr): Allow SHT_GROUP sections with just a flag 1002 - word. 1003 - 1004 - 2012-08-09 Nick Clifton <nickc@redhat.com> 1005 - 1006 - * po/vi.po: Updated Vietnamese translation. 1007 - 1008 - 2012-08-09 Maciej W. Rozycki <macro@codesourcery.com> 1009 - 1010 - * elfxx-mips.c (LA25_LUI_MICROMIPS_1, LA25_LUI_MICROMIPS_2): 1011 - Remove macros, folding them into... 1012 - (LA25_LUI_MICROMIPS): ... this new macro. 1013 - (LA25_J_MICROMIPS_1, LA25_J_MICROMIPS_2): Likewise into... 1014 - (LA25_J_MICROMIPS): ... this new macro. 1015 - (LA25_ADDIU_MICROMIPS_1, LA25_ADDIU_MICROMIPS_2): Likewise 1016 - into... 1017 - (LA25_ADDIU_MICROMIPS): ... this new macro. 1018 - (bfd_put_micromips_32, bfd_get_micromips_32): New functions. 1019 - (mips_elf_create_la25_stub): Use them. 1020 - (check_br32_dslot, check_br32, check_relocated_bzc): Likewise. 1021 - (_bfd_mips_elf_relax_section): Likewise. 1022 - 1023 - 2012-08-09 Alan Modra <amodra@gmail.com> 1024 - Tom Tromey <tromey@redhat.com> 1025 - 1026 - * archive.c (SECTION Archives): Update documentation. 1027 - (_bfd_delete_archive_data): Remove. 1028 - (_bfd_add_bfd_to_archive_cache): Set 'parent_cache' and 'key'. 1029 - (archive_close_worker, _bfd_archive_close_and_cleanup): New 1030 - functions. 1031 - * libbfd-in.h (struct areltdata <parent_cache, key>): New fields. 1032 - (_bfd_delete_archive_data): Don't declare. 1033 - (_bfd_archive_close_and_cleanup): Declare. 1034 - (_bfd_generic_close_and_cleanup): Redefine. 1035 - * libbfd.h: Rebuild. 1036 - * opncls.c (_bfd_delete_bfd): Don't call _bfd_delete_archive_data. 1037 - (bfd_close): Don't close nested thin archives here. 1038 - 1039 - 2012-08-07 Tom Tromey <tromey@redhat.com> 1040 - 1041 - * archive.c (_bfd_delete_archive_data): New function. 1042 - * libbfd-in.h (_bfd_delete_archive_data): Declare. 1043 - * libbfd.h: Rebuild. 1044 - * opncls.c (_bfd_delete_bfd): Call _bfd_delete_archive_data. 1045 - 1046 - 2012-08-07 Nick Clifton <nickc@redhat.com> 1047 - 1048 - * po/uk.po: Updated Ukranian translation. 1049 - 1050 - 2012-08-06 Maciej W. Rozycki <macro@codesourcery.com> 1051 - 1052 - * elflink.c (bfd_elf_record_link_assignment): Remove --defsym 1053 - symbols special case. 1054 - 1055 - 2012-08-05 Maciej W. Rozycki <macro@linux-mips.org> 1056 - 1057 - * elf32-vax.c (elf_vax_adjust_dynamic_symbol): Don't allocate 1058 - PLT slots for local symbols. 1059 - 1060 - 2012-08-03 Maciej W. Rozycki <macro@codesourcery.com> 1061 - 1062 - * elf64-mips.c (mips16_elf64_howto_table_rela): Correct src_mask 1063 - field initializers throughout. 1064 - * elfn32-mips.c (elf_mips16_howto_table_rela): Likewise. 1065 - 1066 - 2012-08-03 Maciej W. Rozycki <macro@codesourcery.com> 1067 - 1068 - * elfxx-mips.c (mips_elf_perform_relocation): Update the 1069 - cross-mode jump message. 1070 - 1071 - 2012-08-03 Maciej W. Rozycki <macro@codesourcery.com> 1072 - 1073 - * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Update the 1074 - comment on DT_MIPS_RLD_MAP. 1075 - 1076 - 2012-08-03 Tom Tromey <tromey@redhat.com> 1077 - 1078 - * opncls.c (_bfd_delete_bfd): Now static. 1079 - * libbfd-in.h (_bfd_delete_bfd): Don't declare. 1080 - * libbfd.h: Rebuild. 1081 - 1082 - 2012-08-02 Sean Keys <skeys@ipdatasys.com> 1083 - 1084 - * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Modified 1085 - conditional statment to allow suppression of mismatched bank 1086 - warning. 1087 - 1088 - 2012-08-01 Alan Modra <amodra@gmail.com> 1089 - 1090 - * dwarf2.c (struct dwarf2_debug): Add close_on_cleanup. 1091 - (_bfd_dwarf2_slurp_debug_info): Set close_on_cleanup if we open 1092 - gnu_debuglink bfd. 1093 - (_bfd_dwarf2_cleanup_debug_info): Act on close_on_cleanup. 1094 - 1095 - 2012-07-30 Nick Clifton <nickc@redhat.com> 1096 - 1097 - * po/bfd.pot: Updated template. 1098 - * po/es.po: Updated Spanish translation. 1099 - * po/fi.po: Updated Finnish translation. 1100 - * po/fr.po: Updated French translation. 1101 - * po/ru.po: Updated Russian translation. 1102 - * po/uk.po: Updated Ukranian translation. 1103 - 1104 - 2012-07-27 Mike Frysinger <vapier@gentoo.org> 1105 - 1106 - * configure.in (AC_INIT): Call with the args bfd and 2.22.52. 1107 - (AM_INIT_AUTOMAKE): Remove args. 1108 - * configure: Regenerate. 1109 - 1110 - 2012-07-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 1111 - 1112 - * cpu-s390.c (bfd_s390_64_arch, bfd_s390_arch): Pick the default 1113 - arch depending on the target size. 1114 - 1115 - 2012-07-27 Tristan Gingold <gingold@adacore.com> 1116 - 1117 - * configure.in: Bump version to 2.23.51 1118 - * configure: Regenerate. 1119 - 1120 - 2012-07-26 Teresa Johnson <tejohnson@google.com> 1121 - 1122 - * bfd/dwarf2.c (find_line): Initialize discriminator_ptr 1123 - if it is non-NULL. 1124 - 1125 - 2012-07-26 Meador Inge <meadori@codesourcery.com> 1126 - Nick Clifton <nickc@redhat.com> 1127 - 1128 - PR ld/14397 1129 - * elf32-arm.c (elf32_arm_finish_dynamic_sections): Report an error 1130 - if a required section is missing from the linker script. 1131 - 1132 - 2012-07-24 Jan Waclawek <konfera@efton.sk> 1133 - PR 13899 1134 - * elf32-avr.c (elf32_avr_relax_delete_bytes): Call 1135 - _bfd_elf_link_read_relocs with keep_memory as TRUE. 1136 - 1137 - 2012-07-24 Teresa Johnson <tejohnson@google.com> 1138 - 1139 - * bfd.c (bfd_find_nearest_line_discriminator): New macro. 1140 - * coff-rs6000.c: Init _bfd_find_nearest_line_discriminator. 1141 - * coff64-rs6000.c: Likewise. 1142 - * dwarf2.c (struct line_info): Add discriminator field. 1143 - (add_line_info): Fill in new discriminator field. 1144 - (decode_line_info): Record discriminator information instead 1145 - of ignoring it. 1146 - (lookup_address_in_line_info_table): Return discriminator field if 1147 - requested. 1148 - (comp_unit_find_nearest_line): Add discriminator argument. 1149 - (find_line): Likewise. 1150 - (_bfd_dwarf2_find_nearest_line): Likewise. 1151 - (_bfd_dwarf2_find_line): Likewise. 1152 - * elf-bfd.h (_bfd_elf_find_nearest_line_discriminator): New. 1153 - (_bfd_elf_find_line_discriminator): Likewise. 1154 - (_bfd_generic_find_nearest_line_discriminator): Likewise. Defined. 1155 - * elf.c (_bfd_elf_find_nearest_line): Change to a wrapper 1156 - that invokes _bfd_elf_find_nearest_line_discriminator with correct 1157 - arguments. 1158 - (_bfd_elf_find_nearest_line_discriminator): New. 1159 - (_bfd_elf_find_line): Change to a wrapper 1160 - that invokes _bfd_elf_find_line_discriminator with correct 1161 - arguments. 1162 - (_bfd_elf_find_line_discriminator): New. 1163 - * coffgen.c (coff_find_nearest_line_with_names): Handle 1164 - new discriminator argument. 1165 - * elf32-arm.c (elf32_arm_find_nearest_line): Likewise. 1166 - * elf64-alpha.c (elf64_alpha_find_nearest_line): Likewise. 1167 - * elfxx-mips.c (_bfd_mips_elf_find_nearest_line): Likewise. 1168 - * mach-o.c (bfd_mach_o_find_nearest_line): Likewise. 1169 - * libbfd-in.h (_bfd_dwarf2_find_nearest_line): Add discriminator 1170 - argument. 1171 - (_bfd_dwarf2_find_line): Likewise. 1172 - (_bfd_generic_find_nearest_line_discriminator): New. 1173 - * libbfd.c (_bfd_generic_find_nearest_line_discriminator): New. 1174 - * bfd-in2.h: Regenerated. 1175 - * libbfd.h: Likewise. 1176 - * targets.c (BFD_JUMP_TABLE_SYMBOLS): Initialize 1177 - _bfd_find_nearest_line_discriminator with 1178 - _bfd_generic_find_nearest_line_discriminator. 1179 - (bfd_target): Add _bfd_find_nearest_line_discriminator. 1180 - 1181 - 2012-07-24 Sean Keys <skeys@ipdatasys.com> 1182 - 1183 - * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Added code 1184 - that enables the linker to offset addresses, when linking against 1185 - symbols from the XGATE processor and vice versa. 1186 - 1187 - 2012-07-23 Nick Clifton <nickc@redhat.com> 1188 - 1189 - * cisco-core.c (cisco_core_file_failing_command): Make static. 1190 - (cisco_core_file_failing_signal): Make static. 1191 - 1192 - 2012-07-18 H.J. Lu <hongjiu.lu@intel.com> 1193 - 1194 - * bfd-in2.h: Regenerated. 1195 - 1196 - 2012-07-18 Nicolàs Alejandro Di Risio <sheeva@tiscali.it> 1197 - 1198 - PR binutils/14335 1199 - * section.c: Fix a typo in comments. 1200 - 1201 - 2012-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 1202 - 1203 - * elf64-s390.c: Include elf-s390-common.c. 1204 - (R_390_IRELATIVE): New reloc. 1205 - (elf_s390_reloc_type_lookup): Support R_390_IRELATIVE. 1206 - (RELA_ENTRY_SIZE): New macro. 1207 - (elf_s390_link_hash_entry): New fields ifunc_resolver_address and 1208 - *ifunc_resolver_section. 1209 - (struct plt_entry): New struct. 1210 - (struct elf_s390_obj_tdata): New field local_plt. 1211 - (elf_s390_local_plt): New macro. 1212 - (struct elf_s390_link_hash_table): New field irelifunc. 1213 - (ELF64): New macro. 1214 - (link_hash_newfunc): Initialize new fields. 1215 - (elf_s390_check_relocs): Handle IFUNC symbols. 1216 - (elf_s390_adjust_dynamic_symbol): Don't do anything for IFUNC 1217 - symbols. 1218 - (allocate_dynrelocs): Call s390_elf_allocate_ifunc_dyn_relocs for 1219 - IFUNC symbols. 1220 - (elf_s390_size_dynamic_sections): Handle IFUNC symbols. 1221 - (elf_s390_relocate_section): Likewise. 1222 - (elf_s390_finish_dynamic_symbol): Likewise. 1223 - (elf_s390_finish_dynamic_sections): Handle local IFUNC symbols. 1224 - (elf_s390_finish_ifunc_symbol): New function. 1225 - (elf_s390_gc_sweep_hook): Handle local plt entries. 1226 - (elf_backend_add_symbol_hook): Define. 1227 - * elf32-s390.c: See elf64-s390.c changes. 1228 - * elf-s390-common.c: New file. 1229 - * bfd-in2.h (BFD_RELOC_390_IRELATIVE): New enum field. 1230 - * libbfd.h (BFD_RELOC_390_IRELATIVE): New entry for 1231 - BFD_RELOC_390_IRELATIVE. 1232 - * reloc.c (BFD_RELOC_390_IRELATIVE): Document new relocation. 1233 - 1234 - 2012-07-13 Nick Clifton <nickc@redhat.com> 1235 - 1236 - * aix386-core.c: Remove use of PTR and PARAMS macros. 1237 - * archive.c: Likewise. 1238 - * cache.c: Likewise. 1239 - * cisco-core.c: Likewise. 1240 - * coff-alpha.c: Likewise. 1241 - * coff-apollo.c: Likewise. 1242 - * coff-aux.c: Likewise. 1243 - * coff-h8300.c: Likewise. 1244 - * coff-h8500.c: Likewise. 1245 - * coff-i386.c: Likewise. 1246 - * coff-i960.c: Likewise. 1247 - * coff-ia64.c: Likewise. 1248 - * coff-m68k.c: Likewise. 1249 - * coff-m88k.c: Likewise. 1250 - * coff-mcore.c: Likewise. 1251 - * coff-mips.c: Likewise. 1252 - * coff-or32.c: Likewise. 1253 - * coff-ppc.c: Likewise. 1254 - * coff-rs6000.c: Likewise. 1255 - * coff-sh.c: Likewise. 1256 - * coff-sparc.c: Likewise. 1257 - * coff-stgo32.c: Likewise. 1258 - * coff-tic30.c: Likewise. 1259 - * coff-tic4x.c: Likewise. 1260 - * coff-tic54x.c: Likewise. 1261 - * coff-tic80.c: Likewise. 1262 - * coff-w65.c: Likewise. 1263 - * cofflink.c: Likewise. 1264 - * cpu-arc.c: Likewise. 1265 - * cpu-cris.c: Likewise. 1266 - * cpu-h8500.c: Likewise. 1267 - * cpu-i960.c: Likewise. 1268 - * cpu-msp430.c: Likewise. 1269 - * cpu-ns32k.c: Likewise. 1270 - * cpu-powerpc.c: Likewise. 1271 - * cpu-rs6000.c: Likewise. 1272 - * cpu-tic4x.c: Likewise. 1273 - * cpu-w65.c: Likewise. 1274 - * ecoff.c: Likewise. 1275 - * ecofflink.c: Likewise. 1276 - * elf-m10200.c: Likewise. 1277 - * elf32-bfin.c: Likewise. 1278 - * elf32-cris.c: Likewise. 1279 - * elf32-crx.c: Likewise. 1280 - * elf32-fr30.c: Likewise. 1281 - * elf32-frv.c: Likewise. 1282 - * elf32-h8300.c: Likewise. 1283 - * elf32-i960.c: Likewise. 1284 - * elf32-m32c.c: Likewise. 1285 - * elf32-m68hc11.c: Likewise. 1286 - * elf32-m68hc12.c: Likewise. 1287 - * elf32-m68hc1x.c: Likewise. 1288 - * elf32-m68k.c: Likewise. 1289 - * elf32-mcore.c: Likewise. 1290 - * elf32-rl78.c: Likewise. 1291 - * elf32-rx.c: Likewise. 1292 - * elf32-s390.c: Likewise. 1293 - * elf32-vax.c: Likewise. 1294 - * elf64-alpha.c: Likewise. 1295 - * elf64-mmix.c: Likewise. 1296 - * elf64-s390.c: Likewise. 1297 - * elf64-sparc.c: Likewise. 1298 - * elfnn-ia64.c: Likewise. 1299 - * elfxx-mips.c: Likewise. 1300 - * elfxx-sparc.c: Likewise. 1301 - * hash.c: Likewise. 1302 - * hp300hpux.c: Likewise. 1303 - * hppabsd-core.c: Likewise. 1304 - * hpux-core.c: Likewise. 1305 - * i386dynix.c: Likewise. 1306 - * i386linux.c: Likewise. 1307 - * i386lynx.c: Likewise. 1308 - * i386mach3.c: Likewise. 1309 - * i386msdos.c: Likewise. 1310 - * i386os9k.c: Likewise. 1311 - * irix-core.c: Likewise. 1312 - * lynx-core.c: Likewise. 1313 - * m68klinux.c: Likewise. 1314 - * mach-o.h: Likewise. 1315 - * mipsbsd.c: Likewise. 1316 - * netbsd-core.c: Likewise. 1317 - * nlm32-i386.c: Likewise. 1318 - * osf-core.c: Likewise. 1319 - * pc532-mach.c: Likewise. 1320 - * pef.c: Likewise. 1321 - * ppcboot.c: Likewise. 1322 - * ptrace-core.c: Likewise. 1323 - * reloc16.c: Likewise. 1324 - * sco5-core.c: Likewise. 1325 - * som.h: Likewise. 1326 - * sparclinux.c: Likewise. 1327 - * sparclynx.c: Likewise. 1328 - * ticoff.h: Likewise. 1329 - * trad-core.c: Likewise. 1330 - * vms-lib.c: Likewise. 1331 - * xsym.h: Likewise. 1332 - 1333 - 2012-07-09 Alan Modra <amodra@gmail.com> 1334 - 1335 - PR ld/14323 1336 - * elflink.c (elf_sort_symbol): Sort by size too. 1337 - (elf_link_add_object_symbols <weakdefs>): Simplify binary search. 1338 - Do not depend on ordering of symbol aliases. Match largest size. 1339 - 1340 - 2012-07-03 H.J. Lu <hongjiu.lu@intel.com> 1341 - 1342 - * elf.c (assign_section_numbers): Check if number of sections 1343 - >= SHN_LORESERVE. 1344 - * elfcode.h (elf_object_p): Likewise. 1345 - 1346 - 2012-07-03 Nick Clifton <nickc@redhat.com> 1347 - 1348 - * archive.c (bsd_write_armap): Catch attempts to create an archive 1349 - with indicies bigger than 4Gb. 1350 - (coff_write_armap): Likewise. 1351 - 1352 - 2012-07-03 H.J. Lu <hongjiu.lu@intel.com> 1353 - 1354 - PR binutils/14319 1355 - * elf.c (_bfd_elf_make_section_from_shdr): Don't compress empty 1356 - debug section. 1357 - 1358 - 2012-07-03 H.J. Lu <hongjiu.lu@intel.com> 1359 - 1360 - PR ld/3351 1361 - * elflink.c (_bfd_elf_update_dynamic_flags): New. 1362 - (_bfd_elf_merge_symbol): Update both real and indirect symbol 1363 - dynamic flags. 1364 - (_bfd_elf_add_default_symbol): Make the real symbol dynamic if 1365 - the indirect symbol is defined in a shared library. 1366 - (elf_link_add_object_symbols): Likewise. If the indirect 1367 - symbol has been forced local, don't make the real symbol 1368 - dynamic. 1369 - (elf_link_check_versioned_symbol): Check indirect symbol. 1370 - (elf_link_output_extsym): Use real symbol definition when 1371 - reporting indirect symbol error. Check version info for 1372 - dynamic versioned symbol. 1373 - 1374 - 2012-07-03 Alan Modra <amodra@gmail.com> 1375 - 1376 - PR ld/14207 1377 - * elf.c (assign_file_positions_for_load_sections): Remove assertions 1378 - that only PT_LOAD headers include file header and section headers. 1379 - (assign_file_positions_for_non_load_sections): Similarly don't 1380 - assert PT_GNU_RELRO header does not include file and section headers. 1381 - Compare first section vma rather than PT_LOAD p_vaddr against 1382 - relro_start when looking for PT_LOAD covering PT_GNU_RELRO. Replace 1383 - abort with assertion. 1384 - 1385 - 2012-07-02 Alan Modra <amodra@gmail.com> 1386 - 1387 - * elf32-m32c.c (m32c_elf_check_relocs): Use bfd_make_section 1388 - "anyway" variant when creating .plt. 1389 - (m32c_elf_relax_plt_section): Remove redundant test and unused param. 1390 - (m32c_elf_relax_section): Test SEC_LINKER_CREATED before calling 1391 - m32c_elf_relax_plt_section. 1392 - * elfxx-mips.c (mips_elf_create_got_section): Use make anyway variant 1393 - when creating .got and .got.plt. 1394 - (_bfd_mips_elf_final_link): Likewise for .rtproc, and use 1395 - bfd_get_linker_section. 1396 - * sunos.c: Similarly throughout. 1397 - 1398 - 2012-07-01 Andreas Schwab <schwab@linux-m68k.org> 1399 - 1400 - * elf.c (_bfd_elf_make_section_from_shdr): Fix typo in error 1401 - message. 1402 - 1403 - 2012-06-29 H.J. Lu <hongjiu.lu@intel.com> 1404 - 1405 - * elf64-x86-64.c (elf_x86_64_relocate_section): Return FALSE 1406 - on unresolvable relocation. 1407 - 1408 - 2012-06-29 H.J. Lu <hongjiu.lu@intel.com> 1409 - 1410 - * archive.c (_bfd_compute_and_write_armap): Simplify global 1411 - symbol handling. 1412 - 1413 - 2012-06-29 Nick Clifton <nickc@redhat.com> 1414 - 1415 - PR ld/14189 1416 - * elf32-arm.c (elf32_arm_check_relocs): Do not increment refcount 1417 - for locally bound symbols. 1418 - 1419 - 2012-06-29 Alan Modra <amodra@gmail.com> 1420 - 1421 - * section.c (bfd_get_linker_section): New function. 1422 - * elf32-arm.c: When retrieving SEC_LINKER_CREATED sections, use 1423 - the above throughout rather than bfd_get_section_by_name. Use 1424 - bfd_make_section_anyway rather than bfd_make_section when creating 1425 - them. 1426 - * elf32-bfin.c: Likewise. 1427 - * elf32-cr16.c: Likewise. 1428 - * elf32-cris.c: Likewise. 1429 - * elf32-frv.c: Likewise. 1430 - * elf32-hppa.c: Likewise. 1431 - * elf32-i370.c: Likewise. 1432 - * elf32-i386.c: Likewise. 1433 - * elf32-lm32.c: Likewise. 1434 - * elf32-m32c.c: Likewise. 1435 - * elf32-m32r.c: Likewise. 1436 - * elf32-m68k.c: Likewise. 1437 - * elf32-microblaze.c: Likewise. 1438 - * elf32-ppc.c: Likewise. 1439 - * elf32-rl78.c: Likewise. 1440 - * elf32-s390.c: Likewise. 1441 - * elf32-score.c: Likewise. 1442 - * elf32-score7.c: Likewise. 1443 - * elf32-sh.c: Likewise. 1444 - * elf32-tic6x.c: Likewise. 1445 - * elf32-tilepro.c: Likewise. 1446 - * elf32-vax.c: Likewise. 1447 - * elf32-xstormy16.c: Likewise. 1448 - * elf32-xtensa.c: Likewise. 1449 - * elf64-alpha.c: Likewise. 1450 - * elf64-hppa.c: Likewise. 1451 - * elf64-ia64-vms.c: Likewise. 1452 - * elf64-ppc.c: Likewise. 1453 - * elf64-s390.c: Likewise. 1454 - * elf64-sh64.c: Likewise. 1455 - * elf64-sparc.c: Likewise. 1456 - * elf64-x86-64.c: Likewise. 1457 - * elfnn-ia64.c: Likewise. 1458 - * elfxx-mips.c: Likewise. 1459 - * elfxx-sparc.c: Likewise. 1460 - * elfxx-tilegx.c: Likewise. 1461 - * elflink.c: Likewise. 1462 - * elf-vxworks.c: Likewise. 1463 - * elf-m10300.c: Likewise. Also make use of htab plt, got and 1464 - gotplt shortcuts. 1465 - * bfd-in2.h: Regenerate. 1466 - * elf32-lm32.c (lm32_elf_check_relocs): Use the correct bfd when 1467 - calling create_rofixup_section. 1468 - * elflink.c (bfd_elf_final_link): Simplify test for .dynstr. 1469 - 1470 - 2012-06-29 Alan Modra <amodra@gmail.com> 1471 - 1472 - * elf32-sh.c (sh_elf_create_dynamic_sections): Don't create .rela 1473 - section for bss type sections, except for .rela.bss. 1474 - * elf-m10300.c (_bfd_mn10300_elf_create_dynamic_sections): Likewise. 1475 - * elf32-cr16.c (_bfd_cr16_elf_create_dynamic_sections): Likewise. 1476 - * elf32-lm32.c (lm32_elf_create_dynamic_sections): Likewise. 1477 - * elf32-m32r.c (m32r_elf_create_dynamic_sections): Likewise. 1478 - * elf64-sh64.c (sh64_elf64_create_dynamic_sections): Likewise. 1479 - 1480 - 2012-06-28 Roland McGrath <mcgrathr@google.com> 1481 - 1482 - * elf32-arm.c (elf32_arm_populate_plt_entry): Use int32_t for 1483 - displacement calculation in nacl_p case. 1484 - 1485 - 2012-06-28 Nick Clifton <nickc@redhat.com> 1486 - 1487 - * po/uk.po: New Ukranian translation. 1488 - * configure.in (ALL_LINGUAS): Add uk. 1489 - * configure: Regenerate. 1490 - 1491 - 2012-06-26 Alan Modra <amodra@gmail.com> 1492 - 1493 - * elf64-ppc.c (ppc64_elf_next_toc_section): Don't error if input 1494 - file has multiple .got/.toc sections and all don't fit in 1495 - current toc group. 1496 - 1497 - 2012-06-22 Roland McGrath <mcgrathr@google.com> 1498 - 1499 - * elf.c (assign_file_positions_for_non_load_sections): Define 1500 - __ehdr_start symbol if it's referenced and there's a PT_LOAD 1501 - segment that covers both the file and program headers. 1502 - 1503 - 2012-06-22 Andreas Schwab <schwab@linux-m68k.org> 1504 - 1505 - * elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Don't make 1506 - _GLOBAL_OFFSET_TABLE_ and _DYNAMIC absolute. 1507 - 1508 - 2012-06-22 Alan Modra <amodra@gmail.com> 1509 - 1510 - * elf64-ppc.c (ppc64_elf_func_desc_adjust): Don't emit out-of-line 1511 - save/restore functions when relocatable. Make "funcs" static. 1512 - 1513 - 2012-06-18 Hans-Peter Nilsson <hp@axis.com> 1514 - 1515 - * elf32-cris.c (cris_elf_plt_sym_val): Rewrite to work in presence 1516 - of merged .got and .got.plt entries. 1517 - 1518 - 2012-06-18 John Szakmeister <john@szakmeister.net> 1519 - 1520 - * elf32-arm.c (elf32_arm_final_link_relocate): Correct return value. 1521 - 1522 - 2012-06-17 Hans-Peter Nilsson <hp@axis.com> 1523 - 1524 - * elf32-cris.c (cris_elf_relocate_section): <R_CRIS_32_IE> 1525 - <R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL>: Handle references to 1526 - thread common symbols. 1527 - 1528 - 2012-06-13 Nick Clifton <nickc@redhat.com> 1529 - 1530 - * elf32-arm.c (bfd_arm_get_mach_from_attributes): New function. 1531 - (elf32_arm_object_p): If the machine number could not be deduced 1532 - from the notes, call bfd_arm_get_mach_from_attributes to get the 1533 - number from the attributes. 1534 - 1535 - 2012-06-12 H.J. Lu <hongjiu.lu@intel.com> 1536 - 1537 - PR bfd/14207 1538 - * elf.c (assign_file_positions_for_non_load_sections): Abort if 1539 - PT_GNU_RELRO segment doesn't fit in PT_LOAD segment. 1540 - 1541 - 2012-06-12 Alan Modra <amodra@gmail.com> 1542 - 1543 - PR ld/14207 1544 - * elf.c (_bfd_elf_map_sections_to_segments): Disregard bss type 1545 - sections at end of PT_LOAD segment when searching for segment 1546 - that contains end of relro extent. 1547 - 1548 - 2012-06-11 H.J. Lu <hongjiu.lu@intel.com> 1549 - 1550 - * elf.c (assign_file_positions_for_non_load_sections): Reindent. 1551 - 1552 - 2012-06-11 H.J. Lu <hongjiu.lu@intel.com> 1553 - 1554 - * elf.c (_bfd_elf_map_sections_to_segments): Reindent. 1555 - 1556 - 2012-06-06 Alan Modra <amodra@gmail.com> 1557 - 1558 - * elflink.c (elf_link_input_bfd): Provide a file symbol for 1559 - each input file with local syms, if the input lacks such. 1560 - (bfd_elf_final_link): Add a file symbol to mark end of locals 1561 - for which we can associate with input files. 1562 - (struct elf_final_link_info): Add filesym_count field. 1563 - (struct elf_outext_info): Add need_second_pass and second_pass. 1564 - (elf_link_output_extsym): Detect symbols defined in the output 1565 - file, emit them on second pass over locals. 1566 - 1567 - 2012-06-04 Jan Kratochvil <jan.kratochvil@redhat.com> 1568 - 1569 - * bfd-in.h (bfd_elf_bfd_from_remote_memory): Make LEN argument 1570 - of target_read_memory as bfd_size_type. 1571 - * bfd-in2.h: Regenerate. 1572 - * elf-bfd.h (elf_backend_bfd_from_remote_memory): Make LEN 1573 - argument of target_read_memory as bfd_size_type. 1574 - (_bfd_elf32_bfd_from_remote_memory): Likewise. 1575 - (_bfd_elf64_bfd_from_remote_memory): Likewise. 1576 - * elf.c (bfd_elf_bfd_from_remote_memory): Likewise. 1577 - * elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): Likewise. 1578 - 1579 - 2012-06-03 Alan Modra <amodra@gmail.com> 1580 - 1581 - PR binutils/13897 1582 - * elf.c (elf_find_function): Cache last function sym info. 1583 - (_bfd_elf_maybe_function_sym): Return function size, pass in 1584 - section of interest. 1585 - * elf-bfd.h (struct elf_backend_data <maybe_function_sym>): Likewise. 1586 - (_bfd_elf_maybe_function_sym): Likewise. 1587 - * elf64-ppc.c (ppc64_elf_maybe_function_sym): Likewise. 1588 - (opd_entry_value): Add in_code_sec param. Revert caching code. 1589 - Return -1 if in_code_sec and function found in wrong section. 1590 - Update all calls. 1591 - 1592 - 2012-06-01 Siddhesh Poyarekar <siddhesh@redhat.com> 1593 - 1594 - * bfd-in.h (bfd_elf_bfd_from_remote_memory): Make LEN argument 1595 - of target_read_memory as size_t. 1596 - * bfd-in2.h: Regenerate. 1597 - * elf-bfd.h (elf_backend_bfd_from_remote_memory): Make LEN 1598 - argument of target_read_memory as size_t. 1599 - (_bfd_elf32_bfd_from_remote_memory): Likewise. 1600 - (_bfd_elf64_bfd_from_remote_memory): Likewise. 1601 - * elf.c (bfd_elf_bfd_from_remote_memory): Likewise. 1602 - * elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): Likewise. 1603 - 1604 - 2012-06-01 Alan Modra <amodra@gmail.com> 1605 - 1606 - PR binutils/13897 1607 - * elf64-ppc.c (opd_entry_value): Rewrite cache code. 1608 - 1609 - 2012-05-29 Tom Tromey <tromey@redhat.com> 1610 - 1611 - * opncls.c (bfd_fopen): Always close fd on failure. 1612 - (bfd_fdopenr): Likewise. 1613 - 1614 - 2012-05-27 Alan Modra <amodra@gmail.com> 1615 - 1616 - PR ld/14170 1617 - * elflink.c (_bfd_elf_merge_symbol): When a symbol defined in 1618 - a dynamic library finds a new instance with non-default 1619 - visibility in a regular object, correctly handle symbols 1620 - already on the undefs list and undo dynamic symbol state when 1621 - the new symbol is hidden or internal. 1622 - 1623 - 2012-05-25 H.J. Lu <hongjiu.lu@intel.com> 1624 - 1625 - * elf32-i386.c (elf_i386_create_dynamic_sections): Don't use 1626 - dynamic_sec_flags to create PLT .eh_frame section. 1627 - * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Likewise. 1628 - 1629 - 2012-05-25 Alan Modra <amodra@gmail.com> 1630 - 1631 - PR ld/13909 1632 - * elf-eh-frame.c (_bfd_elf_eh_frame_present): New function. 1633 - (_bfd_elf_maybe_strip_eh_frame_hdr): Use it here. 1634 - * elf-bfd.h (_bfd_elf_eh_frame_present): Declare. 1635 - * elflink.c (bfd_elf_size_dynamic_sections): Let the backend 1636 - size dynamic sections before stripping eh_frame_hdr. 1637 - (bfd_elf_gc_sections): Handle multiple .eh_frame sections. 1638 - * elf32-ppc.c (ppc_elf_size_dynamic_sections): Drop glink_eh_frame 1639 - if no other .eh_frame sections exist. 1640 - * elf64-ppc.c (ppc64_elf_size_stubs): Likewise. 1641 - * elf32-i386.c (elf_i386_create_dynamic_sections): Don't size 1642 - or alloc plt_eh_frame here.. 1643 - (elf_i386_size_dynamic_sections): ..do it here instead. Don't 1644 - specially keep sgotplt, iplt, tgotplt, sdynbss for symbols. 1645 - (elf_i386_finish_dynamic_sections): Check plt_eh_frame->contents 1646 - before writing plt offset. 1647 - * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Don't size 1648 - or alloc plt_eh_frame here.. 1649 - (elf_x86_64_size_dynamic_sections): ..do it here instead. 1650 - (elf_x86_64_finish_dynamic_sections): Check plt_eh_frame->contents 1651 - before writing plt offset. 1652 - 1653 - 2012-05-24 Alan Modra <amodra@gmail.com> 1654 - 1655 - PR ld/14158 1656 - * elf64-ppc.c (ppc64_elf_size_stubs): Round up glink_eh_frame 1657 - size to output section alignment. 1658 - (ppc64_elf_build_stubs): Likewise, and extend last FDE to cover. 1659 - 1660 - 2012-05-23 Alan Modra <amodra@gmail.com> 1661 - 1662 - * elf-eh-frame.c (_bfd_elf_maybe_strip_eh_frame_hdr): Handle 1663 - BFDs with multiple .eh_frame sections. 1664 - 1665 - 2012-05-23 Alan Modra <amodra@gmail.com> 1666 - 1667 - PR ld/13909 1668 - * elflink.c (bfd_elf_discard_info): Don't ignore dynamic BFDs. 1669 - 1670 - 2012-05-22 H.J. Lu <hongjiu.lu@intel.com> 1671 - 1672 - PR ld/13909 1673 - * elf32-i386.c (elf_i386_create_dynamic_sections): Revert the 1674 - last change. 1675 - * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Likewise. 1676 - 1677 - 2012-05-22 Alan Modra <amodra@gmail.com> 1678 - 1679 - * elflink.c (bfd_elf_discard_info): Look for next .eh_frame if 1680 - first one is zero size or discarded. 1681 - * elf32-ppc.c (ppc_elf_size_dynamic_sections): Set most of 1682 - glink_eh_frame contents here.. 1683 - (ppc_elf_finish_dynamic_sections): ..rather than here. Just set 1684 - offset to .glink. 1685 - 1686 - 2012-05-22 H.J. Lu <hongjiu.lu@intel.com> 1687 - 1688 - PR ld/13909 1689 - * elf32-i386.c (elf_i386_create_dynamic_sections): Create PLT 1690 - eh_frame section if there is an input .eh_frame section. 1691 - * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Likewise. 1692 - 1693 - 2012-05-22 H.J. Lu <hongjiu.lu@intel.com> 1694 - 1695 - PR ld/14105 1696 - * elf32-i386.c (elf_i386_create_dynamic_sections): Always 1697 - create PLT eh_frame section with SEC_LINKER_CREATED. 1698 - * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Likewise. 1699 - 1700 - 2012-05-22 Alan Modra <amodra@gmail.com> 1701 - 1702 - * elflink.c (bfd_elf_discard_info): Handle multiple .eh_frame 1703 - sections attached to a BFD. 1704 - * section.c (bfd_get_section_by_name): Rewrite description. 1705 - (bfd_get_next_section_by_name): New function. 1706 - * bfd-in2.h: Regenerate. 1707 - 1708 - 2012-05-21 Andreas Schwab <schwab@linux-m68k.org> 1709 - 1710 - * elf32-m68k.c (elf_m68k_grok_prstatus): New function. 1711 - (elf_m68k_grok_psinfo): New function. 1712 - (elf_backend_grok_prstatus): Define. 1713 - (elf_backend_grok_psinfo): Define. 1714 - 1715 - 2012-05-19 Maciej W. Rozycki <macro@linux-mips.org> 1716 - 1717 - * elf64-mips.c (elf_backend_got_header_size): Correct definition. 1718 - * elfxx-mips.c (_bfd_mips_elf_adjust_dynamic_symbol): Use the ELF 1719 - backend's GOT header size instead of hardcoding it. 1720 - 1721 - 2012-05-19 Maciej W. Rozycki <macro@linux-mips.org> 1722 - 1723 - * elf32-vax.c (elf_vax_relocate_section) 1724 - <R_VAX_8, R_VAX_16, R_VAX_32>: Don't check if info->shared again. 1725 - 1726 - 2012-05-19 Maciej W. Rozycki <macro@linux-mips.org> 1727 - 1728 - * elf32-vax.c (elf_vax_relocate_section) 1729 - <R_VAX_8, R_VAX_16, R_VAX_32>: Use section flags rather than 1730 - its name as the check for text sections. 1731 - 1732 - 2012-05-19 Maciej W. Rozycki <macro@linux-mips.org> 1733 - 1734 - * elf64-mips.c (mips_elf64_be_swap_reloc_out): Also make sure 1735 - the third reloc offset is the same as the first. 1736 - 1737 - 2012-05-19 Alan Modra <amodra@gmail.com> 1738 - 1739 - * elf32-ppc.h (has_vle_insns, is_ppc_vle): Delete. 1740 - (has_tls_reloc, has_tls_get_addr_call): Move back to.. 1741 - * elf32-ppc.c: ..here. 1742 - (ppc_elf_section_flags, elf_backend_section_flags): Delete. 1743 - (ppc_elf_modify_segment_map): Use ELF sh_flags to detect VLE sections. 1744 - 1745 - 2012-05-18 H.J. Lu <hongjiu.lu@intel.com> 1746 - 1747 - * elf32-i386.c (elf_i386_finish_dynamic_symbol): Don't make 1748 - _DYNAMIC nor _GLOBAL_OFFSET_TABLE_ absolute. 1749 - * elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise. 1750 - 1751 - 2012-05-18 Roland McGrath <mcgrathr@google.com> 1752 - 1753 - * archive.c (_bfd_generic_read_ar_hdr_mag): Fix last change so as 1754 - not to clobber the ar_fmag field stored in ARED->arch_header. 1755 - 1756 - 2012-05-18 Pedro Alves <palves@redhat.com> 1757 - 1758 - * mach-o.h: Don't include sysdep.h. 1759 - 1760 - 2012-05-18 Nick Clifton <nickc@redhat.com> 1761 - 1762 - PR 14072 1763 - * bfd-in.h: Check for PACKAGE or PACKAGE_VERSION before 1764 - complaining about config.h not having been included. 1765 - * bfd-in2.h: Regenerate. 1766 - 1767 - 2012-05-18 Andreas Schwab <schwab@linux-m68k.org> 1768 - 1769 - * aclocal.m4: Regenerate. 1770 - * Makefile.in: Regenerate. 1771 - 1772 - 2012-05-17 Daniel Richard G. <skunk@iskunk.org> 1773 - Nick Clifton <nickc@redhat.com> 1774 - 1775 - PR 14072 1776 - * configure.in: Add check that sysdep.h has been included before 1777 - any system header files. 1778 - * configure: Regenerate. 1779 - * config.in: Regenerate. 1780 - * aclocal.m4: Regenerate. 1781 - * bfd-in.h: Generate an error if included before config.h. 1782 - * sysdep.h: Likewise. 1783 - * bfd-in2.h: Regenerate. 1784 - * compress.c: Remove #include "config.h". 1785 - * plugin.c: Likewise. 1786 - * elf32-m68hc1x.c: Include sysdep.h before alloca-conf.h. 1787 - * elf64-hppa.c: Likewise. 1788 - * som.c: Likewise. 1789 - * xsymc.c: Likewise. 1790 - 1791 - 2012-05-17 Maciej W. Rozycki <macro@linux-mips.org> 1792 - Alan Modra <amodra@gmail.com> 1793 - 1794 - * elf.c (ignore_section_sym): Correct comment. Don't return 1795 - true for absolute section. 1796 - (elf_map_symbols): Move stray comment. Adjust for above change. 1797 - Don't discard global section symbols. 1798 - 1799 - 2012-05-17 Alan Modra <amodra@gmail.com> 1800 - 1801 - * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make _DYNAMIC, 1802 - _GLOBAL_OFFSET_TABLE_ or _PROCEDURE_LINKAGE_TABLE_ absolute. 1803 - * elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Don't make _DYNAMIC 1804 - absolute. 1805 - 1806 - 2012-05-17 Alan Modra <amodra@gmail.com> 1807 - 1808 - * elf32-ppc.c (has_tls_reloc, has_tls_get_addr_call, has_vle_insns, 1809 - is_ppc_vle): Move to.. 1810 - * elf32-ppc.h: ..here, making is_ppc_vle a macro. 1811 - 1812 - 2012-05-16 Sergio Durigan Junior <sergiodj@redhat.com> 1813 - 1814 - * bfd-in.h (bfd_get_section_name, bfd_get_section_vma, 1815 - bfd_get_section_lma, bfd_get_section_alignment, 1816 - bfd_get_section_flags, bfd_get_section_userdata): Rewrite macros 1817 - in order to use the `bfd' argument. 1818 - * bfd-in2.h: Regenerate. 1819 - * elf-vxworks.c (elf_vxworks_finish_dynamic_entry): Pass proper `bfd' 1820 - as the first argument for `bfd_get_section_alignment'. 1821 - * elf32-arm.c (create_ifunc_sections): Likewise, for 1822 - `bfd_set_section_alignment'. 1823 - * elf32-m32r.c (m32r_elf_relocate_section): Likewise, for 1824 - `bfd_get_section_name'. 1825 - * elf32-microblaze.c (microblaze_elf_relocate_section): Likewise. 1826 - * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise. 1827 - (ppc_elf_relocate_section): Likewise. 1828 - * elf64-mmix.c (mmix_final_link_relocate): Likewise, for 1829 - `bfd_get_section_vma'. 1830 - * elf64-ppc.c (create_linkage_sections): Likewise, for 1831 - `bfd_set_section_alignment'. 1832 - 1833 - 2012-05-16 Georg-Johann Lay <avr@gjlay.de> 1834 - 1835 - PR target/13503 1836 - * reloc.c: Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO. 1837 - * bfd-in2.h: Regenerate. 1838 - * libbfd.h: Regenerate. 1839 - * elf32-avr.c (elf_avr_howto_table): Rename R_AVR_8_HHI8 to 1840 - R_AVR_8_HLO8. 1841 - (avr_reloc_map): Likewise. 1842 - 1843 - 2012-05-16 Daniel Richard G. <skunk@iskunk.org> 1844 - 1845 - PR binutils/13558 1846 - * bfd/aout-cris.c: Include sysdep.h before bfd.h. 1847 - * bfd/aout-ns32k.c: Likewise. 1848 - * bfd/aout-sparcle.c: Likewise. 1849 - * bfd/aout0.c: Likewise. 1850 - * bfd/bfd-in2.h: Likewise. 1851 - * bfd/coff-stgo32.c: Likewise. 1852 - * bfd/cpu-lm32.c: Likewise. 1853 - * bfd/cpu-microblaze.c: Likewise. 1854 - * bfd/cpu-score.c: Likewise. 1855 - * bfd/cpu-tilegx.c: Likewise. 1856 - * bfd/cpu-tilepro.c: Likewise. 1857 - * bfd/elf32-lm32.c: Likewise. 1858 - * bfd/elf32-microblaze.c: Likewise. 1859 - * bfd/elf32-score7.c: Likewise. 1860 - * bfd/elf32-tilepro.c: Likewise. 1861 - * bfd/elfxx-tilegx.c: Likewise. 1862 - * bfd/mach-o.h: Likewise. 1863 - * bfd/nlm32-ppc.c: Likewise. 1864 - * bfd/ns32knetbsd.c: Likewise. 1865 - * bfd/pef.h: Likewise. 1866 - * bfd/plugin.c: Likewise. 1867 - * bfd/stab-syms.c: Likewise. 1868 - * bfd/sunos.c: Likewise. 1869 - * bfd/syms.c: Likewise. 1870 - * bfd/xsym.h: Likewise. 1871 - 1872 - 2012-05-16 Alan Modra <amodra@gmail.com> 1873 - 1874 - * elflink.c: Rename flaginfo to flinfo throughout, except.. 1875 - (bfd_elf_lookup_section_flags): ..here, rename finfo to flaginfo. 1876 - Formatting, style. Simplify flag match. 1877 - 1878 - 2012-05-16 Alan Modra <amodra@gmail.com> 1879 - 1880 - * dwarf2.c: Formatting. 1881 - (arange_add): Pass in unit rather than bfd. Update callers. 1882 - Ignore empty ranges. Don't ask for cleared memory. 1883 - (parse_comp_unit): Only set unit->base_address if processing 1884 - DW_TAG_compile_unit. 1885 - (find_debug_info): Optimise section lookup. 1886 - (place_sections): Use bfd_alloc for stash->adjusted_sections. 1887 - (find_line): Match previously parsed comp unit addresses as we 1888 - do for newly parsed comp units. 1889 - 1890 - 2012-05-16 Alan Modra <amodra@gmail.com> 1891 - 1892 - * archive.c (_bfd_generic_read_ar_hdr_mag): Ensure sscanf 1893 - stops at end of ar_size field. 1894 - 1895 - 2012-05-16 Alan Modra <amodra@gmail.com> 1896 - 1897 - PR ld/13962 1898 - PR ld/7023 1899 - * elf.c (bfd_section_from_shdr): Fail when .dynsym sh_info is 1900 - out of range. As a special case, fix sh_info for zero sh_size. 1901 - Do the same for .symtab. 1902 - 1903 - 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk> 1904 - Stephane Carrez <stcarrez@nerim.fr> 1905 - 1906 - * archures.c: Add bfd_arch_m9s12x and bfd_arch_m9s12xg. 1907 - * config.bfd: Likewise. 1908 - * cpu-m9s12x.c: New. 1909 - * cpu-m9s12xg.c: New. 1910 - * elf32-m68hc12.c: Add S12X and XGATE co-processor support. 1911 - Add option to offset S12 addresses into XGATE memory space. 1912 - Fix carry bug in IMM16 (IMM8 low/high) relocate. 1913 - * Makefile.am (ALL_MACHINES): Add cpu-m9s12x and cpu-m9s12xg. 1914 - (ALL_MACHINES_CFILES): Likewise. 1915 - * reloc.c: Add S12X relocs. 1916 - * Makefile.in: Regenerate. 1917 - * bfd-in2.h: Regenerate. 1918 - * libbfd.h: Regenerate. 1919 - 1920 - 2012-05-14 James Lemke <jwlemke@codesourcery.com> 1921 - Catherine Moore <clm@codesourcery.com> 1922 - 1923 - * bfd.c (bfd_lookup_section_flags): Add section parm. 1924 - * ecoff.c (bfd_debug_section): Remove flag_info initializer. 1925 - * elf-bfd.h (bfd_elf_section_data): Move in section_flag_info. 1926 - (bfd_elf_lookup_section_flags): Add section parm. 1927 - * elf32-ppc.c (is_ppc_vle): New function. 1928 - (ppc_elf_modify_segment_map): New function. 1929 - (elf_backend_modify_segment_map): Define. 1930 - (has_vle_insns): New define. 1931 - * elf32-ppc.h (ppc_elf_modify_segment_map): Declare. 1932 - * elflink.c (bfd_elf_lookup_section_flags): Add return value & parm. 1933 - Move in logic to omit / include a section. 1934 - * libbfd-in.h (bfd_link_info): Add section parm. 1935 - (bfd_generic_lookup_section_flags): Likewise. 1936 - * reloc.c (bfd_generic_lookup_section_flags): Likewise. 1937 - * section.c (bfd_section): Move out section_flag_info. 1938 - (BFD_FAKE_SECTION): Remove flag_info initializer. 1939 - * targets.c (_bfd_lookup_section_flags): Add section parm. 1940 - 1941 - 2012-05-14 Catherine Moore <clm@codesourcery.com> 1942 - 1943 - * archures.c (bfd_mach_ppc_vle): New. 1944 - * bfd-in2.h: Regenerated. 1945 - * cpu-powerpc.c (bfd_powerpc_archs): New entry for vle. 1946 - * elf32-ppc.c (split16_format_type): New enumeration. 1947 - (ppc_elf_vle_split16): New function. 1948 - (HOWTO): Add entries for R_PPC_VLE relocations. 1949 - (ppc_elf_reloc_type_lookup): Handle PPC_VLE relocations. 1950 - (ppc_elf_section_flags): New function. 1951 - (ppc_elf_lookup_section_flags): New function. 1952 - (ppc_elf_section_processing): New function. 1953 - (ppc_elf_check_relocs): Handle PPC_VLE relocations. 1954 - (ppc_elf_relocation_section): Likewise. 1955 - (elf_backend_lookup_section_flags_hook): Define. 1956 - (elf_backend_section_flags): Define. 1957 - (elf_backend_section_processing): Define. 1958 - * elf32-ppc.h (ppc_elf_section_processing): Declare. 1959 - * libbfd.h: Regenerated. 1960 - * reloc.c (BFD_RELOC_PPC_VLE_REL8, BFD_RELOC_PPC_VLE_REL15, 1961 - BFD_RELOC_PPC_VLE_REL24, BFD_RELOC_PPC_VLE_LO16A, 1962 - BFD_RELOC_PPC_VLE_LO16D, BFD_RELOC_PPC_VLE_HI16A, 1963 - BFD_RELOC_PPC_VLE_HI16D, BFD_RELOC_PPC_VLE_HA16A, 1964 - BFD_RELOC_PPC_VLE_HA16D, BFD_RELOC_PPC_VLE_SDA21, 1965 - BFD_RELOC_PPC_VLE_SDA21_LO, BFD_RELOC_PPC_VLE_SDAREL_LO16A, 1966 - BFD_RELOC_PPC_VLE_SDAREL_LO16D, BFD_RELOC_PPC_VLE_SDAREL_HI16A, 1967 - BFD_RELOC_PPC_VLE_SDAREL_HI16D, BFD_RELOC_PPC_VLE_SDAREL_HA16A, 1968 - BFD_RELOC_PPC_VLE_SDAREL_HA16D): New bfd relocations. 1969 - 1970 - 2012-05-11 Georg-Johann Lay <avr@gjlay.de> 1971 - 1972 - PR target/13503 1973 - * reloc.c: Add new ENUM for BFD_RELOC_AVR_8_LO, 1974 - BFD_RELOC_AVR_8_HI, BFD_RELOC_AVR_8_HHI. 1975 - * bfd-in2.h: Regenerate. 1976 - * libbfd.h: Regenerate. 1977 - * elf32-avr.c (elf_avr_howto_table): Add entries for 1978 - R_AVR_8_LO8, R_AVR_8_HI8, R_AVR_8_HHI8. 1979 - (avr_reloc_map): Add RELOC mappings for R_AVR_8_LO8, R_AVR_8_HI8, 1980 - R_AVR_8_HHI8. 1981 - 1982 - 2012-05-10 H.J. Lu <hongjiu.lu@intel.com> 1983 - 1984 - * elf64-x86-64.c (elf_x86_64_relocate_section): Use int in x32 1985 - addend overflow check. 1986 - 1987 - 2012-05-10 DJ Delorie <dj@redhat.com> 1988 - 1989 - * elf32-rx.c (rx_elf_object_p): Ignore empty segments. 1990 - 1991 - 2012-05-10 H.J. Lu <hongjiu.lu@intel.com> 1992 - 1993 - * elf64-x86-64.c (elf_x86_64_relocate_section): Display signed 1994 - hex number in x32 addend overflow check. 1995 - 1996 - 2012-05-10 H.J. Lu <hongjiu.lu@intel.com> 1997 - 1998 - * elf64-x86-64.c (elf_x86_64_reloc_type_class): Handle 1999 - R_X86_64_RELATIVE64. 2000 - 2001 - 2012-05-09 H.J. Lu <hongjiu.lu@intel.com> 2002 - 2003 - * elf64-x86-64.c (elf_x86_64_relocate_section): Check addend 2004 - overflow for R_X86_64_RELATIVE64. 2005 - 2006 - 2012-05-08 Ben Cheng <bccheng@google.com> 2007 - 2008 - * elf.c: Preserve the original p_align and p_flags if they are 2009 - valid. 2010 - 2011 - 2012-05-07 Alan Modra <amodra@gmail.com> 2012 - 2013 - * elf64-ia64-vms.c (elf64_ia64_relocate_section): Update 2014 - RELOC_AGAINST_DISCARDED_SECTION invocation. 2015 - 2016 - 2012-05-07 Hans-Peter Nilsson <hp@axis.com> 2017 - 2018 - * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Declare and use 2019 - local variable i_ instead of assuming and using a variable i. 2020 - 2021 - 2012-05-07 Maciej W. Rozycki <macro@linux-mips.org> 2022 - 2023 - * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Handle compound 2024 - relocations. 2025 - * elfxx-mips.c (mips_reloc_against_discarded_section): New 2026 - function. 2027 - (_bfd_mips_elf_relocate_section): Call it, in place of 2028 - RELOC_AGAINST_DISCARDED_SECTION. 2029 - * elf-m10200.c (mn10200_elf_relocate_section): Update arguments 2030 - to RELOC_AGAINST_DISCARDED_SECTION. 2031 - * elf-m10300.c (mn10300_elf_relocate_section): Likewise. 2032 - * elf32-arm.c (elf32_arm_relocate_section): Likewise. 2033 - * elf32-avr.c (elf32_avr_relocate_section): Likewise. 2034 - * elf32-bfin.c (bfin_relocate_section): Likewise. 2035 - (bfinfdpic_relocate_section): Likewise. 2036 - * elf32-cr16.c (elf32_cr16_relocate_section): Likewise. 2037 - * elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise. 2038 - * elf32-cris.c (cris_elf_relocate_section): Likewise. 2039 - * elf32-crx.c (elf32_crx_relocate_section): Likewise. 2040 - * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. 2041 - * elf32-epiphany.c (epiphany_elf_relocate_section): Likewise. 2042 - * elf32-fr30.c (fr30_elf_relocate_section): Likewise. 2043 - * elf32-frv.c (elf32_frv_relocate_section): Likewise. 2044 - * elf32-h8300.c (elf32_h8_relocate_section): Likewise. 2045 - * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. 2046 - * elf32-i370.c (i370_elf_relocate_section): Likewise. 2047 - * elf32-i386.c (elf_i386_relocate_section): Likewise. 2048 - * elf32-i860.c (elf32_i860_relocate_section): Likewise. 2049 - * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. 2050 - * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise. 2051 - * elf32-lm32.c (lm32_elf_relocate_section): Likewise. 2052 - * elf32-m32c.c (m32c_elf_relocate_section): Likewise. 2053 - * elf32-m32r.c (m32r_elf_relocate_section): Likewise. 2054 - * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise. 2055 - * elf32-m68k.c (elf_m68k_relocate_section): Likewise. 2056 - * elf32-mcore.c (mcore_elf_relocate_section): Likewise. 2057 - * elf32-mep.c (mep_elf_relocate_section): Likewise. 2058 - * elf32-moxie.c (moxie_elf_relocate_section): Likewise. 2059 - * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. 2060 - * elf32-mt.c (mt_elf_relocate_section): Likewise. 2061 - * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. 2062 - * elf32-ppc.c (ppc_elf_relocate_section): Likewise. 2063 - * elf32-rl78.c (rl78_elf_relocate_section): Likewise. 2064 - * elf32-rx.c (rx_elf_relocate_section): Likewise. 2065 - * elf32-s390.c (elf_s390_relocate_section): Likewise. 2066 - * elf32-score.c (s3_bfd_score_elf_relocate_section): Likewise. 2067 - * elf32-score7.c (s7_bfd_score_elf_relocate_section): Likewise. 2068 - * elf32-sh.c (sh_elf_relocate_section): Likewise. 2069 - * elf32-spu.c (spu_elf_relocate_section): Likewise. 2070 - * elf32-tic6x.c (elf32_tic6x_relocate_section): Likewise. 2071 - * elf32-tilepro.c (tilepro_elf_relocate_section): Likewise. 2072 - * elf32-v850.c (v850_elf_relocate_section): Likewise. 2073 - * elf32-vax.c (elf_vax_relocate_section): Likewise. 2074 - * elf32-xc16x.c (elf32_xc16x_relocate_section): Likewise. 2075 - * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. 2076 - * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. 2077 - * elf64-alpha.c (elf64_alpha_relocate_section_r): Likewise. 2078 - (elf64_alpha_relocate_section): Likewise. 2079 - * elf64-hppa.c (elf64_hppa_relocate_section): Likewise. 2080 - * elf64-mmix.c (mmix_elf_relocate_section): Likewise. 2081 - * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. 2082 - * elf64-s390.c (elf_s390_relocate_section): Likewise. 2083 - * elf64-sh64.c (sh_elf64_relocate_section): Likewise. 2084 - * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise. 2085 - * elfnn-ia64.c (elfNN_ia64_relocate_section): Likewise. 2086 - * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise. 2087 - * elfxx-tilegx.c (tilegx_elf_relocate_section): Likewise. 2088 - 2089 - 2012-05-05 Alan Modra <amodra@gmail.com> 2090 - 2091 - PR ld/14052 2092 - PR ld/13621 2093 - * linker.c (_bfd_nearby_section): Revert 2012-02-13 change. 2094 - 2095 - 2012-05-05 Alan Modra <amodra@gmail.com> 2096 - 2097 - * aout-arm.c: Replace all uses of bfd_abs_section, bfd_com_section, 2098 - bfd_und_section and bfd_ind_section with their _ptr variants, or 2099 - use corresponding bfd_is_* macros. 2100 - * aout-ns32k.c: Likewise. 2101 - * aout-tic30.c: Likewise. 2102 - * coff-arm.c: Likewise. 2103 - * coff-tic54x.c: Likewise. 2104 - * cpu-ns32k.c: Likewise. 2105 - * elf-attrs.c: Likewise. 2106 - * elfcode.h: Likewise. 2107 - * peicode.h: Likewise. 2108 - * reloc.c: Likewise. 2109 - * riscix.c: Likewise. 2110 - * versados.c: Likewise. 2111 - * section.c: Likewise. 2112 - (bfd_abs_section, bfd_ind_section, bfd_com_section, 2113 - bfd_ind_section): Delete. 2114 - (std_section): New array replacing above. 2115 - (bfd_abs_section_ptr, bfd_ind_section_ptr, bfd_com_section_ptr, 2116 - bfd_ind_section_ptr, STD_SECTION): Update. 2117 - (BFD_FAKE_SECTION, GLOBAL_SYM_INIT): Remove unnecessary casts. 2118 - * bfd-in2.h: Regenerate. 2119 - 2120 - 2012-05-03 Sean Keys <skeys@ipdatasys.com> 2121 - 2122 - * cpu-xgate.c: New file. Added XGATE support. 2123 - * archures.c (bfd_architecture): Add XGATE architecture. 2124 - (bfd_archures_list): Add reference to XGATE architecture info. 2125 - * elf-bfd.h (prep_headers): Handle bfd_arch_xgate. 2126 - * reloc.c: Add various XGATE relocation enums. 2127 - * targets.c (bfd_elf32_xgate_vec): Declare and add to target vector 2128 - list. 2129 - * Makefile.am: Add support for XGATE elf. 2130 - * configure.in: Ditto. 2131 - * config.bfd: Ditto. 2132 - * Makefile.in: Regenerate. 2133 - * configure: Ditto. 2134 - * bfd-in2.h: Ditto. 2135 - * libbfd.h: Ditto. 2136 - Added files for XGATE relocations. 2137 - * elf32-xgate.c: Created minimal relocation file. 2138 - * elf32-xgate.h: Created minimal header file for elf32-xgate. 2139 - 2140 - 2012-05-03 Tristan Gingold <gingold@adacore.com> 2141 - 2142 - * dwarf2.c (decode_line_info): Ignore 2143 - DW_LNE_HP_source_file_correlation. 2144 - 2145 - 2012-05-01 Nick Clifton <nickc@redhat.com> 2146 - 2147 - PR binutils/13121 2148 - * aoutx.h: Rename 'finfo' to 'flaginfo' to avoid conflicts with 2149 - AIX system headers. 2150 - * coff-ppc.c: Likewise. 2151 - * cofflink.c: Likewise. 2152 - * elf32-arm.c: Likewise. 2153 - * elf64-sparc.c: Likewise. 2154 - * elflink.c: Likewise. 2155 - * pdp11.c: Likewise. 2156 - * rescoff.c: Likewise. 2157 - 2158 - 2012-04-26 Mark Wielaard <mjw@redhat.com> 2159 - 2160 - * dwarf2.c (scan_unit_for_symbols): Account for DW_AT_high_pc 2161 - possibly being relative to DW_AT_low_pc. 2162 - (parse_comp_unit): Likewise. 2163 - 2164 - 2012-04-26 Andreas Schwab <schwab@linux-m68k.org> 2165 - 2166 - * elf32-m68k.c (elf_m68k_check_relocs): Mark non-GOT references 2167 - also when generating PIE. 2168 - (elf_m68k_discard_copies): Mark undefined weak symbols referenced 2169 - by relocations as dynamic. 2170 - 2171 - 2012-04-26 Hans-Peter Nilsson <hp@axis.com> 2172 - 2173 - Provide a way for programs to recognize BFD_ASSERT calls. 2174 - * bfd.c (bfd_assert_handler_type): New API type. 2175 - (bfd_set_assert_handler, bfd_get_assert_handler): New API functions. 2176 - (_bfd_assert_handler): New variable. 2177 - (_bfd_default_assert_handler): New function. 2178 - (bfd_assert): Call _bfd_assert_handler, not _bfd_error_handler. 2179 - * libbfd-in.h (_bfd_assert_handler): Declare. 2180 - * libbfd.h, bfd-in2.h: Regenerate. 2181 - 2182 - 2012-04-24 Hans-Peter Nilsson <hp@axis.com> 2183 - 2184 - PR ld/13990 2185 - * elf32-arm.c (elf32_arm_gc_sweep_hook): Handle a forced-local 2186 - symbol, where PLT refcount is set to -1. 2187 - 2188 - 2012-04-24 Alan Modra <amodra@gmail.com> 2189 - 2190 - PR ld/13991 2191 - * elf-bfd.h (_bfd_elf_link_just_syms): Define as 2192 - _bfd_generic_link_just_syms. 2193 - * elflink.c (_bfd_elf_link_just_syms): Delete. 2194 - * linker.c (_bfd_generic_link_just_syms): Set sec_info_type. 2195 - 2196 - * bfd-in.h (discarded_section): Renamed from elf_discarded_section. 2197 - * section.c (SEC_INFO_TYPE_NONE, SEC_INFO_TYPE_STABS, 2198 - SEC_INFO_TYPE_MERGE, SEC_INFO_TYPE_EH_FRAME, 2199 - SEC_INFO_TYPE_JUST_SYMS): Renamed from corresponding ELF_INFO_TYPE. 2200 - * elf-eh-frame.c, * elf-m10200.c, * elf-m10300.c, 2201 - * elf.c, * elf32-arm.c, * elf32-avr.c, * elf32-bfin.c, 2202 - * elf32-cr16.c, * elf32-cr16c.c, * elf32-cris.c, 2203 - * elf32-crx.c, * elf32-d10v.c, * elf32-epiphany.c, 2204 - * elf32-fr30.c, * elf32-frv.c, * elf32-h8300.c, 2205 - * elf32-hppa.c, * elf32-i370.c, * elf32-i386.c, 2206 - * elf32-i860.c, * elf32-ip2k.c, * elf32-iq2000.c, 2207 - * elf32-lm32.c, * elf32-m32c.c, * elf32-m32r.c, 2208 - * elf32-m68hc1x.c, * elf32-m68k.c, * elf32-mcore.c, 2209 - * elf32-mep.c, * elf32-moxie.c, * elf32-msp430.c, 2210 - * elf32-mt.c, * elf32-openrisc.c, * elf32-ppc.c, 2211 - * elf32-rl78.c, * elf32-rx.c, * elf32-s390.c, 2212 - * elf32-score.c, * elf32-score7.c, * elf32-sh.c, 2213 - * elf32-spu.c, * elf32-tic6x.c, * elf32-tilepro.c, 2214 - * elf32-v850.c, * elf32-vax.c, * elf32-xc16x.c, 2215 - * elf32-xstormy16.c, * elf32-xtensa.c, * elf64-alpha.c, 2216 - * elf64-hppa.c, * elf64-ia64-vms.c, * elf64-mmix.c, 2217 - * elf64-ppc.c, * elf64-s390.c, * elf64-sh64.c, 2218 - * elf64-x86-64.c, * elflink.c, * elfnn-ia64.c, 2219 - * elfxx-mips.c, * elfxx-sparc.c, * elfxx-tilegx.c, 2220 - * reloc.c: Update all references. 2221 - * bfd-in2.h: Regenerate. 2222 - 2223 - 2012-04-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2224 - 2225 - * elf32-s390.c (ELF_DYNAMIC_INTERPRETER): Set to the GCC default. 2226 - * elf64-s390.c (ELF_DYNAMIC_INTERPRETER): Set to the GCC default. 2227 - 2228 - 2012-04-19 Thomas Schwinge <thomas@codesourcery.com> 2229 - 2230 - * elf32-sh.c (elf_sh_link_hash_entry): Specify an enum identifier for 2231 - got_type. 2232 - (allocate_dynrelocs, sh_elf_relocate_section, sh_elf_check_relocs): Use 2233 - it. 2234 - 2235 - 2012-04-17 Kaz Kojima <kkojima@rr.iij4u.or.jp> 2236 - 2237 - * elf32-sh.c (allocate_dynrelocs): Don't allocate dynamic 2238 - relocations when LE conversion happens on the IE tls symbol. 2239 - 2240 - 2012-04-17 Roland McGrath <mcgrathr@google.com> 2241 - 2242 - * elf64-x86-64.c (elf_x86_64_nacl_plt0_entry): Fix nop padding 2243 - so that 32-byte boundary is a proper instruction boundary. 2244 - 2245 - 2012-04-17 Tristan Gingold <gingold@adacore.com> 2246 - 2247 - * vms-lib.c (_bfd_vms_lib_get_module): Append .obj extension to 2248 - member of an object archive.< 2249 - 2250 - 2012-04-17 Tristan Gingold <gingold@adacore.com> 2251 - 2252 - * vms-lib.c (MAX_EKEYLEN): Define. 2253 - (MAX_KEYLEN): Fix value. 2254 - (vms_write_index): Add comments and fix indentation. 2255 - Adjust comparaison. Add assertions. Free kbn_blk. 2256 - (_bfd_vms_lib_write_archive_contents): Use MAX_EKEYLEN. 2257 - Compense MAX_KEYLEN adjustment. 2258 - 2259 - 2012-04-16 Maciej W. Rozycki <macro@linux-mips.org> 2260 - 2261 - * elfxx-mips.c (mips16_stub_symndx): Handle n64 compound relocs. 2262 - (_bfd_mips_elf_check_relocs): Update accordingly. 2263 - 2264 - 2012-04-13 Alan Modra <amodra@gmail.com> 2265 - 2266 - PR ld/13947 2267 - * elflink.c (bfd_elf_final_link): Set reloc_count to 0 for 2268 - reloc sections. 2269 - 2270 - 2012-04-12 David S. Miller <davem@davemloft.net> 2271 - 2272 - * reloc.c (BFD_RELOC_SPARC_H34, BFD_RELOC_SPARC_SIZE32, 2273 - BFD_RELOC_SPARC_SIZE64, BFD_RELOC_SPARC_WDISP10): New relocs. 2274 - * libbfd.h: Regenerate. 2275 - * bfd-in2.h: Likewise. 2276 - * elfxx-sparc.c (sparc_elf_wdisp10_reloc): New function. 2277 - (_bfd_sparc_elf_howto_table): Add entries for R_SPARC_H34, 2278 - R_SPARC_SIZE32, R_SPARC_64, and R_SPARC_WDISP10. 2279 - (_bfd_sparc_elf_reloc_type_lookup): Handle new relocs. 2280 - (_bfd_sparc_elf_check_relocs): Likewise. 2281 - (_bfd_sparc_elf_gc_sweep_hook): Likewise. 2282 - (_bfd_sparc_elf_relocate_section): Likewise. 2283 - 2284 - 2012-04-12 Roland McGrath <mcgrathr@google.com> 2285 - 2286 - * elf32-arm.c (elf32_arm_nacl_plt0_entry, elf32_arm_nacl_plt_entry): 2287 - New variables. 2288 - (struct elf32_arm_link_hash_table): New member `nacl_p'. 2289 - (elf32_arm_link_hash_table_create): Initialize it. 2290 - (elf32_arm_nacl_link_hash_table_create): New function. 2291 - (arm_movw_immediate, arm_movt_immediate): New functions. 2292 - (elf32_arm_populate_plt_entry): Test HTAB->nacl_p. 2293 - (elf32_arm_finish_dynamic_sections): Likewise. 2294 - (elf32_arm_output_plt_map_1): Likewise. 2295 - (bfd_elf32_littlearm_nacl_vec, bfd_elf32_bigarm_nacl_vec): 2296 - New backend vector stanza. 2297 - (elf32_arm_nacl_modify_segment_map): New function. 2298 - * config.bfd: Handle arm-*-nacl*, armeb-*-nacl*. 2299 - * targets.c: Support bfd_elf32_{big,little}_nacl_vec. 2300 - * configure.in: Likewise. 2301 - (bfd_elf32_bigarm_nacl_vec): Add elf-nacl.lo here. 2302 - (bfd_elf32_littlearm_nacl_vec): Likewise. 2303 - (bfd_elf32_bigarm_vec, bfd_elf32_littlearm_vec): Likewise. 2304 - (bfd_elf32_bigarm_symbian_vec): Likewise. 2305 - (bfd_elf32_littlearm_symbian_vec): Likewise. 2306 - (bfd_elf32_bigarm_vxworks_vec): Likewise. 2307 - (bfd_elf32_littlearm_vxworks_vec): Likewise. 2308 - * configure: Regenerated. 2309 - 2310 - 2012-04-12 Tristan Gingold <gingold@adacore.com> 2311 - 2312 - * elflink.c (elf_link_output_extsym): Add a guard. 2313 - (bfd_elf_final_link): Remove assertion. 2314 - (bfd_elf_final_link): Add a guard. 2315 - * elfnn-ia64.c (INCLUDE_IA64_VMS): Removed. 2316 - (elfNN_vms_section_from_shdr, elfNN_vms_object_p) 2317 - (elfNN_vms_post_process_headers, elfNN_vms_section_processing) 2318 - (elfNN_vms_final_write_processing, elfNN_vms_close_and_cleanup): 2319 - Remove. 2320 - (elfNN-ia64-vms target): Move to ... 2321 - * elf64-ia64-vms.c: New file. 2322 - * configure.in (bfd_elf64_ia64_vms_vec): Add elf64-ia64-vms.lo 2323 - * Makefile.am (BFD64_BACKENDS): Add elf64-ia64-vms.lo. 2324 - (BFD64_BACKENDS_CFILES): Ad elf64-ia64-vms.c. 2325 - * configure: Regenerate. 2326 - * Makefile.in: Regenerate. 2327 - 2328 - 2012-04-11 Nick Clifton <nickc@redhat.com> 2329 - 2330 - PR binutils/13897 2331 - * elf64-ppc.c (opd_entry_value): When dealing with sections 2332 - without relocs, keep the last section loaded in order to avoid 2333 - unnecessary reloads. 2334 - 2335 - 2012-04-09 Roland McGrath <mcgrathr@google.com> 2336 - 2337 - * elf.c (_bfd_elf_map_sections_to_segments): Set INFO->user_phdrs. 2338 - * elf-nacl.c (nacl_modify_segment_map): Do nothing if INFO->user_phdrs. 2339 - (nacl_modify_program_headers): Likewise. 2340 - 2341 - 2012-04-03 Roland McGrath <mcgrathr@google.com> 2342 - 2343 - * elf-nacl.c: New file. 2344 - * elf-nacl.h: New file. 2345 - * elf32-i386.c (elf_backend_modify_segment_map): Define for 2346 - bfd_elf32_i386_nacl_vec. 2347 - (elf_backend_modify_program_headers): Likewise. 2348 - * elf64-x86-64.c (elf_backend_modify_segment_map): Define for 2349 - bfd_elf64_x86_64_nacl_vec and bfd_elf32_x86_64_nacl_vec. 2350 - (elf_backend_modify_program_headers): Likewise. 2351 - * Makefile.am (BFD32_BACKENDS, BFD64_BACKENDS): Add elf-nacl.lo here. 2352 - (BFD32_BACKENDS_CFILES, BFD64_BACKENDS_CFILES): Add elf-nacl.c here. 2353 - * Makefile.in: Regenerated. 2354 - * configure.in (bfd_elf64_x86_64_nacl_vec): Add elf-nacl.o to tb here. 2355 - (bfd_elf32_x86_64_nacl_vec): Likewise. 2356 - (bfd_elf64_x86_64_vec, bfd_elf32_x86_64_vec): Likewise. 2357 - (bfd_elf64_x86_64_freebsd_vec, bfd_elf64_x86_64_sol2_vec): Likewise. 2358 - (bfd_elf64_l1om_vec, bfd_elf64_l1om_freebsd_vec): Likewise. 2359 - (bfd_elf64_k1om_vec, bfd_elf64_k1om_freebsd_vec): Likewise. 2360 - (bfd_elf32_i386_nacl_vec): Likewise. 2361 - (bfd_elf32_i386_sol2_vec, bfd_elf32_i386_freebsd_vec): Likewise. 2362 - (bfd_elf32_i386_vxworks_vec, bfd_elf32_i386_vec): Likewise. 2363 - * configure: Regenerated. 2364 - 2365 - 2012-03-31 Andreas Schwab <schwab@linux-m68k.org> 2366 - 2367 - * elf32-m68k.c (elf_m68k_relocate_section): Allow 2368 - R_68K_TLS_LE{8,16,32} for PIE. 2369 - 2370 - 2012-03-30 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2371 - 2372 - * elf64-s390.c: Fix several comments regarding PLT entry 2373 - description. 2374 - * elf32-s390.c: Likewise. 2375 - 2376 - 2012-03-30 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2377 - 2378 - * elf64-s390.c: Use the section pointer shortcuts in 2379 - elf_link_hash_table and remove them from the target specific 2380 - variant. 2381 - * elf32-s390.c: Likewise. 2382 - 2383 - 2012-03-30 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2384 - 2385 - * elf64-s390.c (elf_s390x_plt_entry, elf_s390x_first_plt_entry): 2386 - New definitions. 2387 - (PLT_PIC_ENTRY_WORD*, PLT_PIC12_ENTRY_WORD*): Remove. 2388 - (elf_s390_finish_dynamic_symbol): Use memcpy instead of bfd_put_32. 2389 - (elf_s390_finish_dynamic_sections): Likewise. 2390 - * elf32-s390.c (elf_s390_plt_entry, elf_s390_plt_pic_entry) 2391 - (elf_s390_plt_pic12_entry, elf_s390_plt_pic16_entry) 2392 - (elf_s390_plt_first_entry, elf_s390_plt_pic_first_entry): New definitions. 2393 - (PLT_PIC16_ENTRY_WORD*, PLT_ENTRY_WORD*) 2394 - (PLT_PIC_FIRST_ENTRY_WORD*, PLT_FIRST_ENTRY_WORD*): Remove. 2395 - 2396 - 2012-03-30 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2397 - 2398 - * elf32-s390.c (struct elf_s390_dyn_relocs): Remove. 2399 - Rename all occurrences in the file to elf_dyn_relocs. 2400 - * elf64-s390.c: Likewise. 2401 - 2402 - 2012-03-30 Alan Modra <amodra@gmail.com> 2403 - 2404 - * elflink.c (_bfd_elf_gc_mark_reloc): Don't delve into dynamic 2405 - libraries. 2406 - 2407 - 2012-03-29 Alan Modra <amodra@gmail.com> 2408 - 2409 - * bfd-in.h (bfd_get_arch_size, bfd_get_sign_extend_vma): Delete. 2410 - * bfd-in2.h: Regenerate. 2411 - 2412 - 2012-03-23 Alan Modra <amodra@gmail.com> 2413 - 2414 - * elf.c (assign_file_positions_for_non_load_sections): Don't warn 2415 - on empty alloc sections. 2416 - 2417 - 2012-03-23 Alan Modra <amodra@gmail.com> 2418 - 2419 - * linker.c (_bfd_nearby_section): New function, split out from.. 2420 - (fix_syms): ..here. 2421 - * bfd-in.h (_bfd_nearby_section): Declare. 2422 - * bfd-in2.h: Regenerate. 2423 - * elflink.c (elf_link_input_bfd): Don't use text_index_section or 2424 - data_index_section with ld -q or ld -r output relocs against 2425 - stripped output sections. Instead use _bfd_nearby_section. 2426 - 2427 - 2012-03-23 Alan Modra <amodra@gmail.com> 2428 - 2429 - PR binutils/13894 2430 - * elf64-ppc.c (opd_entry_value): Read full symbol table when 2431 - sym hashes unavailable. 2432 - 2433 - 2012-03-21 Eliot Dresselhaus <eliot@sonic.net> 2434 - 2435 - * elf32-tic6x.c (elf32_tic6x_merge_private_bfd_data): Return TRUE 2436 - for non-C6X objects. 2437 - 2438 - 2012-03-20 Kai Tietz <ktietz@redhat.com> 2439 - 2440 - PR ld/12742 2441 - * configure.in (AC_CHECK_HEADERS): Test for windows.h and dlfcn.h. 2442 - * plugin.c: Guard include of dlfcn.h if HAVE_DLFCN_H is defined. 2443 - Add windows.h header include if HAVE_WINDOWS_H is defined. 2444 - (dlerror): New static function if windows variant is used instead 2445 - of dlfcn.h. 2446 - (dlclose): Likewise. 2447 - (dlopen): Likewise. 2448 - (dlsym): Likewise. 2449 - * configure: Regenerated. 2450 - * config.in: Regenerated. 2451 - 2452 - 2012-03-20 H.J. Lu <hongjiu.lu@intel.com> 2453 - 2454 - PR ld/13880 2455 - * elf32-i386.c (elf_i386_relocate_section): Don't issue an error 2456 - for R_386_GOTOFF relocation against protected function if 2457 - SYMBOLIC_BIND is true. 2458 - 2459 - * elf64-x86-64.c (elf_x86_64_relocate_section): Don't issue an 2460 - error for R_X86_64_GOTOFF64 relocation against protected function 2461 - when building executable or SYMBOLIC_BIND is true. 2462 - 2463 - 2012-03-16 Roland McGrath <mcgrathr@google.com> 2464 - 2465 - * config.bfd: Handle x86_64-*-nacl*. 2466 - * elf64-x86-64.c (bfd_elf64_x86_64_nacl_vec): New backend vector stanza. 2467 - (bfd_elf32_x86_64_nacl_vec): Likewise. 2468 - * targets.c: Support them. 2469 - * configure.in: Likewise. 2470 - * configure: Regenerated. 2471 - 2472 - 2012-03-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 2473 - 2474 - * elf32-arm.c (elf32_arm_attributes_accept_div): New function. 2475 - (elf32_arm_attributes_forbid_div): Likewise. 2476 - (elf32_arm_merge_eabi_attributes): Correct handling of 2477 - Tag_DIV_use. 2478 - 2479 - 2012-03-15 Roland McGrath <mcgrathr@google.com> 2480 - 2481 - * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Use 2482 - elf_x86_64_backend_data parameters for plt_eh_frame. 2483 - 2484 - * elf64-x86-64.c (struct elf_x86_64_backend_data): New type. 2485 - (get_elf_x86_64_backend_data, GET_PLT_ENTRY_SIZE): New macros. 2486 - (elf_x86_64_arch_bed): New variable. 2487 - (elf_backend_arch_data): New macro. 2488 - (elf_x86_64_adjust_dynamic_symbol): Use GET_PLT_ENTRY_SIZE. 2489 - (elf_x86_64_allocate_dynrelocs): Likewise. 2490 - (elf_x86_64_relocate_section): Likewise. 2491 - (elf_x86_64_plt_sym_val): Likewise. 2492 - (elf_x86_64_finish_dynamic_symbol): Use elf_x86_64_backend_data 2493 - parameters for PLT details. 2494 - (elf_x86_64_finish_dynamic_sections): Likewise. 2495 - 2496 - 2012-03-14 Roland McGrath <mcgrathr@google.com> 2497 - 2498 - * elf32-i386.c (elf_i386_nacl_pic_plt0_entry): Initialize up 2499 - to the full size, padding out with nop instructions. 2500 - 2501 - 2012-03-12 Alan Modra <amodra@gmail.com> 2502 - 2503 - * elf-m10300.c (_bfd_mn10300_elf_adjust_dynamic_symbol): Don't warn 2504 - on zero size dynbss symbol. 2505 - * elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Likewise. 2506 - * elf32-cr16.c (_bfd_cr16_elf_adjust_dynamic_symbol): Likewise. 2507 - * elf32-cris.c (elf_cris_adjust_dynamic_symbol): Likewise. 2508 - * elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise. 2509 - * elf32-i370.c (i370_elf_adjust_dynamic_symbol): Likewise. 2510 - * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise. 2511 - * elf32-lm32.c (lm32_elf_adjust_dynamic_symbol): Likewise. 2512 - * elf32-m32r.c (m32r_elf_adjust_dynamic_symbol): Likewise. 2513 - * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise. 2514 - * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise. 2515 - * elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. 2516 - * elf32-sh.c (sh_elf_adjust_dynamic_symbol): Likewise. 2517 - * elf32-tic6x.c (elf32_tic6x_adjust_dynamic_symbol): Likewise. 2518 - * elf32-tilepro.c (tilepro_elf_adjust_dynamic_symbol): Likewise. 2519 - * elf32-vax.c (elf_vax_adjust_dynamic_symbol): Likewise. 2520 - * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise. 2521 - * elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. 2522 - * elf64-sh64.c (sh64_elf64_adjust_dynamic_symbol): Likewise. 2523 - * elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise. 2524 - * elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise. 2525 - * elfxx-tilegx.c (tilegx_elf_adjust_dynamic_symbol): Likewise. 2526 - 2527 - 2012-03-10 Edmar Wienskoski <edmar@freescale.com> 2528 - 2529 - * archures.c: Add bfd_mach_ppc_e5500 and bfd_mach_ppc_e6500. 2530 - * bfd-in2.h: Regenerate. 2531 - * cpu-powerpc.c (bfd_powerpc_archs): Add entries for 2532 - bfd_mach_ppc_e5500 and bfd_mach_ppc_e6500. 2533 - 2534 - 2012-03-09 H.J. Lu <hongjiu.lu@intel.com> 2535 - 2536 - PR ld/13817 2537 - * elf32-i386.c (elf_i386_relocate_section): Restore 2538 - R_386_IRELATIVE. 2539 - 2540 - * elf64-x86-64.c (elf_x86_64_relocate_section): Restore 2541 - R_X86_64_IRELATIVE. 2542 - 2543 - 2012-03-08 Tristan Gingold <gingold@adacore.com> 2544 - 2545 - * vms-lib.c (_bfd_vms_lib_write_archive_contents): Set maximum 2546 - keylen according to archive kind. Set nextvbn and nextrfa lhd 2547 - fields. Add comments. 2548 - 2549 - 2012-03-07 Nick Clifton <nickc@redhat.com> 2550 - 2551 - * elf-m10300.c (elf32_mn10300_link_hash_entry): Add tls_type 2552 - field. 2553 - (elf32_mn10300_link_hash_table): Add tls_ldm_got entry; 2554 - (elf_mn10300_tdata): Define. 2555 - (elf_mn10300_local_got_tls_type): Define. 2556 - (elf_mn10300_howto_table): Add entries for R_MN10300_TLS_GD, 2557 - R_MN10300_TLS_LD, R_MN10300_TLS_LDO, R_MN10300_TLS_GOTIE, 2558 - R_MN10300_TLS_IE, R_MN10300_TLS_LE, R_MN10300_TLS_DPTMOD, 2559 - R_MN10300_TLS_DTPOFF, R_MN10300_TLS_TPOFF relocs. 2560 - (mn10300_reloc_map): Likewise. 2561 - (elf_mn10300_tls_transition): New function. 2562 - (dtpoff, tpoff, mn10300_do_tls_transition): New functions. 2563 - (mn10300_elf_check_relocs): Add TLS support. 2564 - (mn10300_elf_final_link_relocate): Likewise. 2565 - (mn10300_elf_relocate_section): Likewise. 2566 - (mn10300_elf_relax_section): Likewise. 2567 - (elf32_mn10300_link_hash_newfunc): Initialise new field. 2568 - (_bfd_mn10300_copy_indirect_symbol): New function. 2569 - (elf32_mn10300_link_hash_table_create): Initialise new fields. 2570 - (_bfd_mn10300_elf_size_dynamic_sections): Add TLS support. 2571 - (_bfd_mn10300_elf_finish_dynamic_symbol): Likewise. 2572 - (_bfd_mn10300_elf_reloc_type_class): Allocate an 2573 - elf_mn10300_obj_tdata structure. 2574 - (elf_backend_copy_indirect_symbol): Define. 2575 - * reloc.c (BFD_MN10300_TLS_GD, BFD_MN10300_TLS_LD, 2576 - BFD_MN10300_TLS_LDO, BFD_MN10300_TLS_GOTIE, BFD_MN10300_TLS_IE, 2577 - BFD_MN10300_TLS_LE, BFD_MN10300_TLS_DPTMOD, 2578 - BFD_MN10300_TLS_DTPOFF, BFD_MN10300_TLS_TPOFF): New relocations. 2579 - (BFD_RELOC_MN10300_32_PCREL, BFD_RELOC_MN10300_16_PCREL): Move to 2580 - alongside other MN10300 relocations. 2581 - * bfd-in2.h: Regenerate. 2582 - * libbfd.h: Regenerate. 2583 - 2584 - 2012-03-06 Jakub Jelinek <jakub@redhat.com> 2585 - 2586 - * elf64-x86-64.c (elf_x86_64_relocate_section): For R_X86_64_RELATIVE 2587 - set relocate to TRUE. 2588 - 2589 - 2012-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 2590 - 2591 - PR ld/12152 2592 - * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Also ignore 2593 - overflows for R_SPARC_UA32 in .stab sections. 2594 - 2595 - 2012-03-01 Alan Modra <amodra@gmail.com> 2596 - 2597 - * elfxx-tilegx.c (tilegx_elf_relocate_section): Silence bogus warning. 2598 - 2599 - 2012-02-27 Alan Modra <amodra@gmail.com> 2600 - 2601 - * elf32-sh.c (sh_elf_osec_to_segment): Check for elf flavour bfd 2602 - before calling elf specific function. 2603 - (sh_elf_osec_readonly_p): Test for error return from above. 2604 - 2605 - 2012-02-27 Alan Modra <amodra@gmail.com> 2606 - 2607 - * elf32-spu.c (build_stub): Fix malloc under-allocation. 2608 - 2609 - 2012-02-25 Walter Lee <walt@tilera.com> 2610 - * reloc.c: Add BFD_RELOC_TILEPRO_TLS_GD_CALL, 2611 - BFD_RELOC_TILEPRO_IMM8_X0_TLS_GD_ADD, 2612 - BFD_RELOC_TILEPRO_IMM8_X1_TLS_GD_ADD, 2613 - BFD_RELOC_TILEPRO_IMM8_Y0_TLS_GD_ADD, 2614 - BFD_RELOC_TILEPRO_IMM8_Y1_TLS_GD_ADD, 2615 - BFD_RELOC_TILEPRO_TLS_IE_LOAD, BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE, 2616 - BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE, 2617 - BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_LO, 2618 - BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_LO, 2619 - BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_HI, 2620 - BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_HI, 2621 - BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_HA, 2622 - BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_HA, 2623 - BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_LE, 2624 - BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_LE, 2625 - BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_LE, 2626 - BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_LE, 2627 - BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_LE, 2628 - BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_LE, 2629 - BFD_RELOC_TILEGX_TLS_GD_CALL, BFD_RELOC_TILEGX_IMM8_X0_TLS_GD_ADD, 2630 - BFD_RELOC_TILEGX_IMM8_X1_TLS_GD_ADD, 2631 - BFD_RELOC_TILEGX_IMM8_Y0_TLS_GD_ADD, 2632 - BFD_RELOC_TILEGX_IMM8_Y1_TLS_GD_ADD, BFD_RELOC_TILEGX_TLS_IE_LOAD, 2633 - BFD_RELOC_TILEGX_IMM8_X0_TLS_ADD, 2634 - BFD_RELOC_TILEGX_IMM8_X1_TLS_ADD, 2635 - BFD_RELOC_TILEGX_IMM8_Y0_TLS_ADD, BFD_RELOC_TILEGX_IMM8_Y1_TLS_ADD. 2636 - Delete BFD_RELOC_TILEGX_IMM16_X0_HW1_GOT, 2637 - BFD_RELOC_TILEGX_IMM16_X1_HW1_GOT, 2638 - BFD_RELOC_TILEGX_IMM16_X0_HW2_GOT, 2639 - BFD_RELOC_TILEGX_IMM16_X1_HW2_GOT, 2640 - BFD_RELOC_TILEGX_IMM16_X0_HW3_GOT, 2641 - BFD_RELOC_TILEGX_IMM16_X1_HW3_GOT, 2642 - BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_GOT, 2643 - BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_GOT, 2644 - BFD_RELOC_TILEGX_IMM16_X0_HW1_TLS_GD, 2645 - BFD_RELOC_TILEGX_IMM16_X1_HW1_TLS_GD, 2646 - BFD_RELOC_TILEGX_IMM16_X0_HW2_TLS_GD, 2647 - BFD_RELOC_TILEGX_IMM16_X1_HW2_TLS_GD, 2648 - BFD_RELOC_TILEGX_IMM16_X0_HW3_TLS_GD, 2649 - BFD_RELOC_TILEGX_IMM16_X1_HW3_TLS_GD, 2650 - BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_TLS_GD, 2651 - BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_TLS_GD, 2652 - BFD_RELOC_TILEGX_IMM16_X0_HW1_TLS_IE, 2653 - BFD_RELOC_TILEGX_IMM16_X1_HW1_TLS_IE, 2654 - BFD_RELOC_TILEGX_IMM16_X0_HW2_TLS_IE, 2655 - BFD_RELOC_TILEGX_IMM16_X1_HW2_TLS_IE, 2656 - BFD_RELOC_TILEGX_IMM16_X0_HW3_TLS_IE, 2657 - BFD_RELOC_TILEGX_IMM16_X1_HW3_TLS_IE, 2658 - BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_TLS_IE, 2659 - BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_TLS_IE. 2660 - * elf32-tilepro.c (tilepro_elf_howto_table): Update tilepro 2661 - relocations. 2662 - (tilepro_reloc_map): Ditto. 2663 - (tilepro_info_to_howto_rela): Ditto. 2664 - (reloc_to_create_func): Ditto. 2665 - (tilepro_tls_translate_to_le): New. 2666 - (tilepro_tls_translate_to_ie): New. 2667 - (tilepro_elf_tls_transition): New. 2668 - (tilepro_elf_check_relocs): Handle new tls relocations. 2669 - (tilepro_elf_gc_sweep_hook): Ditto. 2670 - (allocate_dynrelocs): Ditto. 2671 - (tilepro_elf_relocate_section): Ditto. 2672 - (tilepro_replace_insn): New. 2673 - (insn_mask_X1): New. 2674 - (insn_mask_X0_no_dest_no_srca): New 2675 - (insn_mask_X1_no_dest_no_srca): New 2676 - (insn_mask_Y0_no_dest_no_srca): New 2677 - (insn_mask_Y1_no_dest_no_srca): New 2678 - (srca_mask_X0): New 2679 - (srca_mask_X1): New 2680 - (insn_tls_le_move_X1): New 2681 - (insn_tls_le_move_zero_X0X1): New 2682 - (insn_tls_ie_lw_X1): New 2683 - (insn_tls_ie_add_X0X1): New 2684 - (insn_tls_ie_add_Y0Y1): New 2685 - (insn_tls_gd_add_X0X1): New 2686 - (insn_tls_gd_add_Y0Y1): New 2687 - * elfxx-tilegx.c (tilegx_elf_howto_table): Update tilegx 2688 - relocations. 2689 - (tilegx_reloc_map): Ditto. 2690 - (tilegx_info_to_howto_rela): Ditto. 2691 - (reloc_to_create_func): Ditto. 2692 - (tilegx_elf_link_hash_table): New field disable_le_transition. 2693 - (tilegx_tls_translate_to_le): New. 2694 - (tilegx_tls_translate_to_ie): New. 2695 - (tilegx_elf_tls_transition): New. 2696 - (tilegx_elf_check_relocs): Handle new tls relocations. 2697 - (tilegx_elf_gc_sweep_hook): Ditto. 2698 - (allocate_dynrelocs): Ditto. 2699 - (tilegx_elf_relocate_section): Ditto. 2700 - (tilegx_copy_bits): New. 2701 - (tilegx_replace_insn): New. 2702 - (insn_mask_X1): New. 2703 - (insn_mask_X0_no_dest_no_srca): New. 2704 - (insn_mask_X1_no_dest_no_srca): New. 2705 - (insn_mask_Y0_no_dest_no_srca): New. 2706 - (insn_mask_Y1_no_dest_no_srca): New. 2707 - (insn_mask_X0_no_operand): New. 2708 - (insn_mask_X1_no_operand): New. 2709 - (insn_mask_Y0_no_operand): New. 2710 - (insn_mask_Y1_no_operand): New. 2711 - (insn_tls_ie_ld_X1): New. 2712 - (insn_tls_ie_ld4s_X1): New. 2713 - (insn_tls_ie_add_X0X1): New. 2714 - (insn_tls_ie_add_Y0Y1): New. 2715 - (insn_tls_ie_addx_X0X1): New. 2716 - (insn_tls_ie_addx_Y0Y1): New. 2717 - (insn_tls_gd_add_X0X1): New. 2718 - (insn_tls_gd_add_Y0Y1): New. 2719 - (insn_move_X0X1): New. 2720 - (insn_move_Y0Y1): New. 2721 - (insn_add_X0X1): New. 2722 - (insn_add_Y0Y1): New. 2723 - (insn_addx_X0X1): New. 2724 - (insn_addx_Y0Y1): New. 2725 - * libbfd.h: Regenerate. 2726 - * bfd-in2.h: Regenerate. 2727 - 2728 - 2012-02-25 Walter Lee <walt@tilera.com> 2729 - 2730 - * config.bfd (tilegx-*-*): rename little endian vector; add big 2731 - endian vector. 2732 - (tilegxbe-*-*): New case. 2733 - * configure.in (bfd_elf32_tilegx_vec): Rename... 2734 - (bfd_elf32_tilegx_le_vec): ... to this. 2735 - (bfd_elf32_tilegx_be_vec): New vector. 2736 - (bfd_elf64_tilegx_vec): Rename... 2737 - (bfd_elf64_tilegx_le_vec): ... to this. 2738 - (bfd_elf64_tilegx_be_vec): New vector. 2739 - * configure: Regenerate. 2740 - * elf32-tilegx.c (TARGET_LITTLE_SYM): Rename. 2741 - (TARGET_LITTLE_NAME): Ditto. 2742 - (TARGET_BIG_SYM): Define. 2743 - (TARGET_BIG_NAME): Define. 2744 - * elf64-tilegx.c (TARGET_LITTLE_SYM): Rename. 2745 - (TARGET_LITTLE_NAME): Ditto. 2746 - (TARGET_BIG_SYM): Define. 2747 - (TARGET_BIG_NAME): Define. 2748 - * targets.c (bfd_elf32_tilegx_vec): Rename... 2749 - (bfd_elf32_tilegx_le_vec): ... to this. 2750 - (bfd_elf32_tilegx_be_vec): Declare. 2751 - (bfd_elf64_tilegx_vec): Rename... 2752 - (bfd_elf64_tilegx_le_vec): ... to this. 2753 - (bfd_elf64_tilegx_be_vec): Declare. 2754 - (_bfd_target_vector): Add / rename above vectors. 2755 - * arctures.c (bfd_architecture): Define bfd_mach_tilegx32. 2756 - * bfd-in2.h: Regenerate. 2757 - * cpu-tilegx.c (bfd_tilegx32_arch): define. 2758 - (bfd_tilegx_arch): link to bfd_tilegx32_arch. 2759 - 2760 - 2012-02-24 Nick Clifton <nickc@redhat.com> 2761 - 2762 - PR ld/13730 2763 - * reloc.c (bfd_generic_get_relocated_section_contents): Issue an 2764 - error message instead of aborting, when an outofrange reloc is 2765 - encountered. 2766 - 2767 - 2012-02-23 Iain Sandoe <idsandoe@googlemail.com> 2768 - 2769 - * mach-o.c (bfd_mach_o_swap_in_non_scattered_reloc): New. 2770 - (bfd_mach_o_canonicalize_one_reloc): Swap non-scattered reloc 2771 - bit-fields when target and host differ in endian-ness. When 2772 - PAIRs are non-scattered find the 'symbol' from the preceding 2773 - reloc. Add FIXME re. reloc symbols on section boundaries. 2774 - (bfd_mach_o_swap_out_non_scattered_reloc): New. 2775 - (bfd_mach_o_write_relocs): Use bfd_mach_o_encode_non_scattered_reloc. 2776 - 2777 - 2012-02-17 Iain Sandoe <idsandoe@googlemail.com> 2778 - 2779 - * mach-o-i386.c (i386_howto_table): Add support for 16 bit 2780 - sect-diffs. 2781 - (bfd_mach_o_i386_swap_reloc_in): Handle 16bit sect-diffs. 2782 - (bfd_mach_o_i386_swap_reloc_out): Likewise. 2783 - 2784 - 2012-02-17 Tristan Gingold <gingold@adacore.com> 2785 - 2786 - * reloc.c (BFD_RELOC_MACH_O_LOCAL_SECTDIFF): 2787 - * libbfd.h: Regenerated. 2788 - * bfd-in2.h: Likewise. 2789 - * mach-o-i386.c (i386_howto_table): Include local sectdiff. 2790 - (bfd_mach_o_i386_swap_reloc_in): Update for local sectdiff. 2791 - (bfd_mach_o_i386_swap_reloc_out): Likewise. 2792 - 2793 - 2012-02-17 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2794 - 2795 - * elf32-s390.c (elf_s390_relocate_section): Support basr in the 2796 - GD->LE and LD->LE optimizations. 2797 - 2798 - 2012-02-16 Alan Modra <amodra@gmail.com> 2799 - 2800 - PR binutils/13355 2801 - * elf32-rx.c (elf32_rx_relax_section): Correct width check. 2802 - 2803 - 2012-02-13 Richard Henderson <rth@redhat.com> 2804 - 2805 - PR ld/13621 2806 - * linker.c (fix_syms): Force symbols outside any section into 2807 - bfd_abs_section_ptr. 2808 - 2809 - 2012-02-13 Alan Modra <amodra@gmail.com> 2810 - 2811 - * elf32-m68hc1x.c (elf32_m68hc11_merge_symbol_attribute): New function. 2812 - * elf32-m68hc1x.h (elf32_m68hc11_merge_symbol_attribute): Declare. 2813 - * elf32-m68hc11.c (elf_backend_merge_symbol_attribute): Define. 2814 - * elf32-m68hc12.c (elf_backend_merge_symbol_attribute): Define. 2815 - 2816 - 2012-02-11 Jan Kratochvil <jan.kratochvil@redhat.com> 2817 - Nick Clifton <nickc@redhat.com> 2818 - 2819 - * oasys.c (oasys_write_header): Fix compilation warning on zero-sized 2820 - memset. 2821 - 2822 - 2012-02-10 Iain Sandoe <idsandoe@googlemail.com> 2823 - 2824 - * mach-o.c (bfd_mach_o_build_seg_command): Count zerofill section 2825 - vma additions in their logical, rather than physical order. 2826 - 2827 - 2012-02-10 Iain Sandoe <idsandoe@googlemail.com> 2828 - 2829 - * mach-o.c (mach_o_section_name_xlat): Correct eh-frame section 2830 - parameters. 2831 - * mach-o-x86-64.c (text_section_names_xlat): New. 2832 - (mach_o_x86_64_segsec_names_xlat): New. 2833 - (bfd_mach_o_tgt_seg_table): Define to mach_o_x86_64_segsec_names_xlat. 2834 - * mach-o-i386.c (text_section_names_xlat): Correct section parameters. 2835 - 2836 - 2012-02-10 Tristan Gingold <gingold@adacore.com> 2837 - 2838 - * elfnn-ia64.c (elfNN_vms_object_p): Change comparison operator 2839 - to avoid infinite loop. Add comments. 2840 - 2841 - 2012-02-09 H.J. Lu <hongjiu.lu@intel.com> 2842 - 2843 - PR ld/13675 2844 - * cpu-i386.c (bfd_arch_i386_fill): Updated to support multi byte 2845 - nop instructions. 2846 - (bfd_arch_i386_short_nop_fill): New. 2847 - (bfd_arch_i386_long_nop_fill): Likewise. 2848 - Use bfd_arch_i386_short_nop_fill in 32bit bfd_arch_info 2849 - initializers. Use bfd_arch_i386_long_nop_fill on 64bit 2850 - bfd_arch_info initializers. 2851 - 2852 - * cpu-k1om.c (bfd_arch_i386_fill): Renamed to ... 2853 - (bfd_arch_i386_short_nop_fill): This. 2854 - Update bfd_arch_info initializers. 2855 - * cpu-l1om.c: Likewise. 2856 - 2857 - 2012-02-08 Alan Modra <amodra@gmail.com> 2858 - 2859 - * elflink.c (_bfd_elf_gc_mark_rsec): Mark weakdef syms too. 2860 - (_bfd_elf_fix_symbol_flags): When a weakdef is def_regular, clear 2861 - the correct h->u.weakdef. 2862 - 2863 - 2012-02-07 Alan Modra <amodra@gmail.com> 2864 - 2865 - * elf.c (elf_find_function): Don't use internal_elf_sym. 2866 - (_bfd_elf_maybe_function_sym): Likewise. Replace elf_symbol_type 2867 - parameter with asymbol. 2868 - * elf64-ppc.c (ppc64_elf_maybe_function_sym): Likewise. 2869 - * elf-bfd.h (_bfd_elf_maybe_function_sym): Update prototype. 2870 - (struct elf_backend_data <maybe_function_sym>): Likewise. 2871 - 2872 - 2012-02-02 Vidya Praveen (vidya.praveen@atmel.com) 2873 - 2874 - PR bfd/13410 2875 - * elf32-avr.c (elf32_avr_relax_section): Correct the 2876 - condition that qualifies the candidates for relaxation. 2877 - 2878 - 2012-02-02 Tristan Gingold <gingold@adacore.com> 2879 - 2880 - * bfdio.c (real_fopen): Remove unused vms_modes variable. 2881 - 2882 - 2012-02-02 Tristan Gingold <gingold@adacore.com> 2883 - 2884 - * mach-o.c (bfd_mach_o_read_header): Silent uninitialized 2885 - variable warning. 2886 - 2887 - 2012-02-02 Tristan Gingold <gingold@adacore.com> 2888 - 2889 - * archive.c (bfd_slurp_armap): Fix thinko in cast. 2890 - 2891 - 2012-01-31 H.J. Lu <hongjiu.lu@intel.com> 2892 - 2893 - PR ld/13616 2894 - * archures.c (bfd_arch_info): Add fill. 2895 - (bfd_default_arch_struct): Add bfd_arch_default_fill. 2896 - (bfd_arch_default_fill): New. 2897 - 2898 - * configure.in: Set bfd version to 2.22.52. 2899 - * configure: Regenerated. 2900 - 2901 - * cpu-alpha.c: Add bfd_arch_default_fill to bfd_arch_info 2902 - initializer. 2903 - * cpu-arc.c: Likewise. 2904 - * cpu-arm.c: Likewise. 2905 - * cpu-avr.c: Likewise. 2906 - * cpu-bfin.c: Likewise. 2907 - * cpu-cr16.c: Likewise. 2908 - * cpu-cr16c.c: Likewise. 2909 - * cpu-cris.c: Likewise. 2910 - * cpu-crx.c: Likewise. 2911 - * cpu-d10v.c: Likewise. 2912 - * cpu-d30v.c: Likewise. 2913 - * cpu-dlx.c: Likewise. 2914 - * cpu-epiphany.c: Likewise. 2915 - * cpu-fr30.c: Likewise. 2916 - * cpu-frv.c: Likewise. 2917 - * cpu-h8300.c: Likewise. 2918 - * cpu-h8500.c: Likewise. 2919 - * cpu-hppa.c: Likewise. 2920 - * cpu-i370.c: Likewise. 2921 - * cpu-i860.c: Likewise. 2922 - * cpu-i960.c: Likewise. 2923 - * cpu-ia64.c: Likewise. 2924 - * cpu-ip2k.c: Likewise. 2925 - * cpu-iq2000.c: Likewise. 2926 - * cpu-lm32.c: Likewise. 2927 - * cpu-m10200.c: Likewise. 2928 - * cpu-m10300.c: Likewise. 2929 - * cpu-m32c.c: Likewise. 2930 - * cpu-m32r.c: Likewise. 2931 - * cpu-m68hc11.c: Likewise. 2932 - * cpu-m68hc12.c: Likewise. 2933 - * cpu-m68k.c: Likewise. 2934 - * cpu-m88k.c: Likewise. 2935 - * cpu-mcore.c: Likewise. 2936 - * cpu-mep.c: Likewise. 2937 - * cpu-microblaze.c: Likewise. 2938 - * cpu-mips.c: Likewise. 2939 - * cpu-mmix.c: Likewise. 2940 - * cpu-moxie.c: Likewise. 2941 - * cpu-msp430.c: Likewise. 2942 - * cpu-mt.c: Likewise. 2943 - * cpu-ns32k.c: Likewise. 2944 - * cpu-openrisc.c: Likewise. 2945 - * cpu-or32.c: Likewise. 2946 - * cpu-pdp11.c: Likewise. 2947 - * cpu-pj.c: Likewise. 2948 - * cpu-plugin.c: Likewise. 2949 - * cpu-powerpc.c: Likewise. 2950 - * cpu-rl78.c: Likewise. 2951 - * cpu-rs6000.c: Likewise. 2952 - * cpu-rx.c: Likewise. 2953 - * cpu-s390.c: Likewise. 2954 - * cpu-score.c: Likewise. 2955 - * cpu-sh.c: Likewise. 2956 - * cpu-sparc.c: Likewise. 2957 - * cpu-spu.c: Likewise. 2958 - * cpu-tic30.c: Likewise. 2959 - * cpu-tic4x.c: Likewise. 2960 - * cpu-tic54x.c: Likewise. 2961 - * cpu-tic6x.c: Likewise. 2962 - * cpu-tic80.c: Likewise. 2963 - * cpu-tilegx.c: Likewise. 2964 - * cpu-tilepro.c: Likewise. 2965 - * cpu-v850.c: Likewise. 2966 - * cpu-vax.c: Likewise. 2967 - * cpu-w65.c: Likewise. 2968 - * cpu-we32k.c: Likewise. 2969 - * cpu-xc16x.c: Likewise. 2970 - * cpu-xstormy16.c: Likewise. 2971 - * cpu-xtensa.c: Likewise. 2972 - * cpu-z80.c: Likewise. 2973 - * cpu-z8k.c: Likewise. 2974 - 2975 - * cpu-i386.c: Include "libiberty.h". 2976 - (bfd_arch_i386_fill): New. 2977 - Add bfd_arch_i386_fill to bfd_arch_info initializer. 2978 - 2979 - * cpu-k1om.c: Add bfd_arch_i386_fill to bfd_arch_info initializer. 2980 - * cpu-l1om.c: Likewise. 2981 - 2982 - * linker.c (default_data_link_order): Call abfd->arch_info->fill 2983 - if fill size is 0. 2984 - 2985 - * bfd-in2.h: Regenerated. 2986 - 2987 - 2012-01-27 Michael Eager <eager@eagercon.com> 2988 - 2989 - * elf32-microblaze.c (create_got_section): 2990 - Reuse existing .rela.got section. 2991 - 2992 - 2012-01-23 Alan Modra <amodra@gmail.com> 2993 - 2994 - * elf-bfd.h: Formatting. 2995 - (struct elf_backend_data): Add "maybe_function_sym". 2996 - (_bfd_elf_maybe_function_sym): Declare. 2997 - * elfxx-target.h (elf_backend_maybe_function_sym): Define. 2998 - (elfNN_bed): Init new field. 2999 - * elf.c (elf_find_function): Use maybe_function_sym. 3000 - (_bfd_elf_maybe_function_sym): New function. 3001 - * elf64-ppc.c (elf_backend_maybe_function_sym): Define. 3002 - (ppc64_elf_maybe_function_sym): New function. 1 + 2013-01-02 Kaushik Phatak <kaushik.phatak@kpitcummins.com> 3003 2 3004 - 2012-01-20 Francois Gouget <fgouget@codeweavers.com> 3005 - 3006 - PR binutils/13534 3007 - * archive.c (_bfd_ar_sizepad): New function. Correctly install and 3008 - pad the size field in an archive header. 3009 - (_bfd_generic_read_ar_hdr_mag): Use the correct type and scan 3010 - function for the archive size field. 3011 - (bfd_generic_openr_next_archived_file): Likewise. 3012 - (do_slurp_coff_armap): Likewise. 3013 - (_bfd_write_archive_contents): Likewise. 3014 - (_bfd_bsd44_write_ar_hdr): Use the new function. 3015 - (bfd_ar_hdr_from_filesystem): Likewise. 3016 - (_bfd_write_archive_contents): Likewise. 3017 - (bsd_write_armap): Likewise. 3018 - (coff_write_armap): Likewise. 3019 - * archive64.c (bfd_elf64_archive_write_armap): Likewise. 3020 - * bfdio.c (bfd_bread): Use correct type for archive element 3021 - sizes. 3022 - * ar.c (open_inarch): Likewise. 3023 - (extract_file): Likewise. 3024 - * libbfd-in.h (struct areltdata): Use correct types for 3025 - parsed_size and extra_size fields. 3026 - Prototype _bfd_ar_sizepad function. 3027 - * libbfd.h: Regenerate. 3 + * config.bfd (cr16*-*-uclinux*): New target support. 3028 4 3029 - 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org> 3030 5 3031 - * elf.c (elfcore_write_prpsinfo): Provide unconditionally. 3032 - Return NULL if core file generation is unsupported. 3033 - (elfcore_write_prstatus): Likewise. 3034 - * elf32-arm.c (elf32_arm_nabi_write_core_note): New function. 3035 - (elf_backend_write_core_note): Define. 3036 - 3037 - 2012-01-19 Tristan Gingold <gingold@adacore.com> 3038 - 3039 - * pef.c: Add a comment. 3040 - * xsym.c: Likewise. 3041 - 3042 - 2012-01-17 Alan Modra <amodra@gmail.com> 3043 - 3044 - * elf32-ppc.c (ppc_elf_write_core_note <NT_PRPSINFO>): Don't leave 3045 - trailing garbage in the note. 3046 - * elf64-ppc.c (ppc64_elf_write_core_note <NT_PRPSINFO>): Likewise. 3047 - 3048 - 2012-01-16 Daniel Green <venix1@gmail.com> 3049 - 3050 - PR ld/13491 3051 - * coff-i386.c (coff_i386_rtype_to_howto <R_SECREL32>): Test 3052 - h->root.type not h->type. 3053 - * coff-x86_64.c (coff_amd64_rtype_to_howto <R_AMD64_SECREL>): Likewise. 3054 - 3055 - 2012-01-13 Iain Sandoe <idsandoe@googlemail.com> 3056 - 3057 - * mach-o.c (bfd_mach_o_build_dysymtab_command): Handle absolute 3058 - indirect symbols. 3059 - 3060 - 2012-01-13 Iain Sandoe <idsandoe@googlemail.com> 3061 - 3062 - * mach-o.c (bfd_mach_o_write_relocs): Move computation of relocs file 3063 - position from here... to (bfd_mach_o_build_seg_command): Here. 3064 - 3065 - 2012-01-12 Iain Sandoe <idsandoe@googlemail.com> 3066 - 3067 - * mach-o.c (bfd_mach_o_count_indirect_symbols): New. 3068 - (bfd_mach_o_build_dysymtab_command): Populate indirect symbol table. 3069 - * mach-o.h (bfd_mach_o_asymbol): Move declaration to start of the 3070 - file. (bfd_mach_o_section): Add indirect_syms field. 3071 - 3072 - 2012-01-11 Iain Sandoe <idsandoe@googlemail.com> 3073 - 3074 - * mach-o.c (bfd_mach_o_build_seg_command): Separate computation of 3075 - vmsize from filesize. Don't compute offsets or file sizes for 3076 - zerofill sections. 3077 - 3078 - 2012-01-11 Iain Sandoe <idsandoe@googlemail.com> 3079 - 3080 - * mach-o.c (bfd_mach_o_build_commands): Make the building of each 3081 - command type independent. 3082 - 3083 - 2012-01-11 Alan Modra <amodra@gmail.com> 3084 - 3085 - * elf64-ppc.c: Define more insns used in plt call stubs. 3086 - (ppc64_elf_brtaken_reloc): Assume isa version 2 or above. 3087 - (ppc64_elf_relocate_section): Likewise. 3088 - (enum ppc_stub_type): Add ppc_stub_plt_call_r2save. 3089 - (struct ppc_link_hash_table): Increase size of stub_count array. 3090 - Add plt_stub_align and plt_thread_safe. 3091 - (ALWAYS_USE_FAKE_DEP, ALWAYS_EMIT_R2SAVE): Define. 3092 - (plt_stub_size, plt_stub_pad): New functions. 3093 - (build_plt_stub): Emit barriers for power7 thread safety. Don't 3094 - emit needless save of r2. 3095 - (build_tls_get_addr_stub): Adjust params. 3096 - (ppc_build_one_stub): Handle ppc_stub_plt_call_r2save and aligning 3097 - plt stubs. Adjust build_*plt_stub calls. 3098 - (ppc_size_one_stub): Similarly. 3099 - (ppc64_elf_size_stubs): Accept plt_thread_safe and plt_stub_align 3100 - params. Choose default for plt_thread_safe based on existence of 3101 - calls to thread creation functions. Modify plt_call to 3102 - plt_call_r2save when no tocsave reloc found. Align tail of stub 3103 - sections. 3104 - (ppc64_elf_build_stubs): Align tail of stub sections. Adjust 3105 - output of stub statistics. 3106 - (ppc64_elf_relocate_section): Handle ppc_stub_plt_call_r2save. 3107 - * elf64-ppc.h (ppc64_elf_size_stubs): Update prototype. 3108 - 3109 - 2012-01-10 H.J. Lu <hongjiu.lu@intel.com> 3110 - 3111 - PR ld/13581 3112 - * elf64-x86-64.c (elf_x86_64_relocate_section): Remove ABI_64_P 3113 - check on R_X86_64_PCXX. 3114 - 3115 - 2012-01-10 Tristan Gingold <gingold@adacore.com> 3116 - 3117 - * mach-o.c (bfd_mach_o_build_commands): Avoid uninitialized false 3118 - warning. 3119 - 3120 - 2012-01-10 Tristan Gingold <gingold@adacore.com> 3121 - 3122 - * bfdio.c (bfd_tell): Handle nested archives. 3123 - (bfd_seek): Ditto. 3124 - * cache.c (bfd_cache_lookup_worker): Ditto. 3125 - * archive.c (_bfd_get_elt_at_filepos): Remove code dealing with 3126 - nested archives. 3127 - (bfd_generic_openr_next_archived_file): Likewise. 3128 - 3129 - 2012-01-09 Iain Sandoe <idsandoe@googlemail.com> 3130 - 3131 - * mach-o.c (bfd_mach_o_bfd_copy_private_symbol_data): Implement. 3132 - (bfd_mach_o_write_symtab): Remove handling for indirect syms. 3133 - (bfd_mach_o_primary_symbol_sort_key): Likewise. 3134 - (bfd_mach_o_cf_symbols): Likewise. 3135 - (bfd_mach_o_sort_symbol_table): Remove. 3136 - (bfd_mach_o_mangle_symbols): Adjust arguments, remove handling 3137 - for indirect and dysymtab counts. Do the symbol sorting here. 3138 - (bfd_mach_o_build_dysymtab_command): Count the symbol types here. 3139 - Make the indirect symbols a TODO. 3140 - (bfd_mach_o_build_commands): Adjust call to bfd_mach_o_mangle_symbols. 3141 - (bfd_mach_o_make_empty_symbol): Specifically flag unset symbols with 3142 - a non-zero value. 3143 - (bfd_mach_o_read_symtab_symbol): Record the symbol index. 3144 - (bfd_mach_o_read_symtab_symbol): Adjust recording of global status. 3145 - * mach-o.h (mach_o_data_struct): Remove indirect and dysymtab entries. 3146 - (IS_MACHO_INDIRECT): Remove. 3147 - (SYM_MACHO_FIELDS_UNSET, SYM_MACHO_FIELDS_NOT_VALIDATED): New. 3148 - 3149 - 2012-01-06 Nick Clifton <nickc@redhat.com> 3150 - 3151 - PR binutils/13121 3152 - * reloc.c (bfd_generic_lookup_section_flags): Rename 'finfo' to 3153 - 'flaginfo' to avoid conflicts with AIX system headers. 3154 - 3155 - 2012-01-06 Tristan Gingold <gingold@adacore.com> 3156 - 3157 - * bfdio.c (bfd_bread): Use arelt_size macro. 3158 - 3159 - 2012-01-06 Tristan Gingold <gingold@adacore.com> 3160 - 3161 - * config.bfd (i[3-7]86-*-darwin*): Define targ64_selvecs. 3162 - 3163 - 2012-01-05 Nick Clifton <nickc@redhat.com> 3164 - 3165 - PR ld/12161 3166 - * elf32-avr.c (elf32_avr_relax_delete_bytes): Read in relocs if 3167 - necessary. 3168 - 3169 - 2012-01-05 Jan Kratochvil <jan.kratochvil@redhat.com> 3170 - 3171 - Fix zero registers core files when built by gcc-4.7. 3172 - * elf64-x86-64.c (elf_x86_64_write_core_note): Remove variables p and 3173 - size. Call elfcore_write_note for the local variables. Remove the 3174 - final elfcore_write_note call. Add NOTREACHED comments. 3175 - 3176 - 2012-01-04 Tristan Gingold <gingold@adacore.com> 3177 - 3178 - * mach-o.c (bfd_mach_o_fat_stat_arch_elt): New function. 3179 - (bfd_mach_o_generic_stat_arch_elt): Adjust. 3180 - 3181 - 2012-01-04 Tristan Gingold <gingold@adacore.com> 3182 - 3183 - * mach-o.c (bfd_mach_o_fat_member_init): New function. 3184 - (bfd_mach_o_openr_next_archived_file): Reindent. 3185 - Adjust to call bfd_mach_o_fat_member_init. 3186 - (bfd_mach_o_fat_extract): Adjust to call bfd_mach_o_fat_member_init. 3187 - 3188 - 2012-01-04 Tristan Gingold <gingold@adacore.com> 3189 - 3190 - * mach-o-x86-64.c (bfd_mach_o_x86_64_swap_reloc_out): Handle 3191 - BFD_RELOC_32, BFD_RELOC_MACH_O_X86_64_PCREL32_1, 3192 - BFD_RELOC_MACH_O_X86_64_PCREL32_2, 3193 - BFD_RELOC_MACH_O_X86_64_PCREL32_4, 3194 - BFD_RELOC_MACH_O_X86_64_BRANCH32, 3195 - BFD_RELOC_MACH_O_X86_64_SUBTRACTOR32, 3196 - BFD_RELOC_MACH_O_X86_64_GOT. 3197 - 3198 - 2012-01-04 Tristan Gingold <gingold@adacore.com> 3199 - 3200 - * mach-o.h (bfd_mach_o_fvmlib_command): New structure. 3201 - (bfd_mach_o_load_command): Add fvmlib field. 3202 - 3203 - * mach-o.c (bfd_mach_o_read_fvmlib): New function. 3204 - (bfd_mach_o_read_command): Handle fvmlib. 3205 - 3206 - 2012-01-04 Tristan Gingold <gingold@adacore.com> 3207 - 3208 - * mach-o.c (bfd_mach_o_convert_architecture): Reindent. 3209 - Decode msubtype for ARM. 3210 - 3211 - 2012-01-04 Tristan Gingold <gingold@adacore.com> 3212 - 3213 - * mach-o.c (bfd_mach_o_get_synthetic_symtab): Add comments. 3214 - 3215 - 2012-01-04 Tristan Gingold <gingold@adacore.com> 3216 - 3217 - * mach-o.h: Reindent header. 3218 - (bfd_mach_o_encryption_info_command): New structure. 3219 - (bfd_mach_o_load_command): Add encryption_info field. 3220 - 3221 - * mach-o.c (bfd_mach_o_read_encryption_info): New function. 3222 - (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO. 3223 - (bfd_mach_o_read_command): Adjust error message. 3224 - 3225 - 2012-01-04 Shinichiro Hamaji <shinichiro.hamaji@gmail.com> 3226 - 3227 - * dwarf2.c (_bfd_dwarf2_slurp_debug_info): Factor out the part 3228 - which reads DWARF2 and stores in stash from find_line. 3229 - (find_line) Call _bfd_dwarf2_slurp_debug_info. 3230 - * libbfd-in.h (_bfd_dwarf2_slurp_debug_info): Add declaration. 3231 - * libbfd.h (_bfd_dwarf2_slurp_debug_info): Regenerate. 3232 - * mach-o.c (dsym_subdir): The name of subdir where debug 3233 - information may be stored. 3234 - (bfd_mach_o_lookup_uuid_command): New. Lookup a load command whose 3235 - type is UUID. 3236 - (bfd_mach_o_dsym_for_uuid_p): New. Check if the specified BFD is 3237 - corresponding to the executable. 3238 - (bfd_mach_o_find_dsym): New. Find a debug information BFD in the 3239 - specified binary file. 3240 - (bfd_mach_o_follow_dsym): New. Find a debug information BFD for 3241 - the original BFD. 3242 - (bfd_mach_o_find_nearest_line): Check dSYM files for Mach-O 3243 - executables, dylibs, and bundles. 3244 - (bfd_mach_o_close_and_cleanup): Clean up BFDs for the dSYM file. 3245 - * mach-o.h (dsym_bfd): The BFD of the dSYM file. 3246 - 3247 - 2012-01-03 Iain Sandoe <idsandoe@googlemail.com> 3248 - 3249 - * mach-o.c (bfd_mach_o_mangle_symbols): Put in the section index 3250 - for stabd symbols. 3251 - (bfd_mach_o_primary_symbol_sort_key): Adjust for stabs. 3252 - (bfd_mach_o_cf_symbols): Likewise. 3253 - 3254 - 2012-01-03 Iain Sandoe <idsandoe@googlemail.com> 3255 - 3256 - * mach-o.c (bfd_mach_o_mangle_symbols): Correct typo. 3257 - 3258 - 2012-01-03 Iain Sandoe <idsandoe@googlemail.com> 3259 - 3260 - * mach-o.c (bfd_mach_o_write_symtab): Fill in the string table index 3261 - as the value of an indirect symbol. Keep the string table index in 3262 - non-indirect syms for reference. 3263 - (bfd_mach_o_write_dysymtab): New. 3264 - (bfd_mach_o_primary_symbol_sort_key): New. 3265 - (bfd_mach_o_cf_symbols): New. 3266 - (bfd_mach_o_sort_symbol_table): New. 3267 - (bfd_mach_o_mangle_symbols): Return early if no symbols. Sort symbols. 3268 - If we are emitting a dysymtab, process indirect symbols and count the 3269 - number of each other kind. 3270 - (bfd_mach_o_mangle_sections): New. 3271 - (bfd_mach_o_write_contents): Split out some pre-requisite code into 3272 - the command builder. Write dysymtab if the command is present. 3273 - (bfd_mach_o_count_sections_for_seg): New. 3274 - (bfd_mach_o_build_seg_command): New. 3275 - (bfd_mach_o_build_dysymtab_command): New. 3276 - (bfd_mach_o_build_commands): Reorganize to support the fact that some 3277 - commands are optional and should not be emitted if there are no 3278 - sections or symbols. 3279 - (bfd_mach_o_set_section_contents): Amend comment. 3280 - * mach-o.h: Amend and add to comments. 3281 - (mach_o_data_struct): Add fields for dysymtab symbols counts and a 3282 - pointer to the indirects, when present. 3283 - (bfd_mach_o_should_emit_dysymtab): New macro. 3284 - (IS_MACHO_INDIRECT): Likewise. 3285 - 3286 - For older changes see ChangeLog-2011 6 + For older changes see ChangeLog-2012 3287 7 3288 - Copyright (C) 2012 Free Software Foundation, Inc. 8 + Copyright (C) 2013 Free Software Foundation, Inc. 3289 9 3290 10 Copying and distribution of this file, with or without modification, 3291 11 are permitted in any medium without royalty provided the copyright
+3299
bfd/ChangeLog-2012
··· 1 + 2012-12-23 Mike Frysinger <vapier@gentoo.org> 2 + 3 + * config.bfd (i[3-7]86-*-linux-*): Add x86_64pei_vec to 4 + targ64_selvecs. 5 + 6 + 2012-12-21 H.J. Lu <hongjiu.lu@intel.com> 7 + 8 + * elf64-x86-64.c (elf_x86_64_relocate_section): Check 9 + R_X86_64_standard instead of R_X86_64_max for unrecognized 10 + relocation. 11 + 12 + 2012-12-21 H.J. Lu <hongjiu.lu@intel.com> 13 + 14 + PR ld/14980 15 + * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Properly 16 + adjust h->plt.refcount. 17 + * elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise. 18 + 19 + 2012-12-19 H.J. Lu <hongjiu.lu@intel.com> 20 + 21 + * elf32-i386.c (elf_i386_relocate_section): Replace 22 + bfd_elf32_swap_reloc_out with elf_append_rel. 23 + (elf_i386_finish_dynamic_symbol): Likewise. 24 + 25 + * elflink.c (elf_append_rel): Call swap_reloc_out instead of 26 + swap_reloca_out. 27 + 28 + 2012-12-18 H.J. Lu <hongjiu.lu@intel.com> 29 + 30 + * elf32-i386.c (elf_i386_finish_dynamic_symbol): Reindent. 31 + 32 + 2012-12-18 Edgar E. Iglesias <edgar.iglesias@gmail.com> 33 + 34 + PR ld/14736 35 + * elf32-microblaze.c (calc_fixup): Add end range. 36 + 37 + 2012-12-18 Alan Modra <amodra@gmail.com> 38 + 39 + * elf.c (swap_out_syms): Set shndx to SHN_ABS when not one of 40 + the special MAP_* values. 41 + 42 + 2012-12-17 Roland McGrath <mcgrathr@google.com> 43 + Alan Modra <amodra@gmail.com> 44 + 45 + * elf32-arm.c (elf32_arm_size_stubs): Skip input BFDs that are 46 + not ARM ELF. 47 + 48 + 2012-12-17 Nick Clifton <nickc@redhat.com> 49 + 50 + * MAINTAINERS: Add copyright notice. 51 + * Makefile.am: Likewise. 52 + * PORTING: Likewise. 53 + * README: Likewise. 54 + * TODO: Likewise. 55 + * acinclude.m4: Likewise. 56 + * bfd.m4: Likewise. 57 + * config.bfd: Likewise. 58 + * configure.com: Likewise. 59 + * configure.host: Likewise. 60 + * configure.in: Likewise. 61 + * makefile.vms: Likewise. 62 + * warning.m4: Likewise. 63 + * elf64-hppa.c: Fix copyright notice. 64 + * Makefile.in: Regenerate. 65 + 66 + 2012-12-16 H.J. Lu <hongjiu.lu@intel.com> 67 + 68 + * elf32-i386.c (elf_i386_check_relocs): Don't check IFUNC 69 + relocations here. 70 + * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise. 71 + 72 + 2012-12-16 H.J. Lu <hongjiu.lu@intel.com> 73 + 74 + PR ld/14968 75 + * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Also check 76 + local IFUNC references. 77 + * elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise. 78 + 79 + 2012-12-14 Tom Tromey <tromey@redhat.com> 80 + 81 + * elf.c (elfcore_grok_note) <NT_FILE>: New case. 82 + 83 + 2012-12-13 H.J. Lu <hongjiu.lu@intel.com> 84 + 85 + PR ld/14956 86 + * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Check local 87 + IFUNC calls. 88 + * elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise. 89 + 90 + 2012-12-10 Edgar E. Iglesias <edgar.iglesias@gmail.com> 91 + 92 + * reloc.c (MICROBLAZE): Document new relocations 93 + * bfd-in2.h: Regenerated 94 + * libbfd.h: Regenerated 95 + * elf32-microblaze.c (microblaze_elf_howto_raw): Add TLS relocations 96 + (microblaze_elf_reloc_type_lookup): Likewise 97 + (elf32_mb_link_hash_entry): define TLS reference types 98 + (elf32_mb_link_hash_table): add TLS Local dynamic GOT entry 99 + #define has_tls_reloc if section has TLS relocs 100 + (dtprel_base), (check_unique_offset): New 101 + (microblaze_elf_output_dynamic_relocation): output simple 102 + dynamic relocation into SRELOC. 103 + (microblaze_elf_relocate_section): Accommodate TLS relocations. 104 + (microblaze_elf_check_relocs): Likewise 105 + (update_local_sym_info): New 106 + (microblaze_elf_copy_indirect_symbol): Add tls_mask. 107 + (allocate_dynrelocs): Handle TLS symbol 108 + (microblaze_elf_size_dynamic_sections): Set size and offset 109 + (microblaze_elf_finish_dynamic_symbol): Use 110 + microblaze_elf_output_dynamic_relocation 111 + 112 + 2012-12-09 H.J. Lu <hongjiu.lu@intel.com> 113 + 114 + PR binutils/14933 115 + * archive.c (bsd_write_armap): Properly check indicies bigger 116 + than 4Gb. 117 + 118 + 2012-12-07 Alan Modra <amodra@gmail.com> 119 + 120 + PR ld/14926 121 + * elf.c (_bfd_elf_map_sections_to_segments): Include elf header 122 + size when determining phdr_in_segment. 123 + 124 + 2012-12-06 Yufeng Zhang <yufeng.zhang@arm.com> 125 + 126 + * elf64-aarch64.c (elf64_aarch64_grok_prstatus): New function. 127 + (elf_backend_grok_prstatus): Define to elf64_aarch64_grok_prstatus. 128 + 129 + 2012-12-06 Alan Modra <amodra@gmail.com> 130 + 131 + * elfxx-mips.c (allocate_dynrelocs): Correct test for symbol 132 + defined in a regular file to include common symbols. 133 + 134 + 2012-12-05 Leif Ekblad <leif@rdos.net> 135 + 136 + * config.bfd: Add x86_64-*-rdos. 137 + 138 + 2012-12-05 Alan Modra <amodra@gmail.com> 139 + 140 + * elf64-ppc.c (build_plt_stub): Fix off by one error in branch 141 + to glink. 142 + 143 + 2012-12-03 Maciej W. Rozycki <macro@codesourcery.com> 144 + 145 + PR ld/10629 146 + * elfxx-mips.c (mips_elf_link_hash_table): Update comment for 147 + use_rld_obj_head. 148 + (_bfd_mips_elf_create_dynamic_sections): Always create a 149 + .rld_map section if no __rld_obj_head symbol has been seen. 150 + 151 + 2012-12-03 Maciej W. Rozycki <macro@codesourcery.com> 152 + 153 + * elf32-mips.c (mips_elf32_object_p): Return right away when the 154 + ABI is not compatible. 155 + * elfn32-mips.c (mips_elf_n32_object_p): Likewise. 156 + 157 + 2012-12-03 Maciej W. Rozycki <macro@codesourcery.com> 158 + 159 + * elf32-tilepro.c (tilepro_elf_mkobject): New function. 160 + (bfd_elf32_mkobject): New macro. 161 + 162 + 2012-12-03 Maciej W. Rozycki <macro@codesourcery.com> 163 + 164 + * elf32-mips.c (bfd_elf32_mkobject): New macro. 165 + * elf64-mips.c (bfd_elf64_mkobject): Likewise. 166 + * elfn32-mips.c (bfd_elf32_mkobject): Likewise. 167 + * elfxx-mips.h (_bfd_mips_elf_mkobject): New prototype. 168 + * elfxx-mips.c (mips_elf_obj_tdata): New struct. 169 + (mips_elf_tdata): New macro. 170 + (_bfd_mips_elf_mkobject): New function. 171 + (mips_elf_merge_obj_attributes): Report the originating input BFD 172 + on attribute conflicts. 173 + 174 + 2012-12-03 Maciej W. Rozycki <macro@codesourcery.com> 175 + 176 + * elfxx-mips.c (mips_elf_merge_obj_attributes): Correct messages 177 + for the -mdouble-float and -msingle-float cases throughout; make 178 + all the messages report the output file consistently on the 179 + left-hand side. 180 + 181 + 2012-11-29 Roland McGrath <mcgrathr@google.com> 182 + 183 + * elf-nacl.c (segment_eligible_for_headers): Disallow writable segments. 184 + 185 + 2012-11-26 Roland McGrath <mcgrathr@google.com> 186 + 187 + * elf-nacl.c (nacl_modify_segment_map): Don't crash when INFO is null. 188 + 189 + 2012-11-21 H.J. Lu <hongjiu.lu@intel.com> 190 + 191 + PR binutils/14493 192 + * elf.c (copy_elf_program_header): When rewriting program 193 + header, set the output maxpagesize to the maximum alignment 194 + of input PT_LOAD segments. 195 + 196 + 2012-11-21 Roland McGrath <mcgrathr@google.com> 197 + 198 + * elf-nacl.c (segment_nonexecutable_and_has_contents): Renamed to ... 199 + (segment_eligible_for_headers): ... this. Take new arguments 200 + MAXPAGESIZE and SIZEOF_HEADERS. Return false if the first section's 201 + start address doesn't leave space for the headers. 202 + (nacl_modify_segment_map): Update caller. 203 + 204 + 2012-11-20 H.J. Lu <hongjiu.lu@intel.com> 205 + 206 + PR ld/14862 207 + * elf-bfd.h (elf_link_hash_entry): Remove ref_dynamic_nonweak 208 + added by accident. 209 + (elf_link_add_object_symbols): Don't set nor check 210 + ref_dynamic_nonweak. 211 + 212 + 2012-11-20 Alan Modra <amodra@gmail.com> 213 + 214 + * elf32-rx.c (rx_elf_print_private_bfd_data): Warning fix. 215 + 216 + 2012-11-16 Joey Ye <joey.ye@arm.com> 217 + 218 + * elf32-arm.c (elf32_arm_final_link_relocate 219 + <case R_ARM_THM_ALU_PREL_11_0, case R_ARM_THM_PC12>): Align address of 220 + the place being relocated. 221 + (elf32_arm_final_link_relocate, case R_ARM_THM_PC8): Align address 222 + of the place being relocated and truncate addend. 223 + (Pa): New macro. 224 + 225 + 2012-11-14 Roland McGrath <mcgrathr@google.com> 226 + 227 + * elf32-arm.c (elf32_arm_nacl_plt0_entry): Use bic rather than bfc 228 + instruction for data sandboxing. 229 + 230 + 2012-11-14 Tristan Gingold <gingold@adacore.com> 231 + 232 + * mach-o.c (bfd_mach_o_read_main) 233 + (bfd_mach_o_read_source_version): New functions. 234 + (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_DATA_IN_CODE, 235 + BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS, BFD_MACH_O_LC_MAIN, 236 + BFD_MACH_O_LC_SOURCE_VERSION. 237 + * mach-o.h (bfd_mach_o_main_command) 238 + (bfd_mach_o_source_version_command): New types. 239 + (bfd_mach_o_load_command): Add fields for these new types. 240 + 241 + 2012-11-14 Tristan Gingold <gingold@adacore.com> 242 + 243 + * mach-o.c (bfd_mach_o_canonicalize_one_reloc): Add a special 244 + handling for non-scattered pairs. Update comments. 245 + 246 + 2012-11-13 Joe Seymour <jseymour@codesourcery.com> 247 + 248 + * elf.c (rewrite_elf_program_header): Allocate elf_segment_map 249 + with bfd_zalloc, instead of bfd_alloc. 250 + 251 + 2012-11-09 Nick Clifton <nickc@redhat.com> 252 + 253 + * Makefile.am (ALL_MACHINES): Add cpu-v850-rh850.lo. 254 + (ALL_MACHINES_CFILES): Add cpu-v850-rh850.c. 255 + * archures.c (bfd_arch_info): Add bfd_v850_rh850_arch. 256 + * config.bfd: Likewise. 257 + * configure.in: Add bfd_elf32_v850_rh850_vec. 258 + * cpu-v850.c: Update printed description. 259 + * cpu-v850_rh850.c: New file. 260 + * elf32-v850.c (v850_elf_check_relocs): Add support for RH850 ABI 261 + relocs. 262 + (v850_elf_perform_relocation): Likewise. 263 + (v850_elf_final_link_relocate): Likewise. 264 + (v850_elf_relocate_section): Likewise. 265 + (v850_elf_relax_section): Likewise. 266 + (v800_elf_howto_table): New. 267 + (v850_elf_object_p): Add support for RH850 ABI values. 268 + (v850_elf_final_write_processing): Likewise. 269 + (v850_elf_merge_private_bfd_data): Likewise. 270 + (v850_elf_print_private_bfd_data): Likewise. 271 + (v800_elf_reloc_map): New. 272 + (v800_elf_reloc_type_lookup): New. 273 + (v800_elf_reloc_name_lookup): New. 274 + (v800_elf_info_to_howto): New. 275 + (bfd_elf32_v850_rh850_vec): New. 276 + (bfd_arch_v850_rh850): New. 277 + * targets.c (_bfd_targets): Add bfd_elf32_v850_rh850_vec. 278 + * Makefile.in: Regenerate. 279 + * bfd-in2.h: Regenerate. 280 + * configure: Regenerate. 281 + 282 + * elf32-rx.c (describe_flags): New function. Returns a buffer 283 + containing a description of the E_FLAG_RX_... values set. 284 + (rx_elf_merge_private_bfd_data): Use it. 285 + (rx_elf_print_private_bfd_data): Likewise. 286 + (elf32_rx_machine): Skip EF_RX_CPU_RX check. 287 + (elf32_rx_special_sections): Define. 288 + (elf_backend_special_sections): Define. 289 + 290 + 2012-11-09 Edgar E. Iglesias <edgar.iglesias@gmail.com> 291 + 292 + * config.bfd: Add microblazeel-*-* 293 + * configure.in: Likewise. 294 + * configure: Regenerate. 295 + * elf32-microblaze.c (microblaze_elf_relocate_section): Add endian awareness. 296 + (microblaze_elf_merge_private_bfd_data): New. 297 + (microblaze_bfd_write_imm_value_32): New. 298 + (microblaze_bfd_write_imm_value_64): New. 299 + (microblaze_elf_relax_section): Add endian awareness. 300 + (microblaze_elf_add_symbol_hook): Define TARGET_LITTLE_NAME, 301 + TARGET_LITTLE_SYM and bfd_elf32_bfd_merge_private_bfd_data. 302 + * targets.c: Add bfd target bfd_elf32_microblazeel_vec. 303 + 304 + 2012-11-09 H.J. Lu <hongjiu.lu@intel.com> 305 + 306 + * aout-tic30.c (MY_final_link_callback): Remove trailing 307 + redundant `;'. 308 + * coff-h8500.c (extra_case): Likewise. 309 + (bfd_coff_reloc16_get_value): Likewise. 310 + * dwarf2.c (_bfd_dwarf2_cleanup_debug_info): Likewise. 311 + * elf.c (_bfd_elf_slurp_version_tables): Likewise. 312 + * elf32-frv.c (elf32_frv_relocate_section): Likewise. 313 + * elf32-v850.c (v850_elf_perform_relocation): Likewise. 314 + * opncls.c (bfd_calc_gnu_debuglink_crc32): Likewise. 315 + * plugin.c (add_symbols): Likewise. 316 + * reloc.c (bfd_check_overflow): Likewise. 317 + * vms-lib.c (_bfd_vms_lib_archive_p): Likewise. 318 + 319 + 2012-11-08 Tom Tromey <tromey@redhat.com> 320 + 321 + * elf.c (elfcore_grok_note) <NT_SIGINFO>: New case; make 322 + pseudosection. 323 + 324 + 2012-11-08 Alan Modra <amodra@gmail.com> 325 + 326 + * aclocal.m4: Regenerate. 327 + * Makefile.in: Regenerate. 328 + * po/SRC-POTFILES.in: Regenerate. 329 + 330 + 2012-11-07 H.J. Lu <hongjiu.lu@intel.com> 331 + 332 + * section.c (bfd_get_section_contents): Replace memcpy 333 + with memmove. 334 + 335 + 2012-11-07 Hans-Peter Nilsson <hp@axis.com> 336 + 337 + PR binutils/14481 338 + * aout-target.h (MY_close_and_cleanup): Make local function 339 + instead of alias of MY_bfd_free_cached_info. Also call 340 + _bfd_generic_close_and_cleanup. 341 + 342 + 2012-11-06 H.J. Lu <hongjiu.lu@intel.com> 343 + 344 + PR binutils/14813 345 + * bfdio.c (bfd_iovec): Change return type of bclose to 346 + bfd_boolean. 347 + (memory_bclose): Change return type to bfd_boolean. 348 + * cache.c (cache_bclose): Likewise. 349 + * opncls.c (opncls_bclose): Likewise. Return TRUE on success. 350 + * vms-lib.c (vms_lib_bclose): Likewise. Return TRUE. 351 + * libbfd.h: Regenerated. 352 + 353 + 2012-11-06 Tristan Gingold <gingold@adacore.com> 354 + 355 + * coff-x86_64.c (_bfd_generic_find_nearest_line_discriminator): 356 + Define as coff_find_nearest_line_discriminator. 357 + 358 + 2012-11-06 Alan Modra <amodra@gmail.com> 359 + 360 + PR binutils/14567 361 + * opncls.c (opncls_iovec): Forward declare. 362 + (_bfd_new_bfd_contained_in): If using opncls_iovec, copy iostream 363 + to new bfd. 364 + 365 + 2012-11-06 Alan Modra <amodra@gmail.com> 366 + 367 + * mach-o.c (bfd_mach_o_close_and_cleanup): Don't call 368 + _bfd_generic_close_and_cleanup for mach_o_fat archives. 369 + 370 + 2012-11-06 Alan Modra <amodra@gmail.com> 371 + 372 + * coff-tic4x.c (tic4x_coff0_vec, tic4x_coff0_beh_vec, 373 + tic4x_coff1_vec, tic4x_coff1_beh_vec, tic4x_coff2_vec, 374 + tic4x_coff2_beh_vec): Allow SEC_CODE and SEC_READONLY in 375 + section flags. 376 + * coff-ppc.c (TARGET_LITTLE_SYM): Likewise. 377 + (TARGET_BIG_SYM): Likewise. 378 + 379 + 2012-11-06 Alan Modra <amodra@gmail.com> 380 + 381 + * elf64-ppc.c (struct ppc_link_hash_table): Add dot_toc_dot. 382 + (ppc64_elf_size_stubs): Lookup ".TOC.". 383 + (ppc64_elf_relocate_section): Resolve special symbol ".TOC.". 384 + 385 + 2012-11-06 Alan Modra <amodra@gmail.com> 386 + 387 + * elf64-ppc.c (maybe_strip_output): Heed SEC_KEEP. 388 + 389 + 2012-11-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 390 + 391 + PR target/14788 392 + * elf32-s390.c (elf_s390_relocate_section): Set elf.dynobj for 393 + local ifunc symbols. 394 + * elf64-s390.c (elf_s390_relocate_section): Likewise. 395 + 396 + 2012-11-05 Alan Modra <amodra@gmail.com> 397 + 398 + * configure.in: Apply 2012-09-10 change to config.in here. 399 + 400 + 2012-11-05 Alan Modra <amodra@gmail.com> 401 + 402 + * elf64-ppc.c (ppc64_elf_edit_toc): Clear "repeat" inside 403 + loop. Really mark toc entry referring to another toc entry 404 + only if the first is used. 405 + 406 + 2012-10-30 H.J. Lu <hongjiu.lu@intel.com> 407 + 408 + * configure.in: Also handle --enable-64-bit-bfd when setting 409 + CORE_HEADER for 'i[3-7]86-*-linux-*'. 410 + 411 + 2012-10-30 Steve McIntyre <steve.mcintyre@linaro.org> 412 + 413 + * elf32-arm.c (elf32_arm_print_private_bfd_data): Recognise and 414 + display the new ARM hard-float/soft-float ABI flags for EABI_VER5 415 + (elf32_arm_post_process_headers): Add the hard-float/soft-float 416 + ABI flag as appropriate for ET_DYN/ET_EXEC in EABI_VER5. 417 + 418 + 2012-10-30 Yao Qi <yao@codesourcery.com> 419 + H.J. Lu <hongjiu.lu@intel.com> 420 + 421 + * configure.in: Set CORE_HEADER to hosts/x86-64linux.h for 422 + 'i[3-7]86-*-linux-*' if x86_64-*linux is enabled. 423 + * configure: Regenerated. 424 + 425 + * elf64-x86-64.c (elf_x86_64_write_core_note): Replace type 426 + 'prpsinfo_t' and 'prstatus_t' with 'prpsinfo64_t' and 427 + 'prstatus64_t' respectively. 428 + 429 + * hosts/x86-64linux.h (a8_uint64_t): New. 430 + (user_regsx32_struct): Renamed to ... 431 + (user_regs64_struct): This. Replace uint64_t with a8_uint64_t. 432 + (elf_gregx32_t): Renamed to ... 433 + (elf_greg64_t): This. Replace uint64_t with a8_uint64_t. 434 + (ELF_NGREGX32): Removed. 435 + (ELF_NGREG64): New. 436 + (elf_gregx32_t): Removed. 437 + (elf_greg64_t): New. 438 + (struct prstatus64_timeval): New. 439 + (elf_prstatusx32): Replace elf_gregsetx32_t with elf_gregset64_t. 440 + (elf_prstatus64): New. 441 + (elf_prpsinfo64): New. 442 + (prstatus64_t, prpsinfo64_t): New typedef. 443 + 444 + 2012-10-29 Sean Keys <skeys@ipdatasys.com> 445 + 446 + * elf32-xgate.c(elf_xgate_howto_table): Fix src and dest mask for 447 + R_XGATE_16 448 + 449 + 2012-10-29 Alan Modra <amodra@gmail.com> 450 + 451 + * elf32-ppc.c (ppc_elf_howto_raw): Correct dst_mask in 452 + R_PPC_VLE_LO16A, R_PPC_VLE_HI16A, R_PPC_VLE_HA16A, 453 + R_PPC_VLE_SDAREL_LO16A, R_PPC_VLE_SDAREL_HI16A, 454 + R_PPC_VLE_SDAREL_HA16A reloc howtos. 455 + 456 + 2012-10-26 Nick Clifton <nickc@redhat.com> 457 + 458 + * po/uk.po: Updated Ukranian translation. 459 + 460 + 2012-10-26 Alan Modra <amodra@gmail.com> 461 + 462 + PR target/14758 463 + * elf32-ppc.c (ppc_elf_reloc_type_lookup): Decode ppc64 _DS 464 + bfd_reloc values. Map to corresponding D-form relocs. 465 + (is_insn_ds_form, is_insn_qs_form): New functions. 466 + (ppc_elf_relocate_section): Validate insn with DS-form or DQ-form 467 + fields using D-form reloc. 468 + 469 + 2012-10-25 H.J. Lu <hongjiu.lu@intel.com> 470 + 471 + * elf32-i386.c (elf_i386_size_dynamic_sections): Replace 472 + _GLOBAL_OFFSET_TABLE_ lookup with htab->elf.hgot. 473 + * elf64-x86-64.c (elf_x86_64_size_dynamic_sections): Likewise. 474 + 475 + 2012-10-24 H.J. Lu <hongjiu.lu@intel.com> 476 + 477 + * compress.c (bfd_is_section_compressed): Don't decompress the 478 + section. 479 + 480 + 2012-10-23 Nathan Sidwell <nathan@codesourcery.com> 481 + 482 + * bfd-in.h (bfd_elf_stack_segment_size): Declare. 483 + * bfd-in2.h: Rebuilt. 484 + * elfxx-target.h (elf_backend_stack_align): New. 485 + (elfNN_bed): Add it. 486 + * elf-bfd.h (struct elf_backend_data): Add stack_align field. 487 + * elf.c (bfd_elf_map_sections_to_segments): Pay attention to 488 + stack_align and stacksize for PT_GNU_STACK segment. 489 + (assign_file_positions_for_non_load_sections): Set p_memsz for 490 + PT_GNU_STACK segment. 491 + (copy_elf_program_header): Copy PT_GNU_STACK size. 492 + * elflink.c (bfd_elf_stack_segment_size): New function, taken from 493 + uclinux backends. 494 + (bfd_elf_size_dynamic_sections): Determine 495 + PT_GNU_STACK requirements after calling backend. Pay attention to 496 + stacksize. 497 + * elf32-bfin.c (elf32_bfinfdpic_always_size_sections): Call 498 + bfd_elf_stack_segment_size. 499 + (elf32_bfinfdpic_modify_program_headers): Delete. 500 + (elf32_bfingfdpic_copy_private_bfd_data): Don't copy PT_GNU_STACK 501 + here. 502 + (elf_backend_stack_align): Override. 503 + (elf_backend_modify_program_headers): Don't override. 504 + * elf32-frv.c (frvfdpic_always_size_sections): Call 505 + bfd_elf_stack_segment_size. 506 + (elf32_frvfdpic_modify_program_headers): Delete. 507 + (elf32_frvfdpic_copy_private_bfd_data): Don't copy PT_GNU_STACK 508 + here. 509 + (elf_backend_stack_align): Override. 510 + (elf_backend_modify_program_headers): Don't override. 511 + * elf32-lm32.c (lm32_elf_always_size_sections): Leave 512 + PT_GNU_STACK creation to underlying elf support. Check 513 + __stacksize here for backwards compatibility, and set it if 514 + needed. 515 + (lm32_elf_modify_segment_map): Delete. 516 + (lm32_elf_modify_program_headers): Delete. 517 + (elf_backend_stack_align): Override. 518 + (elf_backend_modify_segment_map): Don't override. 519 + (elf_backend_modify_program_headers): Don't override. 520 + * elf32-sh.c (sh_elf_always_size_sections): Call 521 + bfd_elf_stack_segment_size. 522 + (sh_elf_modify_program_headers): Delete. 523 + (sh_elf_copy_private_data): Don't copy PT_GNU_STACK 524 + here. 525 + (elf_backend_stack_align): Override. 526 + (elf_backend_modify_program_headers): Don't override. 527 + * elf32-tic6x.c (elf32_tic6x_always_size_sections): Call 528 + bfd_elf_stack_segment_size. 529 + (elf32_tic6x_modify_program_headers): Delete. 530 + (elf32_tic6x_copy_private_data): Delete. 531 + (elf_backend_stack_align): Override. 532 + (bfd_elf32_bfd_copy_private_bfd_data): Don't override. 533 + (elf_backend_modify_program_headers): Don't override. 534 + 535 + 2012-10-22 Alan Modra <amodra@gmail.com> 536 + 537 + * cache.c (cache_bmmap): Don't use void* arithmetic. 538 + 539 + 2012-10-21 Alan Modra <amodra@gmail.com> 540 + 541 + * compress.c (bfd_cache_section_contents): New function. 542 + * bfd-in2.h: Regenerate. 543 + 544 + 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com> 545 + 546 + * linker.c (_bfd_generic_link_output_symbols): Handle a 547 + no-longer-global symbol entered through a plugin. 548 + 549 + 2012-10-20 Alan Modra <amodra@gmail.com> 550 + 551 + * compress.c: Reinstate 2012-10-19 change. 552 + (bfd_get_full_section_contents): Don't free unless we alloc. 553 + Use proper decompress size. Delete some vars, rename others. 554 + 555 + 2012-10-19 Tom Tromey <tromey@redhat.com> 556 + 557 + * compress.c: Revert previous patch. 558 + 559 + 2012-10-19 Tom Tromey <tromey@redhat.com> 560 + 561 + * compress.c (bfd_get_full_section_contents): Don't cache 562 + decompressed contents. 563 + 564 + 2012-10-18 Kai Tietz <ktietz@redhat.com> 565 + 566 + PR binutils/14067 567 + * coff-i386.c (bfd_target): Add section flag SEC_EXCLUDE. 568 + Allow BFD_COMPRESS and BFD_DECOMPRESS flags. 569 + * coff-x86_64.c: Likewise. 570 + * coffcode.h (DOT_ZDEBUG): New define. 571 + (sec_to_styp_flags): Check for .zdebug. 572 + (styp_to_sec_flags): Likewise. 573 + * coffgen.c (make_a_section): Handle .debug_* section 574 + compression/decompression flags. 575 + * cofflink.c (mark_relocs): Ignore relocations 576 + for a section, which isn't marked as used. 577 + (_bfd_coff_link_input_bfd): Add support of compressed 578 + debug sections. 579 + * compress.c (decompress_contents): Loop as long 580 + as there is input available and there is room for 581 + output. 582 + * bfd/pe-arm.c: Add .zdebug_ partial match entry. 583 + * pe-i386.c: Likewise. 584 + * pe-x86_64.c: Likewise. 585 + * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't clear all 586 + data-directories as this might destroy content. 587 + 588 + * coff-i386.c (_bfd_generic_find_nearest_line_discriminator): 589 + define as coff_find_nearest_line_discriminator. 590 + * libcoff-in.h (coff_find_nearest_line_discriminator): New 591 + * libcoff.h: Regenerated. 592 + * coff-x86_64.c: Likewise. 593 + * coffgen.c (coff_find_nearest_line_discriminator): New function. 594 + prototype. 595 + 596 + 2012-10-16 Joel Brobecker <brobecker@adacore.com> 597 + 598 + * coff64-rs6000.c (rs6000coff64_vec): Set _close_and_cleanup 599 + field to _bfd_archive_close_and_cleanup. 600 + (aix5coff64_vec): Likewise. 601 + 602 + 2012-10-16 Joel Brobecker <brobecker@adacore.com> 603 + 604 + * coff-rs6000.c (rs6000coff_vec): Set _close_and_cleanup 605 + field to _bfd_archive_close_and_cleanup. 606 + (pmac_xcoff_vec): Likewise. 607 + 608 + 2012-10-16 Sofiane Naci <sofiane.naci@arm.com> 609 + 610 + * elf64-aarch64.c (elf64_aarch64_tls_howto_table): Fix shift value for 611 + R_AARCH64_TLSIE_LD_GOTTPREL_PREL19, R_AARCH64_TLSLE_MOVW_TPREL_G2, 612 + R_AARCH64_TLSLE_MOVW_TPREL_G1, R_AARCH64_TLSLE_MOVW_TPREL_G1_NC, 613 + R_AARCH64_TLSLE_ADD_TPREL_HI12. 614 + (elf64_aarch64_tlsdesc_howto_table): Fix shift value for 615 + R_AARCH64_TLSDESC_LD64_PREL19 and R_AARCH64_TLSDESC_OFF_G1. 616 + (elf64_aarch64_final_link_relocate): Add signed_addend when resolving 617 + AARCH64_TLSLE_*_TPREL_* relocations. 618 + 619 + 2012-10-16 Alan Modra <amodra@gmail.com> 620 + 621 + * elf32-xtensa.c (free_section_cache): Renamed from 622 + clear_section_cache. Don't zero cache. 623 + (section_cache_section): Remove ineffectual zero of cache. 624 + Call init_section_cache instead. 625 + 626 + 2012-10-15 Doug Evans <dje@google.com> 627 + 628 + * elf.c (special_sections_d): Add comment. 629 + 630 + 2012-10-13 H.J. Lu <hongjiu.lu@intel.com> 631 + 632 + * Makefile.am (LIBDL): Replace -ldl with @lt_cv_dlopen_libs@. 633 + * configure.in (lt_cv_dlopen_libs): AC_SUBST. 634 + * Makefile.in: Regenerated. 635 + * configure: Likewise. 636 + 637 + 2012-10-08 Alan Modra <amodra@gmail.com> 638 + 639 + PR binutils/14662 640 + * elf.c (_bfd_elf_make_section_from_shdr): Treat .gdb_index as 641 + SEC_DEBUGGING. 642 + 643 + 2012-09-20 Walter Lee <walt@tilera.com> 644 + 645 + * elf32-tilepro.c (tilepro_elf_relocate_section): Adjust got 646 + relocations with value of hgot. 647 + * elfxx-tilegx.c (tilegx_elf_relocate_section): Ditto. 648 + 649 + 2012-09-19 Steve Ellcey <sellcey@mips.com> 650 + 651 + * config.bfd: Add mips*-mti-elf* target. 652 + 653 + 2012-09-18 H.J. Lu <hongjiu.lu@intel.com> 654 + 655 + PR ld/14591 656 + * elf-bfd.h (_bfd_elf_merge_symbol): Add an argument to return 657 + if the old symbol is weak. 658 + 659 + * elf32-sh-symbian.c (sh_symbian_relocate_section): Update 660 + _bfd_elf_merge_symbol call. 661 + 662 + * elflink.c (_bfd_elf_merge_symbol): Add an argument to return 663 + if the old symbol is weak. 664 + (_bfd_elf_add_default_symbol): Update _bfd_elf_merge_symbol 665 + call. 666 + (elf_link_add_object_symbols): Don't update symbol type from a 667 + weak definition. Update symbol type from a common symbol when 668 + overriding a weak symbol. 669 + 670 + 2012-09-17 H.J. Lu <hongjiu.lu@intel.com> 671 + 672 + * elf32-i386.c (elf_i386_convert_mov_to_lea): Ignore discarded 673 + section. 674 + * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Likewise. 675 + 676 + 2012-09-17 H.J. Lu <hongjiu.lu@intel.com> 677 + 678 + * elf32-i386.c (elf_i386_finish_dynamic_symbol): Replace return 679 + FALSE with abort. 680 + * elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise. 681 + 682 + 2012-09-17 Walter Lee <walt@tilera.com> 683 + 684 + * elf32-tilepro.c (tilepro_elf_relocate_section): Remove unused 685 + got_base variable. 686 + * elfxx-tilegx.c (tilegx_elf_relocate_section): Ditto. 687 + 688 + 2012-09-17 Walter Lee <walt@tilera.com> 689 + 690 + * elf32-tilepro.c (tilepro_elf_relocate_section): Fix computation 691 + of got relocations for when .got.plt section is merged with .got. 692 + * elfxx-tilegx.c (tilegx_elf_relocate_section): Ditto. 693 + 694 + 2012-09-14 David Edelsohn <dje.gcc@gmail.com> 695 + 696 + * configure: Regenerate. 697 + 698 + 2012-09-13 Anthony Green <green@moxielogic.com> 699 + 700 + * targets.c (bfd_elf32_bigmoxie_vec, bfd_elf32_littlemoxie_vec): 701 + Define. 702 + (bfd_elf32_moxie_vec): Remove. 703 + * config.bfd, configure.in: Add bi-endian support for moxie. 704 + * configure: Rebuilt. 705 + * elf32-moxie.c (TARGET_LITTLE_NAME, TARGET_LITTLE_SYM): Define. 706 + (TARGET_BIG_NAME, TARGET_BIG_SYM): Update for bi-endian support. 707 + 708 + 2012-09-12 Doug Kwan <dougkwan@google.com> 709 + 710 + * elf64-ppc.c (ppc64_elf_relocate_section): Use pre-adjusted 711 + relocation for stub lookup. 712 + 713 + 2012-09-12 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com> 714 + 715 + * bfd-in2.h: Regenerated. 716 + * elf64-aarch64.c 717 + (elf64_aarch64_howto_table): Add R_AARCH64_GOT_LD_PREL19 reloc to HOWTO. 718 + (elf64_aarch64_reloc_map): Add reloc entry. 719 + (aarch64_resolve_relocation): Likewise. 720 + (bfd_elf_aarch64_put_addend): Likewise. 721 + (aarch64_reloc_got_type): Likewise. 722 + (elf64_aarch64_final_link_relocate): Likewise. 723 + (lf64_aarch64_check_relocs): Likewise. 724 + (elf64_aarch64_check_relocs): New case for R_AARCH64_ADR_PREL_LO21 725 + reloc. 726 + * libbfd.h: Regenerated. 727 + * reloc.c (R_AARCH64_GOT_LD_PREL19): New reloc. 728 + 729 + 2012-09-10 Matthias Klose <doko@ubuntu.com> 730 + 731 + * config.in: Disable sanity check for kfreebsd. 732 + 733 + 2012-09-10 H.J. Lu <hongjiu.lu@intel.com> 734 + 735 + * configure: Regenerated. 736 + 737 + 2012-09-04 Sergey A. Guriev <sergey.a.guriev@intel.com> 738 + 739 + * cpu-ia64-opc.c (ins_cnt6a): New function. 740 + (ext_cnt6a): Ditto. 741 + (ins_strd5b): Ditto. 742 + (ext_strd5b): Ditto. 743 + (elf64_ia64_operands): Add new operand types. 744 + 745 + 2012-09-04 H.J. Lu <hongjiu.lu@intel.com> 746 + 747 + PR binutils/14493 748 + * elf.c (ignore_section_sym): Also ignore section symbols without 749 + a BFD section. 750 + 751 + 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 752 + 753 + * elf32-s390.c (elf_s390_relocate_section): Handle PLTOFF for 754 + local and global ifunc symbols. 755 + * elf64-s390.c (elf_s390_relocate_section): Likewise. 756 + 757 + 2012-09-02 H.J. Lu <hongjiu.lu@intel.com> 758 + 759 + * elf-bfd.h (elf_link_hash_table): Add hdynamic for the 760 + _DYNAMIC symbol. 761 + 762 + * elflink.c (_bfd_elf_link_create_dynamic_sections): Set 763 + hdynamic. 764 + 765 + * elf-m10300.c (_bfd_mn10300_elf_finish_dynamic_symbol): Check 766 + hdynamic instead of "_DYNAMIC". 767 + * elf32-arm.c (elf32_arm_finish_dynamic_symbol): Likewise. 768 + * elf32-cr16.c (elf32_arm_finish_dynamic_symbol): Likewise. 769 + * elf32-cris.c (elf_cris_finish_dynamic_symbol): Likewise. 770 + * elf32-hppa.c (elf32_hppa_finish_dynamic_symbol): Likewise. 771 + * elf32-i386.c (elf_i386_convert_mov_to_lea): Likewise. 772 + * elf32-lm32.c (lm32_elf_finish_dynamic_symbol): Likewise. 773 + * elf32-m32r.c (m32r_elf_finish_dynamic_symbol): Likewise. 774 + * elf32-s390.c (elf_s390_finish_dynamic_symbol): Likewise. 775 + * elf32-sh.c (sh_elf_finish_dynamic_symbol): Likewise. 776 + * elf32-tic6x.c (elf32_tic6x_finish_dynamic_symbol): Likewise. 777 + * elf32-tilepro.c (tilepro_elf_finish_dynamic_symbol): Likewise. 778 + * elf32-vax.c (elf_vax_finish_dynamic_symbol): Likewise. 779 + * elf32-xtensa.c (elf_xtensa_finish_dynamic_symbol): Likewise. 780 + * elf64-aarch64.c elf64_aarch64_finish_dynamic_symbol(): Likewise. 781 + * elf64-alpha.c (elf64_alpha_finish_dynamic_symbol): Likewise. 782 + * elf64-ia64-vms.c (elf64_ia64_finish_dynamic_symbol): Likewise. 783 + * elf64-s390.c (elf_s390_finish_dynamic_symbol): Likewise. 784 + * elf64-sh64.c (sh64_elf64_finish_dynamic_symbol): Likewise. 785 + * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Likewise. 786 + * elfnn-ia64.c (elfNN_ia64_finish_dynamic_symbol): Likewise. 787 + * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Likewise. 788 + * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_symbol): Likewise. 789 + * elfxx-tilegx.c (tilegx_elf_finish_dynamic_symbol): Likewise. 790 + 791 + * elf32-microblaze.c (microblaze_elf_finish_dynamic_symbol): Check 792 + hdynamic, hgot, hplt instead of _DYNAMIC, _GLOBAL_OFFSET_TABLE_, 793 + _PROCEDURE_LINKAGE_TABLE_. 794 + * elf32-score.c (s3_bfd_score_elf_finish_dynamic_symbol): Likewise. 795 + * elf32-score7.c (s7_bfd_score_elf_finish_dynamic_symbol): Likewise. 796 + 797 + 2012-08-31 H.J. Lu <hongjiu.lu@intel.com> 798 + 799 + * elf32-i386.c (elf_i386_convert_mov_to_lea): Don't optimize 800 + _DYNAMIC. 801 + * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Likewise. 802 + 803 + 2012-08-31 H.J. Lu <hongjiu.lu@intel.com> 804 + 805 + * elf32-i386.c (elf_i386_convert_mov_to_lea): New. 806 + (elf_i386_size_dynamic_sections): Use it on input sections. 807 + (elf_i386_relocate_section): Don't convert 808 + "mov foo@GOT(%reg), %reg" to "lea foo@GOTOFF(%reg), %reg" 809 + for local symbols here. 810 + 811 + * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): New. 812 + (elf_x86_64_size_dynamic_sections): Use it on input sections. 813 + (elf_x86_64_relocate_section): Don't convert 814 + "mov foo@GOTPCREL(%rip), %reg" to "lea foo(%rip), %reg" 815 + for local symbols here. 816 + 817 + 2012-08-30 H.J. Lu <hongjiu.lu@intel.com> 818 + 819 + * elf32-i386.c (elf_i386_relocate_section): Convert 820 + "mov foo@GOT(%reg), %reg" to "lea foo@GOTOFF(%reg), %reg" 821 + for local symbols. 822 + 823 + * elf64-x86-64.c (elf_x86_64_relocate_section): Convert 824 + "mov foo@GOTPCREL(%rip), %reg" to "lea foo(%rip), %reg" 825 + for local symbols. 826 + 827 + 2012-08-31 Alan Modra <amodra@gmail.com> 828 + 829 + PR ld/14464 830 + * elf64-ppc.c (ppc64_elf_relocate_section): Map symbols defined 831 + by a linker script in .opd to corresponding input .opd section. 832 + 833 + 2012-08-28 Maciej W. Rozycki <macro@codesourcery.com> 834 + 835 + * elf32-ppc.c (ppc_elf_relocate_section): Assert that dynindx is 836 + not minus one. 837 + * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. 838 + 839 + 2012-08-28 Maciej W. Rozycki <macro@codesourcery.com> 840 + 841 + * elflink.c (_bfd_elf_merge_symbol): Also override the version 842 + a dynamic symbol defaulted to if preempted with a hidden or 843 + internal definition. 844 + 845 + 2012-08-28 Walter Lee <walt@tilera.com> 846 + 847 + * elf32-tilepro.c (allocate_dynrelocs): Use PLT_ENTRY_SIZE as size 848 + of header. 849 + (tilepro_plt_entry_build): Account for new header size. 850 + (tilepro_elf_finish_dynamic_sections): Ditto. 851 + (tilepro_elf_plt_sym_val): Ditto. 852 + * elfxx-tilegx.c (allocate_dynrelocs): Use PLT_ENTRY_SIZE as size 853 + of header + tail. 854 + (tilegx_elf_finish_dynamic_sections): Account for new padding. 855 + 856 + 2012-08-27 Walter Lee <walt@tilera.com> 857 + 858 + * reloc.c (Add BFD_RELOC_TILEGX_IMM16_X0_HW0_PLT_PCREL, 859 + BFD_RELOC_TILEGX_IMM16_X1_HW0_PLT_PCREL, 860 + BFD_RELOC_TILEGX_IMM16_X0_HW1_PLT_PCREL, 861 + BFD_RELOC_TILEGX_IMM16_X1_HW1_PLT_PCREL, 862 + BFD_RELOC_TILEGX_IMM16_X0_HW2_PLT_PCREL, 863 + BFD_RELOC_TILEGX_IMM16_X1_HW2_PLT_PCREL, 864 + BFD_RELOC_TILEGX_IMM16_X0_HW3_PLT_PCREL, 865 + BFD_RELOC_TILEGX_IMM16_X1_HW3_PLT_PCREL, 866 + BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_PLT_PCREL, 867 + BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_PLT_PCREL, 868 + BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_PLT_PCREL, 869 + BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_PLT_PCREL, 870 + BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_PLT_PCREL, 871 + BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_PLT_PCREL): new relocations. 872 + * elfxx-tilegx.c (tilegx_elf_howto_table): Handle new relocations. 873 + (tilegx_reloc_map): Ditto. 874 + (reloc_to_create_func): Ditto. 875 + (tilegx_elf_check_relocs): Ditto. 876 + (tilegx_elf_gc_sweep_hook): Ditto. 877 + (tilegx_elf_relocate_section): Ditto. 878 + * libbfd.h: Regenerate. 879 + * bfd-in2.h: Regenerate. 880 + 881 + 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 882 + 883 + * elf32-arm.c (v8): New array. 884 + (tag_cpu_arch_combine): Add support for ARMv8 attributes. 885 + (elf32_arm_merge_eabi_attributes): Likewise. 886 + (VFP_VERSION_COUNT): New define. 887 + 888 + 2012-08-20 Tom Tromey <tromey@redhat.com> 889 + 890 + * vms-lib.c (_bfd_vms_lib_get_module): Use bfd_zmalloc for 891 + areltdata. 892 + * opncls.c (_bfd_delete_bfd): Free arelt_data. 893 + * mach-o.c (bfd_mach_o_fat_member_init): Use bfd_zmalloc for 894 + areltdata. 895 + * ecoff.c (_bfd_ecoff_slurp_armap): Use free for mapdata. 896 + * coff-rs6000.c (_bfd_xcoff_read_ar_hdr): Use bfd_zmalloc for 897 + areltdata. 898 + (xcoff_write_archive_contents_old): Likewise. 899 + (xcoff_write_archive_contents_big): Likewise. 900 + * archive64.c (bfd_elf64_archive_slurp_armap): Use free for 901 + areltdata. 902 + * archive.c (_bfd_generic_read_ar_hdr_mag): Use bfd_zmalloc and 903 + free for areltdata. 904 + (_bfd_get_elt_at_filepos): Likewise. Clear n_nfd->arelt_data on 905 + failure. 906 + (do_slurp_bsd_armap): Use bfd_zmalloc and free for areltdata. 907 + (do_slurp_coff_armap): Likewise. 908 + (_bfd_slurp_extended_name_table): Likewise. 909 + (bfd_slurp_bsd_armap_f2): Likewise. Don't leak 'mapdata'. 910 + 911 + 2012-08-17 Nick Clifton <nickc@redhat.com> 912 + 913 + * po/vi.po: Updated Vietnamese translation. 914 + 915 + 2012-08-17 Yuri Chornoivan <yurchor@ukr.net> 916 + 917 + * elf-bfd.h, * elf32-ppc.c, * elf64-ia64-vms.c, * elfnn-ia64.c, 918 + * elfxx-mips.c, * vms-alpha.c: Typo fixes. 919 + 920 + 2012-08-17 Alan Modra <amodra@gmail.com> 921 + 922 + PR binutils/14475: 923 + * archive.c (bfd_ar_hdr_from_filesystem): Revert last change. 924 + Instead malloc areltdata. 925 + 926 + 2012-08-16 Tom Tromey <tromey@redhat.com> 927 + 928 + PR binutils/14475: 929 + * archive.c (bfd_ar_hdr_from_filesystem): Allocate areltdata on 930 + 'member' BFD. Don't try to free 'ared'. 931 + 932 + 2012-08-14 Nick Clifton <nickc@redhat.com> 933 + 934 + * po/uk.po: Updated Ukranian translation. 935 + 936 + 2012-08-13 Maciej W. Rozycki <macro@codesourcery.com> 937 + 938 + * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Look up 939 + the options section in the output rather than input BFD to 940 + decide if to add a DT_MIPS_OPTIONS tag. 941 + 942 + 2012-08-13 Maciej W. Rozycki <macro@codesourcery.com> 943 + 944 + * config.bfd: Wrap mips*el-*-linux* and mips*-*-linux* into 945 + #ifdef BFD64. 946 + 947 + 2012-08-13 Ian Bolton <ian.bolton@arm.com> 948 + Laurent Desnogues <laurent.desnogues@arm.com> 949 + Jim MacArthur <jim.macarthur@arm.com> 950 + Marcus Shawcroft <marcus.shawcroft@arm.com> 951 + Nigel Stephens <nigel.stephens@arm.com> 952 + Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> 953 + Richard Earnshaw <rearnsha@arm.com> 954 + Sofiane Naci <sofiane.naci@arm.com> 955 + Tejas Belagod <tejas.belagod@arm.com> 956 + Yufeng Zhang <yufeng.zhang@arm.com> 957 + 958 + * Makefile.am: Add AArch64 files. 959 + * Makefile.in: Regenerate. 960 + * archures.c (bfd_aarch64_arch): New declaration. 961 + (bfd_archures_list): Use bfd_archures_list. 962 + * bfd-in.h (bfd_elf64_aarch64_init_maps): New declaration. 963 + (bfd_aarch64_process_before_allocation): New declaration. 964 + (bfd_elf64_aarch64_process_before_allocation): New declaration. 965 + (bfd_elf64_aarch64_set_options): New declaration. 966 + (bfd_elf64_aarch64_add_glue_sections_to_bfd): New declaration. 967 + (BFD_AARCH64_SPECIAL_SYM_TYPE_MAP): New definition. 968 + (BFD_AARCH64_SPECIAL_SYM_TYPE_TAG): New definition. 969 + (BFD_AARCH64_SPECIAL_SYM_TYPE_OTHER): New definition. 970 + (BFD_AARCH64_SPECIAL_SYM_TYPE_ANY): New definition. 971 + (bfd_is_aarch64_special_symbol_name): New declaration. 972 + (bfd_aarch64_merge_machines): New declaration. 973 + (bfd_aarch64_update_notes): New declaration. 974 + (int bfd_aarch64_get_mach_from_notes): New declaration. 975 + (elf64_aarch64_setup_section_lists): New declaration. 976 + (elf64_aarch64_next_input_section): New declaration. 977 + (elf64_aarch64_size_stubs): New declaration. 978 + (elf64_aarch64_build_stubs): New declaration. 979 + * config.bfd: Add AArch64. 980 + * configure.in: Add AArch64. 981 + * configure: Regenerate. 982 + * cpu-aarch64.c: New file. 983 + * elf-bfd.h: Add AArch64. 984 + * bfd-in2.h: Regenerate. 985 + * libbfd.h: Regenerate. 986 + * elf64-aarch64.c: New file. 987 + * reloc.c: Add AArch64 relocations. 988 + * targets.c: Add AArch64. 989 + * po/SRC-POTFILES.in: Regenerate. 990 + 991 + 2012-08-13 Maciej W. Rozycki <macro@codesourcery.com> 992 + 993 + * elfxx-mips.c (mips_elf_calculate_relocation): Fix the handling 994 + of protected symbols. 995 + 996 + 2012-08-10 Alan Modra <amodra@gmail.com> 997 + 998 + PR binutils/14444 999 + * elf.c (IS_VALID_GROUP_SECTION_HEADER) Add minsize param. 1000 + (setup_group): Adjust uses. 1001 + (bfd_section_from_shdr): Allow SHT_GROUP sections with just a flag 1002 + word. 1003 + 1004 + 2012-08-09 Nick Clifton <nickc@redhat.com> 1005 + 1006 + * po/vi.po: Updated Vietnamese translation. 1007 + 1008 + 2012-08-09 Maciej W. Rozycki <macro@codesourcery.com> 1009 + 1010 + * elfxx-mips.c (LA25_LUI_MICROMIPS_1, LA25_LUI_MICROMIPS_2): 1011 + Remove macros, folding them into... 1012 + (LA25_LUI_MICROMIPS): ... this new macro. 1013 + (LA25_J_MICROMIPS_1, LA25_J_MICROMIPS_2): Likewise into... 1014 + (LA25_J_MICROMIPS): ... this new macro. 1015 + (LA25_ADDIU_MICROMIPS_1, LA25_ADDIU_MICROMIPS_2): Likewise 1016 + into... 1017 + (LA25_ADDIU_MICROMIPS): ... this new macro. 1018 + (bfd_put_micromips_32, bfd_get_micromips_32): New functions. 1019 + (mips_elf_create_la25_stub): Use them. 1020 + (check_br32_dslot, check_br32, check_relocated_bzc): Likewise. 1021 + (_bfd_mips_elf_relax_section): Likewise. 1022 + 1023 + 2012-08-09 Alan Modra <amodra@gmail.com> 1024 + Tom Tromey <tromey@redhat.com> 1025 + 1026 + * archive.c (SECTION Archives): Update documentation. 1027 + (_bfd_delete_archive_data): Remove. 1028 + (_bfd_add_bfd_to_archive_cache): Set 'parent_cache' and 'key'. 1029 + (archive_close_worker, _bfd_archive_close_and_cleanup): New 1030 + functions. 1031 + * libbfd-in.h (struct areltdata <parent_cache, key>): New fields. 1032 + (_bfd_delete_archive_data): Don't declare. 1033 + (_bfd_archive_close_and_cleanup): Declare. 1034 + (_bfd_generic_close_and_cleanup): Redefine. 1035 + * libbfd.h: Rebuild. 1036 + * opncls.c (_bfd_delete_bfd): Don't call _bfd_delete_archive_data. 1037 + (bfd_close): Don't close nested thin archives here. 1038 + 1039 + 2012-08-07 Tom Tromey <tromey@redhat.com> 1040 + 1041 + * archive.c (_bfd_delete_archive_data): New function. 1042 + * libbfd-in.h (_bfd_delete_archive_data): Declare. 1043 + * libbfd.h: Rebuild. 1044 + * opncls.c (_bfd_delete_bfd): Call _bfd_delete_archive_data. 1045 + 1046 + 2012-08-07 Nick Clifton <nickc@redhat.com> 1047 + 1048 + * po/uk.po: Updated Ukranian translation. 1049 + 1050 + 2012-08-06 Maciej W. Rozycki <macro@codesourcery.com> 1051 + 1052 + * elflink.c (bfd_elf_record_link_assignment): Remove --defsym 1053 + symbols special case. 1054 + 1055 + 2012-08-05 Maciej W. Rozycki <macro@linux-mips.org> 1056 + 1057 + * elf32-vax.c (elf_vax_adjust_dynamic_symbol): Don't allocate 1058 + PLT slots for local symbols. 1059 + 1060 + 2012-08-03 Maciej W. Rozycki <macro@codesourcery.com> 1061 + 1062 + * elf64-mips.c (mips16_elf64_howto_table_rela): Correct src_mask 1063 + field initializers throughout. 1064 + * elfn32-mips.c (elf_mips16_howto_table_rela): Likewise. 1065 + 1066 + 2012-08-03 Maciej W. Rozycki <macro@codesourcery.com> 1067 + 1068 + * elfxx-mips.c (mips_elf_perform_relocation): Update the 1069 + cross-mode jump message. 1070 + 1071 + 2012-08-03 Maciej W. Rozycki <macro@codesourcery.com> 1072 + 1073 + * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Update the 1074 + comment on DT_MIPS_RLD_MAP. 1075 + 1076 + 2012-08-03 Tom Tromey <tromey@redhat.com> 1077 + 1078 + * opncls.c (_bfd_delete_bfd): Now static. 1079 + * libbfd-in.h (_bfd_delete_bfd): Don't declare. 1080 + * libbfd.h: Rebuild. 1081 + 1082 + 2012-08-02 Sean Keys <skeys@ipdatasys.com> 1083 + 1084 + * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Modified 1085 + conditional statment to allow suppression of mismatched bank 1086 + warning. 1087 + 1088 + 2012-08-01 Alan Modra <amodra@gmail.com> 1089 + 1090 + * dwarf2.c (struct dwarf2_debug): Add close_on_cleanup. 1091 + (_bfd_dwarf2_slurp_debug_info): Set close_on_cleanup if we open 1092 + gnu_debuglink bfd. 1093 + (_bfd_dwarf2_cleanup_debug_info): Act on close_on_cleanup. 1094 + 1095 + 2012-07-30 Nick Clifton <nickc@redhat.com> 1096 + 1097 + * po/bfd.pot: Updated template. 1098 + * po/es.po: Updated Spanish translation. 1099 + * po/fi.po: Updated Finnish translation. 1100 + * po/fr.po: Updated French translation. 1101 + * po/ru.po: Updated Russian translation. 1102 + * po/uk.po: Updated Ukranian translation. 1103 + 1104 + 2012-07-27 Mike Frysinger <vapier@gentoo.org> 1105 + 1106 + * configure.in (AC_INIT): Call with the args bfd and 2.22.52. 1107 + (AM_INIT_AUTOMAKE): Remove args. 1108 + * configure: Regenerate. 1109 + 1110 + 2012-07-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 1111 + 1112 + * cpu-s390.c (bfd_s390_64_arch, bfd_s390_arch): Pick the default 1113 + arch depending on the target size. 1114 + 1115 + 2012-07-27 Tristan Gingold <gingold@adacore.com> 1116 + 1117 + * configure.in: Bump version to 2.23.51 1118 + * configure: Regenerate. 1119 + 1120 + 2012-07-26 Teresa Johnson <tejohnson@google.com> 1121 + 1122 + * bfd/dwarf2.c (find_line): Initialize discriminator_ptr 1123 + if it is non-NULL. 1124 + 1125 + 2012-07-26 Meador Inge <meadori@codesourcery.com> 1126 + Nick Clifton <nickc@redhat.com> 1127 + 1128 + PR ld/14397 1129 + * elf32-arm.c (elf32_arm_finish_dynamic_sections): Report an error 1130 + if a required section is missing from the linker script. 1131 + 1132 + 2012-07-24 Jan Waclawek <konfera@efton.sk> 1133 + PR 13899 1134 + * elf32-avr.c (elf32_avr_relax_delete_bytes): Call 1135 + _bfd_elf_link_read_relocs with keep_memory as TRUE. 1136 + 1137 + 2012-07-24 Teresa Johnson <tejohnson@google.com> 1138 + 1139 + * bfd.c (bfd_find_nearest_line_discriminator): New macro. 1140 + * coff-rs6000.c: Init _bfd_find_nearest_line_discriminator. 1141 + * coff64-rs6000.c: Likewise. 1142 + * dwarf2.c (struct line_info): Add discriminator field. 1143 + (add_line_info): Fill in new discriminator field. 1144 + (decode_line_info): Record discriminator information instead 1145 + of ignoring it. 1146 + (lookup_address_in_line_info_table): Return discriminator field if 1147 + requested. 1148 + (comp_unit_find_nearest_line): Add discriminator argument. 1149 + (find_line): Likewise. 1150 + (_bfd_dwarf2_find_nearest_line): Likewise. 1151 + (_bfd_dwarf2_find_line): Likewise. 1152 + * elf-bfd.h (_bfd_elf_find_nearest_line_discriminator): New. 1153 + (_bfd_elf_find_line_discriminator): Likewise. 1154 + (_bfd_generic_find_nearest_line_discriminator): Likewise. Defined. 1155 + * elf.c (_bfd_elf_find_nearest_line): Change to a wrapper 1156 + that invokes _bfd_elf_find_nearest_line_discriminator with correct 1157 + arguments. 1158 + (_bfd_elf_find_nearest_line_discriminator): New. 1159 + (_bfd_elf_find_line): Change to a wrapper 1160 + that invokes _bfd_elf_find_line_discriminator with correct 1161 + arguments. 1162 + (_bfd_elf_find_line_discriminator): New. 1163 + * coffgen.c (coff_find_nearest_line_with_names): Handle 1164 + new discriminator argument. 1165 + * elf32-arm.c (elf32_arm_find_nearest_line): Likewise. 1166 + * elf64-alpha.c (elf64_alpha_find_nearest_line): Likewise. 1167 + * elfxx-mips.c (_bfd_mips_elf_find_nearest_line): Likewise. 1168 + * mach-o.c (bfd_mach_o_find_nearest_line): Likewise. 1169 + * libbfd-in.h (_bfd_dwarf2_find_nearest_line): Add discriminator 1170 + argument. 1171 + (_bfd_dwarf2_find_line): Likewise. 1172 + (_bfd_generic_find_nearest_line_discriminator): New. 1173 + * libbfd.c (_bfd_generic_find_nearest_line_discriminator): New. 1174 + * bfd-in2.h: Regenerated. 1175 + * libbfd.h: Likewise. 1176 + * targets.c (BFD_JUMP_TABLE_SYMBOLS): Initialize 1177 + _bfd_find_nearest_line_discriminator with 1178 + _bfd_generic_find_nearest_line_discriminator. 1179 + (bfd_target): Add _bfd_find_nearest_line_discriminator. 1180 + 1181 + 2012-07-24 Sean Keys <skeys@ipdatasys.com> 1182 + 1183 + * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Added code 1184 + that enables the linker to offset addresses, when linking against 1185 + symbols from the XGATE processor and vice versa. 1186 + 1187 + 2012-07-23 Nick Clifton <nickc@redhat.com> 1188 + 1189 + * cisco-core.c (cisco_core_file_failing_command): Make static. 1190 + (cisco_core_file_failing_signal): Make static. 1191 + 1192 + 2012-07-18 H.J. Lu <hongjiu.lu@intel.com> 1193 + 1194 + * bfd-in2.h: Regenerated. 1195 + 1196 + 2012-07-18 Nicolàs Alejandro Di Risio <sheeva@tiscali.it> 1197 + 1198 + PR binutils/14335 1199 + * section.c: Fix a typo in comments. 1200 + 1201 + 2012-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 1202 + 1203 + * elf64-s390.c: Include elf-s390-common.c. 1204 + (R_390_IRELATIVE): New reloc. 1205 + (elf_s390_reloc_type_lookup): Support R_390_IRELATIVE. 1206 + (RELA_ENTRY_SIZE): New macro. 1207 + (elf_s390_link_hash_entry): New fields ifunc_resolver_address and 1208 + *ifunc_resolver_section. 1209 + (struct plt_entry): New struct. 1210 + (struct elf_s390_obj_tdata): New field local_plt. 1211 + (elf_s390_local_plt): New macro. 1212 + (struct elf_s390_link_hash_table): New field irelifunc. 1213 + (ELF64): New macro. 1214 + (link_hash_newfunc): Initialize new fields. 1215 + (elf_s390_check_relocs): Handle IFUNC symbols. 1216 + (elf_s390_adjust_dynamic_symbol): Don't do anything for IFUNC 1217 + symbols. 1218 + (allocate_dynrelocs): Call s390_elf_allocate_ifunc_dyn_relocs for 1219 + IFUNC symbols. 1220 + (elf_s390_size_dynamic_sections): Handle IFUNC symbols. 1221 + (elf_s390_relocate_section): Likewise. 1222 + (elf_s390_finish_dynamic_symbol): Likewise. 1223 + (elf_s390_finish_dynamic_sections): Handle local IFUNC symbols. 1224 + (elf_s390_finish_ifunc_symbol): New function. 1225 + (elf_s390_gc_sweep_hook): Handle local plt entries. 1226 + (elf_backend_add_symbol_hook): Define. 1227 + * elf32-s390.c: See elf64-s390.c changes. 1228 + * elf-s390-common.c: New file. 1229 + * bfd-in2.h (BFD_RELOC_390_IRELATIVE): New enum field. 1230 + * libbfd.h (BFD_RELOC_390_IRELATIVE): New entry for 1231 + BFD_RELOC_390_IRELATIVE. 1232 + * reloc.c (BFD_RELOC_390_IRELATIVE): Document new relocation. 1233 + 1234 + 2012-07-13 Nick Clifton <nickc@redhat.com> 1235 + 1236 + * aix386-core.c: Remove use of PTR and PARAMS macros. 1237 + * archive.c: Likewise. 1238 + * cache.c: Likewise. 1239 + * cisco-core.c: Likewise. 1240 + * coff-alpha.c: Likewise. 1241 + * coff-apollo.c: Likewise. 1242 + * coff-aux.c: Likewise. 1243 + * coff-h8300.c: Likewise. 1244 + * coff-h8500.c: Likewise. 1245 + * coff-i386.c: Likewise. 1246 + * coff-i960.c: Likewise. 1247 + * coff-ia64.c: Likewise. 1248 + * coff-m68k.c: Likewise. 1249 + * coff-m88k.c: Likewise. 1250 + * coff-mcore.c: Likewise. 1251 + * coff-mips.c: Likewise. 1252 + * coff-or32.c: Likewise. 1253 + * coff-ppc.c: Likewise. 1254 + * coff-rs6000.c: Likewise. 1255 + * coff-sh.c: Likewise. 1256 + * coff-sparc.c: Likewise. 1257 + * coff-stgo32.c: Likewise. 1258 + * coff-tic30.c: Likewise. 1259 + * coff-tic4x.c: Likewise. 1260 + * coff-tic54x.c: Likewise. 1261 + * coff-tic80.c: Likewise. 1262 + * coff-w65.c: Likewise. 1263 + * cofflink.c: Likewise. 1264 + * cpu-arc.c: Likewise. 1265 + * cpu-cris.c: Likewise. 1266 + * cpu-h8500.c: Likewise. 1267 + * cpu-i960.c: Likewise. 1268 + * cpu-msp430.c: Likewise. 1269 + * cpu-ns32k.c: Likewise. 1270 + * cpu-powerpc.c: Likewise. 1271 + * cpu-rs6000.c: Likewise. 1272 + * cpu-tic4x.c: Likewise. 1273 + * cpu-w65.c: Likewise. 1274 + * ecoff.c: Likewise. 1275 + * ecofflink.c: Likewise. 1276 + * elf-m10200.c: Likewise. 1277 + * elf32-bfin.c: Likewise. 1278 + * elf32-cris.c: Likewise. 1279 + * elf32-crx.c: Likewise. 1280 + * elf32-fr30.c: Likewise. 1281 + * elf32-frv.c: Likewise. 1282 + * elf32-h8300.c: Likewise. 1283 + * elf32-i960.c: Likewise. 1284 + * elf32-m32c.c: Likewise. 1285 + * elf32-m68hc11.c: Likewise. 1286 + * elf32-m68hc12.c: Likewise. 1287 + * elf32-m68hc1x.c: Likewise. 1288 + * elf32-m68k.c: Likewise. 1289 + * elf32-mcore.c: Likewise. 1290 + * elf32-rl78.c: Likewise. 1291 + * elf32-rx.c: Likewise. 1292 + * elf32-s390.c: Likewise. 1293 + * elf32-vax.c: Likewise. 1294 + * elf64-alpha.c: Likewise. 1295 + * elf64-mmix.c: Likewise. 1296 + * elf64-s390.c: Likewise. 1297 + * elf64-sparc.c: Likewise. 1298 + * elfnn-ia64.c: Likewise. 1299 + * elfxx-mips.c: Likewise. 1300 + * elfxx-sparc.c: Likewise. 1301 + * hash.c: Likewise. 1302 + * hp300hpux.c: Likewise. 1303 + * hppabsd-core.c: Likewise. 1304 + * hpux-core.c: Likewise. 1305 + * i386dynix.c: Likewise. 1306 + * i386linux.c: Likewise. 1307 + * i386lynx.c: Likewise. 1308 + * i386mach3.c: Likewise. 1309 + * i386msdos.c: Likewise. 1310 + * i386os9k.c: Likewise. 1311 + * irix-core.c: Likewise. 1312 + * lynx-core.c: Likewise. 1313 + * m68klinux.c: Likewise. 1314 + * mach-o.h: Likewise. 1315 + * mipsbsd.c: Likewise. 1316 + * netbsd-core.c: Likewise. 1317 + * nlm32-i386.c: Likewise. 1318 + * osf-core.c: Likewise. 1319 + * pc532-mach.c: Likewise. 1320 + * pef.c: Likewise. 1321 + * ppcboot.c: Likewise. 1322 + * ptrace-core.c: Likewise. 1323 + * reloc16.c: Likewise. 1324 + * sco5-core.c: Likewise. 1325 + * som.h: Likewise. 1326 + * sparclinux.c: Likewise. 1327 + * sparclynx.c: Likewise. 1328 + * ticoff.h: Likewise. 1329 + * trad-core.c: Likewise. 1330 + * vms-lib.c: Likewise. 1331 + * xsym.h: Likewise. 1332 + 1333 + 2012-07-09 Alan Modra <amodra@gmail.com> 1334 + 1335 + PR ld/14323 1336 + * elflink.c (elf_sort_symbol): Sort by size too. 1337 + (elf_link_add_object_symbols <weakdefs>): Simplify binary search. 1338 + Do not depend on ordering of symbol aliases. Match largest size. 1339 + 1340 + 2012-07-03 H.J. Lu <hongjiu.lu@intel.com> 1341 + 1342 + * elf.c (assign_section_numbers): Check if number of sections 1343 + >= SHN_LORESERVE. 1344 + * elfcode.h (elf_object_p): Likewise. 1345 + 1346 + 2012-07-03 Nick Clifton <nickc@redhat.com> 1347 + 1348 + * archive.c (bsd_write_armap): Catch attempts to create an archive 1349 + with indicies bigger than 4Gb. 1350 + (coff_write_armap): Likewise. 1351 + 1352 + 2012-07-03 H.J. Lu <hongjiu.lu@intel.com> 1353 + 1354 + PR binutils/14319 1355 + * elf.c (_bfd_elf_make_section_from_shdr): Don't compress empty 1356 + debug section. 1357 + 1358 + 2012-07-03 H.J. Lu <hongjiu.lu@intel.com> 1359 + 1360 + PR ld/3351 1361 + * elflink.c (_bfd_elf_update_dynamic_flags): New. 1362 + (_bfd_elf_merge_symbol): Update both real and indirect symbol 1363 + dynamic flags. 1364 + (_bfd_elf_add_default_symbol): Make the real symbol dynamic if 1365 + the indirect symbol is defined in a shared library. 1366 + (elf_link_add_object_symbols): Likewise. If the indirect 1367 + symbol has been forced local, don't make the real symbol 1368 + dynamic. 1369 + (elf_link_check_versioned_symbol): Check indirect symbol. 1370 + (elf_link_output_extsym): Use real symbol definition when 1371 + reporting indirect symbol error. Check version info for 1372 + dynamic versioned symbol. 1373 + 1374 + 2012-07-03 Alan Modra <amodra@gmail.com> 1375 + 1376 + PR ld/14207 1377 + * elf.c (assign_file_positions_for_load_sections): Remove assertions 1378 + that only PT_LOAD headers include file header and section headers. 1379 + (assign_file_positions_for_non_load_sections): Similarly don't 1380 + assert PT_GNU_RELRO header does not include file and section headers. 1381 + Compare first section vma rather than PT_LOAD p_vaddr against 1382 + relro_start when looking for PT_LOAD covering PT_GNU_RELRO. Replace 1383 + abort with assertion. 1384 + 1385 + 2012-07-02 Alan Modra <amodra@gmail.com> 1386 + 1387 + * elf32-m32c.c (m32c_elf_check_relocs): Use bfd_make_section 1388 + "anyway" variant when creating .plt. 1389 + (m32c_elf_relax_plt_section): Remove redundant test and unused param. 1390 + (m32c_elf_relax_section): Test SEC_LINKER_CREATED before calling 1391 + m32c_elf_relax_plt_section. 1392 + * elfxx-mips.c (mips_elf_create_got_section): Use make anyway variant 1393 + when creating .got and .got.plt. 1394 + (_bfd_mips_elf_final_link): Likewise for .rtproc, and use 1395 + bfd_get_linker_section. 1396 + * sunos.c: Similarly throughout. 1397 + 1398 + 2012-07-01 Andreas Schwab <schwab@linux-m68k.org> 1399 + 1400 + * elf.c (_bfd_elf_make_section_from_shdr): Fix typo in error 1401 + message. 1402 + 1403 + 2012-06-29 H.J. Lu <hongjiu.lu@intel.com> 1404 + 1405 + * elf64-x86-64.c (elf_x86_64_relocate_section): Return FALSE 1406 + on unresolvable relocation. 1407 + 1408 + 2012-06-29 H.J. Lu <hongjiu.lu@intel.com> 1409 + 1410 + * archive.c (_bfd_compute_and_write_armap): Simplify global 1411 + symbol handling. 1412 + 1413 + 2012-06-29 Nick Clifton <nickc@redhat.com> 1414 + 1415 + PR ld/14189 1416 + * elf32-arm.c (elf32_arm_check_relocs): Do not increment refcount 1417 + for locally bound symbols. 1418 + 1419 + 2012-06-29 Alan Modra <amodra@gmail.com> 1420 + 1421 + * section.c (bfd_get_linker_section): New function. 1422 + * elf32-arm.c: When retrieving SEC_LINKER_CREATED sections, use 1423 + the above throughout rather than bfd_get_section_by_name. Use 1424 + bfd_make_section_anyway rather than bfd_make_section when creating 1425 + them. 1426 + * elf32-bfin.c: Likewise. 1427 + * elf32-cr16.c: Likewise. 1428 + * elf32-cris.c: Likewise. 1429 + * elf32-frv.c: Likewise. 1430 + * elf32-hppa.c: Likewise. 1431 + * elf32-i370.c: Likewise. 1432 + * elf32-i386.c: Likewise. 1433 + * elf32-lm32.c: Likewise. 1434 + * elf32-m32c.c: Likewise. 1435 + * elf32-m32r.c: Likewise. 1436 + * elf32-m68k.c: Likewise. 1437 + * elf32-microblaze.c: Likewise. 1438 + * elf32-ppc.c: Likewise. 1439 + * elf32-rl78.c: Likewise. 1440 + * elf32-s390.c: Likewise. 1441 + * elf32-score.c: Likewise. 1442 + * elf32-score7.c: Likewise. 1443 + * elf32-sh.c: Likewise. 1444 + * elf32-tic6x.c: Likewise. 1445 + * elf32-tilepro.c: Likewise. 1446 + * elf32-vax.c: Likewise. 1447 + * elf32-xstormy16.c: Likewise. 1448 + * elf32-xtensa.c: Likewise. 1449 + * elf64-alpha.c: Likewise. 1450 + * elf64-hppa.c: Likewise. 1451 + * elf64-ia64-vms.c: Likewise. 1452 + * elf64-ppc.c: Likewise. 1453 + * elf64-s390.c: Likewise. 1454 + * elf64-sh64.c: Likewise. 1455 + * elf64-sparc.c: Likewise. 1456 + * elf64-x86-64.c: Likewise. 1457 + * elfnn-ia64.c: Likewise. 1458 + * elfxx-mips.c: Likewise. 1459 + * elfxx-sparc.c: Likewise. 1460 + * elfxx-tilegx.c: Likewise. 1461 + * elflink.c: Likewise. 1462 + * elf-vxworks.c: Likewise. 1463 + * elf-m10300.c: Likewise. Also make use of htab plt, got and 1464 + gotplt shortcuts. 1465 + * bfd-in2.h: Regenerate. 1466 + * elf32-lm32.c (lm32_elf_check_relocs): Use the correct bfd when 1467 + calling create_rofixup_section. 1468 + * elflink.c (bfd_elf_final_link): Simplify test for .dynstr. 1469 + 1470 + 2012-06-29 Alan Modra <amodra@gmail.com> 1471 + 1472 + * elf32-sh.c (sh_elf_create_dynamic_sections): Don't create .rela 1473 + section for bss type sections, except for .rela.bss. 1474 + * elf-m10300.c (_bfd_mn10300_elf_create_dynamic_sections): Likewise. 1475 + * elf32-cr16.c (_bfd_cr16_elf_create_dynamic_sections): Likewise. 1476 + * elf32-lm32.c (lm32_elf_create_dynamic_sections): Likewise. 1477 + * elf32-m32r.c (m32r_elf_create_dynamic_sections): Likewise. 1478 + * elf64-sh64.c (sh64_elf64_create_dynamic_sections): Likewise. 1479 + 1480 + 2012-06-28 Roland McGrath <mcgrathr@google.com> 1481 + 1482 + * elf32-arm.c (elf32_arm_populate_plt_entry): Use int32_t for 1483 + displacement calculation in nacl_p case. 1484 + 1485 + 2012-06-28 Nick Clifton <nickc@redhat.com> 1486 + 1487 + * po/uk.po: New Ukranian translation. 1488 + * configure.in (ALL_LINGUAS): Add uk. 1489 + * configure: Regenerate. 1490 + 1491 + 2012-06-26 Alan Modra <amodra@gmail.com> 1492 + 1493 + * elf64-ppc.c (ppc64_elf_next_toc_section): Don't error if input 1494 + file has multiple .got/.toc sections and all don't fit in 1495 + current toc group. 1496 + 1497 + 2012-06-22 Roland McGrath <mcgrathr@google.com> 1498 + 1499 + * elf.c (assign_file_positions_for_non_load_sections): Define 1500 + __ehdr_start symbol if it's referenced and there's a PT_LOAD 1501 + segment that covers both the file and program headers. 1502 + 1503 + 2012-06-22 Andreas Schwab <schwab@linux-m68k.org> 1504 + 1505 + * elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Don't make 1506 + _GLOBAL_OFFSET_TABLE_ and _DYNAMIC absolute. 1507 + 1508 + 2012-06-22 Alan Modra <amodra@gmail.com> 1509 + 1510 + * elf64-ppc.c (ppc64_elf_func_desc_adjust): Don't emit out-of-line 1511 + save/restore functions when relocatable. Make "funcs" static. 1512 + 1513 + 2012-06-18 Hans-Peter Nilsson <hp@axis.com> 1514 + 1515 + * elf32-cris.c (cris_elf_plt_sym_val): Rewrite to work in presence 1516 + of merged .got and .got.plt entries. 1517 + 1518 + 2012-06-18 John Szakmeister <john@szakmeister.net> 1519 + 1520 + * elf32-arm.c (elf32_arm_final_link_relocate): Correct return value. 1521 + 1522 + 2012-06-17 Hans-Peter Nilsson <hp@axis.com> 1523 + 1524 + * elf32-cris.c (cris_elf_relocate_section): <R_CRIS_32_IE> 1525 + <R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL>: Handle references to 1526 + thread common symbols. 1527 + 1528 + 2012-06-13 Nick Clifton <nickc@redhat.com> 1529 + 1530 + * elf32-arm.c (bfd_arm_get_mach_from_attributes): New function. 1531 + (elf32_arm_object_p): If the machine number could not be deduced 1532 + from the notes, call bfd_arm_get_mach_from_attributes to get the 1533 + number from the attributes. 1534 + 1535 + 2012-06-12 H.J. Lu <hongjiu.lu@intel.com> 1536 + 1537 + PR bfd/14207 1538 + * elf.c (assign_file_positions_for_non_load_sections): Abort if 1539 + PT_GNU_RELRO segment doesn't fit in PT_LOAD segment. 1540 + 1541 + 2012-06-12 Alan Modra <amodra@gmail.com> 1542 + 1543 + PR ld/14207 1544 + * elf.c (_bfd_elf_map_sections_to_segments): Disregard bss type 1545 + sections at end of PT_LOAD segment when searching for segment 1546 + that contains end of relro extent. 1547 + 1548 + 2012-06-11 H.J. Lu <hongjiu.lu@intel.com> 1549 + 1550 + * elf.c (assign_file_positions_for_non_load_sections): Reindent. 1551 + 1552 + 2012-06-11 H.J. Lu <hongjiu.lu@intel.com> 1553 + 1554 + * elf.c (_bfd_elf_map_sections_to_segments): Reindent. 1555 + 1556 + 2012-06-06 Alan Modra <amodra@gmail.com> 1557 + 1558 + * elflink.c (elf_link_input_bfd): Provide a file symbol for 1559 + each input file with local syms, if the input lacks such. 1560 + (bfd_elf_final_link): Add a file symbol to mark end of locals 1561 + for which we can associate with input files. 1562 + (struct elf_final_link_info): Add filesym_count field. 1563 + (struct elf_outext_info): Add need_second_pass and second_pass. 1564 + (elf_link_output_extsym): Detect symbols defined in the output 1565 + file, emit them on second pass over locals. 1566 + 1567 + 2012-06-04 Jan Kratochvil <jan.kratochvil@redhat.com> 1568 + 1569 + * bfd-in.h (bfd_elf_bfd_from_remote_memory): Make LEN argument 1570 + of target_read_memory as bfd_size_type. 1571 + * bfd-in2.h: Regenerate. 1572 + * elf-bfd.h (elf_backend_bfd_from_remote_memory): Make LEN 1573 + argument of target_read_memory as bfd_size_type. 1574 + (_bfd_elf32_bfd_from_remote_memory): Likewise. 1575 + (_bfd_elf64_bfd_from_remote_memory): Likewise. 1576 + * elf.c (bfd_elf_bfd_from_remote_memory): Likewise. 1577 + * elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): Likewise. 1578 + 1579 + 2012-06-03 Alan Modra <amodra@gmail.com> 1580 + 1581 + PR binutils/13897 1582 + * elf.c (elf_find_function): Cache last function sym info. 1583 + (_bfd_elf_maybe_function_sym): Return function size, pass in 1584 + section of interest. 1585 + * elf-bfd.h (struct elf_backend_data <maybe_function_sym>): Likewise. 1586 + (_bfd_elf_maybe_function_sym): Likewise. 1587 + * elf64-ppc.c (ppc64_elf_maybe_function_sym): Likewise. 1588 + (opd_entry_value): Add in_code_sec param. Revert caching code. 1589 + Return -1 if in_code_sec and function found in wrong section. 1590 + Update all calls. 1591 + 1592 + 2012-06-01 Siddhesh Poyarekar <siddhesh@redhat.com> 1593 + 1594 + * bfd-in.h (bfd_elf_bfd_from_remote_memory): Make LEN argument 1595 + of target_read_memory as size_t. 1596 + * bfd-in2.h: Regenerate. 1597 + * elf-bfd.h (elf_backend_bfd_from_remote_memory): Make LEN 1598 + argument of target_read_memory as size_t. 1599 + (_bfd_elf32_bfd_from_remote_memory): Likewise. 1600 + (_bfd_elf64_bfd_from_remote_memory): Likewise. 1601 + * elf.c (bfd_elf_bfd_from_remote_memory): Likewise. 1602 + * elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): Likewise. 1603 + 1604 + 2012-06-01 Alan Modra <amodra@gmail.com> 1605 + 1606 + PR binutils/13897 1607 + * elf64-ppc.c (opd_entry_value): Rewrite cache code. 1608 + 1609 + 2012-05-29 Tom Tromey <tromey@redhat.com> 1610 + 1611 + * opncls.c (bfd_fopen): Always close fd on failure. 1612 + (bfd_fdopenr): Likewise. 1613 + 1614 + 2012-05-27 Alan Modra <amodra@gmail.com> 1615 + 1616 + PR ld/14170 1617 + * elflink.c (_bfd_elf_merge_symbol): When a symbol defined in 1618 + a dynamic library finds a new instance with non-default 1619 + visibility in a regular object, correctly handle symbols 1620 + already on the undefs list and undo dynamic symbol state when 1621 + the new symbol is hidden or internal. 1622 + 1623 + 2012-05-25 H.J. Lu <hongjiu.lu@intel.com> 1624 + 1625 + * elf32-i386.c (elf_i386_create_dynamic_sections): Don't use 1626 + dynamic_sec_flags to create PLT .eh_frame section. 1627 + * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Likewise. 1628 + 1629 + 2012-05-25 Alan Modra <amodra@gmail.com> 1630 + 1631 + PR ld/13909 1632 + * elf-eh-frame.c (_bfd_elf_eh_frame_present): New function. 1633 + (_bfd_elf_maybe_strip_eh_frame_hdr): Use it here. 1634 + * elf-bfd.h (_bfd_elf_eh_frame_present): Declare. 1635 + * elflink.c (bfd_elf_size_dynamic_sections): Let the backend 1636 + size dynamic sections before stripping eh_frame_hdr. 1637 + (bfd_elf_gc_sections): Handle multiple .eh_frame sections. 1638 + * elf32-ppc.c (ppc_elf_size_dynamic_sections): Drop glink_eh_frame 1639 + if no other .eh_frame sections exist. 1640 + * elf64-ppc.c (ppc64_elf_size_stubs): Likewise. 1641 + * elf32-i386.c (elf_i386_create_dynamic_sections): Don't size 1642 + or alloc plt_eh_frame here.. 1643 + (elf_i386_size_dynamic_sections): ..do it here instead. Don't 1644 + specially keep sgotplt, iplt, tgotplt, sdynbss for symbols. 1645 + (elf_i386_finish_dynamic_sections): Check plt_eh_frame->contents 1646 + before writing plt offset. 1647 + * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Don't size 1648 + or alloc plt_eh_frame here.. 1649 + (elf_x86_64_size_dynamic_sections): ..do it here instead. 1650 + (elf_x86_64_finish_dynamic_sections): Check plt_eh_frame->contents 1651 + before writing plt offset. 1652 + 1653 + 2012-05-24 Alan Modra <amodra@gmail.com> 1654 + 1655 + PR ld/14158 1656 + * elf64-ppc.c (ppc64_elf_size_stubs): Round up glink_eh_frame 1657 + size to output section alignment. 1658 + (ppc64_elf_build_stubs): Likewise, and extend last FDE to cover. 1659 + 1660 + 2012-05-23 Alan Modra <amodra@gmail.com> 1661 + 1662 + * elf-eh-frame.c (_bfd_elf_maybe_strip_eh_frame_hdr): Handle 1663 + BFDs with multiple .eh_frame sections. 1664 + 1665 + 2012-05-23 Alan Modra <amodra@gmail.com> 1666 + 1667 + PR ld/13909 1668 + * elflink.c (bfd_elf_discard_info): Don't ignore dynamic BFDs. 1669 + 1670 + 2012-05-22 H.J. Lu <hongjiu.lu@intel.com> 1671 + 1672 + PR ld/13909 1673 + * elf32-i386.c (elf_i386_create_dynamic_sections): Revert the 1674 + last change. 1675 + * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Likewise. 1676 + 1677 + 2012-05-22 Alan Modra <amodra@gmail.com> 1678 + 1679 + * elflink.c (bfd_elf_discard_info): Look for next .eh_frame if 1680 + first one is zero size or discarded. 1681 + * elf32-ppc.c (ppc_elf_size_dynamic_sections): Set most of 1682 + glink_eh_frame contents here.. 1683 + (ppc_elf_finish_dynamic_sections): ..rather than here. Just set 1684 + offset to .glink. 1685 + 1686 + 2012-05-22 H.J. Lu <hongjiu.lu@intel.com> 1687 + 1688 + PR ld/13909 1689 + * elf32-i386.c (elf_i386_create_dynamic_sections): Create PLT 1690 + eh_frame section if there is an input .eh_frame section. 1691 + * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Likewise. 1692 + 1693 + 2012-05-22 H.J. Lu <hongjiu.lu@intel.com> 1694 + 1695 + PR ld/14105 1696 + * elf32-i386.c (elf_i386_create_dynamic_sections): Always 1697 + create PLT eh_frame section with SEC_LINKER_CREATED. 1698 + * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Likewise. 1699 + 1700 + 2012-05-22 Alan Modra <amodra@gmail.com> 1701 + 1702 + * elflink.c (bfd_elf_discard_info): Handle multiple .eh_frame 1703 + sections attached to a BFD. 1704 + * section.c (bfd_get_section_by_name): Rewrite description. 1705 + (bfd_get_next_section_by_name): New function. 1706 + * bfd-in2.h: Regenerate. 1707 + 1708 + 2012-05-21 Andreas Schwab <schwab@linux-m68k.org> 1709 + 1710 + * elf32-m68k.c (elf_m68k_grok_prstatus): New function. 1711 + (elf_m68k_grok_psinfo): New function. 1712 + (elf_backend_grok_prstatus): Define. 1713 + (elf_backend_grok_psinfo): Define. 1714 + 1715 + 2012-05-19 Maciej W. Rozycki <macro@linux-mips.org> 1716 + 1717 + * elf64-mips.c (elf_backend_got_header_size): Correct definition. 1718 + * elfxx-mips.c (_bfd_mips_elf_adjust_dynamic_symbol): Use the ELF 1719 + backend's GOT header size instead of hardcoding it. 1720 + 1721 + 2012-05-19 Maciej W. Rozycki <macro@linux-mips.org> 1722 + 1723 + * elf32-vax.c (elf_vax_relocate_section) 1724 + <R_VAX_8, R_VAX_16, R_VAX_32>: Don't check if info->shared again. 1725 + 1726 + 2012-05-19 Maciej W. Rozycki <macro@linux-mips.org> 1727 + 1728 + * elf32-vax.c (elf_vax_relocate_section) 1729 + <R_VAX_8, R_VAX_16, R_VAX_32>: Use section flags rather than 1730 + its name as the check for text sections. 1731 + 1732 + 2012-05-19 Maciej W. Rozycki <macro@linux-mips.org> 1733 + 1734 + * elf64-mips.c (mips_elf64_be_swap_reloc_out): Also make sure 1735 + the third reloc offset is the same as the first. 1736 + 1737 + 2012-05-19 Alan Modra <amodra@gmail.com> 1738 + 1739 + * elf32-ppc.h (has_vle_insns, is_ppc_vle): Delete. 1740 + (has_tls_reloc, has_tls_get_addr_call): Move back to.. 1741 + * elf32-ppc.c: ..here. 1742 + (ppc_elf_section_flags, elf_backend_section_flags): Delete. 1743 + (ppc_elf_modify_segment_map): Use ELF sh_flags to detect VLE sections. 1744 + 1745 + 2012-05-18 H.J. Lu <hongjiu.lu@intel.com> 1746 + 1747 + * elf32-i386.c (elf_i386_finish_dynamic_symbol): Don't make 1748 + _DYNAMIC nor _GLOBAL_OFFSET_TABLE_ absolute. 1749 + * elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise. 1750 + 1751 + 2012-05-18 Roland McGrath <mcgrathr@google.com> 1752 + 1753 + * archive.c (_bfd_generic_read_ar_hdr_mag): Fix last change so as 1754 + not to clobber the ar_fmag field stored in ARED->arch_header. 1755 + 1756 + 2012-05-18 Pedro Alves <palves@redhat.com> 1757 + 1758 + * mach-o.h: Don't include sysdep.h. 1759 + 1760 + 2012-05-18 Nick Clifton <nickc@redhat.com> 1761 + 1762 + PR 14072 1763 + * bfd-in.h: Check for PACKAGE or PACKAGE_VERSION before 1764 + complaining about config.h not having been included. 1765 + * bfd-in2.h: Regenerate. 1766 + 1767 + 2012-05-18 Andreas Schwab <schwab@linux-m68k.org> 1768 + 1769 + * aclocal.m4: Regenerate. 1770 + * Makefile.in: Regenerate. 1771 + 1772 + 2012-05-17 Daniel Richard G. <skunk@iskunk.org> 1773 + Nick Clifton <nickc@redhat.com> 1774 + 1775 + PR 14072 1776 + * configure.in: Add check that sysdep.h has been included before 1777 + any system header files. 1778 + * configure: Regenerate. 1779 + * config.in: Regenerate. 1780 + * aclocal.m4: Regenerate. 1781 + * bfd-in.h: Generate an error if included before config.h. 1782 + * sysdep.h: Likewise. 1783 + * bfd-in2.h: Regenerate. 1784 + * compress.c: Remove #include "config.h". 1785 + * plugin.c: Likewise. 1786 + * elf32-m68hc1x.c: Include sysdep.h before alloca-conf.h. 1787 + * elf64-hppa.c: Likewise. 1788 + * som.c: Likewise. 1789 + * xsymc.c: Likewise. 1790 + 1791 + 2012-05-17 Maciej W. Rozycki <macro@linux-mips.org> 1792 + Alan Modra <amodra@gmail.com> 1793 + 1794 + * elf.c (ignore_section_sym): Correct comment. Don't return 1795 + true for absolute section. 1796 + (elf_map_symbols): Move stray comment. Adjust for above change. 1797 + Don't discard global section symbols. 1798 + 1799 + 2012-05-17 Alan Modra <amodra@gmail.com> 1800 + 1801 + * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make _DYNAMIC, 1802 + _GLOBAL_OFFSET_TABLE_ or _PROCEDURE_LINKAGE_TABLE_ absolute. 1803 + * elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Don't make _DYNAMIC 1804 + absolute. 1805 + 1806 + 2012-05-17 Alan Modra <amodra@gmail.com> 1807 + 1808 + * elf32-ppc.c (has_tls_reloc, has_tls_get_addr_call, has_vle_insns, 1809 + is_ppc_vle): Move to.. 1810 + * elf32-ppc.h: ..here, making is_ppc_vle a macro. 1811 + 1812 + 2012-05-16 Sergio Durigan Junior <sergiodj@redhat.com> 1813 + 1814 + * bfd-in.h (bfd_get_section_name, bfd_get_section_vma, 1815 + bfd_get_section_lma, bfd_get_section_alignment, 1816 + bfd_get_section_flags, bfd_get_section_userdata): Rewrite macros 1817 + in order to use the `bfd' argument. 1818 + * bfd-in2.h: Regenerate. 1819 + * elf-vxworks.c (elf_vxworks_finish_dynamic_entry): Pass proper `bfd' 1820 + as the first argument for `bfd_get_section_alignment'. 1821 + * elf32-arm.c (create_ifunc_sections): Likewise, for 1822 + `bfd_set_section_alignment'. 1823 + * elf32-m32r.c (m32r_elf_relocate_section): Likewise, for 1824 + `bfd_get_section_name'. 1825 + * elf32-microblaze.c (microblaze_elf_relocate_section): Likewise. 1826 + * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise. 1827 + (ppc_elf_relocate_section): Likewise. 1828 + * elf64-mmix.c (mmix_final_link_relocate): Likewise, for 1829 + `bfd_get_section_vma'. 1830 + * elf64-ppc.c (create_linkage_sections): Likewise, for 1831 + `bfd_set_section_alignment'. 1832 + 1833 + 2012-05-16 Georg-Johann Lay <avr@gjlay.de> 1834 + 1835 + PR target/13503 1836 + * reloc.c: Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO. 1837 + * bfd-in2.h: Regenerate. 1838 + * libbfd.h: Regenerate. 1839 + * elf32-avr.c (elf_avr_howto_table): Rename R_AVR_8_HHI8 to 1840 + R_AVR_8_HLO8. 1841 + (avr_reloc_map): Likewise. 1842 + 1843 + 2012-05-16 Daniel Richard G. <skunk@iskunk.org> 1844 + 1845 + PR binutils/13558 1846 + * bfd/aout-cris.c: Include sysdep.h before bfd.h. 1847 + * bfd/aout-ns32k.c: Likewise. 1848 + * bfd/aout-sparcle.c: Likewise. 1849 + * bfd/aout0.c: Likewise. 1850 + * bfd/bfd-in2.h: Likewise. 1851 + * bfd/coff-stgo32.c: Likewise. 1852 + * bfd/cpu-lm32.c: Likewise. 1853 + * bfd/cpu-microblaze.c: Likewise. 1854 + * bfd/cpu-score.c: Likewise. 1855 + * bfd/cpu-tilegx.c: Likewise. 1856 + * bfd/cpu-tilepro.c: Likewise. 1857 + * bfd/elf32-lm32.c: Likewise. 1858 + * bfd/elf32-microblaze.c: Likewise. 1859 + * bfd/elf32-score7.c: Likewise. 1860 + * bfd/elf32-tilepro.c: Likewise. 1861 + * bfd/elfxx-tilegx.c: Likewise. 1862 + * bfd/mach-o.h: Likewise. 1863 + * bfd/nlm32-ppc.c: Likewise. 1864 + * bfd/ns32knetbsd.c: Likewise. 1865 + * bfd/pef.h: Likewise. 1866 + * bfd/plugin.c: Likewise. 1867 + * bfd/stab-syms.c: Likewise. 1868 + * bfd/sunos.c: Likewise. 1869 + * bfd/syms.c: Likewise. 1870 + * bfd/xsym.h: Likewise. 1871 + 1872 + 2012-05-16 Alan Modra <amodra@gmail.com> 1873 + 1874 + * elflink.c: Rename flaginfo to flinfo throughout, except.. 1875 + (bfd_elf_lookup_section_flags): ..here, rename finfo to flaginfo. 1876 + Formatting, style. Simplify flag match. 1877 + 1878 + 2012-05-16 Alan Modra <amodra@gmail.com> 1879 + 1880 + * dwarf2.c: Formatting. 1881 + (arange_add): Pass in unit rather than bfd. Update callers. 1882 + Ignore empty ranges. Don't ask for cleared memory. 1883 + (parse_comp_unit): Only set unit->base_address if processing 1884 + DW_TAG_compile_unit. 1885 + (find_debug_info): Optimise section lookup. 1886 + (place_sections): Use bfd_alloc for stash->adjusted_sections. 1887 + (find_line): Match previously parsed comp unit addresses as we 1888 + do for newly parsed comp units. 1889 + 1890 + 2012-05-16 Alan Modra <amodra@gmail.com> 1891 + 1892 + * archive.c (_bfd_generic_read_ar_hdr_mag): Ensure sscanf 1893 + stops at end of ar_size field. 1894 + 1895 + 2012-05-16 Alan Modra <amodra@gmail.com> 1896 + 1897 + PR ld/13962 1898 + PR ld/7023 1899 + * elf.c (bfd_section_from_shdr): Fail when .dynsym sh_info is 1900 + out of range. As a special case, fix sh_info for zero sh_size. 1901 + Do the same for .symtab. 1902 + 1903 + 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk> 1904 + Stephane Carrez <stcarrez@nerim.fr> 1905 + 1906 + * archures.c: Add bfd_arch_m9s12x and bfd_arch_m9s12xg. 1907 + * config.bfd: Likewise. 1908 + * cpu-m9s12x.c: New. 1909 + * cpu-m9s12xg.c: New. 1910 + * elf32-m68hc12.c: Add S12X and XGATE co-processor support. 1911 + Add option to offset S12 addresses into XGATE memory space. 1912 + Fix carry bug in IMM16 (IMM8 low/high) relocate. 1913 + * Makefile.am (ALL_MACHINES): Add cpu-m9s12x and cpu-m9s12xg. 1914 + (ALL_MACHINES_CFILES): Likewise. 1915 + * reloc.c: Add S12X relocs. 1916 + * Makefile.in: Regenerate. 1917 + * bfd-in2.h: Regenerate. 1918 + * libbfd.h: Regenerate. 1919 + 1920 + 2012-05-14 James Lemke <jwlemke@codesourcery.com> 1921 + Catherine Moore <clm@codesourcery.com> 1922 + 1923 + * bfd.c (bfd_lookup_section_flags): Add section parm. 1924 + * ecoff.c (bfd_debug_section): Remove flag_info initializer. 1925 + * elf-bfd.h (bfd_elf_section_data): Move in section_flag_info. 1926 + (bfd_elf_lookup_section_flags): Add section parm. 1927 + * elf32-ppc.c (is_ppc_vle): New function. 1928 + (ppc_elf_modify_segment_map): New function. 1929 + (elf_backend_modify_segment_map): Define. 1930 + (has_vle_insns): New define. 1931 + * elf32-ppc.h (ppc_elf_modify_segment_map): Declare. 1932 + * elflink.c (bfd_elf_lookup_section_flags): Add return value & parm. 1933 + Move in logic to omit / include a section. 1934 + * libbfd-in.h (bfd_link_info): Add section parm. 1935 + (bfd_generic_lookup_section_flags): Likewise. 1936 + * reloc.c (bfd_generic_lookup_section_flags): Likewise. 1937 + * section.c (bfd_section): Move out section_flag_info. 1938 + (BFD_FAKE_SECTION): Remove flag_info initializer. 1939 + * targets.c (_bfd_lookup_section_flags): Add section parm. 1940 + 1941 + 2012-05-14 Catherine Moore <clm@codesourcery.com> 1942 + 1943 + * archures.c (bfd_mach_ppc_vle): New. 1944 + * bfd-in2.h: Regenerated. 1945 + * cpu-powerpc.c (bfd_powerpc_archs): New entry for vle. 1946 + * elf32-ppc.c (split16_format_type): New enumeration. 1947 + (ppc_elf_vle_split16): New function. 1948 + (HOWTO): Add entries for R_PPC_VLE relocations. 1949 + (ppc_elf_reloc_type_lookup): Handle PPC_VLE relocations. 1950 + (ppc_elf_section_flags): New function. 1951 + (ppc_elf_lookup_section_flags): New function. 1952 + (ppc_elf_section_processing): New function. 1953 + (ppc_elf_check_relocs): Handle PPC_VLE relocations. 1954 + (ppc_elf_relocation_section): Likewise. 1955 + (elf_backend_lookup_section_flags_hook): Define. 1956 + (elf_backend_section_flags): Define. 1957 + (elf_backend_section_processing): Define. 1958 + * elf32-ppc.h (ppc_elf_section_processing): Declare. 1959 + * libbfd.h: Regenerated. 1960 + * reloc.c (BFD_RELOC_PPC_VLE_REL8, BFD_RELOC_PPC_VLE_REL15, 1961 + BFD_RELOC_PPC_VLE_REL24, BFD_RELOC_PPC_VLE_LO16A, 1962 + BFD_RELOC_PPC_VLE_LO16D, BFD_RELOC_PPC_VLE_HI16A, 1963 + BFD_RELOC_PPC_VLE_HI16D, BFD_RELOC_PPC_VLE_HA16A, 1964 + BFD_RELOC_PPC_VLE_HA16D, BFD_RELOC_PPC_VLE_SDA21, 1965 + BFD_RELOC_PPC_VLE_SDA21_LO, BFD_RELOC_PPC_VLE_SDAREL_LO16A, 1966 + BFD_RELOC_PPC_VLE_SDAREL_LO16D, BFD_RELOC_PPC_VLE_SDAREL_HI16A, 1967 + BFD_RELOC_PPC_VLE_SDAREL_HI16D, BFD_RELOC_PPC_VLE_SDAREL_HA16A, 1968 + BFD_RELOC_PPC_VLE_SDAREL_HA16D): New bfd relocations. 1969 + 1970 + 2012-05-11 Georg-Johann Lay <avr@gjlay.de> 1971 + 1972 + PR target/13503 1973 + * reloc.c: Add new ENUM for BFD_RELOC_AVR_8_LO, 1974 + BFD_RELOC_AVR_8_HI, BFD_RELOC_AVR_8_HHI. 1975 + * bfd-in2.h: Regenerate. 1976 + * libbfd.h: Regenerate. 1977 + * elf32-avr.c (elf_avr_howto_table): Add entries for 1978 + R_AVR_8_LO8, R_AVR_8_HI8, R_AVR_8_HHI8. 1979 + (avr_reloc_map): Add RELOC mappings for R_AVR_8_LO8, R_AVR_8_HI8, 1980 + R_AVR_8_HHI8. 1981 + 1982 + 2012-05-10 H.J. Lu <hongjiu.lu@intel.com> 1983 + 1984 + * elf64-x86-64.c (elf_x86_64_relocate_section): Use int in x32 1985 + addend overflow check. 1986 + 1987 + 2012-05-10 DJ Delorie <dj@redhat.com> 1988 + 1989 + * elf32-rx.c (rx_elf_object_p): Ignore empty segments. 1990 + 1991 + 2012-05-10 H.J. Lu <hongjiu.lu@intel.com> 1992 + 1993 + * elf64-x86-64.c (elf_x86_64_relocate_section): Display signed 1994 + hex number in x32 addend overflow check. 1995 + 1996 + 2012-05-10 H.J. Lu <hongjiu.lu@intel.com> 1997 + 1998 + * elf64-x86-64.c (elf_x86_64_reloc_type_class): Handle 1999 + R_X86_64_RELATIVE64. 2000 + 2001 + 2012-05-09 H.J. Lu <hongjiu.lu@intel.com> 2002 + 2003 + * elf64-x86-64.c (elf_x86_64_relocate_section): Check addend 2004 + overflow for R_X86_64_RELATIVE64. 2005 + 2006 + 2012-05-08 Ben Cheng <bccheng@google.com> 2007 + 2008 + * elf.c: Preserve the original p_align and p_flags if they are 2009 + valid. 2010 + 2011 + 2012-05-07 Alan Modra <amodra@gmail.com> 2012 + 2013 + * elf64-ia64-vms.c (elf64_ia64_relocate_section): Update 2014 + RELOC_AGAINST_DISCARDED_SECTION invocation. 2015 + 2016 + 2012-05-07 Hans-Peter Nilsson <hp@axis.com> 2017 + 2018 + * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Declare and use 2019 + local variable i_ instead of assuming and using a variable i. 2020 + 2021 + 2012-05-07 Maciej W. Rozycki <macro@linux-mips.org> 2022 + 2023 + * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Handle compound 2024 + relocations. 2025 + * elfxx-mips.c (mips_reloc_against_discarded_section): New 2026 + function. 2027 + (_bfd_mips_elf_relocate_section): Call it, in place of 2028 + RELOC_AGAINST_DISCARDED_SECTION. 2029 + * elf-m10200.c (mn10200_elf_relocate_section): Update arguments 2030 + to RELOC_AGAINST_DISCARDED_SECTION. 2031 + * elf-m10300.c (mn10300_elf_relocate_section): Likewise. 2032 + * elf32-arm.c (elf32_arm_relocate_section): Likewise. 2033 + * elf32-avr.c (elf32_avr_relocate_section): Likewise. 2034 + * elf32-bfin.c (bfin_relocate_section): Likewise. 2035 + (bfinfdpic_relocate_section): Likewise. 2036 + * elf32-cr16.c (elf32_cr16_relocate_section): Likewise. 2037 + * elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise. 2038 + * elf32-cris.c (cris_elf_relocate_section): Likewise. 2039 + * elf32-crx.c (elf32_crx_relocate_section): Likewise. 2040 + * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. 2041 + * elf32-epiphany.c (epiphany_elf_relocate_section): Likewise. 2042 + * elf32-fr30.c (fr30_elf_relocate_section): Likewise. 2043 + * elf32-frv.c (elf32_frv_relocate_section): Likewise. 2044 + * elf32-h8300.c (elf32_h8_relocate_section): Likewise. 2045 + * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. 2046 + * elf32-i370.c (i370_elf_relocate_section): Likewise. 2047 + * elf32-i386.c (elf_i386_relocate_section): Likewise. 2048 + * elf32-i860.c (elf32_i860_relocate_section): Likewise. 2049 + * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. 2050 + * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise. 2051 + * elf32-lm32.c (lm32_elf_relocate_section): Likewise. 2052 + * elf32-m32c.c (m32c_elf_relocate_section): Likewise. 2053 + * elf32-m32r.c (m32r_elf_relocate_section): Likewise. 2054 + * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise. 2055 + * elf32-m68k.c (elf_m68k_relocate_section): Likewise. 2056 + * elf32-mcore.c (mcore_elf_relocate_section): Likewise. 2057 + * elf32-mep.c (mep_elf_relocate_section): Likewise. 2058 + * elf32-moxie.c (moxie_elf_relocate_section): Likewise. 2059 + * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. 2060 + * elf32-mt.c (mt_elf_relocate_section): Likewise. 2061 + * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. 2062 + * elf32-ppc.c (ppc_elf_relocate_section): Likewise. 2063 + * elf32-rl78.c (rl78_elf_relocate_section): Likewise. 2064 + * elf32-rx.c (rx_elf_relocate_section): Likewise. 2065 + * elf32-s390.c (elf_s390_relocate_section): Likewise. 2066 + * elf32-score.c (s3_bfd_score_elf_relocate_section): Likewise. 2067 + * elf32-score7.c (s7_bfd_score_elf_relocate_section): Likewise. 2068 + * elf32-sh.c (sh_elf_relocate_section): Likewise. 2069 + * elf32-spu.c (spu_elf_relocate_section): Likewise. 2070 + * elf32-tic6x.c (elf32_tic6x_relocate_section): Likewise. 2071 + * elf32-tilepro.c (tilepro_elf_relocate_section): Likewise. 2072 + * elf32-v850.c (v850_elf_relocate_section): Likewise. 2073 + * elf32-vax.c (elf_vax_relocate_section): Likewise. 2074 + * elf32-xc16x.c (elf32_xc16x_relocate_section): Likewise. 2075 + * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. 2076 + * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. 2077 + * elf64-alpha.c (elf64_alpha_relocate_section_r): Likewise. 2078 + (elf64_alpha_relocate_section): Likewise. 2079 + * elf64-hppa.c (elf64_hppa_relocate_section): Likewise. 2080 + * elf64-mmix.c (mmix_elf_relocate_section): Likewise. 2081 + * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. 2082 + * elf64-s390.c (elf_s390_relocate_section): Likewise. 2083 + * elf64-sh64.c (sh_elf64_relocate_section): Likewise. 2084 + * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise. 2085 + * elfnn-ia64.c (elfNN_ia64_relocate_section): Likewise. 2086 + * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise. 2087 + * elfxx-tilegx.c (tilegx_elf_relocate_section): Likewise. 2088 + 2089 + 2012-05-05 Alan Modra <amodra@gmail.com> 2090 + 2091 + PR ld/14052 2092 + PR ld/13621 2093 + * linker.c (_bfd_nearby_section): Revert 2012-02-13 change. 2094 + 2095 + 2012-05-05 Alan Modra <amodra@gmail.com> 2096 + 2097 + * aout-arm.c: Replace all uses of bfd_abs_section, bfd_com_section, 2098 + bfd_und_section and bfd_ind_section with their _ptr variants, or 2099 + use corresponding bfd_is_* macros. 2100 + * aout-ns32k.c: Likewise. 2101 + * aout-tic30.c: Likewise. 2102 + * coff-arm.c: Likewise. 2103 + * coff-tic54x.c: Likewise. 2104 + * cpu-ns32k.c: Likewise. 2105 + * elf-attrs.c: Likewise. 2106 + * elfcode.h: Likewise. 2107 + * peicode.h: Likewise. 2108 + * reloc.c: Likewise. 2109 + * riscix.c: Likewise. 2110 + * versados.c: Likewise. 2111 + * section.c: Likewise. 2112 + (bfd_abs_section, bfd_ind_section, bfd_com_section, 2113 + bfd_ind_section): Delete. 2114 + (std_section): New array replacing above. 2115 + (bfd_abs_section_ptr, bfd_ind_section_ptr, bfd_com_section_ptr, 2116 + bfd_ind_section_ptr, STD_SECTION): Update. 2117 + (BFD_FAKE_SECTION, GLOBAL_SYM_INIT): Remove unnecessary casts. 2118 + * bfd-in2.h: Regenerate. 2119 + 2120 + 2012-05-03 Sean Keys <skeys@ipdatasys.com> 2121 + 2122 + * cpu-xgate.c: New file. Added XGATE support. 2123 + * archures.c (bfd_architecture): Add XGATE architecture. 2124 + (bfd_archures_list): Add reference to XGATE architecture info. 2125 + * elf-bfd.h (prep_headers): Handle bfd_arch_xgate. 2126 + * reloc.c: Add various XGATE relocation enums. 2127 + * targets.c (bfd_elf32_xgate_vec): Declare and add to target vector 2128 + list. 2129 + * Makefile.am: Add support for XGATE elf. 2130 + * configure.in: Ditto. 2131 + * config.bfd: Ditto. 2132 + * Makefile.in: Regenerate. 2133 + * configure: Ditto. 2134 + * bfd-in2.h: Ditto. 2135 + * libbfd.h: Ditto. 2136 + Added files for XGATE relocations. 2137 + * elf32-xgate.c: Created minimal relocation file. 2138 + * elf32-xgate.h: Created minimal header file for elf32-xgate. 2139 + 2140 + 2012-05-03 Tristan Gingold <gingold@adacore.com> 2141 + 2142 + * dwarf2.c (decode_line_info): Ignore 2143 + DW_LNE_HP_source_file_correlation. 2144 + 2145 + 2012-05-01 Nick Clifton <nickc@redhat.com> 2146 + 2147 + PR binutils/13121 2148 + * aoutx.h: Rename 'finfo' to 'flaginfo' to avoid conflicts with 2149 + AIX system headers. 2150 + * coff-ppc.c: Likewise. 2151 + * cofflink.c: Likewise. 2152 + * elf32-arm.c: Likewise. 2153 + * elf64-sparc.c: Likewise. 2154 + * elflink.c: Likewise. 2155 + * pdp11.c: Likewise. 2156 + * rescoff.c: Likewise. 2157 + 2158 + 2012-04-26 Mark Wielaard <mjw@redhat.com> 2159 + 2160 + * dwarf2.c (scan_unit_for_symbols): Account for DW_AT_high_pc 2161 + possibly being relative to DW_AT_low_pc. 2162 + (parse_comp_unit): Likewise. 2163 + 2164 + 2012-04-26 Andreas Schwab <schwab@linux-m68k.org> 2165 + 2166 + * elf32-m68k.c (elf_m68k_check_relocs): Mark non-GOT references 2167 + also when generating PIE. 2168 + (elf_m68k_discard_copies): Mark undefined weak symbols referenced 2169 + by relocations as dynamic. 2170 + 2171 + 2012-04-26 Hans-Peter Nilsson <hp@axis.com> 2172 + 2173 + Provide a way for programs to recognize BFD_ASSERT calls. 2174 + * bfd.c (bfd_assert_handler_type): New API type. 2175 + (bfd_set_assert_handler, bfd_get_assert_handler): New API functions. 2176 + (_bfd_assert_handler): New variable. 2177 + (_bfd_default_assert_handler): New function. 2178 + (bfd_assert): Call _bfd_assert_handler, not _bfd_error_handler. 2179 + * libbfd-in.h (_bfd_assert_handler): Declare. 2180 + * libbfd.h, bfd-in2.h: Regenerate. 2181 + 2182 + 2012-04-24 Hans-Peter Nilsson <hp@axis.com> 2183 + 2184 + PR ld/13990 2185 + * elf32-arm.c (elf32_arm_gc_sweep_hook): Handle a forced-local 2186 + symbol, where PLT refcount is set to -1. 2187 + 2188 + 2012-04-24 Alan Modra <amodra@gmail.com> 2189 + 2190 + PR ld/13991 2191 + * elf-bfd.h (_bfd_elf_link_just_syms): Define as 2192 + _bfd_generic_link_just_syms. 2193 + * elflink.c (_bfd_elf_link_just_syms): Delete. 2194 + * linker.c (_bfd_generic_link_just_syms): Set sec_info_type. 2195 + 2196 + * bfd-in.h (discarded_section): Renamed from elf_discarded_section. 2197 + * section.c (SEC_INFO_TYPE_NONE, SEC_INFO_TYPE_STABS, 2198 + SEC_INFO_TYPE_MERGE, SEC_INFO_TYPE_EH_FRAME, 2199 + SEC_INFO_TYPE_JUST_SYMS): Renamed from corresponding ELF_INFO_TYPE. 2200 + * elf-eh-frame.c, * elf-m10200.c, * elf-m10300.c, 2201 + * elf.c, * elf32-arm.c, * elf32-avr.c, * elf32-bfin.c, 2202 + * elf32-cr16.c, * elf32-cr16c.c, * elf32-cris.c, 2203 + * elf32-crx.c, * elf32-d10v.c, * elf32-epiphany.c, 2204 + * elf32-fr30.c, * elf32-frv.c, * elf32-h8300.c, 2205 + * elf32-hppa.c, * elf32-i370.c, * elf32-i386.c, 2206 + * elf32-i860.c, * elf32-ip2k.c, * elf32-iq2000.c, 2207 + * elf32-lm32.c, * elf32-m32c.c, * elf32-m32r.c, 2208 + * elf32-m68hc1x.c, * elf32-m68k.c, * elf32-mcore.c, 2209 + * elf32-mep.c, * elf32-moxie.c, * elf32-msp430.c, 2210 + * elf32-mt.c, * elf32-openrisc.c, * elf32-ppc.c, 2211 + * elf32-rl78.c, * elf32-rx.c, * elf32-s390.c, 2212 + * elf32-score.c, * elf32-score7.c, * elf32-sh.c, 2213 + * elf32-spu.c, * elf32-tic6x.c, * elf32-tilepro.c, 2214 + * elf32-v850.c, * elf32-vax.c, * elf32-xc16x.c, 2215 + * elf32-xstormy16.c, * elf32-xtensa.c, * elf64-alpha.c, 2216 + * elf64-hppa.c, * elf64-ia64-vms.c, * elf64-mmix.c, 2217 + * elf64-ppc.c, * elf64-s390.c, * elf64-sh64.c, 2218 + * elf64-x86-64.c, * elflink.c, * elfnn-ia64.c, 2219 + * elfxx-mips.c, * elfxx-sparc.c, * elfxx-tilegx.c, 2220 + * reloc.c: Update all references. 2221 + * bfd-in2.h: Regenerate. 2222 + 2223 + 2012-04-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2224 + 2225 + * elf32-s390.c (ELF_DYNAMIC_INTERPRETER): Set to the GCC default. 2226 + * elf64-s390.c (ELF_DYNAMIC_INTERPRETER): Set to the GCC default. 2227 + 2228 + 2012-04-19 Thomas Schwinge <thomas@codesourcery.com> 2229 + 2230 + * elf32-sh.c (elf_sh_link_hash_entry): Specify an enum identifier for 2231 + got_type. 2232 + (allocate_dynrelocs, sh_elf_relocate_section, sh_elf_check_relocs): Use 2233 + it. 2234 + 2235 + 2012-04-17 Kaz Kojima <kkojima@rr.iij4u.or.jp> 2236 + 2237 + * elf32-sh.c (allocate_dynrelocs): Don't allocate dynamic 2238 + relocations when LE conversion happens on the IE tls symbol. 2239 + 2240 + 2012-04-17 Roland McGrath <mcgrathr@google.com> 2241 + 2242 + * elf64-x86-64.c (elf_x86_64_nacl_plt0_entry): Fix nop padding 2243 + so that 32-byte boundary is a proper instruction boundary. 2244 + 2245 + 2012-04-17 Tristan Gingold <gingold@adacore.com> 2246 + 2247 + * vms-lib.c (_bfd_vms_lib_get_module): Append .obj extension to 2248 + member of an object archive.< 2249 + 2250 + 2012-04-17 Tristan Gingold <gingold@adacore.com> 2251 + 2252 + * vms-lib.c (MAX_EKEYLEN): Define. 2253 + (MAX_KEYLEN): Fix value. 2254 + (vms_write_index): Add comments and fix indentation. 2255 + Adjust comparaison. Add assertions. Free kbn_blk. 2256 + (_bfd_vms_lib_write_archive_contents): Use MAX_EKEYLEN. 2257 + Compense MAX_KEYLEN adjustment. 2258 + 2259 + 2012-04-16 Maciej W. Rozycki <macro@linux-mips.org> 2260 + 2261 + * elfxx-mips.c (mips16_stub_symndx): Handle n64 compound relocs. 2262 + (_bfd_mips_elf_check_relocs): Update accordingly. 2263 + 2264 + 2012-04-13 Alan Modra <amodra@gmail.com> 2265 + 2266 + PR ld/13947 2267 + * elflink.c (bfd_elf_final_link): Set reloc_count to 0 for 2268 + reloc sections. 2269 + 2270 + 2012-04-12 David S. Miller <davem@davemloft.net> 2271 + 2272 + * reloc.c (BFD_RELOC_SPARC_H34, BFD_RELOC_SPARC_SIZE32, 2273 + BFD_RELOC_SPARC_SIZE64, BFD_RELOC_SPARC_WDISP10): New relocs. 2274 + * libbfd.h: Regenerate. 2275 + * bfd-in2.h: Likewise. 2276 + * elfxx-sparc.c (sparc_elf_wdisp10_reloc): New function. 2277 + (_bfd_sparc_elf_howto_table): Add entries for R_SPARC_H34, 2278 + R_SPARC_SIZE32, R_SPARC_64, and R_SPARC_WDISP10. 2279 + (_bfd_sparc_elf_reloc_type_lookup): Handle new relocs. 2280 + (_bfd_sparc_elf_check_relocs): Likewise. 2281 + (_bfd_sparc_elf_gc_sweep_hook): Likewise. 2282 + (_bfd_sparc_elf_relocate_section): Likewise. 2283 + 2284 + 2012-04-12 Roland McGrath <mcgrathr@google.com> 2285 + 2286 + * elf32-arm.c (elf32_arm_nacl_plt0_entry, elf32_arm_nacl_plt_entry): 2287 + New variables. 2288 + (struct elf32_arm_link_hash_table): New member `nacl_p'. 2289 + (elf32_arm_link_hash_table_create): Initialize it. 2290 + (elf32_arm_nacl_link_hash_table_create): New function. 2291 + (arm_movw_immediate, arm_movt_immediate): New functions. 2292 + (elf32_arm_populate_plt_entry): Test HTAB->nacl_p. 2293 + (elf32_arm_finish_dynamic_sections): Likewise. 2294 + (elf32_arm_output_plt_map_1): Likewise. 2295 + (bfd_elf32_littlearm_nacl_vec, bfd_elf32_bigarm_nacl_vec): 2296 + New backend vector stanza. 2297 + (elf32_arm_nacl_modify_segment_map): New function. 2298 + * config.bfd: Handle arm-*-nacl*, armeb-*-nacl*. 2299 + * targets.c: Support bfd_elf32_{big,little}_nacl_vec. 2300 + * configure.in: Likewise. 2301 + (bfd_elf32_bigarm_nacl_vec): Add elf-nacl.lo here. 2302 + (bfd_elf32_littlearm_nacl_vec): Likewise. 2303 + (bfd_elf32_bigarm_vec, bfd_elf32_littlearm_vec): Likewise. 2304 + (bfd_elf32_bigarm_symbian_vec): Likewise. 2305 + (bfd_elf32_littlearm_symbian_vec): Likewise. 2306 + (bfd_elf32_bigarm_vxworks_vec): Likewise. 2307 + (bfd_elf32_littlearm_vxworks_vec): Likewise. 2308 + * configure: Regenerated. 2309 + 2310 + 2012-04-12 Tristan Gingold <gingold@adacore.com> 2311 + 2312 + * elflink.c (elf_link_output_extsym): Add a guard. 2313 + (bfd_elf_final_link): Remove assertion. 2314 + (bfd_elf_final_link): Add a guard. 2315 + * elfnn-ia64.c (INCLUDE_IA64_VMS): Removed. 2316 + (elfNN_vms_section_from_shdr, elfNN_vms_object_p) 2317 + (elfNN_vms_post_process_headers, elfNN_vms_section_processing) 2318 + (elfNN_vms_final_write_processing, elfNN_vms_close_and_cleanup): 2319 + Remove. 2320 + (elfNN-ia64-vms target): Move to ... 2321 + * elf64-ia64-vms.c: New file. 2322 + * configure.in (bfd_elf64_ia64_vms_vec): Add elf64-ia64-vms.lo 2323 + * Makefile.am (BFD64_BACKENDS): Add elf64-ia64-vms.lo. 2324 + (BFD64_BACKENDS_CFILES): Ad elf64-ia64-vms.c. 2325 + * configure: Regenerate. 2326 + * Makefile.in: Regenerate. 2327 + 2328 + 2012-04-11 Nick Clifton <nickc@redhat.com> 2329 + 2330 + PR binutils/13897 2331 + * elf64-ppc.c (opd_entry_value): When dealing with sections 2332 + without relocs, keep the last section loaded in order to avoid 2333 + unnecessary reloads. 2334 + 2335 + 2012-04-09 Roland McGrath <mcgrathr@google.com> 2336 + 2337 + * elf.c (_bfd_elf_map_sections_to_segments): Set INFO->user_phdrs. 2338 + * elf-nacl.c (nacl_modify_segment_map): Do nothing if INFO->user_phdrs. 2339 + (nacl_modify_program_headers): Likewise. 2340 + 2341 + 2012-04-03 Roland McGrath <mcgrathr@google.com> 2342 + 2343 + * elf-nacl.c: New file. 2344 + * elf-nacl.h: New file. 2345 + * elf32-i386.c (elf_backend_modify_segment_map): Define for 2346 + bfd_elf32_i386_nacl_vec. 2347 + (elf_backend_modify_program_headers): Likewise. 2348 + * elf64-x86-64.c (elf_backend_modify_segment_map): Define for 2349 + bfd_elf64_x86_64_nacl_vec and bfd_elf32_x86_64_nacl_vec. 2350 + (elf_backend_modify_program_headers): Likewise. 2351 + * Makefile.am (BFD32_BACKENDS, BFD64_BACKENDS): Add elf-nacl.lo here. 2352 + (BFD32_BACKENDS_CFILES, BFD64_BACKENDS_CFILES): Add elf-nacl.c here. 2353 + * Makefile.in: Regenerated. 2354 + * configure.in (bfd_elf64_x86_64_nacl_vec): Add elf-nacl.o to tb here. 2355 + (bfd_elf32_x86_64_nacl_vec): Likewise. 2356 + (bfd_elf64_x86_64_vec, bfd_elf32_x86_64_vec): Likewise. 2357 + (bfd_elf64_x86_64_freebsd_vec, bfd_elf64_x86_64_sol2_vec): Likewise. 2358 + (bfd_elf64_l1om_vec, bfd_elf64_l1om_freebsd_vec): Likewise. 2359 + (bfd_elf64_k1om_vec, bfd_elf64_k1om_freebsd_vec): Likewise. 2360 + (bfd_elf32_i386_nacl_vec): Likewise. 2361 + (bfd_elf32_i386_sol2_vec, bfd_elf32_i386_freebsd_vec): Likewise. 2362 + (bfd_elf32_i386_vxworks_vec, bfd_elf32_i386_vec): Likewise. 2363 + * configure: Regenerated. 2364 + 2365 + 2012-03-31 Andreas Schwab <schwab@linux-m68k.org> 2366 + 2367 + * elf32-m68k.c (elf_m68k_relocate_section): Allow 2368 + R_68K_TLS_LE{8,16,32} for PIE. 2369 + 2370 + 2012-03-30 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2371 + 2372 + * elf64-s390.c: Fix several comments regarding PLT entry 2373 + description. 2374 + * elf32-s390.c: Likewise. 2375 + 2376 + 2012-03-30 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2377 + 2378 + * elf64-s390.c: Use the section pointer shortcuts in 2379 + elf_link_hash_table and remove them from the target specific 2380 + variant. 2381 + * elf32-s390.c: Likewise. 2382 + 2383 + 2012-03-30 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2384 + 2385 + * elf64-s390.c (elf_s390x_plt_entry, elf_s390x_first_plt_entry): 2386 + New definitions. 2387 + (PLT_PIC_ENTRY_WORD*, PLT_PIC12_ENTRY_WORD*): Remove. 2388 + (elf_s390_finish_dynamic_symbol): Use memcpy instead of bfd_put_32. 2389 + (elf_s390_finish_dynamic_sections): Likewise. 2390 + * elf32-s390.c (elf_s390_plt_entry, elf_s390_plt_pic_entry) 2391 + (elf_s390_plt_pic12_entry, elf_s390_plt_pic16_entry) 2392 + (elf_s390_plt_first_entry, elf_s390_plt_pic_first_entry): New definitions. 2393 + (PLT_PIC16_ENTRY_WORD*, PLT_ENTRY_WORD*) 2394 + (PLT_PIC_FIRST_ENTRY_WORD*, PLT_FIRST_ENTRY_WORD*): Remove. 2395 + 2396 + 2012-03-30 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2397 + 2398 + * elf32-s390.c (struct elf_s390_dyn_relocs): Remove. 2399 + Rename all occurrences in the file to elf_dyn_relocs. 2400 + * elf64-s390.c: Likewise. 2401 + 2402 + 2012-03-30 Alan Modra <amodra@gmail.com> 2403 + 2404 + * elflink.c (_bfd_elf_gc_mark_reloc): Don't delve into dynamic 2405 + libraries. 2406 + 2407 + 2012-03-29 Alan Modra <amodra@gmail.com> 2408 + 2409 + * bfd-in.h (bfd_get_arch_size, bfd_get_sign_extend_vma): Delete. 2410 + * bfd-in2.h: Regenerate. 2411 + 2412 + 2012-03-23 Alan Modra <amodra@gmail.com> 2413 + 2414 + * elf.c (assign_file_positions_for_non_load_sections): Don't warn 2415 + on empty alloc sections. 2416 + 2417 + 2012-03-23 Alan Modra <amodra@gmail.com> 2418 + 2419 + * linker.c (_bfd_nearby_section): New function, split out from.. 2420 + (fix_syms): ..here. 2421 + * bfd-in.h (_bfd_nearby_section): Declare. 2422 + * bfd-in2.h: Regenerate. 2423 + * elflink.c (elf_link_input_bfd): Don't use text_index_section or 2424 + data_index_section with ld -q or ld -r output relocs against 2425 + stripped output sections. Instead use _bfd_nearby_section. 2426 + 2427 + 2012-03-23 Alan Modra <amodra@gmail.com> 2428 + 2429 + PR binutils/13894 2430 + * elf64-ppc.c (opd_entry_value): Read full symbol table when 2431 + sym hashes unavailable. 2432 + 2433 + 2012-03-21 Eliot Dresselhaus <eliot@sonic.net> 2434 + 2435 + * elf32-tic6x.c (elf32_tic6x_merge_private_bfd_data): Return TRUE 2436 + for non-C6X objects. 2437 + 2438 + 2012-03-20 Kai Tietz <ktietz@redhat.com> 2439 + 2440 + PR ld/12742 2441 + * configure.in (AC_CHECK_HEADERS): Test for windows.h and dlfcn.h. 2442 + * plugin.c: Guard include of dlfcn.h if HAVE_DLFCN_H is defined. 2443 + Add windows.h header include if HAVE_WINDOWS_H is defined. 2444 + (dlerror): New static function if windows variant is used instead 2445 + of dlfcn.h. 2446 + (dlclose): Likewise. 2447 + (dlopen): Likewise. 2448 + (dlsym): Likewise. 2449 + * configure: Regenerated. 2450 + * config.in: Regenerated. 2451 + 2452 + 2012-03-20 H.J. Lu <hongjiu.lu@intel.com> 2453 + 2454 + PR ld/13880 2455 + * elf32-i386.c (elf_i386_relocate_section): Don't issue an error 2456 + for R_386_GOTOFF relocation against protected function if 2457 + SYMBOLIC_BIND is true. 2458 + 2459 + * elf64-x86-64.c (elf_x86_64_relocate_section): Don't issue an 2460 + error for R_X86_64_GOTOFF64 relocation against protected function 2461 + when building executable or SYMBOLIC_BIND is true. 2462 + 2463 + 2012-03-16 Roland McGrath <mcgrathr@google.com> 2464 + 2465 + * config.bfd: Handle x86_64-*-nacl*. 2466 + * elf64-x86-64.c (bfd_elf64_x86_64_nacl_vec): New backend vector stanza. 2467 + (bfd_elf32_x86_64_nacl_vec): Likewise. 2468 + * targets.c: Support them. 2469 + * configure.in: Likewise. 2470 + * configure: Regenerated. 2471 + 2472 + 2012-03-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 2473 + 2474 + * elf32-arm.c (elf32_arm_attributes_accept_div): New function. 2475 + (elf32_arm_attributes_forbid_div): Likewise. 2476 + (elf32_arm_merge_eabi_attributes): Correct handling of 2477 + Tag_DIV_use. 2478 + 2479 + 2012-03-15 Roland McGrath <mcgrathr@google.com> 2480 + 2481 + * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Use 2482 + elf_x86_64_backend_data parameters for plt_eh_frame. 2483 + 2484 + * elf64-x86-64.c (struct elf_x86_64_backend_data): New type. 2485 + (get_elf_x86_64_backend_data, GET_PLT_ENTRY_SIZE): New macros. 2486 + (elf_x86_64_arch_bed): New variable. 2487 + (elf_backend_arch_data): New macro. 2488 + (elf_x86_64_adjust_dynamic_symbol): Use GET_PLT_ENTRY_SIZE. 2489 + (elf_x86_64_allocate_dynrelocs): Likewise. 2490 + (elf_x86_64_relocate_section): Likewise. 2491 + (elf_x86_64_plt_sym_val): Likewise. 2492 + (elf_x86_64_finish_dynamic_symbol): Use elf_x86_64_backend_data 2493 + parameters for PLT details. 2494 + (elf_x86_64_finish_dynamic_sections): Likewise. 2495 + 2496 + 2012-03-14 Roland McGrath <mcgrathr@google.com> 2497 + 2498 + * elf32-i386.c (elf_i386_nacl_pic_plt0_entry): Initialize up 2499 + to the full size, padding out with nop instructions. 2500 + 2501 + 2012-03-12 Alan Modra <amodra@gmail.com> 2502 + 2503 + * elf-m10300.c (_bfd_mn10300_elf_adjust_dynamic_symbol): Don't warn 2504 + on zero size dynbss symbol. 2505 + * elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Likewise. 2506 + * elf32-cr16.c (_bfd_cr16_elf_adjust_dynamic_symbol): Likewise. 2507 + * elf32-cris.c (elf_cris_adjust_dynamic_symbol): Likewise. 2508 + * elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise. 2509 + * elf32-i370.c (i370_elf_adjust_dynamic_symbol): Likewise. 2510 + * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise. 2511 + * elf32-lm32.c (lm32_elf_adjust_dynamic_symbol): Likewise. 2512 + * elf32-m32r.c (m32r_elf_adjust_dynamic_symbol): Likewise. 2513 + * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise. 2514 + * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise. 2515 + * elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. 2516 + * elf32-sh.c (sh_elf_adjust_dynamic_symbol): Likewise. 2517 + * elf32-tic6x.c (elf32_tic6x_adjust_dynamic_symbol): Likewise. 2518 + * elf32-tilepro.c (tilepro_elf_adjust_dynamic_symbol): Likewise. 2519 + * elf32-vax.c (elf_vax_adjust_dynamic_symbol): Likewise. 2520 + * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise. 2521 + * elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. 2522 + * elf64-sh64.c (sh64_elf64_adjust_dynamic_symbol): Likewise. 2523 + * elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise. 2524 + * elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise. 2525 + * elfxx-tilegx.c (tilegx_elf_adjust_dynamic_symbol): Likewise. 2526 + 2527 + 2012-03-10 Edmar Wienskoski <edmar@freescale.com> 2528 + 2529 + * archures.c: Add bfd_mach_ppc_e5500 and bfd_mach_ppc_e6500. 2530 + * bfd-in2.h: Regenerate. 2531 + * cpu-powerpc.c (bfd_powerpc_archs): Add entries for 2532 + bfd_mach_ppc_e5500 and bfd_mach_ppc_e6500. 2533 + 2534 + 2012-03-09 H.J. Lu <hongjiu.lu@intel.com> 2535 + 2536 + PR ld/13817 2537 + * elf32-i386.c (elf_i386_relocate_section): Restore 2538 + R_386_IRELATIVE. 2539 + 2540 + * elf64-x86-64.c (elf_x86_64_relocate_section): Restore 2541 + R_X86_64_IRELATIVE. 2542 + 2543 + 2012-03-08 Tristan Gingold <gingold@adacore.com> 2544 + 2545 + * vms-lib.c (_bfd_vms_lib_write_archive_contents): Set maximum 2546 + keylen according to archive kind. Set nextvbn and nextrfa lhd 2547 + fields. Add comments. 2548 + 2549 + 2012-03-07 Nick Clifton <nickc@redhat.com> 2550 + 2551 + * elf-m10300.c (elf32_mn10300_link_hash_entry): Add tls_type 2552 + field. 2553 + (elf32_mn10300_link_hash_table): Add tls_ldm_got entry; 2554 + (elf_mn10300_tdata): Define. 2555 + (elf_mn10300_local_got_tls_type): Define. 2556 + (elf_mn10300_howto_table): Add entries for R_MN10300_TLS_GD, 2557 + R_MN10300_TLS_LD, R_MN10300_TLS_LDO, R_MN10300_TLS_GOTIE, 2558 + R_MN10300_TLS_IE, R_MN10300_TLS_LE, R_MN10300_TLS_DPTMOD, 2559 + R_MN10300_TLS_DTPOFF, R_MN10300_TLS_TPOFF relocs. 2560 + (mn10300_reloc_map): Likewise. 2561 + (elf_mn10300_tls_transition): New function. 2562 + (dtpoff, tpoff, mn10300_do_tls_transition): New functions. 2563 + (mn10300_elf_check_relocs): Add TLS support. 2564 + (mn10300_elf_final_link_relocate): Likewise. 2565 + (mn10300_elf_relocate_section): Likewise. 2566 + (mn10300_elf_relax_section): Likewise. 2567 + (elf32_mn10300_link_hash_newfunc): Initialise new field. 2568 + (_bfd_mn10300_copy_indirect_symbol): New function. 2569 + (elf32_mn10300_link_hash_table_create): Initialise new fields. 2570 + (_bfd_mn10300_elf_size_dynamic_sections): Add TLS support. 2571 + (_bfd_mn10300_elf_finish_dynamic_symbol): Likewise. 2572 + (_bfd_mn10300_elf_reloc_type_class): Allocate an 2573 + elf_mn10300_obj_tdata structure. 2574 + (elf_backend_copy_indirect_symbol): Define. 2575 + * reloc.c (BFD_MN10300_TLS_GD, BFD_MN10300_TLS_LD, 2576 + BFD_MN10300_TLS_LDO, BFD_MN10300_TLS_GOTIE, BFD_MN10300_TLS_IE, 2577 + BFD_MN10300_TLS_LE, BFD_MN10300_TLS_DPTMOD, 2578 + BFD_MN10300_TLS_DTPOFF, BFD_MN10300_TLS_TPOFF): New relocations. 2579 + (BFD_RELOC_MN10300_32_PCREL, BFD_RELOC_MN10300_16_PCREL): Move to 2580 + alongside other MN10300 relocations. 2581 + * bfd-in2.h: Regenerate. 2582 + * libbfd.h: Regenerate. 2583 + 2584 + 2012-03-06 Jakub Jelinek <jakub@redhat.com> 2585 + 2586 + * elf64-x86-64.c (elf_x86_64_relocate_section): For R_X86_64_RELATIVE 2587 + set relocate to TRUE. 2588 + 2589 + 2012-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 2590 + 2591 + PR ld/12152 2592 + * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Also ignore 2593 + overflows for R_SPARC_UA32 in .stab sections. 2594 + 2595 + 2012-03-01 Alan Modra <amodra@gmail.com> 2596 + 2597 + * elfxx-tilegx.c (tilegx_elf_relocate_section): Silence bogus warning. 2598 + 2599 + 2012-02-27 Alan Modra <amodra@gmail.com> 2600 + 2601 + * elf32-sh.c (sh_elf_osec_to_segment): Check for elf flavour bfd 2602 + before calling elf specific function. 2603 + (sh_elf_osec_readonly_p): Test for error return from above. 2604 + 2605 + 2012-02-27 Alan Modra <amodra@gmail.com> 2606 + 2607 + * elf32-spu.c (build_stub): Fix malloc under-allocation. 2608 + 2609 + 2012-02-25 Walter Lee <walt@tilera.com> 2610 + * reloc.c: Add BFD_RELOC_TILEPRO_TLS_GD_CALL, 2611 + BFD_RELOC_TILEPRO_IMM8_X0_TLS_GD_ADD, 2612 + BFD_RELOC_TILEPRO_IMM8_X1_TLS_GD_ADD, 2613 + BFD_RELOC_TILEPRO_IMM8_Y0_TLS_GD_ADD, 2614 + BFD_RELOC_TILEPRO_IMM8_Y1_TLS_GD_ADD, 2615 + BFD_RELOC_TILEPRO_TLS_IE_LOAD, BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE, 2616 + BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE, 2617 + BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_LO, 2618 + BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_LO, 2619 + BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_HI, 2620 + BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_HI, 2621 + BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_HA, 2622 + BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_HA, 2623 + BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_LE, 2624 + BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_LE, 2625 + BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_LE, 2626 + BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_LE, 2627 + BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_LE, 2628 + BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_LE, 2629 + BFD_RELOC_TILEGX_TLS_GD_CALL, BFD_RELOC_TILEGX_IMM8_X0_TLS_GD_ADD, 2630 + BFD_RELOC_TILEGX_IMM8_X1_TLS_GD_ADD, 2631 + BFD_RELOC_TILEGX_IMM8_Y0_TLS_GD_ADD, 2632 + BFD_RELOC_TILEGX_IMM8_Y1_TLS_GD_ADD, BFD_RELOC_TILEGX_TLS_IE_LOAD, 2633 + BFD_RELOC_TILEGX_IMM8_X0_TLS_ADD, 2634 + BFD_RELOC_TILEGX_IMM8_X1_TLS_ADD, 2635 + BFD_RELOC_TILEGX_IMM8_Y0_TLS_ADD, BFD_RELOC_TILEGX_IMM8_Y1_TLS_ADD. 2636 + Delete BFD_RELOC_TILEGX_IMM16_X0_HW1_GOT, 2637 + BFD_RELOC_TILEGX_IMM16_X1_HW1_GOT, 2638 + BFD_RELOC_TILEGX_IMM16_X0_HW2_GOT, 2639 + BFD_RELOC_TILEGX_IMM16_X1_HW2_GOT, 2640 + BFD_RELOC_TILEGX_IMM16_X0_HW3_GOT, 2641 + BFD_RELOC_TILEGX_IMM16_X1_HW3_GOT, 2642 + BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_GOT, 2643 + BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_GOT, 2644 + BFD_RELOC_TILEGX_IMM16_X0_HW1_TLS_GD, 2645 + BFD_RELOC_TILEGX_IMM16_X1_HW1_TLS_GD, 2646 + BFD_RELOC_TILEGX_IMM16_X0_HW2_TLS_GD, 2647 + BFD_RELOC_TILEGX_IMM16_X1_HW2_TLS_GD, 2648 + BFD_RELOC_TILEGX_IMM16_X0_HW3_TLS_GD, 2649 + BFD_RELOC_TILEGX_IMM16_X1_HW3_TLS_GD, 2650 + BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_TLS_GD, 2651 + BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_TLS_GD, 2652 + BFD_RELOC_TILEGX_IMM16_X0_HW1_TLS_IE, 2653 + BFD_RELOC_TILEGX_IMM16_X1_HW1_TLS_IE, 2654 + BFD_RELOC_TILEGX_IMM16_X0_HW2_TLS_IE, 2655 + BFD_RELOC_TILEGX_IMM16_X1_HW2_TLS_IE, 2656 + BFD_RELOC_TILEGX_IMM16_X0_HW3_TLS_IE, 2657 + BFD_RELOC_TILEGX_IMM16_X1_HW3_TLS_IE, 2658 + BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_TLS_IE, 2659 + BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_TLS_IE. 2660 + * elf32-tilepro.c (tilepro_elf_howto_table): Update tilepro 2661 + relocations. 2662 + (tilepro_reloc_map): Ditto. 2663 + (tilepro_info_to_howto_rela): Ditto. 2664 + (reloc_to_create_func): Ditto. 2665 + (tilepro_tls_translate_to_le): New. 2666 + (tilepro_tls_translate_to_ie): New. 2667 + (tilepro_elf_tls_transition): New. 2668 + (tilepro_elf_check_relocs): Handle new tls relocations. 2669 + (tilepro_elf_gc_sweep_hook): Ditto. 2670 + (allocate_dynrelocs): Ditto. 2671 + (tilepro_elf_relocate_section): Ditto. 2672 + (tilepro_replace_insn): New. 2673 + (insn_mask_X1): New. 2674 + (insn_mask_X0_no_dest_no_srca): New 2675 + (insn_mask_X1_no_dest_no_srca): New 2676 + (insn_mask_Y0_no_dest_no_srca): New 2677 + (insn_mask_Y1_no_dest_no_srca): New 2678 + (srca_mask_X0): New 2679 + (srca_mask_X1): New 2680 + (insn_tls_le_move_X1): New 2681 + (insn_tls_le_move_zero_X0X1): New 2682 + (insn_tls_ie_lw_X1): New 2683 + (insn_tls_ie_add_X0X1): New 2684 + (insn_tls_ie_add_Y0Y1): New 2685 + (insn_tls_gd_add_X0X1): New 2686 + (insn_tls_gd_add_Y0Y1): New 2687 + * elfxx-tilegx.c (tilegx_elf_howto_table): Update tilegx 2688 + relocations. 2689 + (tilegx_reloc_map): Ditto. 2690 + (tilegx_info_to_howto_rela): Ditto. 2691 + (reloc_to_create_func): Ditto. 2692 + (tilegx_elf_link_hash_table): New field disable_le_transition. 2693 + (tilegx_tls_translate_to_le): New. 2694 + (tilegx_tls_translate_to_ie): New. 2695 + (tilegx_elf_tls_transition): New. 2696 + (tilegx_elf_check_relocs): Handle new tls relocations. 2697 + (tilegx_elf_gc_sweep_hook): Ditto. 2698 + (allocate_dynrelocs): Ditto. 2699 + (tilegx_elf_relocate_section): Ditto. 2700 + (tilegx_copy_bits): New. 2701 + (tilegx_replace_insn): New. 2702 + (insn_mask_X1): New. 2703 + (insn_mask_X0_no_dest_no_srca): New. 2704 + (insn_mask_X1_no_dest_no_srca): New. 2705 + (insn_mask_Y0_no_dest_no_srca): New. 2706 + (insn_mask_Y1_no_dest_no_srca): New. 2707 + (insn_mask_X0_no_operand): New. 2708 + (insn_mask_X1_no_operand): New. 2709 + (insn_mask_Y0_no_operand): New. 2710 + (insn_mask_Y1_no_operand): New. 2711 + (insn_tls_ie_ld_X1): New. 2712 + (insn_tls_ie_ld4s_X1): New. 2713 + (insn_tls_ie_add_X0X1): New. 2714 + (insn_tls_ie_add_Y0Y1): New. 2715 + (insn_tls_ie_addx_X0X1): New. 2716 + (insn_tls_ie_addx_Y0Y1): New. 2717 + (insn_tls_gd_add_X0X1): New. 2718 + (insn_tls_gd_add_Y0Y1): New. 2719 + (insn_move_X0X1): New. 2720 + (insn_move_Y0Y1): New. 2721 + (insn_add_X0X1): New. 2722 + (insn_add_Y0Y1): New. 2723 + (insn_addx_X0X1): New. 2724 + (insn_addx_Y0Y1): New. 2725 + * libbfd.h: Regenerate. 2726 + * bfd-in2.h: Regenerate. 2727 + 2728 + 2012-02-25 Walter Lee <walt@tilera.com> 2729 + 2730 + * config.bfd (tilegx-*-*): rename little endian vector; add big 2731 + endian vector. 2732 + (tilegxbe-*-*): New case. 2733 + * configure.in (bfd_elf32_tilegx_vec): Rename... 2734 + (bfd_elf32_tilegx_le_vec): ... to this. 2735 + (bfd_elf32_tilegx_be_vec): New vector. 2736 + (bfd_elf64_tilegx_vec): Rename... 2737 + (bfd_elf64_tilegx_le_vec): ... to this. 2738 + (bfd_elf64_tilegx_be_vec): New vector. 2739 + * configure: Regenerate. 2740 + * elf32-tilegx.c (TARGET_LITTLE_SYM): Rename. 2741 + (TARGET_LITTLE_NAME): Ditto. 2742 + (TARGET_BIG_SYM): Define. 2743 + (TARGET_BIG_NAME): Define. 2744 + * elf64-tilegx.c (TARGET_LITTLE_SYM): Rename. 2745 + (TARGET_LITTLE_NAME): Ditto. 2746 + (TARGET_BIG_SYM): Define. 2747 + (TARGET_BIG_NAME): Define. 2748 + * targets.c (bfd_elf32_tilegx_vec): Rename... 2749 + (bfd_elf32_tilegx_le_vec): ... to this. 2750 + (bfd_elf32_tilegx_be_vec): Declare. 2751 + (bfd_elf64_tilegx_vec): Rename... 2752 + (bfd_elf64_tilegx_le_vec): ... to this. 2753 + (bfd_elf64_tilegx_be_vec): Declare. 2754 + (_bfd_target_vector): Add / rename above vectors. 2755 + * arctures.c (bfd_architecture): Define bfd_mach_tilegx32. 2756 + * bfd-in2.h: Regenerate. 2757 + * cpu-tilegx.c (bfd_tilegx32_arch): define. 2758 + (bfd_tilegx_arch): link to bfd_tilegx32_arch. 2759 + 2760 + 2012-02-24 Nick Clifton <nickc@redhat.com> 2761 + 2762 + PR ld/13730 2763 + * reloc.c (bfd_generic_get_relocated_section_contents): Issue an 2764 + error message instead of aborting, when an outofrange reloc is 2765 + encountered. 2766 + 2767 + 2012-02-23 Iain Sandoe <idsandoe@googlemail.com> 2768 + 2769 + * mach-o.c (bfd_mach_o_swap_in_non_scattered_reloc): New. 2770 + (bfd_mach_o_canonicalize_one_reloc): Swap non-scattered reloc 2771 + bit-fields when target and host differ in endian-ness. When 2772 + PAIRs are non-scattered find the 'symbol' from the preceding 2773 + reloc. Add FIXME re. reloc symbols on section boundaries. 2774 + (bfd_mach_o_swap_out_non_scattered_reloc): New. 2775 + (bfd_mach_o_write_relocs): Use bfd_mach_o_encode_non_scattered_reloc. 2776 + 2777 + 2012-02-17 Iain Sandoe <idsandoe@googlemail.com> 2778 + 2779 + * mach-o-i386.c (i386_howto_table): Add support for 16 bit 2780 + sect-diffs. 2781 + (bfd_mach_o_i386_swap_reloc_in): Handle 16bit sect-diffs. 2782 + (bfd_mach_o_i386_swap_reloc_out): Likewise. 2783 + 2784 + 2012-02-17 Tristan Gingold <gingold@adacore.com> 2785 + 2786 + * reloc.c (BFD_RELOC_MACH_O_LOCAL_SECTDIFF): 2787 + * libbfd.h: Regenerated. 2788 + * bfd-in2.h: Likewise. 2789 + * mach-o-i386.c (i386_howto_table): Include local sectdiff. 2790 + (bfd_mach_o_i386_swap_reloc_in): Update for local sectdiff. 2791 + (bfd_mach_o_i386_swap_reloc_out): Likewise. 2792 + 2793 + 2012-02-17 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2794 + 2795 + * elf32-s390.c (elf_s390_relocate_section): Support basr in the 2796 + GD->LE and LD->LE optimizations. 2797 + 2798 + 2012-02-16 Alan Modra <amodra@gmail.com> 2799 + 2800 + PR binutils/13355 2801 + * elf32-rx.c (elf32_rx_relax_section): Correct width check. 2802 + 2803 + 2012-02-13 Richard Henderson <rth@redhat.com> 2804 + 2805 + PR ld/13621 2806 + * linker.c (fix_syms): Force symbols outside any section into 2807 + bfd_abs_section_ptr. 2808 + 2809 + 2012-02-13 Alan Modra <amodra@gmail.com> 2810 + 2811 + * elf32-m68hc1x.c (elf32_m68hc11_merge_symbol_attribute): New function. 2812 + * elf32-m68hc1x.h (elf32_m68hc11_merge_symbol_attribute): Declare. 2813 + * elf32-m68hc11.c (elf_backend_merge_symbol_attribute): Define. 2814 + * elf32-m68hc12.c (elf_backend_merge_symbol_attribute): Define. 2815 + 2816 + 2012-02-11 Jan Kratochvil <jan.kratochvil@redhat.com> 2817 + Nick Clifton <nickc@redhat.com> 2818 + 2819 + * oasys.c (oasys_write_header): Fix compilation warning on zero-sized 2820 + memset. 2821 + 2822 + 2012-02-10 Iain Sandoe <idsandoe@googlemail.com> 2823 + 2824 + * mach-o.c (bfd_mach_o_build_seg_command): Count zerofill section 2825 + vma additions in their logical, rather than physical order. 2826 + 2827 + 2012-02-10 Iain Sandoe <idsandoe@googlemail.com> 2828 + 2829 + * mach-o.c (mach_o_section_name_xlat): Correct eh-frame section 2830 + parameters. 2831 + * mach-o-x86-64.c (text_section_names_xlat): New. 2832 + (mach_o_x86_64_segsec_names_xlat): New. 2833 + (bfd_mach_o_tgt_seg_table): Define to mach_o_x86_64_segsec_names_xlat. 2834 + * mach-o-i386.c (text_section_names_xlat): Correct section parameters. 2835 + 2836 + 2012-02-10 Tristan Gingold <gingold@adacore.com> 2837 + 2838 + * elfnn-ia64.c (elfNN_vms_object_p): Change comparison operator 2839 + to avoid infinite loop. Add comments. 2840 + 2841 + 2012-02-09 H.J. Lu <hongjiu.lu@intel.com> 2842 + 2843 + PR ld/13675 2844 + * cpu-i386.c (bfd_arch_i386_fill): Updated to support multi byte 2845 + nop instructions. 2846 + (bfd_arch_i386_short_nop_fill): New. 2847 + (bfd_arch_i386_long_nop_fill): Likewise. 2848 + Use bfd_arch_i386_short_nop_fill in 32bit bfd_arch_info 2849 + initializers. Use bfd_arch_i386_long_nop_fill on 64bit 2850 + bfd_arch_info initializers. 2851 + 2852 + * cpu-k1om.c (bfd_arch_i386_fill): Renamed to ... 2853 + (bfd_arch_i386_short_nop_fill): This. 2854 + Update bfd_arch_info initializers. 2855 + * cpu-l1om.c: Likewise. 2856 + 2857 + 2012-02-08 Alan Modra <amodra@gmail.com> 2858 + 2859 + * elflink.c (_bfd_elf_gc_mark_rsec): Mark weakdef syms too. 2860 + (_bfd_elf_fix_symbol_flags): When a weakdef is def_regular, clear 2861 + the correct h->u.weakdef. 2862 + 2863 + 2012-02-07 Alan Modra <amodra@gmail.com> 2864 + 2865 + * elf.c (elf_find_function): Don't use internal_elf_sym. 2866 + (_bfd_elf_maybe_function_sym): Likewise. Replace elf_symbol_type 2867 + parameter with asymbol. 2868 + * elf64-ppc.c (ppc64_elf_maybe_function_sym): Likewise. 2869 + * elf-bfd.h (_bfd_elf_maybe_function_sym): Update prototype. 2870 + (struct elf_backend_data <maybe_function_sym>): Likewise. 2871 + 2872 + 2012-02-02 Vidya Praveen (vidya.praveen@atmel.com) 2873 + 2874 + PR bfd/13410 2875 + * elf32-avr.c (elf32_avr_relax_section): Correct the 2876 + condition that qualifies the candidates for relaxation. 2877 + 2878 + 2012-02-02 Tristan Gingold <gingold@adacore.com> 2879 + 2880 + * bfdio.c (real_fopen): Remove unused vms_modes variable. 2881 + 2882 + 2012-02-02 Tristan Gingold <gingold@adacore.com> 2883 + 2884 + * mach-o.c (bfd_mach_o_read_header): Silent uninitialized 2885 + variable warning. 2886 + 2887 + 2012-02-02 Tristan Gingold <gingold@adacore.com> 2888 + 2889 + * archive.c (bfd_slurp_armap): Fix thinko in cast. 2890 + 2891 + 2012-01-31 H.J. Lu <hongjiu.lu@intel.com> 2892 + 2893 + PR ld/13616 2894 + * archures.c (bfd_arch_info): Add fill. 2895 + (bfd_default_arch_struct): Add bfd_arch_default_fill. 2896 + (bfd_arch_default_fill): New. 2897 + 2898 + * configure.in: Set bfd version to 2.22.52. 2899 + * configure: Regenerated. 2900 + 2901 + * cpu-alpha.c: Add bfd_arch_default_fill to bfd_arch_info 2902 + initializer. 2903 + * cpu-arc.c: Likewise. 2904 + * cpu-arm.c: Likewise. 2905 + * cpu-avr.c: Likewise. 2906 + * cpu-bfin.c: Likewise. 2907 + * cpu-cr16.c: Likewise. 2908 + * cpu-cr16c.c: Likewise. 2909 + * cpu-cris.c: Likewise. 2910 + * cpu-crx.c: Likewise. 2911 + * cpu-d10v.c: Likewise. 2912 + * cpu-d30v.c: Likewise. 2913 + * cpu-dlx.c: Likewise. 2914 + * cpu-epiphany.c: Likewise. 2915 + * cpu-fr30.c: Likewise. 2916 + * cpu-frv.c: Likewise. 2917 + * cpu-h8300.c: Likewise. 2918 + * cpu-h8500.c: Likewise. 2919 + * cpu-hppa.c: Likewise. 2920 + * cpu-i370.c: Likewise. 2921 + * cpu-i860.c: Likewise. 2922 + * cpu-i960.c: Likewise. 2923 + * cpu-ia64.c: Likewise. 2924 + * cpu-ip2k.c: Likewise. 2925 + * cpu-iq2000.c: Likewise. 2926 + * cpu-lm32.c: Likewise. 2927 + * cpu-m10200.c: Likewise. 2928 + * cpu-m10300.c: Likewise. 2929 + * cpu-m32c.c: Likewise. 2930 + * cpu-m32r.c: Likewise. 2931 + * cpu-m68hc11.c: Likewise. 2932 + * cpu-m68hc12.c: Likewise. 2933 + * cpu-m68k.c: Likewise. 2934 + * cpu-m88k.c: Likewise. 2935 + * cpu-mcore.c: Likewise. 2936 + * cpu-mep.c: Likewise. 2937 + * cpu-microblaze.c: Likewise. 2938 + * cpu-mips.c: Likewise. 2939 + * cpu-mmix.c: Likewise. 2940 + * cpu-moxie.c: Likewise. 2941 + * cpu-msp430.c: Likewise. 2942 + * cpu-mt.c: Likewise. 2943 + * cpu-ns32k.c: Likewise. 2944 + * cpu-openrisc.c: Likewise. 2945 + * cpu-or32.c: Likewise. 2946 + * cpu-pdp11.c: Likewise. 2947 + * cpu-pj.c: Likewise. 2948 + * cpu-plugin.c: Likewise. 2949 + * cpu-powerpc.c: Likewise. 2950 + * cpu-rl78.c: Likewise. 2951 + * cpu-rs6000.c: Likewise. 2952 + * cpu-rx.c: Likewise. 2953 + * cpu-s390.c: Likewise. 2954 + * cpu-score.c: Likewise. 2955 + * cpu-sh.c: Likewise. 2956 + * cpu-sparc.c: Likewise. 2957 + * cpu-spu.c: Likewise. 2958 + * cpu-tic30.c: Likewise. 2959 + * cpu-tic4x.c: Likewise. 2960 + * cpu-tic54x.c: Likewise. 2961 + * cpu-tic6x.c: Likewise. 2962 + * cpu-tic80.c: Likewise. 2963 + * cpu-tilegx.c: Likewise. 2964 + * cpu-tilepro.c: Likewise. 2965 + * cpu-v850.c: Likewise. 2966 + * cpu-vax.c: Likewise. 2967 + * cpu-w65.c: Likewise. 2968 + * cpu-we32k.c: Likewise. 2969 + * cpu-xc16x.c: Likewise. 2970 + * cpu-xstormy16.c: Likewise. 2971 + * cpu-xtensa.c: Likewise. 2972 + * cpu-z80.c: Likewise. 2973 + * cpu-z8k.c: Likewise. 2974 + 2975 + * cpu-i386.c: Include "libiberty.h". 2976 + (bfd_arch_i386_fill): New. 2977 + Add bfd_arch_i386_fill to bfd_arch_info initializer. 2978 + 2979 + * cpu-k1om.c: Add bfd_arch_i386_fill to bfd_arch_info initializer. 2980 + * cpu-l1om.c: Likewise. 2981 + 2982 + * linker.c (default_data_link_order): Call abfd->arch_info->fill 2983 + if fill size is 0. 2984 + 2985 + * bfd-in2.h: Regenerated. 2986 + 2987 + 2012-01-27 Michael Eager <eager@eagercon.com> 2988 + 2989 + * elf32-microblaze.c (create_got_section): 2990 + Reuse existing .rela.got section. 2991 + 2992 + 2012-01-23 Alan Modra <amodra@gmail.com> 2993 + 2994 + * elf-bfd.h: Formatting. 2995 + (struct elf_backend_data): Add "maybe_function_sym". 2996 + (_bfd_elf_maybe_function_sym): Declare. 2997 + * elfxx-target.h (elf_backend_maybe_function_sym): Define. 2998 + (elfNN_bed): Init new field. 2999 + * elf.c (elf_find_function): Use maybe_function_sym. 3000 + (_bfd_elf_maybe_function_sym): New function. 3001 + * elf64-ppc.c (elf_backend_maybe_function_sym): Define. 3002 + (ppc64_elf_maybe_function_sym): New function. 3003 + 3004 + 2012-01-20 Francois Gouget <fgouget@codeweavers.com> 3005 + 3006 + PR binutils/13534 3007 + * archive.c (_bfd_ar_sizepad): New function. Correctly install and 3008 + pad the size field in an archive header. 3009 + (_bfd_generic_read_ar_hdr_mag): Use the correct type and scan 3010 + function for the archive size field. 3011 + (bfd_generic_openr_next_archived_file): Likewise. 3012 + (do_slurp_coff_armap): Likewise. 3013 + (_bfd_write_archive_contents): Likewise. 3014 + (_bfd_bsd44_write_ar_hdr): Use the new function. 3015 + (bfd_ar_hdr_from_filesystem): Likewise. 3016 + (_bfd_write_archive_contents): Likewise. 3017 + (bsd_write_armap): Likewise. 3018 + (coff_write_armap): Likewise. 3019 + * archive64.c (bfd_elf64_archive_write_armap): Likewise. 3020 + * bfdio.c (bfd_bread): Use correct type for archive element 3021 + sizes. 3022 + * ar.c (open_inarch): Likewise. 3023 + (extract_file): Likewise. 3024 + * libbfd-in.h (struct areltdata): Use correct types for 3025 + parsed_size and extra_size fields. 3026 + Prototype _bfd_ar_sizepad function. 3027 + * libbfd.h: Regenerate. 3028 + 3029 + 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org> 3030 + 3031 + * elf.c (elfcore_write_prpsinfo): Provide unconditionally. 3032 + Return NULL if core file generation is unsupported. 3033 + (elfcore_write_prstatus): Likewise. 3034 + * elf32-arm.c (elf32_arm_nabi_write_core_note): New function. 3035 + (elf_backend_write_core_note): Define. 3036 + 3037 + 2012-01-19 Tristan Gingold <gingold@adacore.com> 3038 + 3039 + * pef.c: Add a comment. 3040 + * xsym.c: Likewise. 3041 + 3042 + 2012-01-17 Alan Modra <amodra@gmail.com> 3043 + 3044 + * elf32-ppc.c (ppc_elf_write_core_note <NT_PRPSINFO>): Don't leave 3045 + trailing garbage in the note. 3046 + * elf64-ppc.c (ppc64_elf_write_core_note <NT_PRPSINFO>): Likewise. 3047 + 3048 + 2012-01-16 Daniel Green <venix1@gmail.com> 3049 + 3050 + PR ld/13491 3051 + * coff-i386.c (coff_i386_rtype_to_howto <R_SECREL32>): Test 3052 + h->root.type not h->type. 3053 + * coff-x86_64.c (coff_amd64_rtype_to_howto <R_AMD64_SECREL>): Likewise. 3054 + 3055 + 2012-01-13 Iain Sandoe <idsandoe@googlemail.com> 3056 + 3057 + * mach-o.c (bfd_mach_o_build_dysymtab_command): Handle absolute 3058 + indirect symbols. 3059 + 3060 + 2012-01-13 Iain Sandoe <idsandoe@googlemail.com> 3061 + 3062 + * mach-o.c (bfd_mach_o_write_relocs): Move computation of relocs file 3063 + position from here... to (bfd_mach_o_build_seg_command): Here. 3064 + 3065 + 2012-01-12 Iain Sandoe <idsandoe@googlemail.com> 3066 + 3067 + * mach-o.c (bfd_mach_o_count_indirect_symbols): New. 3068 + (bfd_mach_o_build_dysymtab_command): Populate indirect symbol table. 3069 + * mach-o.h (bfd_mach_o_asymbol): Move declaration to start of the 3070 + file. (bfd_mach_o_section): Add indirect_syms field. 3071 + 3072 + 2012-01-11 Iain Sandoe <idsandoe@googlemail.com> 3073 + 3074 + * mach-o.c (bfd_mach_o_build_seg_command): Separate computation of 3075 + vmsize from filesize. Don't compute offsets or file sizes for 3076 + zerofill sections. 3077 + 3078 + 2012-01-11 Iain Sandoe <idsandoe@googlemail.com> 3079 + 3080 + * mach-o.c (bfd_mach_o_build_commands): Make the building of each 3081 + command type independent. 3082 + 3083 + 2012-01-11 Alan Modra <amodra@gmail.com> 3084 + 3085 + * elf64-ppc.c: Define more insns used in plt call stubs. 3086 + (ppc64_elf_brtaken_reloc): Assume isa version 2 or above. 3087 + (ppc64_elf_relocate_section): Likewise. 3088 + (enum ppc_stub_type): Add ppc_stub_plt_call_r2save. 3089 + (struct ppc_link_hash_table): Increase size of stub_count array. 3090 + Add plt_stub_align and plt_thread_safe. 3091 + (ALWAYS_USE_FAKE_DEP, ALWAYS_EMIT_R2SAVE): Define. 3092 + (plt_stub_size, plt_stub_pad): New functions. 3093 + (build_plt_stub): Emit barriers for power7 thread safety. Don't 3094 + emit needless save of r2. 3095 + (build_tls_get_addr_stub): Adjust params. 3096 + (ppc_build_one_stub): Handle ppc_stub_plt_call_r2save and aligning 3097 + plt stubs. Adjust build_*plt_stub calls. 3098 + (ppc_size_one_stub): Similarly. 3099 + (ppc64_elf_size_stubs): Accept plt_thread_safe and plt_stub_align 3100 + params. Choose default for plt_thread_safe based on existence of 3101 + calls to thread creation functions. Modify plt_call to 3102 + plt_call_r2save when no tocsave reloc found. Align tail of stub 3103 + sections. 3104 + (ppc64_elf_build_stubs): Align tail of stub sections. Adjust 3105 + output of stub statistics. 3106 + (ppc64_elf_relocate_section): Handle ppc_stub_plt_call_r2save. 3107 + * elf64-ppc.h (ppc64_elf_size_stubs): Update prototype. 3108 + 3109 + 2012-01-10 H.J. Lu <hongjiu.lu@intel.com> 3110 + 3111 + PR ld/13581 3112 + * elf64-x86-64.c (elf_x86_64_relocate_section): Remove ABI_64_P 3113 + check on R_X86_64_PCXX. 3114 + 3115 + 2012-01-10 Tristan Gingold <gingold@adacore.com> 3116 + 3117 + * mach-o.c (bfd_mach_o_build_commands): Avoid uninitialized false 3118 + warning. 3119 + 3120 + 2012-01-10 Tristan Gingold <gingold@adacore.com> 3121 + 3122 + * bfdio.c (bfd_tell): Handle nested archives. 3123 + (bfd_seek): Ditto. 3124 + * cache.c (bfd_cache_lookup_worker): Ditto. 3125 + * archive.c (_bfd_get_elt_at_filepos): Remove code dealing with 3126 + nested archives. 3127 + (bfd_generic_openr_next_archived_file): Likewise. 3128 + 3129 + 2012-01-09 Iain Sandoe <idsandoe@googlemail.com> 3130 + 3131 + * mach-o.c (bfd_mach_o_bfd_copy_private_symbol_data): Implement. 3132 + (bfd_mach_o_write_symtab): Remove handling for indirect syms. 3133 + (bfd_mach_o_primary_symbol_sort_key): Likewise. 3134 + (bfd_mach_o_cf_symbols): Likewise. 3135 + (bfd_mach_o_sort_symbol_table): Remove. 3136 + (bfd_mach_o_mangle_symbols): Adjust arguments, remove handling 3137 + for indirect and dysymtab counts. Do the symbol sorting here. 3138 + (bfd_mach_o_build_dysymtab_command): Count the symbol types here. 3139 + Make the indirect symbols a TODO. 3140 + (bfd_mach_o_build_commands): Adjust call to bfd_mach_o_mangle_symbols. 3141 + (bfd_mach_o_make_empty_symbol): Specifically flag unset symbols with 3142 + a non-zero value. 3143 + (bfd_mach_o_read_symtab_symbol): Record the symbol index. 3144 + (bfd_mach_o_read_symtab_symbol): Adjust recording of global status. 3145 + * mach-o.h (mach_o_data_struct): Remove indirect and dysymtab entries. 3146 + (IS_MACHO_INDIRECT): Remove. 3147 + (SYM_MACHO_FIELDS_UNSET, SYM_MACHO_FIELDS_NOT_VALIDATED): New. 3148 + 3149 + 2012-01-06 Nick Clifton <nickc@redhat.com> 3150 + 3151 + PR binutils/13121 3152 + * reloc.c (bfd_generic_lookup_section_flags): Rename 'finfo' to 3153 + 'flaginfo' to avoid conflicts with AIX system headers. 3154 + 3155 + 2012-01-06 Tristan Gingold <gingold@adacore.com> 3156 + 3157 + * bfdio.c (bfd_bread): Use arelt_size macro. 3158 + 3159 + 2012-01-06 Tristan Gingold <gingold@adacore.com> 3160 + 3161 + * config.bfd (i[3-7]86-*-darwin*): Define targ64_selvecs. 3162 + 3163 + 2012-01-05 Nick Clifton <nickc@redhat.com> 3164 + 3165 + PR ld/12161 3166 + * elf32-avr.c (elf32_avr_relax_delete_bytes): Read in relocs if 3167 + necessary. 3168 + 3169 + 2012-01-05 Jan Kratochvil <jan.kratochvil@redhat.com> 3170 + 3171 + Fix zero registers core files when built by gcc-4.7. 3172 + * elf64-x86-64.c (elf_x86_64_write_core_note): Remove variables p and 3173 + size. Call elfcore_write_note for the local variables. Remove the 3174 + final elfcore_write_note call. Add NOTREACHED comments. 3175 + 3176 + 2012-01-04 Tristan Gingold <gingold@adacore.com> 3177 + 3178 + * mach-o.c (bfd_mach_o_fat_stat_arch_elt): New function. 3179 + (bfd_mach_o_generic_stat_arch_elt): Adjust. 3180 + 3181 + 2012-01-04 Tristan Gingold <gingold@adacore.com> 3182 + 3183 + * mach-o.c (bfd_mach_o_fat_member_init): New function. 3184 + (bfd_mach_o_openr_next_archived_file): Reindent. 3185 + Adjust to call bfd_mach_o_fat_member_init. 3186 + (bfd_mach_o_fat_extract): Adjust to call bfd_mach_o_fat_member_init. 3187 + 3188 + 2012-01-04 Tristan Gingold <gingold@adacore.com> 3189 + 3190 + * mach-o-x86-64.c (bfd_mach_o_x86_64_swap_reloc_out): Handle 3191 + BFD_RELOC_32, BFD_RELOC_MACH_O_X86_64_PCREL32_1, 3192 + BFD_RELOC_MACH_O_X86_64_PCREL32_2, 3193 + BFD_RELOC_MACH_O_X86_64_PCREL32_4, 3194 + BFD_RELOC_MACH_O_X86_64_BRANCH32, 3195 + BFD_RELOC_MACH_O_X86_64_SUBTRACTOR32, 3196 + BFD_RELOC_MACH_O_X86_64_GOT. 3197 + 3198 + 2012-01-04 Tristan Gingold <gingold@adacore.com> 3199 + 3200 + * mach-o.h (bfd_mach_o_fvmlib_command): New structure. 3201 + (bfd_mach_o_load_command): Add fvmlib field. 3202 + 3203 + * mach-o.c (bfd_mach_o_read_fvmlib): New function. 3204 + (bfd_mach_o_read_command): Handle fvmlib. 3205 + 3206 + 2012-01-04 Tristan Gingold <gingold@adacore.com> 3207 + 3208 + * mach-o.c (bfd_mach_o_convert_architecture): Reindent. 3209 + Decode msubtype for ARM. 3210 + 3211 + 2012-01-04 Tristan Gingold <gingold@adacore.com> 3212 + 3213 + * mach-o.c (bfd_mach_o_get_synthetic_symtab): Add comments. 3214 + 3215 + 2012-01-04 Tristan Gingold <gingold@adacore.com> 3216 + 3217 + * mach-o.h: Reindent header. 3218 + (bfd_mach_o_encryption_info_command): New structure. 3219 + (bfd_mach_o_load_command): Add encryption_info field. 3220 + 3221 + * mach-o.c (bfd_mach_o_read_encryption_info): New function. 3222 + (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO. 3223 + (bfd_mach_o_read_command): Adjust error message. 3224 + 3225 + 2012-01-04 Shinichiro Hamaji <shinichiro.hamaji@gmail.com> 3226 + 3227 + * dwarf2.c (_bfd_dwarf2_slurp_debug_info): Factor out the part 3228 + which reads DWARF2 and stores in stash from find_line. 3229 + (find_line) Call _bfd_dwarf2_slurp_debug_info. 3230 + * libbfd-in.h (_bfd_dwarf2_slurp_debug_info): Add declaration. 3231 + * libbfd.h (_bfd_dwarf2_slurp_debug_info): Regenerate. 3232 + * mach-o.c (dsym_subdir): The name of subdir where debug 3233 + information may be stored. 3234 + (bfd_mach_o_lookup_uuid_command): New. Lookup a load command whose 3235 + type is UUID. 3236 + (bfd_mach_o_dsym_for_uuid_p): New. Check if the specified BFD is 3237 + corresponding to the executable. 3238 + (bfd_mach_o_find_dsym): New. Find a debug information BFD in the 3239 + specified binary file. 3240 + (bfd_mach_o_follow_dsym): New. Find a debug information BFD for 3241 + the original BFD. 3242 + (bfd_mach_o_find_nearest_line): Check dSYM files for Mach-O 3243 + executables, dylibs, and bundles. 3244 + (bfd_mach_o_close_and_cleanup): Clean up BFDs for the dSYM file. 3245 + * mach-o.h (dsym_bfd): The BFD of the dSYM file. 3246 + 3247 + 2012-01-03 Iain Sandoe <idsandoe@googlemail.com> 3248 + 3249 + * mach-o.c (bfd_mach_o_mangle_symbols): Put in the section index 3250 + for stabd symbols. 3251 + (bfd_mach_o_primary_symbol_sort_key): Adjust for stabs. 3252 + (bfd_mach_o_cf_symbols): Likewise. 3253 + 3254 + 2012-01-03 Iain Sandoe <idsandoe@googlemail.com> 3255 + 3256 + * mach-o.c (bfd_mach_o_mangle_symbols): Correct typo. 3257 + 3258 + 2012-01-03 Iain Sandoe <idsandoe@googlemail.com> 3259 + 3260 + * mach-o.c (bfd_mach_o_write_symtab): Fill in the string table index 3261 + as the value of an indirect symbol. Keep the string table index in 3262 + non-indirect syms for reference. 3263 + (bfd_mach_o_write_dysymtab): New. 3264 + (bfd_mach_o_primary_symbol_sort_key): New. 3265 + (bfd_mach_o_cf_symbols): New. 3266 + (bfd_mach_o_sort_symbol_table): New. 3267 + (bfd_mach_o_mangle_symbols): Return early if no symbols. Sort symbols. 3268 + If we are emitting a dysymtab, process indirect symbols and count the 3269 + number of each other kind. 3270 + (bfd_mach_o_mangle_sections): New. 3271 + (bfd_mach_o_write_contents): Split out some pre-requisite code into 3272 + the command builder. Write dysymtab if the command is present. 3273 + (bfd_mach_o_count_sections_for_seg): New. 3274 + (bfd_mach_o_build_seg_command): New. 3275 + (bfd_mach_o_build_dysymtab_command): New. 3276 + (bfd_mach_o_build_commands): Reorganize to support the fact that some 3277 + commands are optional and should not be emitted if there are no 3278 + sections or symbols. 3279 + (bfd_mach_o_set_section_contents): Amend comment. 3280 + * mach-o.h: Amend and add to comments. 3281 + (mach_o_data_struct): Add fields for dysymtab symbols counts and a 3282 + pointer to the indirects, when present. 3283 + (bfd_mach_o_should_emit_dysymtab): New macro. 3284 + (IS_MACHO_INDIRECT): Likewise. 3285 + 3286 + For older changes see ChangeLog-2011 3287 + 3288 + Copyright (C) 2012 Free Software Foundation, Inc. 3289 + 3290 + Copying and distribution of this file, with or without modification, 3291 + are permitted in any medium without royalty provided the copyright 3292 + notice and this notice are preserved. 3293 + 3294 + Local Variables: 3295 + mode: change-log 3296 + left-margin: 8 3297 + fill-column: 74 3298 + version-control: never 3299 + End:
+2 -2
bfd/config.bfd
··· 1 1 # config.bfd 2 2 # 3 - # Copyright 2012 Free Software Foundation 3 + # Copyright 2012, 2013 Free Software Foundation 4 4 # 5 5 # This file is free software; you can redistribute it and/or modify 6 6 # it under the terms of the GNU General Public License as published by ··· 378 378 targ_underscore=yes 379 379 ;; 380 380 381 - cr16-*-elf*) 381 + cr16-*-elf* | cr16*-*-uclinux*) 382 382 targ_defvec=bfd_elf32_cr16_vec 383 383 targ_underscore=yes 384 384 ;;
+6
include/opcode/ChangeLog
··· 1 + 2013-01-02 Kaushik Phatak <kaushik.phatak@kpitcummins.com> 2 + 3 + * cr16.h (dwordU,wordU): Moved typedefs from cr16-dis.c 4 + (make_instruction,match_opcode): Added function prototypes. 5 + (cr16_words,cr16_allWords,cr16_currInsn): Declare as extern. 6 + 1 7 2012-11-23 Alan Modra <amodra@gmail.com> 2 8 3 9 * ppc.h (ppc_parse_cpu): Update prototype.
+190 -177
include/opcode/cr16.h
··· 1 1 /* cr16.h -- Header file for CR16 opcode and register tables. 2 - Copyright 2007, 2008, 2010 Free Software Foundation, Inc. 2 + Copyright 2007, 2008, 2010, 2013 Free Software Foundation, Inc. 3 3 Contributed by M R Swami Reddy 4 4 5 5 This file is part of GAS, GDB and the GNU binutils. ··· 26 26 Therefore, order MUST be preserved. */ 27 27 28 28 typedef enum 29 - { 30 - /* 16-bit general purpose registers. */ 31 - r0, r1, r2, r3, 32 - r4, r5, r6, r7, 33 - r8, r9, r10, r11, 34 - r12_L = 12, r13_L = 13, ra = 14, sp_L = 15, 29 + { 30 + /* 16-bit general purpose registers. */ 31 + r0, r1, r2, r3, 32 + r4, r5, r6, r7, 33 + r8, r9, r10, r11, 34 + r12_L = 12, r13_L = 13, ra = 14, sp_L = 15, 35 35 36 - /* 32-bit general purpose registers. */ 37 - r12 = 12, r13 = 13, r14 = 14, r15 = 15, 38 - era = 14, sp = 15, RA, 36 + /* 32-bit general purpose registers. */ 37 + r12 = 12, r13 = 13, r14 = 14, r15 = 15, 38 + era = 14, sp = 15, RA, 39 39 40 - /* Not a register. */ 41 - nullregister, 42 - MAX_REG 43 - } 40 + /* Not a register. */ 41 + nullregister, 42 + MAX_REG 43 + } 44 44 reg; 45 45 46 46 /* CR16 processor registers and special registers : ··· 48 48 (cr16_pregtab). Therefore, order MUST be preserved. */ 49 49 50 50 typedef enum 51 - { 52 - /* processor registers. */ 53 - dbs = MAX_REG, 54 - dsr, dcrl, dcrh, 55 - car0l, car0h, car1l, car1h, 56 - cfg, psr, intbasel, intbaseh, 57 - ispl, isph, uspl, usph, 58 - dcr = dcrl, 59 - car0 = car0l, 60 - car1 = car1l, 61 - intbase = intbasel, 62 - isp = ispl, 63 - usp = uspl, 64 - /* Not a processor register. */ 65 - nullpregister = usph + 1, 66 - MAX_PREG 67 - } 51 + { 52 + /* processor registers. */ 53 + dbs = MAX_REG, 54 + dsr, dcrl, dcrh, 55 + car0l, car0h, car1l, car1h, 56 + cfg, psr, intbasel, intbaseh, 57 + ispl, isph, uspl, usph, 58 + dcr = dcrl, 59 + car0 = car0l, 60 + car1 = car1l, 61 + intbase = intbasel, 62 + isp = ispl, 63 + usp = uspl, 64 + /* Not a processor register. */ 65 + nullpregister = usph + 1, 66 + MAX_PREG 67 + } 68 68 preg; 69 69 70 70 /* CR16 Register types. */ 71 71 72 72 typedef enum 73 - { 74 - CR16_R_REGTYPE, /* r<N> */ 75 - CR16_RP_REGTYPE, /* reg pair */ 76 - CR16_P_REGTYPE /* Processor register */ 77 - } 73 + { 74 + CR16_R_REGTYPE, /* r<N> */ 75 + CR16_RP_REGTYPE, /* reg pair */ 76 + CR16_P_REGTYPE /* Processor register */ 77 + } 78 78 reg_type; 79 79 80 80 /* CR16 argument types : ··· 89 89 idxrp - index with register pair 90 90 rbase - register base 91 91 rpbase - register pair base 92 - pr - processor register */ 92 + pr - processor register. */ 93 93 94 94 typedef enum 95 - { 96 - arg_r, 97 - arg_c, 98 - arg_cr, 99 - arg_crp, 100 - arg_ic, 101 - arg_icr, 102 - arg_idxr, 103 - arg_idxrp, 104 - arg_rbase, 105 - arg_rpbase, 106 - arg_rp, 107 - arg_pr, 108 - arg_prp, 109 - arg_cc, 110 - arg_ra, 111 - /* Not an argument. */ 112 - nullargs 113 - } 95 + { 96 + arg_r, 97 + arg_c, 98 + arg_cr, 99 + arg_crp, 100 + arg_ic, 101 + arg_icr, 102 + arg_idxr, 103 + arg_idxrp, 104 + arg_rbase, 105 + arg_rpbase, 106 + arg_rp, 107 + arg_pr, 108 + arg_prp, 109 + arg_cc, 110 + arg_ra, 111 + /* Not an argument. */ 112 + nullargs 113 + } 114 114 argtype; 115 115 116 - /* CR16 operand types:The operand types correspond to instructions operands.*/ 116 + /* CR16 operand types:The operand types correspond to instructions operands. */ 117 117 118 118 typedef enum 119 - { 120 - dummy, 121 - /* N-bit signed immediate. */ 122 - imm3, imm4, imm5, imm6, imm16, imm20, imm32, 123 - /* N-bit unsigned immediate. */ 124 - uimm3, uimm3_1, uimm4, uimm4_1, uimm5, uimm16, uimm20, uimm32, 125 - /* N-bit signed displacement. */ 126 - disps5, disps17, disps25, 127 - /* N-bit unsigned displacement. */ 128 - dispe9, 129 - /* N-bit absolute address. */ 130 - abs20, abs24, 131 - /* Register relative. */ 132 - rra, rbase, rbase_disps20, rbase_dispe20, 133 - /* Register pair relative. */ 134 - rpbase_disps0, rpbase_dispe4, rpbase_disps4, rpbase_disps16, 135 - rpbase_disps20, rpbase_dispe20, 136 - /* Register index. */ 137 - rindex7_abs20, rindex8_abs20, 138 - /* Register pair index. */ 139 - rpindex_disps0, rpindex_disps14, rpindex_disps20, 140 - /* register. */ 141 - regr, 142 - /* register pair. */ 143 - regp, 144 - /* processor register. */ 145 - pregr, 146 - /* processor register 32 bit. */ 147 - pregrp, 148 - /* condition code - 4 bit. */ 149 - cc, 150 - /* Not an operand. */ 151 - nulloperand, 152 - /* Maximum supported operand. */ 153 - MAX_OPRD 154 - } 119 + { 120 + dummy, 121 + /* N-bit signed immediate. */ 122 + imm3, imm4, imm5, imm6, imm16, imm20, imm32, 123 + /* N-bit unsigned immediate. */ 124 + uimm3, uimm3_1, uimm4, uimm4_1, uimm5, uimm16, uimm20, uimm32, 125 + /* N-bit signed displacement. */ 126 + disps5, disps17, disps25, 127 + /* N-bit unsigned displacement. */ 128 + dispe9, 129 + /* N-bit absolute address. */ 130 + abs20, abs24, 131 + /* Register relative. */ 132 + rra, rbase, rbase_disps20, rbase_dispe20, 133 + /* Register pair relative. */ 134 + rpbase_disps0, rpbase_dispe4, rpbase_disps4, rpbase_disps16, 135 + rpbase_disps20, rpbase_dispe20, 136 + /* Register index. */ 137 + rindex7_abs20, rindex8_abs20, 138 + /* Register pair index. */ 139 + rpindex_disps0, rpindex_disps14, rpindex_disps20, 140 + /* register. */ 141 + regr, 142 + /* register pair. */ 143 + regp, 144 + /* processor register. */ 145 + pregr, 146 + /* processor register 32 bit. */ 147 + pregrp, 148 + /* condition code - 4 bit. */ 149 + cc, 150 + /* Not an operand. */ 151 + nulloperand, 152 + /* Maximum supported operand. */ 153 + MAX_OPRD 154 + } 155 155 operand_type; 156 156 157 157 /* CR16 instruction types. */ ··· 239 239 /* Single operand description. */ 240 240 241 241 typedef struct 242 - { 243 - /* Operand type. */ 244 - operand_type op_type; 245 - /* Operand location within the opcode. */ 246 - unsigned int shift; 247 - } 242 + { 243 + /* Operand type. */ 244 + operand_type op_type; 245 + /* Operand location within the opcode. */ 246 + unsigned int shift; 247 + } 248 248 operand_desc; 249 249 250 250 /* Instruction data structure used in instruction table. */ 251 251 252 252 typedef struct 253 - { 254 - /* Name. */ 255 - const char *mnemonic; 256 - /* Size (in words). */ 257 - unsigned int size; 258 - /* Constant prefix (matched by the disassembler). */ 259 - unsigned long match; /* ie opcode */ 260 - /* Match size (in bits). */ 261 - /* MASK: if( (i & match_bits) == match ) then match */ 262 - int match_bits; 263 - /* Attributes. */ 264 - unsigned int flags; 265 - /* Operands (always last, so unreferenced operands are initialized). */ 266 - operand_desc operands[MAX_OPERANDS]; 267 - } 253 + { 254 + /* Name. */ 255 + const char *mnemonic; 256 + /* Size (in words). */ 257 + unsigned int size; 258 + /* Constant prefix (matched by the disassembler). */ 259 + unsigned long match; /* ie opcode */ 260 + /* Match size (in bits). */ 261 + /* MASK: if( (i & match_bits) == match ) then match */ 262 + int match_bits; 263 + /* Attributes. */ 264 + unsigned int flags; 265 + /* Operands (always last, so unreferenced operands are initialized). */ 266 + operand_desc operands[MAX_OPERANDS]; 267 + } 268 268 inst; 269 269 270 270 /* Data structure for a single instruction's arguments (Operands). */ 271 271 272 272 typedef struct 273 - { 274 - /* Register or base register. */ 275 - reg r; 276 - /* Register pair register. */ 277 - reg rp; 278 - /* Index register. */ 279 - reg i_r; 280 - /* Processor register. */ 281 - preg pr; 282 - /* Processor register. 32 bit */ 283 - preg prp; 284 - /* Constant/immediate/absolute value. */ 285 - long constant; 286 - /* CC code. */ 287 - unsigned int cc; 288 - /* Scaled index mode. */ 289 - unsigned int scale; 290 - /* Argument type. */ 291 - argtype type; 292 - /* Size of the argument (in bits) required to represent. */ 293 - int size; 273 + { 274 + /* Register or base register. */ 275 + reg r; 276 + /* Register pair register. */ 277 + reg rp; 278 + /* Index register. */ 279 + reg i_r; 280 + /* Processor register. */ 281 + preg pr; 282 + /* Processor register. 32 bit */ 283 + preg prp; 284 + /* Constant/immediate/absolute value. */ 285 + long constant; 286 + /* CC code. */ 287 + unsigned int cc; 288 + /* Scaled index mode. */ 289 + unsigned int scale; 290 + /* Argument type. */ 291 + argtype type; 292 + /* Size of the argument (in bits) required to represent. */ 293 + int size; 294 294 /* The type of the expression. */ 295 - unsigned char X_op; 296 - } 295 + unsigned char X_op; 296 + } 297 297 argument; 298 298 299 299 /* Internal structure to hold the various entities 300 300 corresponding to the current assembling instruction. */ 301 301 302 302 typedef struct 303 - { 304 - /* Number of arguments. */ 305 - int nargs; 306 - /* The argument data structure for storing args (operands). */ 307 - argument arg[MAX_OPERANDS]; 303 + { 304 + /* Number of arguments. */ 305 + int nargs; 306 + /* The argument data structure for storing args (operands). */ 307 + argument arg[MAX_OPERANDS]; 308 308 /* The following fields are required only by CR16-assembler. */ 309 309 #ifdef TC_CR16 310 - /* Expression used for setting the fixups (if any). */ 311 - expressionS exp; 312 - bfd_reloc_code_real_type rtype; 310 + /* Expression used for setting the fixups (if any). */ 311 + expressionS exp; 312 + bfd_reloc_code_real_type rtype; 313 313 #endif /* TC_CR16 */ 314 - /* Instruction size (in bytes). */ 315 - int size; 316 - } 314 + /* Instruction size (in bytes). */ 315 + int size; 316 + } 317 317 ins; 318 318 319 319 /* Structure to hold information about predefined operands. */ 320 320 321 321 typedef struct 322 - { 323 - /* Size (in bits). */ 324 - unsigned int bit_size; 325 - /* Argument type. */ 326 - argtype arg_type; 327 - /* One bit syntax flags. */ 328 - int flags; 329 - } 322 + { 323 + /* Size (in bits). */ 324 + unsigned int bit_size; 325 + /* Argument type. */ 326 + argtype arg_type; 327 + /* One bit syntax flags. */ 328 + int flags; 329 + } 330 330 operand_entry; 331 331 332 332 /* Structure to hold trap handler information. */ 333 333 334 334 typedef struct 335 - { 336 - /* Trap name. */ 337 - char *name; 338 - /* Index in dispatch table. */ 339 - unsigned int entry; 340 - } 335 + { 336 + /* Trap name. */ 337 + char *name; 338 + /* Index in dispatch table. */ 339 + unsigned int entry; 340 + } 341 341 trap_entry; 342 342 343 343 /* Structure to hold information about predefined registers. */ 344 344 345 345 typedef struct 346 + { 347 + /* Name (string representation). */ 348 + char *name; 349 + /* Value (enum representation). */ 350 + union 346 351 { 347 - /* Name (string representation). */ 348 - char *name; 349 - /* Value (enum representation). */ 350 - union 351 - { 352 - /* Register. */ 353 - reg reg_val; 354 - /* processor register. */ 355 - preg preg_val; 356 - } value; 357 - /* Register image. */ 358 - int image; 359 - /* Register type. */ 360 - reg_type type; 361 - } 352 + /* Register. */ 353 + reg reg_val; 354 + /* processor register. */ 355 + preg preg_val; 356 + } value; 357 + /* Register image. */ 358 + int image; 359 + /* Register type. */ 360 + reg_type type; 361 + } 362 362 reg_entry; 363 363 364 364 /* CR16 opcode table. */ ··· 434 434 /* Replace all appearances of 'long long int' with LONGLONG. */ 435 435 typedef long long int LONGLONG; 436 436 typedef unsigned long long ULONGLONG; 437 + 438 + /* Data types for opcode handling. */ 439 + typedef unsigned long dwordU; 440 + typedef unsigned short wordU; 441 + 442 + /* Globals to store opcode data and build the instruction. */ 443 + extern wordU cr16_words[3]; 444 + extern ULONGLONG cr16_allWords; 445 + extern ins cr16_currInsn; 446 + 447 + /* Prototypes for function in cr16-dis.c. */ 448 + extern void make_instruction (void); 449 + extern int match_opcode (void); 437 450 438 451 #endif /* _CR16_H_ */
+7 -1052
opcodes/ChangeLog
··· 1 - 2012-12-17 Nick Clifton <nickc@redhat.com> 2 - 3 - * MAINTAINERS: Add copyright notice. 4 - * Makefile.am: Likewise. 5 - * configure.com: Likewise. 6 - * configure.in: Likewise. 7 - * makefile.vms: Likewise. 8 - * rl78-decode.c: Likewise. 9 - * rl78-decode.opc: Likewise. 10 - * rx-decode.c: Likewise. 11 - * rx-decode.opc: Likewise. 12 - * Makefile.in: Regenerate. 13 - 14 - 2012-12-13 Alan Modra <amodra@gmail.com> 15 - 16 - PR binutils/14950 17 - * ppc-opc.c (insert_sci8, extract_sci8): Rewrite. 18 - (insert_sci8n, extract_sci8n): Likewise. 19 - 20 - 2012-11-30 Oleg Raikhman <oleg@adapteva.com> 21 - Joern Rennecke <joern.rennecke@embecosm.com> 22 - 23 - * epiphany-desc.c, epiphany-desc.h, epiphany-opc.c: Regenerate. 24 - 25 - 2012-11-29 Roland McGrath <mcgrathr@google.com> 26 - 27 - * s390-mkopc.c (file_header): Add const. 28 - 29 - 2012-11-29 David Holsgrove <david.holsgrove@xilinx.com> 30 - 31 - * microblaze-opc.h: Rename INST_TYPE_RD_R1_SPECIAL to 32 - INST_TYPE_R1_R2_SPECIAL 33 - * microblaze-dis.c (print_insn_microblaze): Same. 34 - 35 - 2012-11-23 Alan Modra <amodra@gmail.com> 36 - 37 - * ppc-dis.c (ppc_parse_cpu): Add "sticky" param. Track bits 38 - set from ppc_opts.sticky in it. Delete "retain_mask". 39 - (powerpc_init_dialect): Choose default dialect from info->mach 40 - before parsing -M options. Handle more bfd_mach_ppc variants. 41 - Update common default to power7. 42 - 43 - 2012-11-21 David Holsgrove <david.holsgrove@xilinx.com> 44 - 45 - * microblaze-opc.h (op_code_struct): Add swapb, swaph Increase MAX_OPCODES. 46 - * microblaze-opcm.h (microblaze_instr): Likewise 47 - 48 - 2012-11-21 Edgar E. Iglesias <edgar.iglesias@gmail.com> 49 - 50 - * microblaze-opcm.h: Add REG_SLR_MASK, REG_SHR_MASK, REG_SHR and REG_SLR 51 - * microblaze-dis.c (get_field_special): Handle REG_SLR_MASK and REG_SHR_MASK 52 - 53 - 2012-11-20 Kirill Yukhin <kirill.yukhin@intel.com> 54 - H.J. Lu <hongjiu.lu@intel.com> 55 - 56 - PR gas/14859 57 - * i386-opc.tbl: Fix opcode for 64-bit jecxz. 58 - * i386-tbl.h: Regenerated. 59 - 60 - 2012-11-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 61 - 62 - * s390-opc.txt: Fix srstu and strag opcodes. 63 - 64 - 2012-11-14 David Holsgrove <david.holsgrove@xilinx.com> 65 - 66 - * microblaze-opc.h: Define new instruction type INST_TYPE_IMM5, 67 - update OPCODE_MASK_H13S, add OPCODE_MASK_HN, define MIN_IMM5 / MAX_IMM5, 68 - and increase MAX_OPCODES. 69 - (op_code_struct): add mbar and sleep 70 - * microblaze-opcm.h (microblaze_instr): add mbar 71 - Define IMM_MBAR and IMM5_MBAR_MASK 72 - * microblaze-dis.c: Add get_field_imm5_mbar 73 - (print_insn_microblaze): Add support for INST_TYPE_IMM5 and INST_TYPE_NONE 74 - 75 - 2012-11-14 Edgar E. Iglesias <edgar.iglesias@gmail.com> 76 - 77 - * microblaze-opc.h: Increase MAX_OPCODES (op_code_struct): add clz insn 78 - * microblaze-opcm.h (microblaze_instr): add clz 79 - 80 - 2012-11-14 Edgar E. Iglesias <edgar.iglesias@gmail.com> 81 - 82 - * microblaze-opc.h: Increase MAX_OPCODES (op_code_struct): add lbur, 83 - lhur, lwr, sbr, shr, swr 84 - * microblaze-opcm.h (microblaze_instr): add lbur, lhur, lwr, sbr, shr, 85 - swr 86 - 87 - 2012-11-09 Nick Clifton <nickc@redhat.com> 88 - 89 - * configure.in: Add bfd_v850_rh850_arch. 90 - * configure: Regenerate. 91 - * disassemble.c (disassembler): Likewise. 92 - 93 - 2012-11-09 H.J. Lu <hongjiu.lu@intel.com> 94 - 95 - * aarch64-opc.h (gen_mask): Remove trailing redundant `;'. 96 - * ia64-gen.c (fetch_insn_class): Likewise. 97 - 98 - 2012-11-08 Alan Modra <amodra@gmail.com> 99 - 100 - * po/POTFILES.in: Regenerate. 101 - 102 - 2012-11-05 Alan Modra <amodra@gmail.com> 103 - 104 - * configure.in: Apply 2012-09-10 change to config.in here. 105 - 106 - 2012-10-26 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 107 - 108 - * s390-mkopc.c: Accept empty lines in s390-opc.txt. 109 - * s390-opc.c: Add M_20OPT field. New instruction formats RRF_RURR2 110 - and RRF_RMRR. 111 - * s390-opc.txt: Add new instructions. New instruction type for lptea. 112 - 113 - 2012-10-26 Christian Groessler <chris@groessler.org> 114 - 115 - * z8kgen.c (struct op): Fix encoding for translate opcodes (trdb, 116 - trdrb, trib, trirb, trtdb, trtdrb, trtib, trtirb). Remove 117 - non-existing opcode trtrb. 118 - * z8k-opc.h: Regenerate. 119 - 120 - 2012-10-26 Alan Modra <amodra@gmail.com> 121 - 122 - * ppc-opc (powerpc_opcodes): "lfdp" and "stfdp" use DS offset. 123 - 124 - 2012-10-24 Roland McGrath <mcgrathr@google.com> 125 - 126 - * i386-dis.c (ckprefix): When bailing out for fwait with prefixes, 127 - set rex_used to rex. 128 - 129 - 2012-10-22 Peter Bergner <bergner@vnet.ibm.com> 130 - 131 - * ppc-opc.c (powerpc_opcodes) <vcfpsxws>: Fix opcode spelling. 132 - 133 - 2012-10-18 Tom Tromey <tromey@redhat.com> 134 - 135 - * tic54x-dis.c (print_instruction): Don't use K&R style. 136 - (print_parallel_instruction, sprint_dual_address) 137 - (sprint_indirect_address, sprint_direct_address, sprint_mmr) 138 - (sprint_cc2, sprint_condition): Likewise. 139 - 140 - 2012-10-18 Kai Tietz <ktietz@redhat.com> 141 - 142 - * aarch64-asm.c (aarch64_ins_ldst_reglist): Initialize 143 - value with a default. 144 - (do_special_encoding): Likewise. 145 - (aarch64_ins_ldst_elemlist): Pre-initialize QSsize, and opcodeh2 146 - variables with default. 147 - * arc-dis.c (write_comments_): Don't use strncat due 148 - size of state->commentBuffer pointer isn't predictable. 149 - 150 - 2012-10-15 Yufeng Zhang <yufeng.zhang@arm.com> 151 - 152 - * aarch64-opc.c (aarch64_sys_regs): Add rmr_el1, rmr_el2 and 153 - rmr_el3; remove daifset and daifclr. 154 - 155 - 2012-10-15 Yufeng Zhang <yufeng.zhang@arm.com> 156 - 157 - * aarch64-opc.c (operand_general_constraint_met_p): Change to check 158 - the alignment of addr.offset.imm instead of that of shifter.amount for 159 - operand type AARCH64_OPND_ADDR_UIMM12. 160 - 161 - 2012-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 162 - 163 - * arm-dis.c: Use preferred form of vrint instruction variants 164 - for disassembly. 165 - 166 - 2012-10-09 Nagajyothi Eggone <nagajyothi.eggone@amd.com> 167 - 168 - * i386-gen.c (cpu_flag_init): Add CPU_BDVER3_FLAGS. 169 - * i386-init.h: Regenerated. 170 - 171 - 2012-10-05 Peter Bergner <bergner@vnet.ibm.com> 172 - 173 - * ppc-dis.c (ppc_opts) <altivec>: Use PPC_OPCODE_ALTIVEC2; 174 - * ppc-opc.c (VBA): New define. 175 - (powerpc_opcodes) <vcuxwfp, vcsxwfp, vcfpuxws, vcfpsxsw, vmr, vnot, 176 - mfppr, mfppr32, mtppr, mtppr32>: New extended mnemonics. 177 - 178 - 2012-10-04 Nick Clifton <nickc@redhat.com> 179 - 180 - * v850-dis.c (disassemble): Place square parentheses around second 181 - register operand of clr1, not1, set1 and tst1 instructions. 182 - 183 - 2012-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 184 - 185 - * s390-mkopc.c: Support new option zEC12. 186 - * s390-opc.c: Add new instruction formats. 187 - * s390-opc.txt: Add new instructions for zEC12. 188 - 189 - 2012-09-27 Anthony Green <green@moxielogic.com> 190 - 191 - * moxie-dis.c (print_insn_moxie): Print 'bad' instructions. 192 - * moxie-opc.c: All 'bad' instructions have the itype MOXIE_BAD. 193 - 194 - 2012-09-25 Saravanan Ekanathan <saravanan.ekanathan@amd.com> 195 - 196 - * i386-gen.c (cpu_flag_init): Add missing Cpu flags in 197 - CPU_BDVER1_FLAGS, CPU_BDVER2_FLAGS, CPU_BTVER1_FLAGS 198 - and CPU_BTVER2_FLAGS. 199 - * i386-init.h: Regenerated. 200 - 201 - 2012-09-20 Michael Zolotukhin <michael.v.zolotukhin@intel.com> 202 - 203 - * i386-gen.c (cpu_flag_init): Add CpuCX16 to CPU_NOCONA_FLAGS, 204 - CPU_CORE_FLAGS, CPU_CORE2_FLAGS, CPU_COREI7_FLAGS, 205 - CPU_BDVER1_FLAGS, CPU_BDVER2_FLAGS, CPU_BTVER1_FLAGS, 206 - CPU_BTVER2_FLAGS. Add CPU_CX16_FLAGS. 207 - (cpu_flags): Add CpuCX16. 208 - * i386-opc.h (CpuCX16): New. 209 - (i386_cpu_flags): Add cpucx16. 210 - * i386-opc.tbl: Replace CpuSSE3 with CpuCX16 for cmpxchg16b. 211 - * i386-tbl.h: Regenerate. 212 - * i386-init.h: Likewise. 213 - 214 - 2012-09-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 215 - 216 - * arm-dis.c: Changed ldra and strl-form mnemonics 217 - to lda and stl-form. 218 - 219 - 2012-09-18 Chao-ying Fu <fu@mips.com> 220 - 221 - * micromips-opc.c (micromips_opcodes): Correct the encoding of 222 - the "swxc1" instruction. 223 - 224 - 2012-09-17 Yufeng Zhang <yufeng.zhang@arm.com> 225 - 226 - * aarch64-asm.c (aarch64_ins_imm_half): Remove ATTRIBUTE_UNUSED from 227 - the parameter 'inst'. 228 - (aarch64_ins_addr_simm): Add ATTRIBUTE_UNUSED to the parameter 'inst'. 229 - (convert_mov_to_movewide): Change to assert (0) when 230 - aarch64_wide_constant_p returns FALSE. 231 - 232 - 2012-09-14 David Edelsohn <dje.gcc@gmail.com> 233 - 234 - * configure: Regenerate. 235 - 236 - 2012-09-14 Anthony Green <green@moxielogic.com> 237 - 238 - * moxie-dis.c (print_insn_moxie): Branch targets are relative to 239 - the address after the branch instruction. 240 - 241 - 2012-09-13 Anthony Green <green@moxielogic.com> 242 - 243 - * moxie-dis.c (print_insn_moxie): Handle bi-endian encodings. 244 - 245 - 2012-09-10 Matthias Klose <doko@ubuntu.com> 246 - 247 - * config.in: Disable sanity check for kfreebsd. 248 - 249 - 2012-09-10 H.J. Lu <hongjiu.lu@intel.com> 250 - 251 - * configure: Regenerated. 252 - 253 - 2012-09-04 Sergey A. Guriev <sergey.a.guriev@intel.com> 254 - 255 - * ia64-asmtab.h (completer_index): Extend bitfield to full uint. 256 - * ia64-gen.c: Promote completer index type to longlong. 257 - (irf_operand): Add new register recognition. 258 - (in_iclass_mov_x): Add an entry for the new mov_* instruction type. 259 - (lookup_specifier): Add new resource recognition. 260 - (insert_bit_table_ent): Relax abort condition according to the 261 - changed completer index type. 262 - (print_dis_table): Fix printf format for completer index. 263 - * ia64-ic.tbl: Add a new instruction class. 264 - * ia64-opc-i.c (ia64_opcodes_i): Define new I-instructions. 265 - * ia64-opc-m.c (ia64_opcodes_m): Define new M-instructions. 266 - * ia64-opc.h: Define short names for new operand types. 267 - * ia64-raw.tbl: Add new RAW resource for DAHR register. 268 - * ia64-waw.tbl: Add new WAW resource for DAHR register. 269 - * ia64-asmtab.c: Regenerate. 270 - 271 - 2012-08-29 Peter Bergner <bergner@vnet.ibm.com> 272 - 273 - * ppc-opc.c (VXASHB_MASK): New define. 274 - (powerpc_opcodes) <vsldoi>: Use VXASHB_MASK. 275 - 276 - 2012-08-28 Peter Bergner <bergner@vnet.ibm.com> 277 - 278 - * ppc-opc.c (UIMM4, UIMM3, UIMM2, VXVA_MASK, VXVB_MASK, VXVAVB_MASK, 279 - VXVDVA_MASK, VXUIMM4_MASK, VXUIMM3_MASK, VXUIMM2_MASK): New defines. 280 - (powerpc_opcodes) <vexptefp, vlogefp, vrefp, vrfim, vrfin, vrfip, 281 - vrfiz, vrsqrtefp, vupkhpx, vupkhsb, vupkhsh, vupklpx, vupklsb, 282 - vupklsh>: Use VXVA_MASK. 283 - <vspltisb, vspltish, vspltisw>: Use VXVB_MASK. 284 - <mfvscr>: Use VXVAVB_MASK. 285 - <mtvscr>: Use VXVDVA_MASK. 286 - <vspltb>: Use VXUIMM4_MASK. 287 - <vsplth>: Use VXUIMM3_MASK. 288 - <vspltw>: Use VXUIMM2_MASK. 1 + 2013-01-02 Kaushik Phatak <kaushik.phatak@kpitcummins.com> 289 2 290 - 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 291 - 292 - * arm-dis.c (neon_opcodes): Add 2 operand sha instructions. 293 - 294 - 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 3 + * cr16-dis.c (match_opcode,make_instruction): Remove static 4 + declaration. 5 + (dwordU,wordU): Moved typedefs to opcode/cr16.h 6 + (cr16_words,cr16_allWords,cr16_currInsn): Added prefix 'cr16_'. 295 7 296 - * arm-dis.c (neon_opcodes): Add SHA 3-operand instructions. 297 - 298 - 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 299 - 300 - * arm-dis.c (neon_opcodes): Handle VMULL.P64. 301 - 302 - 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 303 - 304 - * arm-dis.c (neon_opcodes): Add support for AES instructions. 305 - 306 - 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 307 - 308 - * arm-dis.c (coprocessor_opcodes): Add support for HP/DP 309 - conversions. 310 - 311 - 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 312 - 313 - * arm-dis.c (coprocessor_opcodes): Add VRINT. 314 - (neon_opcodes): Likewise. 315 - 316 - 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 317 - 318 - * arm-dis.c (coprocessor_opcodes): Add support for new VCVT 319 - variants. 320 - (neon_opcodes): Likewise. 321 - 322 - 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 323 - 324 - * arm-dis.c (coprocessor_opcodes): Add VMAXNM/VMINNM. 325 - (neon_opcodes): Likewise. 326 - 327 - 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 328 - 329 - * arm-dis.c (coprocessor_opcodes): Add VSEL. 330 - (print_insn_coprocessor): Add new %<>c bitfield format 331 - specifier. 332 - 333 - 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 334 - 335 - * arm-dis.c (arm_opcodes): Add LDRA/STRL instructions. 336 - (thumb32_opcodes): Likewise. 337 - (print_arm_insn): Add support for %<>T formatter. 338 - 339 - 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 340 - 341 - * arm-dis.c (arm_opcodes): Add HLT. 342 - (thumb_opcodes): Likewise. 343 - 344 - 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 345 - 346 - * arm-dis.c (thumb32_opcodes): Add DCPS instruction. 347 - 348 - 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 349 - 350 - * arm-dis.c (arm_opcodes): Add SEVL. 351 - (thumb_opcodes): Likewise. 352 - (thumb32_opcodes): Likewise. 353 - 354 - 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 355 - 356 - * arm-dis.c (data_barrier_option): New function. 357 - (print_insn_arm): Use data_barrier_option. 358 - (print_insn_thumb32): Use data_barrier_option. 359 - 360 - 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com 361 - 362 - * arm-dis.c (COND_UNCOND): New constant. 363 - (print_insn_coprocessor): Add support for %u format specifier. 364 - (print_insn_neon): Likewise. 365 - 366 - 2012-08-21 David S. Miller <davem@davemloft.net> 367 - 368 - * sparc-opc.c (4-argument crypto instructions): Fix encoding using 369 - F3F4 macro. 370 - 371 - 2012-08-20 Edmar Wienskoski <edmar@freescale.com> 372 - 373 - * ppc-opc.c (powerpc_opcodes): Changed opcode for vabsdub, 374 - vabsduh, vabsduw, mviwsplt. 375 - 376 - 2012-08-17 Nagajyothi Eggone <nagajyothi.eggone@amd.com> 377 - 378 - * i386-gen.c (cpu_flag_init): Add CPU_BTVER1_FLAGS and 379 - CPU_BTVER2_FLAGS. 380 - 381 - * i386-opc.h: Update CpuPRFCHW comment. 382 - 383 - * i386-opc.tbl: Enable prefetch instruction for CpuPRFCHW. 384 - * i386-init.h: Regenerated. 385 - * i386-tbl.h: Likewise. 386 - 387 - 2012-08-17 Nick Clifton <nickc@redhat.com> 388 - 389 - * po/uk.po: New Ukranian translation. 390 - * configure.in (ALL_LINGUAS): Add uk. 391 - * configure: Regenerate. 392 - 393 - 2012-08-16 Peter Bergner <bergner@vnet.ibm.com> 394 - 395 - * ppc-opc.c (powerpc_opcodes) <"lswx">: Use RAX for the second and 396 - RBX for the third operand. 397 - <"lswi">: Use RAX for second and NBI for the third operand. 398 - 399 - 2012-08-15 DJ Delorie <dj@redhat.com> 400 - 401 - * rl78-decode.opc (rl78_decode_opcode): Merge %e and %[01] 402 - operands, so that data addresses can be corrected when not 403 - ES-overridden. 404 - * rl78-decode.c: Regenerate. 405 - * rl78-dis.c (print_insn_rl78): Make order of modifiers 406 - irrelevent. When the 'e' specifier is used on an operand and no 407 - ES prefix is provided, adjust address to make it absolute. 408 - 409 - 2012-08-15 Peter Bergner <bergner@vnet.ibm.com> 410 - 411 - * ppc-opc.c <RSQ, RTQ>: Use PPC_OPERAND_GPR. 412 - 413 - 2012-08-15 Peter Bergner <bergner@vnet.ibm.com> 414 - 415 - * ppc-opc.c <xnop, yield, mdoio, mdoom>: New extended mnemonics. 416 - 417 - 2012-08-14 Maciej W. Rozycki <macro@codesourcery.com> 418 - 419 - * mips-dis.c (print_insn_args): Add GET_OP and GET_OP_S local 420 - macros, use local variables for info struct member accesses, 421 - update the type of the variable used to hold the instruction 422 - word. 423 - (print_insn_mips, print_mips16_insn_arg): Likewise. 424 - (print_insn_mips16): Add GET_OP and GET_OP_S local macros, use 425 - local variables for info struct member accesses. 426 - (print_insn_micromips): Add GET_OP_S local macro. 427 - (_print_insn_mips): Update the type of the variable used to hold 428 - the instruction word. 429 - 430 - 2012-08-13 Ian Bolton <ian.bolton@arm.com> 431 - Laurent Desnogues <laurent.desnogues@arm.com> 432 - Jim MacArthur <jim.macarthur@arm.com> 433 - Marcus Shawcroft <marcus.shawcroft@arm.com> 434 - Nigel Stephens <nigel.stephens@arm.com> 435 - Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> 436 - Richard Earnshaw <rearnsha@arm.com> 437 - Sofiane Naci <sofiane.naci@arm.com> 438 - Tejas Belagod <tejas.belagod@arm.com> 439 - Yufeng Zhang <yufeng.zhang@arm.com> 440 - 441 - * Makefile.am: Add AArch64. 442 - * Makefile.in: Regenerate. 443 - * aarch64-asm.c: New file. 444 - * aarch64-asm.h: New file. 445 - * aarch64-dis.c: New file. 446 - * aarch64-dis.h: New file. 447 - * aarch64-gen.c: New file. 448 - * aarch64-opc.c: New file. 449 - * aarch64-opc.h: New file. 450 - * aarch64-tbl.h: New file. 451 - * configure.in: Add AArch64. 452 - * configure: Regenerate. 453 - * disassemble.c: Add AArch64. 454 - * aarch64-asm-2.c: New file (automatically generated). 455 - * aarch64-dis-2.c: New file (automatically generated). 456 - * aarch64-opc-2.c: New file (automatically generated). 457 - * po/POTFILES.in: Regenerate. 458 - 459 - 2012-08-13 Maciej W. Rozycki <macro@codesourcery.com> 460 - 461 - * micromips-opc.c (micromips_opcodes): Update comment. 462 - * mips-opc.c (mips_builtin_opcodes): Likewise. Mark coprocessor 463 - instructions for IOCT as appropriate. 464 - * mips-dis.c (print_insn_mips): Replace OPCODE_IS_MEMBER with 465 - opcode_is_member. 466 - * configure.in: Substitute NO_WMISSING_FIELD_INITIALIZERS with 467 - the result of a check for the -Wno-missing-field-initializers 468 - GCC option. 469 - * Makefile.am (NO_WMISSING_FIELD_INITIALIZERS): New variable. 470 - (mips-opc.lo): Pass $(NO_WMISSING_FIELD_INITIALIZERS) to 471 - compilation. 472 - (mips16-opc.lo): Likewise. 473 - (micromips-opc.lo): Likewise. 474 - * aclocal.m4: Regenerate. 475 - * configure: Regenerate. 476 - * Makefile.in: Regenerate. 477 - 478 - 2012-08-11 Saravanan Ekanathan <saravanan.ekanathan@amd.com> 479 - 480 - PR gas/14423 481 - * i386-gen.c (cpu_flag_init): Add CpuFMA in CPU_BDVER2_FLAGS. 482 - * i386-init.h: Regenerated. 483 - 484 - 2012-08-09 Nick Clifton <nickc@redhat.com> 485 - 486 - * po/vi.po: Updated Vietnamese translation. 487 - 488 - 2012-08-07 Roland McGrath <mcgrathr@google.com> 489 - 490 - * i386-dis.c (reg_table): Fill out REG_0F0D table with 491 - AMD-reserved cases as "prefetch". 492 - (MOD_0F18_REG_4, MOD_0F18_REG_5): New enum constants. 493 - (MOD_0F18_REG_6, MOD_0F18_REG_7): Likewise. 494 - (reg_table): Use those under REG_0F18. 495 - (mod_table): Add those cases as "nop/reserved". 496 - 497 - 2012-08-07 Jan Beulich <jbeulich@suse.com> 498 - 499 - * i386-opc.tbl: Remove "FIXME" comments from SVME instructions. 500 - 501 - 2012-08-06 Roland McGrath <mcgrathr@google.com> 502 - 503 - * i386-dis.c (print_insn): Print spaces between multiple excess 504 - prefixes. Return actual number of excess prefixes consumed, 505 - not always one. 506 - 507 - * i386-dis.c (OP_REG): Ignore REX_B for segment register cases. 508 - 509 - 2012-08-06 Roland McGrath <mcgrathr@google.com> 510 - Victor Khimenko <khim@google.com> 511 - H.J. Lu <hongjiu.lu@intel.com> 512 - 513 - * i386-dis.c (OP_sI): In b_T_mode and v_mode, REX_W trumps DFLAG. 514 - (putop): For 'T', 'U', and 'V', treat REX_W like DFLAG. 515 - (intel_operand_size): For stack_v_mode, treat REX_W like DFLAG. 516 - (OP_E_register): Likewise. 517 - (OP_REG): For low 8 whole registers, treat REX_W like DFLAG. 518 - 519 - 2012-08-02 Jan-Benedict Glaw <jbglaw@lug-owl.de> 520 - 521 - * configure.in: Formatting. 522 - * configure: Regenerate. 523 - 524 - 2012-08-01 Alan Modra <amodra@gmail.com> 525 - 526 - * h8300-dis.c: Fix printf arg warnings. 527 - * i960-dis.c: Likewise. 528 - * mips-dis.c: Likewise. 529 - * pdp11-dis.c: Likewise. 530 - * sh-dis.c: Likewise. 531 - * v850-dis.c: Likewise. 532 - * configure.in: Formatting. 533 - * configure: Regenerate. 534 - * rl78-decode.c: Regenerate. 535 - * po/POTFILES.in: Regenerate. 536 - 537 - 2012-07-31 Chao-Ying Fu <fu@mips.com> 538 - Catherine Moore <clm@codesourcery.com> 539 - Maciej W. Rozycki <macro@codesourcery.com> 540 - 541 - * micromips-opc.c (WR_a, RD_a, MOD_a): New macros. 542 - (DSP_VOLA): Likewise. 543 - (D32, D33): Likewise. 544 - (micromips_opcodes): Add DSP ASE instructions. 545 - * mips-dis.c (print_insn_micromips) <'2', '3'>: New cases. 546 - <'4', '5', '6', '7', '8', '0', '^', '@'>: Likewise. 547 - 548 - 2012-07-31 Jan Beulich <jbeulich@suse.com> 549 - 550 - * i386-opc.tbl (vmovntdqa): Move up into 256-bit integer AVX2 551 - instruction group. Mark as requiring AVX2. 552 - * i386-tbl.h: Re-generate. 553 - 554 - 2012-07-30 Nick Clifton <nickc@redhat.com> 555 - 556 - * po/opcodes.pot: Updated template. 557 - * po/es.po: Updated Spanish translation. 558 - * po/fi.po: Updated Finnish translation. 559 - 560 - 2012-07-27 Mike Frysinger <vapier@gentoo.org> 561 - 562 - * configure.in (BFD_VERSION): Run bfd/configure --version and 563 - parse the output of that. 564 - * configure: Regenerate. 565 - 566 - 2012-07-25 James Lemke <jwlemke@codesourcery.com> 567 - 568 - * ppc-opc.c (powerpc_opcodes): Add/remove PPCVLE for some 32-bit insns. 569 - 570 - 2012-07-24 Stephan McCamant <smcc@cs.berkeley.edu> 571 - Dr David Alan Gilbert <dave@treblig.org> 572 - 573 - PR binutils/13135 574 - * arm-dis.c: Add necessary casts for printing integer values. 575 - Use %s when printing string values. 576 - * hppa-dis.c: Likewise. 577 - * m68k-dis.c: Likewise. 578 - * microblaze-dis.c: Likewise. 579 - * mips-dis.c: Likewise. 580 - * sparc-dis.c: Likewise. 581 - 582 - 2012-07-19 Michael Zolotukhin <michael.v.zolotukhin@intel.com> 583 - 584 - PR binutils/14355 585 - * i386-dis.c (VEX_LEN_0FXOP_08_CC): New. 586 - (VEX_LEN_0FXOP_08_CD): Likewise. 587 - (VEX_LEN_0FXOP_08_CE): Likewise. 588 - (VEX_LEN_0FXOP_08_CF): Likewise. 589 - (VEX_LEN_0FXOP_08_EC): Likewise. 590 - (VEX_LEN_0FXOP_08_ED): Likewise. 591 - (VEX_LEN_0FXOP_08_EE): Likewise. 592 - (VEX_LEN_0FXOP_08_EF): Likewise. 593 - (xop_table): Fix entries for vpcomb, vpcomw, vpcomd, vpcomq, 594 - vpcomub, vpcomuw, vpcomud, vpcomuq. 595 - (vex_len_table): Add entries for VEX_LEN_0FXOP_08_CC, 596 - VEX_LEN_0FXOP_08_CD, VEX_LEN_0FXOP_08_CE, VEX_LEN_0FXOP_08_CF, 597 - VEX_LEN_0FXOP_08_EC, VEX_LEN_0FXOP_08_ED, VEX_LEN_0FXOP_08_EE, 598 - VEX_LEN_0FXOP_08_EF. 599 - 600 - 2012-07-16 Michael Zolotukhin <michael.v.zolotukhin@intel.com> 601 - 602 - * i386-dis.c (PREFIX_0F38F6): New. 603 - (prefix_table): Add adcx, adox instructions. 604 - (three_byte_table): Use PREFIX_0F38F6. 605 - (mod_table): Add rdseed instruction. 606 - * i386-gen.c (cpu_flag_init): Add CpuADX, CpuRDSEED, CpuPRFCHW. 607 - (cpu_flags): Likewise. 608 - * i386-opc.h: Add CpuADX, CpuRDSEED, CpuPRFCHW. 609 - (i386_cpu_flags): Add fields cpurdseed, cpuadx, cpuprfchw. 610 - * i386-opc.tbl: Add instrcutions adcx, adox, rdseed. Extend 611 - prefetchw. 612 - * i386-tbl.h: Regenerate. 613 - * i386-init.h: Likewise. 614 - 615 - 2012-07-05 Thomas Schwinge <thomas@codesourcery.com> 616 - 617 - * mips-dis.c: Remove gratuitous newline. 618 - 619 - 2012-07-05 Sean Keys <skeys@ipdatasys.com> 620 - 621 - * xgate-dis.c: Removed an IF statement that will 622 - always be false due to overlapping operand masks. 623 - * xgate-opc.c: Corrected 'com' opcode entry and 624 - fixed spacing. 625 - 626 - 2012-07-02 Roland McGrath <mcgrathr@google.com> 627 - 628 - * i386-opc.tbl: Add RepPrefixOk to nop. 629 - * i386-tbl.h: Regenerate. 630 - 631 - 2012-06-28 Nick Clifton <nickc@redhat.com> 632 - 633 - * po/vi.po: Updated Vietnamese translation. 634 - 635 - 2012-06-22 Roland McGrath <mcgrathr@google.com> 636 - 637 - * i386-opc.tbl: Add RepPrefixOk to ret. 638 - * i386-tbl.h: Regenerate. 639 - 640 - * i386-opc.h (RepPrefixOk): New enum constant. 641 - (i386_opcode_modifier): New bitfield 'repprefixok'. 642 - * i386-gen.c (opcode_modifiers): Add RepPrefixOk. 643 - * i386-opc.tbl: Add RepPrefixOk to bsf, bsr, and to all 644 - instructions that have IsString. 645 - * i386-tbl.h: Regenerate. 646 - 647 - 2012-06-11 Andreas Schwab <schwab@linux-m68k.org> 648 - 649 - * ppc-opc.c (lvsl, lvebx, isellt, icbt, ldepx, lwepx, lvsr, lvehx) 650 - (iselgt, lvewx, iseleq, isel, dcbst, dcbstep, dcbfl, dcbf, lbepx) 651 - (lvx, dcbfep, dcbtstls, stvebx, dcbtstlse, stdepx, stwepx, dcbtls) 652 - (stvehx, dcbtlse, stvewx, stbepx, icblc, stvx, dcbtstt, dcbtst) 653 - (dcbtst, dcbtstep, dcbtt, dcbt, dcbt, lhepx, eciwx, dcbtep) 654 - (dcread, lxvdsx, lvxl, dcblc, sthepx, ecowx, dcbi, dcread, icbtls) 655 - (stvxl, lxsdx, lfdepx, stxsdx, stfdepx, dcba, dcbal, lxvw4x) 656 - (tlbivax, lfdpx, lxvd2x, tlbsrx., stxvw4x, tlbsx, tlbsx., stfdpx) 657 - (stfqx, stxvd2x, icbi, icbiep, icread, dcbzep): Change RA to RA0. 658 - 659 - 2012-05-19 Alan Modra <amodra@gmail.com> 660 - 661 - * ppc-dis.c: Don't include elf32-ppc.h, do include elf/ppc.h. 662 - (get_powerpc_dialect): Detect VLE sections from ELF sh_flags. 663 - 664 - 2012-05-18 Alan Modra <amodra@gmail.com> 665 - 666 - * ia64-opc.c: Remove #include "ansidecl.h". 667 - * z8kgen.c: Include sysdep.h first. 668 - 669 - * arc-dis.c: Include sysdep.h first, remove some redundant includes. 670 - * bfin-dis.c: Likewise. 671 - * i860-dis.c: Likewise. 672 - * ia64-dis.c: Likewise. 673 - * ia64-gen.c: Likewise. 674 - * m68hc11-dis.c: Likewise. 675 - * mmix-dis.c: Likewise. 676 - * msp430-dis.c: Likewise. 677 - * or32-dis.c: Likewise. 678 - * rl78-dis.c: Likewise. 679 - * rx-dis.c: Likewise. 680 - * tic4x-dis.c: Likewise. 681 - * tilegx-opc.c: Likewise. 682 - * tilepro-opc.c: Likewise. 683 - * rx-decode.c: Regenerate. 684 - 685 - 2012-05-17 James Lemke <jwlemke@codesourcery.com> 686 - 687 - * ppc-opc.c (powerpc_macros): Add entries for e_extlwi to e_clrlslwi. 688 - 689 - 2012-05-17 James Lemke <jwlemke@codesourcery.com> 690 - 691 - * ppc-opc.c (extract_sprg): Use ALLOW8_SPRG to include VLE. 692 - 693 - 2012-05-17 Daniel Richard G. <skunk@iskunk.org> 694 - Nick Clifton <nickc@redhat.com> 695 - 696 - PR 14072 697 - * configure.in: Add check that sysdep.h has been included before 698 - any system header files. 699 - * configure: Regenerate. 700 - * config.in: Regenerate. 701 - * sysdep.h: Generate an error if included before config.h. 702 - * alpha-opc.c: Include sysdep.h before any other header file. 703 - * alpha-dis.c: Likewise. 704 - * avr-dis.c: Likewise. 705 - * cgen-opc.c: Likewise. 706 - * cr16-dis.c: Likewise. 707 - * cris-dis.c: Likewise. 708 - * crx-dis.c: Likewise. 709 - * d10v-dis.c: Likewise. 710 - * d10v-opc.c: Likewise. 711 - * d30v-dis.c: Likewise. 712 - * d30v-opc.c: Likewise. 713 - * h8500-dis.c: Likewise. 714 - * i370-dis.c: Likewise. 715 - * i370-opc.c: Likewise. 716 - * m10200-dis.c: Likewise. 717 - * m10300-dis.c: Likewise. 718 - * micromips-opc.c: Likewise. 719 - * mips-opc.c: Likewise. 720 - * mips61-opc.c: Likewise. 721 - * moxie-dis.c: Likewise. 722 - * or32-opc.c: Likewise. 723 - * pj-dis.c: Likewise. 724 - * ppc-dis.c: Likewise. 725 - * ppc-opc.c: Likewise. 726 - * s390-dis.c: Likewise. 727 - * sh-dis.c: Likewise. 728 - * sh64-dis.c: Likewise. 729 - * sparc-dis.c: Likewise. 730 - * sparc-opc.c: Likewise. 731 - * spu-dis.c: Likewise. 732 - * tic30-dis.c: Likewise. 733 - * tic54x-dis.c: Likewise. 734 - * tic80-dis.c: Likewise. 735 - * tic80-opc.c: Likewise. 736 - * tilegx-dis.c: Likewise. 737 - * tilepro-dis.c: Likewise. 738 - * v850-dis.c: Likewise. 739 - * v850-opc.c: Likewise. 740 - * vax-dis.c: Likewise. 741 - * w65-dis.c: Likewise. 742 - * xgate-dis.c: Likewise. 743 - * xtensa-dis.c: Likewise. 744 - * rl78-decode.opc: Likewise. 745 - * rl78-decode.c: Regenerate. 746 - * rx-decode.opc: Likewise. 747 - * rx-decode.c: Regenerate. 748 - 749 - 2012-05-17 Alan Modra <amodra@gmail.com> 750 - 751 - * ppc_dis.c: Don't include elf/ppc.h. 752 - 753 - 2012-05-16 Meador Inge <meadori@codesourcery.com> 754 - 755 - * arm-dis.c (arm_opcodes): Don't disassemble STMFD/LDMIA sp!, {reg} 756 - to PUSH/POP {reg}. 757 - 758 - 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk> 759 - Stephane Carrez <stcarrez@nerim.fr> 760 - 761 - * configure.in: Add S12X and XGATE co-processor support to m68hc11 762 - target. 763 - * disassemble.c: Likewise. 764 - * configure: Regenerate. 765 - * m68hc11-dis.c: Make objdump output more consistent, use hex 766 - instead of decimal and use 0x prefix for hex. 767 - * m68hc11-opc.c: Add S12X and XGATE opcodes. 768 - 769 - 2012-05-14 James Lemke <jwlemke@codesourcery.com> 770 - 771 - * ppc-dis.c (get_powerpc_dialect): Use is_ppc_vle. 772 - (PPC_OPCD_SEGS, VLE_OPCD_SEGS): New defines. 773 - (vle_opcd_indices): New array. 774 - (lookup_vle): New function. 775 - (disassemble_init_powerpc): Revise for second (VLE) opcode table. 776 - (print_insn_powerpc): Likewise. 777 - * ppc-opc.c: Likewise. 778 - 779 - 2012-05-14 Catherine Moore <clm@codesourcery.com> 780 - Maciej W. Rozycki <macro@codesourcery.com> 781 - Rhonda Wittels <rhonda@codesourcery.com> 782 - Nathan Froyd <froydnj@codesourcery.com> 783 - 784 - * ppc-opc.c (insert_arx, extract_arx): New functions. 785 - (insert_ary, extract_ary): New functions. 786 - (insert_li20, extract_li20): New functions. 787 - (insert_rx, extract_rx): New functions. 788 - (insert_ry, extract_ry): New functions. 789 - (insert_sci8, extract_sci8): New functions. 790 - (insert_sci8n, extract_sci8n): New functions. 791 - (insert_sd4h, extract_sd4h): New functions. 792 - (insert_sd4w, extract_sd4w): New functions. 793 - (insert_vlesi, extract_vlesi): New functions. 794 - (insert_vlensi, extract_vlensi): New functions. 795 - (insert_vleui, extract_vleui): New functions. 796 - (insert_vleil, extract_vleil): New functions. 797 - (BI_MASK, BB_MASK, BT): Use PPC_OPERAND_CR_BIT. 798 - (BI16, BI32, BO32, B8): New. 799 - (B15, B24, CRD32, CRS): New. 800 - (CRD, OBF, BFA, CR, CRFS): Use PPC_OPERAND_CR_REG. 801 - (DB, IMM20, RD, Rx, ARX, RY, RZ): New. 802 - (ARY, SCLSCI8, SCLSCI8N, SE_SD, SE_SDH): New. 803 - (SH6_MASK): Use PPC_OPSHIFT_INV. 804 - (SI8, UI5, OIMM5, UI7, BO16): New. 805 - (VLESIMM, VLENSIMM, VLEUIMM, VLEUIMML): New. 806 - (XT6, XA6, XB6, XB6S, XC6): Use PPC_OPSHIFT_INV. 807 - (ALLOW8_SPRG): New. 808 - (insert_sprg, extract_sprg): Check ALLOW8_SPRG. 809 - (OPVUP, OPVUP_MASK OPVUP): New 810 - (BD8, BD8_MASK, BD8IO, BD8IO_MASK): New. 811 - (EBD8IO, EBD8IO1_MASK, EBD8IO2_MASK, EBD8IO3_MASK): New. 812 - (BD15, BD15_MASK, EBD15, EBD15_MASK, EBD15BI, EBD15BI_MASK): New. 813 - (BD24,BD24_MASK, C_LK, C_LK_MASK, C, C_MASK): New. 814 - (IA16, IA16_MASK, I16A, I16A_MASK, I16L, I16L_MASK): New. 815 - (IM7, IM7_MASK, LI20, LI20_MASK, SCI8, SCI8_MASK): New. 816 - (SCI8BF, SCI8BF_MASK, SD4, SD4_MASK): New. 817 - (SE_IM5, SE_IM5_MASK): New. 818 - (SE_R, SE_R_MASK, SE_RR, SE_RR_MASK): New. 819 - (EX, EX_MASK, BO16F, BO16T, BO32F, BO32T): New. 820 - (BO32DNZ, BO32DZ): New. 821 - (NO371, PPCSPE, PPCISEL, PPCEFS, MULHW): Include PPC_OPCODE_VLE. 822 - (PPCVLE): New. 823 - (powerpc_opcodes): Add new VLE instructions. Update existing 824 - instruction to include PPCVLE if supported. 825 - * ppc-dis.c (ppc_opts): Add vle entry. 826 - (get_powerpc_dialect): New function. 827 - (powerpc_init_dialect): VLE support. 828 - (print_insn_big_powerpc): Call get_powerpc_dialect. 829 - (print_insn_little_powerpc): Likewise. 830 - (operand_value_powerpc): Handle negative shift counts. 831 - (print_insn_powerpc): Handle 2-byte instruction lengths. 832 - 833 - 2012-05-11 Daniel Richard G. <skunk@iskunk.org> 834 - 835 - PR binutils/14028 836 - * configure.in: Invoke ACX_HEADER_STRING. 837 - * configure: Regenerate. 838 - * config.in: Regenerate. 839 - * sysdep.h: If STRINGS_WITH_STRING is defined then include both 840 - string.h and strings.h. 841 - 842 - 2012-05-11 Nick Clifton <nickc@redhat.com> 843 - 844 - PR binutils/14006 845 - * arm-dis.c (print_insn): Fix detection of instruction mode in 846 - files containing multiple executable sections. 847 - 848 - 2012-05-03 Sean Keys <skeys@ipdatasys.com> 849 - 850 - * Makefile.in, configure: regenerate 851 - * disassemble.c (disassembler): Recognize ARCH_XGATE. 852 - * xgate-dis.c (read_memory, print_insn, print_insn_xgate): 853 - New functions. 854 - * configure.in: Recognize xgate. 855 - * xgate-dis.c, xgate-opc.c: New files for support of xgate 856 - * Makefile.am (CFILES, ALL_MACHINES): New files for disassembly 857 - and opcode generation for xgate. 858 - 859 - 2012-04-30 DJ Delorie <dj@redhat.com> 860 - 861 - * rx-decode.opc (MOV): Do not sign-extend immediates which are 862 - already the maximum bit size. 863 - * rx-decode.c: Regenerate. 864 - 865 - 2012-04-27 David S. Miller <davem@davemloft.net> 866 - 867 - * sparc-dis.c (v9a_asr_reg_names): Add 'cfr'. 868 - * sparc-opc.c (sparc_opcodes): Add rd/wr cases for %cfr. 869 - 870 - * sparc-opc.c (sparc_opcodes): Add 'wr X, %pause' and 'pause'. 871 - * sparc-dis.c (v9a_asr_reg_names): Add 'pause'. 872 - 873 - * sparc-opc.c (CBCOND): New define. 874 - (CBCOND_XCC): Likewise. 875 - (cbcond): New helper macro. 876 - (sparc_opcodes): Add compare-and-branch instructions. 877 - 878 - * sparc-dis.c (print_insn_sparc): Handle ')'. 879 - * sparc-opc.c (sparc_opcodes): Add crypto instructions. 880 - 881 - * sparc-opc.c (sparc_opcodes): Rework table to put HWCAP values 882 - into new struct sparc_opcode 'hwcaps' field instead of 'flags'. 883 - 884 - 2012-04-12 David S. Miller <davem@davemloft.net> 885 - 886 - * sparc-dis.c (X_DISP10): Define. 887 - (print_insn_sparc): Handle '='. 888 - 889 - 2012-04-01 Mike Frysinger <vapier@gentoo.org> 890 - 891 - * bfin-dis.c (fmtconst): Replace decimal handling with a single 892 - sprintf call and the '*' field width. 893 - 894 - 2012-03-23 Maxim Kuvyrkov <maxim@codesourcery.com> 895 - 896 - * mips-dis.c (mips_arch_choices): Add entry for Broadcom XLP. 897 - 898 - 2012-03-16 Alan Modra <amodra@gmail.com> 899 - 900 - * ppc-dis.c (PPC_OPC_SEGS, PPC_OP_TO_SEG): Delete. 901 - (powerpc_opcd_indices): Bump array size. 902 - (disassemble_init_powerpc): Set powerpc_opcd_indices entries 903 - corresponding to unused opcodes to following entry. 904 - (lookup_powerpc): New function, extracted and optimised from.. 905 - (print_insn_powerpc): ..here. 906 - 907 - 2012-03-15 Alan Modra <amodra@gmail.com> 908 - James Lemke <jwlemke@codesourcery.com> 909 - 910 - * disassemble.c (disassemble_init_for_target): Handle ppc init. 911 - * ppc-dis.c (private): New var. 912 - (powerpc_init_dialect): Don't return calloc failure, instead use 913 - private. 914 - (PPC_OPCD_SEGS, PPC_OP_TO_SEG): Define. 915 - (powerpc_opcd_indices): New array. 916 - (disassemble_init_powerpc): New function. 917 - (print_insn_big_powerpc): Don't init dialect here. 918 - (print_insn_little_powerpc): Likewise. 919 - (print_insn_powerpc): Start search using powerpc_opcd_indices. 920 - 921 - 2012-03-10 Edmar Wienskoski <edmar@freescale.com> 922 - 923 - * ppc-dis.c (ppc_opts): Add entries for "e5500" and "e6500". 924 - * ppc-opc.c (insert_ls, TMR, ESYNC, XSYNCLE_MASK): New. 925 - (PPCVEC2, PPCTMR, E6500): New short names. 926 - (powerpc_opcodes): Add vabsdub, vabsduh, vabsduw, dni, mvidsplt, 927 - mviwsplt, icblq., mftmr, mttmr, dcblq., miso, lvexbx, lvexhx, 928 - lvexwx, stvexbx, stvexhx, stvexwx, lvepx, lvepxl, stvepx, stvepxl, 929 - lvtrx, lvtrxl, lvtlx, lvtlxl, stvfrx, stvfrxl, stvflx, stvflxl, 930 - lvswx, lvswxl, stvswx, stvswxl, lvsm mnemonics. Accept LS, ESYNC 931 - optional operands on sync instruction for E6500 target. 932 - 933 - 2012-03-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 934 - 935 - * s390-opc.txt: Set instruction type of pku to SS_L2RDRD. 936 - 937 - 2012-02-27 Alan Modra <amodra@gmail.com> 938 - 939 - * mt-dis.c: Regenerate. 940 - 941 - 2012-02-27 Alan Modra <amodra@gmail.com> 942 - 943 - * v850-opc.c (extract_v8): Rearrange to make it obvious this 944 - is the inverse of corresponding insert function. 945 - (extract_d22, extract_u9, extract_r4): Likewise. 946 - (extract_d9): Correct sign extension. 947 - (extract_d16_15): Don't assume "long" is 32 bits, and don't 948 - rely on implementation defined behaviour for shift right of 949 - signed types. 950 - (extract_d16_16, extract_d17_16, extract_i9): Likewise. 951 - (extract_d23): Likewise, and correct mask. 952 - 953 - 2012-02-27 Alan Modra <amodra@gmail.com> 954 - 955 - * crx-dis.c (print_arg): Mask constant to 32 bits. 956 - * crx-opc.c (cst4_map): Use int array. 957 - 958 - 2012-02-27 Alan Modra <amodra@gmail.com> 959 - 960 - * arc-dis.c (BITS): Don't use shifts to mask off bits. 961 - (FIELDD): Sign extend with xor,sub. 962 - 963 - 2012-02-25 Walter Lee <walt@tilera.com> 964 - 965 - * tilegx-opc.c: Handle TILEGX_OPC_LD4S_TLS and TILEGX_OPC_LD_TLS. 966 - * tilepro-opc.c: Handle TILEPRO_OPC_LW_TLS and 967 - TILEPRO_OPC_LW_TLS_SN. 968 - 969 - 2012-02-21 H.J. Lu <hongjiu.lu@intel.com> 970 - 971 - * i386-opc.h (HLEPrefixNone): New. 972 - (HLEPrefixLock): Likewise. 973 - (HLEPrefixAny): Likewise. 974 - (HLEPrefixRelease): Likewise. 975 - 976 - 2012-02-08 H.J. Lu <hongjiu.lu@intel.com> 977 - 978 - * i386-dis.c (HLE_Fixup1): New. 979 - (HLE_Fixup2): Likewise. 980 - (HLE_Fixup3): Likewise. 981 - (Ebh1): Likewise. 982 - (Evh1): Likewise. 983 - (Ebh2): Likewise. 984 - (Evh2): Likewise. 985 - (Ebh3): Likewise. 986 - (Evh3): Likewise. 987 - (MOD_C6_REG_7): Likewise. 988 - (MOD_C7_REG_7): Likewise. 989 - (RM_C6_REG_7): Likewise. 990 - (RM_C7_REG_7): Likewise. 991 - (XACQUIRE_PREFIX): Likewise. 992 - (XRELEASE_PREFIX): Likewise. 993 - (dis386): Use Ebh1/Evh1 on add, adc, and, btc, btr, bts, 994 - cmpxchg, dec, inc, neg, not, or, sbb, sub, xor and xadd. Use 995 - Ebh2/Evh2 on xchg. Use Ebh3/Evh3 on mov. 996 - (reg_table): Use Ebh1/Evh1 on add, adc, and, dec, inc, neg, 997 - not, or, sbb, sub and xor. Use Ebh3/Evh3 on mov. Use 998 - MOD_C6_REG_7 and MOD_C7_REG_7. 999 - (mod_table): Add MOD_C6_REG_7 and MOD_C7_REG_7. 1000 - (rm_table): Add RM_C6_REG_7 and RM_C7_REG_7. Add xend and 1001 - xtest. 1002 - (prefix_name): Handle XACQUIRE_PREFIX and XRELEASE_PREFIX. 1003 - (CMPXCHG8B_Fixup): Handle HLE prefix on cmpxchg8b. 1004 - 1005 - * i386-gen.c (cpu_flag_init): Add CPU_HLE_FLAGS and 1006 - CPU_RTM_FLAGS. 1007 - (cpu_flags): Add CpuHLE and CpuRTM. 1008 - (opcode_modifiers): Add HLEPrefixOk. 1009 - 1010 - * i386-opc.h (CpuHLE): New. 1011 - (CpuRTM): Likewise. 1012 - (HLEPrefixOk): Likewise. 1013 - (i386_cpu_flags): Add cpuhle and cpurtm. 1014 - (i386_opcode_modifier): Add hleprefixok. 1015 - 1016 - * i386-opc.tbl: Add HLEPrefixOk=3 to mov. Add HLEPrefixOk to 1017 - add, adc, and, btc, btr, bts, cmpxchg, dec, inc, neg, not, or, 1018 - sbb, sub, xor and xadd. Add HLEPrefixOk=2 to xchg with memory 1019 - operand. Add xacquire, xrelease, xabort, xbegin, xend and 1020 - xtest. 1021 - * i386-init.h: Regenerated. 1022 - * i386-tbl.h: Likewise. 1023 - 1024 - 2012-01-24 DJ Delorie <dj@redhat.com> 1025 - 1026 - * rl78-decode.opc (rl78_decode_opcode): Add NOT1. 1027 - * rl78-decode.c: Regenerate. 1028 - 1029 - 2012-01-17 James Murray <jsm@jsm-net.demon.co.uk> 1030 - 1031 - PR binutils/10173 1032 - * cr16-dis.c (print_arg): Test symtab_size not num_symbols. 1033 - 1034 - 2012-01-17 Andreas Schwab <schwab@linux-m68k.org> 1035 - 1036 - * m68k-opc.c (m68k_opcodes): Fix entries for pmove with BADx/BACx 1037 - register and move them after pmove with PSR/PCSR register. 1038 - 1039 - 2012-01-13 H.J. Lu <hongjiu.lu@intel.com> 1040 - 1041 - * i386-dis.c (mod_table): Add vmfunc. 1042 - 1043 - * i386-gen.c (cpu_flag_init): Add CPU_VMFUNC_FLAGS. 1044 - (cpu_flags): CpuVMFUNC. 1045 - 1046 - * i386-opc.h (CpuVMFUNC): New. 1047 - (i386_cpu_flags): Add cpuvmfunc. 1048 - 1049 - * i386-opc.tbl: Add vmfunc. 1050 - * i386-init.h: Regenerated. 1051 - * i386-tbl.h: Likewise. 1052 - 1053 - For older changes see ChangeLog-2011 8 + For older changes see ChangeLog-2012 1054 9 1055 - Copyright (C) 2012 Free Software Foundation, Inc. 10 + Copyright (C) 2013 Free Software Foundation, Inc. 1056 11 1057 12 Copying and distribution of this file, with or without modification, 1058 13 are permitted in any medium without royalty provided the copyright
+1066
opcodes/ChangeLog-2012
··· 1 + 2012-12-17 Nick Clifton <nickc@redhat.com> 2 + 3 + * MAINTAINERS: Add copyright notice. 4 + * Makefile.am: Likewise. 5 + * configure.com: Likewise. 6 + * configure.in: Likewise. 7 + * makefile.vms: Likewise. 8 + * rl78-decode.c: Likewise. 9 + * rl78-decode.opc: Likewise. 10 + * rx-decode.c: Likewise. 11 + * rx-decode.opc: Likewise. 12 + * Makefile.in: Regenerate. 13 + 14 + 2012-12-13 Alan Modra <amodra@gmail.com> 15 + 16 + PR binutils/14950 17 + * ppc-opc.c (insert_sci8, extract_sci8): Rewrite. 18 + (insert_sci8n, extract_sci8n): Likewise. 19 + 20 + 2012-11-30 Oleg Raikhman <oleg@adapteva.com> 21 + Joern Rennecke <joern.rennecke@embecosm.com> 22 + 23 + * epiphany-desc.c, epiphany-desc.h, epiphany-opc.c: Regenerate. 24 + 25 + 2012-11-29 Roland McGrath <mcgrathr@google.com> 26 + 27 + * s390-mkopc.c (file_header): Add const. 28 + 29 + 2012-11-29 David Holsgrove <david.holsgrove@xilinx.com> 30 + 31 + * microblaze-opc.h: Rename INST_TYPE_RD_R1_SPECIAL to 32 + INST_TYPE_R1_R2_SPECIAL 33 + * microblaze-dis.c (print_insn_microblaze): Same. 34 + 35 + 2012-11-23 Alan Modra <amodra@gmail.com> 36 + 37 + * ppc-dis.c (ppc_parse_cpu): Add "sticky" param. Track bits 38 + set from ppc_opts.sticky in it. Delete "retain_mask". 39 + (powerpc_init_dialect): Choose default dialect from info->mach 40 + before parsing -M options. Handle more bfd_mach_ppc variants. 41 + Update common default to power7. 42 + 43 + 2012-11-21 David Holsgrove <david.holsgrove@xilinx.com> 44 + 45 + * microblaze-opc.h (op_code_struct): Add swapb, swaph Increase MAX_OPCODES. 46 + * microblaze-opcm.h (microblaze_instr): Likewise 47 + 48 + 2012-11-21 Edgar E. Iglesias <edgar.iglesias@gmail.com> 49 + 50 + * microblaze-opcm.h: Add REG_SLR_MASK, REG_SHR_MASK, REG_SHR and REG_SLR 51 + * microblaze-dis.c (get_field_special): Handle REG_SLR_MASK and REG_SHR_MASK 52 + 53 + 2012-11-20 Kirill Yukhin <kirill.yukhin@intel.com> 54 + H.J. Lu <hongjiu.lu@intel.com> 55 + 56 + PR gas/14859 57 + * i386-opc.tbl: Fix opcode for 64-bit jecxz. 58 + * i386-tbl.h: Regenerated. 59 + 60 + 2012-11-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 61 + 62 + * s390-opc.txt: Fix srstu and strag opcodes. 63 + 64 + 2012-11-14 David Holsgrove <david.holsgrove@xilinx.com> 65 + 66 + * microblaze-opc.h: Define new instruction type INST_TYPE_IMM5, 67 + update OPCODE_MASK_H13S, add OPCODE_MASK_HN, define MIN_IMM5 / MAX_IMM5, 68 + and increase MAX_OPCODES. 69 + (op_code_struct): add mbar and sleep 70 + * microblaze-opcm.h (microblaze_instr): add mbar 71 + Define IMM_MBAR and IMM5_MBAR_MASK 72 + * microblaze-dis.c: Add get_field_imm5_mbar 73 + (print_insn_microblaze): Add support for INST_TYPE_IMM5 and INST_TYPE_NONE 74 + 75 + 2012-11-14 Edgar E. Iglesias <edgar.iglesias@gmail.com> 76 + 77 + * microblaze-opc.h: Increase MAX_OPCODES (op_code_struct): add clz insn 78 + * microblaze-opcm.h (microblaze_instr): add clz 79 + 80 + 2012-11-14 Edgar E. Iglesias <edgar.iglesias@gmail.com> 81 + 82 + * microblaze-opc.h: Increase MAX_OPCODES (op_code_struct): add lbur, 83 + lhur, lwr, sbr, shr, swr 84 + * microblaze-opcm.h (microblaze_instr): add lbur, lhur, lwr, sbr, shr, 85 + swr 86 + 87 + 2012-11-09 Nick Clifton <nickc@redhat.com> 88 + 89 + * configure.in: Add bfd_v850_rh850_arch. 90 + * configure: Regenerate. 91 + * disassemble.c (disassembler): Likewise. 92 + 93 + 2012-11-09 H.J. Lu <hongjiu.lu@intel.com> 94 + 95 + * aarch64-opc.h (gen_mask): Remove trailing redundant `;'. 96 + * ia64-gen.c (fetch_insn_class): Likewise. 97 + 98 + 2012-11-08 Alan Modra <amodra@gmail.com> 99 + 100 + * po/POTFILES.in: Regenerate. 101 + 102 + 2012-11-05 Alan Modra <amodra@gmail.com> 103 + 104 + * configure.in: Apply 2012-09-10 change to config.in here. 105 + 106 + 2012-10-26 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 107 + 108 + * s390-mkopc.c: Accept empty lines in s390-opc.txt. 109 + * s390-opc.c: Add M_20OPT field. New instruction formats RRF_RURR2 110 + and RRF_RMRR. 111 + * s390-opc.txt: Add new instructions. New instruction type for lptea. 112 + 113 + 2012-10-26 Christian Groessler <chris@groessler.org> 114 + 115 + * z8kgen.c (struct op): Fix encoding for translate opcodes (trdb, 116 + trdrb, trib, trirb, trtdb, trtdrb, trtib, trtirb). Remove 117 + non-existing opcode trtrb. 118 + * z8k-opc.h: Regenerate. 119 + 120 + 2012-10-26 Alan Modra <amodra@gmail.com> 121 + 122 + * ppc-opc (powerpc_opcodes): "lfdp" and "stfdp" use DS offset. 123 + 124 + 2012-10-24 Roland McGrath <mcgrathr@google.com> 125 + 126 + * i386-dis.c (ckprefix): When bailing out for fwait with prefixes, 127 + set rex_used to rex. 128 + 129 + 2012-10-22 Peter Bergner <bergner@vnet.ibm.com> 130 + 131 + * ppc-opc.c (powerpc_opcodes) <vcfpsxws>: Fix opcode spelling. 132 + 133 + 2012-10-18 Tom Tromey <tromey@redhat.com> 134 + 135 + * tic54x-dis.c (print_instruction): Don't use K&R style. 136 + (print_parallel_instruction, sprint_dual_address) 137 + (sprint_indirect_address, sprint_direct_address, sprint_mmr) 138 + (sprint_cc2, sprint_condition): Likewise. 139 + 140 + 2012-10-18 Kai Tietz <ktietz@redhat.com> 141 + 142 + * aarch64-asm.c (aarch64_ins_ldst_reglist): Initialize 143 + value with a default. 144 + (do_special_encoding): Likewise. 145 + (aarch64_ins_ldst_elemlist): Pre-initialize QSsize, and opcodeh2 146 + variables with default. 147 + * arc-dis.c (write_comments_): Don't use strncat due 148 + size of state->commentBuffer pointer isn't predictable. 149 + 150 + 2012-10-15 Yufeng Zhang <yufeng.zhang@arm.com> 151 + 152 + * aarch64-opc.c (aarch64_sys_regs): Add rmr_el1, rmr_el2 and 153 + rmr_el3; remove daifset and daifclr. 154 + 155 + 2012-10-15 Yufeng Zhang <yufeng.zhang@arm.com> 156 + 157 + * aarch64-opc.c (operand_general_constraint_met_p): Change to check 158 + the alignment of addr.offset.imm instead of that of shifter.amount for 159 + operand type AARCH64_OPND_ADDR_UIMM12. 160 + 161 + 2012-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 162 + 163 + * arm-dis.c: Use preferred form of vrint instruction variants 164 + for disassembly. 165 + 166 + 2012-10-09 Nagajyothi Eggone <nagajyothi.eggone@amd.com> 167 + 168 + * i386-gen.c (cpu_flag_init): Add CPU_BDVER3_FLAGS. 169 + * i386-init.h: Regenerated. 170 + 171 + 2012-10-05 Peter Bergner <bergner@vnet.ibm.com> 172 + 173 + * ppc-dis.c (ppc_opts) <altivec>: Use PPC_OPCODE_ALTIVEC2; 174 + * ppc-opc.c (VBA): New define. 175 + (powerpc_opcodes) <vcuxwfp, vcsxwfp, vcfpuxws, vcfpsxsw, vmr, vnot, 176 + mfppr, mfppr32, mtppr, mtppr32>: New extended mnemonics. 177 + 178 + 2012-10-04 Nick Clifton <nickc@redhat.com> 179 + 180 + * v850-dis.c (disassemble): Place square parentheses around second 181 + register operand of clr1, not1, set1 and tst1 instructions. 182 + 183 + 2012-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 184 + 185 + * s390-mkopc.c: Support new option zEC12. 186 + * s390-opc.c: Add new instruction formats. 187 + * s390-opc.txt: Add new instructions for zEC12. 188 + 189 + 2012-09-27 Anthony Green <green@moxielogic.com> 190 + 191 + * moxie-dis.c (print_insn_moxie): Print 'bad' instructions. 192 + * moxie-opc.c: All 'bad' instructions have the itype MOXIE_BAD. 193 + 194 + 2012-09-25 Saravanan Ekanathan <saravanan.ekanathan@amd.com> 195 + 196 + * i386-gen.c (cpu_flag_init): Add missing Cpu flags in 197 + CPU_BDVER1_FLAGS, CPU_BDVER2_FLAGS, CPU_BTVER1_FLAGS 198 + and CPU_BTVER2_FLAGS. 199 + * i386-init.h: Regenerated. 200 + 201 + 2012-09-20 Michael Zolotukhin <michael.v.zolotukhin@intel.com> 202 + 203 + * i386-gen.c (cpu_flag_init): Add CpuCX16 to CPU_NOCONA_FLAGS, 204 + CPU_CORE_FLAGS, CPU_CORE2_FLAGS, CPU_COREI7_FLAGS, 205 + CPU_BDVER1_FLAGS, CPU_BDVER2_FLAGS, CPU_BTVER1_FLAGS, 206 + CPU_BTVER2_FLAGS. Add CPU_CX16_FLAGS. 207 + (cpu_flags): Add CpuCX16. 208 + * i386-opc.h (CpuCX16): New. 209 + (i386_cpu_flags): Add cpucx16. 210 + * i386-opc.tbl: Replace CpuSSE3 with CpuCX16 for cmpxchg16b. 211 + * i386-tbl.h: Regenerate. 212 + * i386-init.h: Likewise. 213 + 214 + 2012-09-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com> 215 + 216 + * arm-dis.c: Changed ldra and strl-form mnemonics 217 + to lda and stl-form. 218 + 219 + 2012-09-18 Chao-ying Fu <fu@mips.com> 220 + 221 + * micromips-opc.c (micromips_opcodes): Correct the encoding of 222 + the "swxc1" instruction. 223 + 224 + 2012-09-17 Yufeng Zhang <yufeng.zhang@arm.com> 225 + 226 + * aarch64-asm.c (aarch64_ins_imm_half): Remove ATTRIBUTE_UNUSED from 227 + the parameter 'inst'. 228 + (aarch64_ins_addr_simm): Add ATTRIBUTE_UNUSED to the parameter 'inst'. 229 + (convert_mov_to_movewide): Change to assert (0) when 230 + aarch64_wide_constant_p returns FALSE. 231 + 232 + 2012-09-14 David Edelsohn <dje.gcc@gmail.com> 233 + 234 + * configure: Regenerate. 235 + 236 + 2012-09-14 Anthony Green <green@moxielogic.com> 237 + 238 + * moxie-dis.c (print_insn_moxie): Branch targets are relative to 239 + the address after the branch instruction. 240 + 241 + 2012-09-13 Anthony Green <green@moxielogic.com> 242 + 243 + * moxie-dis.c (print_insn_moxie): Handle bi-endian encodings. 244 + 245 + 2012-09-10 Matthias Klose <doko@ubuntu.com> 246 + 247 + * config.in: Disable sanity check for kfreebsd. 248 + 249 + 2012-09-10 H.J. Lu <hongjiu.lu@intel.com> 250 + 251 + * configure: Regenerated. 252 + 253 + 2012-09-04 Sergey A. Guriev <sergey.a.guriev@intel.com> 254 + 255 + * ia64-asmtab.h (completer_index): Extend bitfield to full uint. 256 + * ia64-gen.c: Promote completer index type to longlong. 257 + (irf_operand): Add new register recognition. 258 + (in_iclass_mov_x): Add an entry for the new mov_* instruction type. 259 + (lookup_specifier): Add new resource recognition. 260 + (insert_bit_table_ent): Relax abort condition according to the 261 + changed completer index type. 262 + (print_dis_table): Fix printf format for completer index. 263 + * ia64-ic.tbl: Add a new instruction class. 264 + * ia64-opc-i.c (ia64_opcodes_i): Define new I-instructions. 265 + * ia64-opc-m.c (ia64_opcodes_m): Define new M-instructions. 266 + * ia64-opc.h: Define short names for new operand types. 267 + * ia64-raw.tbl: Add new RAW resource for DAHR register. 268 + * ia64-waw.tbl: Add new WAW resource for DAHR register. 269 + * ia64-asmtab.c: Regenerate. 270 + 271 + 2012-08-29 Peter Bergner <bergner@vnet.ibm.com> 272 + 273 + * ppc-opc.c (VXASHB_MASK): New define. 274 + (powerpc_opcodes) <vsldoi>: Use VXASHB_MASK. 275 + 276 + 2012-08-28 Peter Bergner <bergner@vnet.ibm.com> 277 + 278 + * ppc-opc.c (UIMM4, UIMM3, UIMM2, VXVA_MASK, VXVB_MASK, VXVAVB_MASK, 279 + VXVDVA_MASK, VXUIMM4_MASK, VXUIMM3_MASK, VXUIMM2_MASK): New defines. 280 + (powerpc_opcodes) <vexptefp, vlogefp, vrefp, vrfim, vrfin, vrfip, 281 + vrfiz, vrsqrtefp, vupkhpx, vupkhsb, vupkhsh, vupklpx, vupklsb, 282 + vupklsh>: Use VXVA_MASK. 283 + <vspltisb, vspltish, vspltisw>: Use VXVB_MASK. 284 + <mfvscr>: Use VXVAVB_MASK. 285 + <mtvscr>: Use VXVDVA_MASK. 286 + <vspltb>: Use VXUIMM4_MASK. 287 + <vsplth>: Use VXUIMM3_MASK. 288 + <vspltw>: Use VXUIMM2_MASK. 289 + 290 + 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 291 + 292 + * arm-dis.c (neon_opcodes): Add 2 operand sha instructions. 293 + 294 + 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 295 + 296 + * arm-dis.c (neon_opcodes): Add SHA 3-operand instructions. 297 + 298 + 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 299 + 300 + * arm-dis.c (neon_opcodes): Handle VMULL.P64. 301 + 302 + 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 303 + 304 + * arm-dis.c (neon_opcodes): Add support for AES instructions. 305 + 306 + 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 307 + 308 + * arm-dis.c (coprocessor_opcodes): Add support for HP/DP 309 + conversions. 310 + 311 + 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 312 + 313 + * arm-dis.c (coprocessor_opcodes): Add VRINT. 314 + (neon_opcodes): Likewise. 315 + 316 + 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 317 + 318 + * arm-dis.c (coprocessor_opcodes): Add support for new VCVT 319 + variants. 320 + (neon_opcodes): Likewise. 321 + 322 + 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 323 + 324 + * arm-dis.c (coprocessor_opcodes): Add VMAXNM/VMINNM. 325 + (neon_opcodes): Likewise. 326 + 327 + 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 328 + 329 + * arm-dis.c (coprocessor_opcodes): Add VSEL. 330 + (print_insn_coprocessor): Add new %<>c bitfield format 331 + specifier. 332 + 333 + 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 334 + 335 + * arm-dis.c (arm_opcodes): Add LDRA/STRL instructions. 336 + (thumb32_opcodes): Likewise. 337 + (print_arm_insn): Add support for %<>T formatter. 338 + 339 + 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 340 + 341 + * arm-dis.c (arm_opcodes): Add HLT. 342 + (thumb_opcodes): Likewise. 343 + 344 + 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 345 + 346 + * arm-dis.c (thumb32_opcodes): Add DCPS instruction. 347 + 348 + 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 349 + 350 + * arm-dis.c (arm_opcodes): Add SEVL. 351 + (thumb_opcodes): Likewise. 352 + (thumb32_opcodes): Likewise. 353 + 354 + 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> 355 + 356 + * arm-dis.c (data_barrier_option): New function. 357 + (print_insn_arm): Use data_barrier_option. 358 + (print_insn_thumb32): Use data_barrier_option. 359 + 360 + 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com 361 + 362 + * arm-dis.c (COND_UNCOND): New constant. 363 + (print_insn_coprocessor): Add support for %u format specifier. 364 + (print_insn_neon): Likewise. 365 + 366 + 2012-08-21 David S. Miller <davem@davemloft.net> 367 + 368 + * sparc-opc.c (4-argument crypto instructions): Fix encoding using 369 + F3F4 macro. 370 + 371 + 2012-08-20 Edmar Wienskoski <edmar@freescale.com> 372 + 373 + * ppc-opc.c (powerpc_opcodes): Changed opcode for vabsdub, 374 + vabsduh, vabsduw, mviwsplt. 375 + 376 + 2012-08-17 Nagajyothi Eggone <nagajyothi.eggone@amd.com> 377 + 378 + * i386-gen.c (cpu_flag_init): Add CPU_BTVER1_FLAGS and 379 + CPU_BTVER2_FLAGS. 380 + 381 + * i386-opc.h: Update CpuPRFCHW comment. 382 + 383 + * i386-opc.tbl: Enable prefetch instruction for CpuPRFCHW. 384 + * i386-init.h: Regenerated. 385 + * i386-tbl.h: Likewise. 386 + 387 + 2012-08-17 Nick Clifton <nickc@redhat.com> 388 + 389 + * po/uk.po: New Ukranian translation. 390 + * configure.in (ALL_LINGUAS): Add uk. 391 + * configure: Regenerate. 392 + 393 + 2012-08-16 Peter Bergner <bergner@vnet.ibm.com> 394 + 395 + * ppc-opc.c (powerpc_opcodes) <"lswx">: Use RAX for the second and 396 + RBX for the third operand. 397 + <"lswi">: Use RAX for second and NBI for the third operand. 398 + 399 + 2012-08-15 DJ Delorie <dj@redhat.com> 400 + 401 + * rl78-decode.opc (rl78_decode_opcode): Merge %e and %[01] 402 + operands, so that data addresses can be corrected when not 403 + ES-overridden. 404 + * rl78-decode.c: Regenerate. 405 + * rl78-dis.c (print_insn_rl78): Make order of modifiers 406 + irrelevent. When the 'e' specifier is used on an operand and no 407 + ES prefix is provided, adjust address to make it absolute. 408 + 409 + 2012-08-15 Peter Bergner <bergner@vnet.ibm.com> 410 + 411 + * ppc-opc.c <RSQ, RTQ>: Use PPC_OPERAND_GPR. 412 + 413 + 2012-08-15 Peter Bergner <bergner@vnet.ibm.com> 414 + 415 + * ppc-opc.c <xnop, yield, mdoio, mdoom>: New extended mnemonics. 416 + 417 + 2012-08-14 Maciej W. Rozycki <macro@codesourcery.com> 418 + 419 + * mips-dis.c (print_insn_args): Add GET_OP and GET_OP_S local 420 + macros, use local variables for info struct member accesses, 421 + update the type of the variable used to hold the instruction 422 + word. 423 + (print_insn_mips, print_mips16_insn_arg): Likewise. 424 + (print_insn_mips16): Add GET_OP and GET_OP_S local macros, use 425 + local variables for info struct member accesses. 426 + (print_insn_micromips): Add GET_OP_S local macro. 427 + (_print_insn_mips): Update the type of the variable used to hold 428 + the instruction word. 429 + 430 + 2012-08-13 Ian Bolton <ian.bolton@arm.com> 431 + Laurent Desnogues <laurent.desnogues@arm.com> 432 + Jim MacArthur <jim.macarthur@arm.com> 433 + Marcus Shawcroft <marcus.shawcroft@arm.com> 434 + Nigel Stephens <nigel.stephens@arm.com> 435 + Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> 436 + Richard Earnshaw <rearnsha@arm.com> 437 + Sofiane Naci <sofiane.naci@arm.com> 438 + Tejas Belagod <tejas.belagod@arm.com> 439 + Yufeng Zhang <yufeng.zhang@arm.com> 440 + 441 + * Makefile.am: Add AArch64. 442 + * Makefile.in: Regenerate. 443 + * aarch64-asm.c: New file. 444 + * aarch64-asm.h: New file. 445 + * aarch64-dis.c: New file. 446 + * aarch64-dis.h: New file. 447 + * aarch64-gen.c: New file. 448 + * aarch64-opc.c: New file. 449 + * aarch64-opc.h: New file. 450 + * aarch64-tbl.h: New file. 451 + * configure.in: Add AArch64. 452 + * configure: Regenerate. 453 + * disassemble.c: Add AArch64. 454 + * aarch64-asm-2.c: New file (automatically generated). 455 + * aarch64-dis-2.c: New file (automatically generated). 456 + * aarch64-opc-2.c: New file (automatically generated). 457 + * po/POTFILES.in: Regenerate. 458 + 459 + 2012-08-13 Maciej W. Rozycki <macro@codesourcery.com> 460 + 461 + * micromips-opc.c (micromips_opcodes): Update comment. 462 + * mips-opc.c (mips_builtin_opcodes): Likewise. Mark coprocessor 463 + instructions for IOCT as appropriate. 464 + * mips-dis.c (print_insn_mips): Replace OPCODE_IS_MEMBER with 465 + opcode_is_member. 466 + * configure.in: Substitute NO_WMISSING_FIELD_INITIALIZERS with 467 + the result of a check for the -Wno-missing-field-initializers 468 + GCC option. 469 + * Makefile.am (NO_WMISSING_FIELD_INITIALIZERS): New variable. 470 + (mips-opc.lo): Pass $(NO_WMISSING_FIELD_INITIALIZERS) to 471 + compilation. 472 + (mips16-opc.lo): Likewise. 473 + (micromips-opc.lo): Likewise. 474 + * aclocal.m4: Regenerate. 475 + * configure: Regenerate. 476 + * Makefile.in: Regenerate. 477 + 478 + 2012-08-11 Saravanan Ekanathan <saravanan.ekanathan@amd.com> 479 + 480 + PR gas/14423 481 + * i386-gen.c (cpu_flag_init): Add CpuFMA in CPU_BDVER2_FLAGS. 482 + * i386-init.h: Regenerated. 483 + 484 + 2012-08-09 Nick Clifton <nickc@redhat.com> 485 + 486 + * po/vi.po: Updated Vietnamese translation. 487 + 488 + 2012-08-07 Roland McGrath <mcgrathr@google.com> 489 + 490 + * i386-dis.c (reg_table): Fill out REG_0F0D table with 491 + AMD-reserved cases as "prefetch". 492 + (MOD_0F18_REG_4, MOD_0F18_REG_5): New enum constants. 493 + (MOD_0F18_REG_6, MOD_0F18_REG_7): Likewise. 494 + (reg_table): Use those under REG_0F18. 495 + (mod_table): Add those cases as "nop/reserved". 496 + 497 + 2012-08-07 Jan Beulich <jbeulich@suse.com> 498 + 499 + * i386-opc.tbl: Remove "FIXME" comments from SVME instructions. 500 + 501 + 2012-08-06 Roland McGrath <mcgrathr@google.com> 502 + 503 + * i386-dis.c (print_insn): Print spaces between multiple excess 504 + prefixes. Return actual number of excess prefixes consumed, 505 + not always one. 506 + 507 + * i386-dis.c (OP_REG): Ignore REX_B for segment register cases. 508 + 509 + 2012-08-06 Roland McGrath <mcgrathr@google.com> 510 + Victor Khimenko <khim@google.com> 511 + H.J. Lu <hongjiu.lu@intel.com> 512 + 513 + * i386-dis.c (OP_sI): In b_T_mode and v_mode, REX_W trumps DFLAG. 514 + (putop): For 'T', 'U', and 'V', treat REX_W like DFLAG. 515 + (intel_operand_size): For stack_v_mode, treat REX_W like DFLAG. 516 + (OP_E_register): Likewise. 517 + (OP_REG): For low 8 whole registers, treat REX_W like DFLAG. 518 + 519 + 2012-08-02 Jan-Benedict Glaw <jbglaw@lug-owl.de> 520 + 521 + * configure.in: Formatting. 522 + * configure: Regenerate. 523 + 524 + 2012-08-01 Alan Modra <amodra@gmail.com> 525 + 526 + * h8300-dis.c: Fix printf arg warnings. 527 + * i960-dis.c: Likewise. 528 + * mips-dis.c: Likewise. 529 + * pdp11-dis.c: Likewise. 530 + * sh-dis.c: Likewise. 531 + * v850-dis.c: Likewise. 532 + * configure.in: Formatting. 533 + * configure: Regenerate. 534 + * rl78-decode.c: Regenerate. 535 + * po/POTFILES.in: Regenerate. 536 + 537 + 2012-07-31 Chao-Ying Fu <fu@mips.com> 538 + Catherine Moore <clm@codesourcery.com> 539 + Maciej W. Rozycki <macro@codesourcery.com> 540 + 541 + * micromips-opc.c (WR_a, RD_a, MOD_a): New macros. 542 + (DSP_VOLA): Likewise. 543 + (D32, D33): Likewise. 544 + (micromips_opcodes): Add DSP ASE instructions. 545 + * mips-dis.c (print_insn_micromips) <'2', '3'>: New cases. 546 + <'4', '5', '6', '7', '8', '0', '^', '@'>: Likewise. 547 + 548 + 2012-07-31 Jan Beulich <jbeulich@suse.com> 549 + 550 + * i386-opc.tbl (vmovntdqa): Move up into 256-bit integer AVX2 551 + instruction group. Mark as requiring AVX2. 552 + * i386-tbl.h: Re-generate. 553 + 554 + 2012-07-30 Nick Clifton <nickc@redhat.com> 555 + 556 + * po/opcodes.pot: Updated template. 557 + * po/es.po: Updated Spanish translation. 558 + * po/fi.po: Updated Finnish translation. 559 + 560 + 2012-07-27 Mike Frysinger <vapier@gentoo.org> 561 + 562 + * configure.in (BFD_VERSION): Run bfd/configure --version and 563 + parse the output of that. 564 + * configure: Regenerate. 565 + 566 + 2012-07-25 James Lemke <jwlemke@codesourcery.com> 567 + 568 + * ppc-opc.c (powerpc_opcodes): Add/remove PPCVLE for some 32-bit insns. 569 + 570 + 2012-07-24 Stephan McCamant <smcc@cs.berkeley.edu> 571 + Dr David Alan Gilbert <dave@treblig.org> 572 + 573 + PR binutils/13135 574 + * arm-dis.c: Add necessary casts for printing integer values. 575 + Use %s when printing string values. 576 + * hppa-dis.c: Likewise. 577 + * m68k-dis.c: Likewise. 578 + * microblaze-dis.c: Likewise. 579 + * mips-dis.c: Likewise. 580 + * sparc-dis.c: Likewise. 581 + 582 + 2012-07-19 Michael Zolotukhin <michael.v.zolotukhin@intel.com> 583 + 584 + PR binutils/14355 585 + * i386-dis.c (VEX_LEN_0FXOP_08_CC): New. 586 + (VEX_LEN_0FXOP_08_CD): Likewise. 587 + (VEX_LEN_0FXOP_08_CE): Likewise. 588 + (VEX_LEN_0FXOP_08_CF): Likewise. 589 + (VEX_LEN_0FXOP_08_EC): Likewise. 590 + (VEX_LEN_0FXOP_08_ED): Likewise. 591 + (VEX_LEN_0FXOP_08_EE): Likewise. 592 + (VEX_LEN_0FXOP_08_EF): Likewise. 593 + (xop_table): Fix entries for vpcomb, vpcomw, vpcomd, vpcomq, 594 + vpcomub, vpcomuw, vpcomud, vpcomuq. 595 + (vex_len_table): Add entries for VEX_LEN_0FXOP_08_CC, 596 + VEX_LEN_0FXOP_08_CD, VEX_LEN_0FXOP_08_CE, VEX_LEN_0FXOP_08_CF, 597 + VEX_LEN_0FXOP_08_EC, VEX_LEN_0FXOP_08_ED, VEX_LEN_0FXOP_08_EE, 598 + VEX_LEN_0FXOP_08_EF. 599 + 600 + 2012-07-16 Michael Zolotukhin <michael.v.zolotukhin@intel.com> 601 + 602 + * i386-dis.c (PREFIX_0F38F6): New. 603 + (prefix_table): Add adcx, adox instructions. 604 + (three_byte_table): Use PREFIX_0F38F6. 605 + (mod_table): Add rdseed instruction. 606 + * i386-gen.c (cpu_flag_init): Add CpuADX, CpuRDSEED, CpuPRFCHW. 607 + (cpu_flags): Likewise. 608 + * i386-opc.h: Add CpuADX, CpuRDSEED, CpuPRFCHW. 609 + (i386_cpu_flags): Add fields cpurdseed, cpuadx, cpuprfchw. 610 + * i386-opc.tbl: Add instrcutions adcx, adox, rdseed. Extend 611 + prefetchw. 612 + * i386-tbl.h: Regenerate. 613 + * i386-init.h: Likewise. 614 + 615 + 2012-07-05 Thomas Schwinge <thomas@codesourcery.com> 616 + 617 + * mips-dis.c: Remove gratuitous newline. 618 + 619 + 2012-07-05 Sean Keys <skeys@ipdatasys.com> 620 + 621 + * xgate-dis.c: Removed an IF statement that will 622 + always be false due to overlapping operand masks. 623 + * xgate-opc.c: Corrected 'com' opcode entry and 624 + fixed spacing. 625 + 626 + 2012-07-02 Roland McGrath <mcgrathr@google.com> 627 + 628 + * i386-opc.tbl: Add RepPrefixOk to nop. 629 + * i386-tbl.h: Regenerate. 630 + 631 + 2012-06-28 Nick Clifton <nickc@redhat.com> 632 + 633 + * po/vi.po: Updated Vietnamese translation. 634 + 635 + 2012-06-22 Roland McGrath <mcgrathr@google.com> 636 + 637 + * i386-opc.tbl: Add RepPrefixOk to ret. 638 + * i386-tbl.h: Regenerate. 639 + 640 + * i386-opc.h (RepPrefixOk): New enum constant. 641 + (i386_opcode_modifier): New bitfield 'repprefixok'. 642 + * i386-gen.c (opcode_modifiers): Add RepPrefixOk. 643 + * i386-opc.tbl: Add RepPrefixOk to bsf, bsr, and to all 644 + instructions that have IsString. 645 + * i386-tbl.h: Regenerate. 646 + 647 + 2012-06-11 Andreas Schwab <schwab@linux-m68k.org> 648 + 649 + * ppc-opc.c (lvsl, lvebx, isellt, icbt, ldepx, lwepx, lvsr, lvehx) 650 + (iselgt, lvewx, iseleq, isel, dcbst, dcbstep, dcbfl, dcbf, lbepx) 651 + (lvx, dcbfep, dcbtstls, stvebx, dcbtstlse, stdepx, stwepx, dcbtls) 652 + (stvehx, dcbtlse, stvewx, stbepx, icblc, stvx, dcbtstt, dcbtst) 653 + (dcbtst, dcbtstep, dcbtt, dcbt, dcbt, lhepx, eciwx, dcbtep) 654 + (dcread, lxvdsx, lvxl, dcblc, sthepx, ecowx, dcbi, dcread, icbtls) 655 + (stvxl, lxsdx, lfdepx, stxsdx, stfdepx, dcba, dcbal, lxvw4x) 656 + (tlbivax, lfdpx, lxvd2x, tlbsrx., stxvw4x, tlbsx, tlbsx., stfdpx) 657 + (stfqx, stxvd2x, icbi, icbiep, icread, dcbzep): Change RA to RA0. 658 + 659 + 2012-05-19 Alan Modra <amodra@gmail.com> 660 + 661 + * ppc-dis.c: Don't include elf32-ppc.h, do include elf/ppc.h. 662 + (get_powerpc_dialect): Detect VLE sections from ELF sh_flags. 663 + 664 + 2012-05-18 Alan Modra <amodra@gmail.com> 665 + 666 + * ia64-opc.c: Remove #include "ansidecl.h". 667 + * z8kgen.c: Include sysdep.h first. 668 + 669 + * arc-dis.c: Include sysdep.h first, remove some redundant includes. 670 + * bfin-dis.c: Likewise. 671 + * i860-dis.c: Likewise. 672 + * ia64-dis.c: Likewise. 673 + * ia64-gen.c: Likewise. 674 + * m68hc11-dis.c: Likewise. 675 + * mmix-dis.c: Likewise. 676 + * msp430-dis.c: Likewise. 677 + * or32-dis.c: Likewise. 678 + * rl78-dis.c: Likewise. 679 + * rx-dis.c: Likewise. 680 + * tic4x-dis.c: Likewise. 681 + * tilegx-opc.c: Likewise. 682 + * tilepro-opc.c: Likewise. 683 + * rx-decode.c: Regenerate. 684 + 685 + 2012-05-17 James Lemke <jwlemke@codesourcery.com> 686 + 687 + * ppc-opc.c (powerpc_macros): Add entries for e_extlwi to e_clrlslwi. 688 + 689 + 2012-05-17 James Lemke <jwlemke@codesourcery.com> 690 + 691 + * ppc-opc.c (extract_sprg): Use ALLOW8_SPRG to include VLE. 692 + 693 + 2012-05-17 Daniel Richard G. <skunk@iskunk.org> 694 + Nick Clifton <nickc@redhat.com> 695 + 696 + PR 14072 697 + * configure.in: Add check that sysdep.h has been included before 698 + any system header files. 699 + * configure: Regenerate. 700 + * config.in: Regenerate. 701 + * sysdep.h: Generate an error if included before config.h. 702 + * alpha-opc.c: Include sysdep.h before any other header file. 703 + * alpha-dis.c: Likewise. 704 + * avr-dis.c: Likewise. 705 + * cgen-opc.c: Likewise. 706 + * cr16-dis.c: Likewise. 707 + * cris-dis.c: Likewise. 708 + * crx-dis.c: Likewise. 709 + * d10v-dis.c: Likewise. 710 + * d10v-opc.c: Likewise. 711 + * d30v-dis.c: Likewise. 712 + * d30v-opc.c: Likewise. 713 + * h8500-dis.c: Likewise. 714 + * i370-dis.c: Likewise. 715 + * i370-opc.c: Likewise. 716 + * m10200-dis.c: Likewise. 717 + * m10300-dis.c: Likewise. 718 + * micromips-opc.c: Likewise. 719 + * mips-opc.c: Likewise. 720 + * mips61-opc.c: Likewise. 721 + * moxie-dis.c: Likewise. 722 + * or32-opc.c: Likewise. 723 + * pj-dis.c: Likewise. 724 + * ppc-dis.c: Likewise. 725 + * ppc-opc.c: Likewise. 726 + * s390-dis.c: Likewise. 727 + * sh-dis.c: Likewise. 728 + * sh64-dis.c: Likewise. 729 + * sparc-dis.c: Likewise. 730 + * sparc-opc.c: Likewise. 731 + * spu-dis.c: Likewise. 732 + * tic30-dis.c: Likewise. 733 + * tic54x-dis.c: Likewise. 734 + * tic80-dis.c: Likewise. 735 + * tic80-opc.c: Likewise. 736 + * tilegx-dis.c: Likewise. 737 + * tilepro-dis.c: Likewise. 738 + * v850-dis.c: Likewise. 739 + * v850-opc.c: Likewise. 740 + * vax-dis.c: Likewise. 741 + * w65-dis.c: Likewise. 742 + * xgate-dis.c: Likewise. 743 + * xtensa-dis.c: Likewise. 744 + * rl78-decode.opc: Likewise. 745 + * rl78-decode.c: Regenerate. 746 + * rx-decode.opc: Likewise. 747 + * rx-decode.c: Regenerate. 748 + 749 + 2012-05-17 Alan Modra <amodra@gmail.com> 750 + 751 + * ppc_dis.c: Don't include elf/ppc.h. 752 + 753 + 2012-05-16 Meador Inge <meadori@codesourcery.com> 754 + 755 + * arm-dis.c (arm_opcodes): Don't disassemble STMFD/LDMIA sp!, {reg} 756 + to PUSH/POP {reg}. 757 + 758 + 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk> 759 + Stephane Carrez <stcarrez@nerim.fr> 760 + 761 + * configure.in: Add S12X and XGATE co-processor support to m68hc11 762 + target. 763 + * disassemble.c: Likewise. 764 + * configure: Regenerate. 765 + * m68hc11-dis.c: Make objdump output more consistent, use hex 766 + instead of decimal and use 0x prefix for hex. 767 + * m68hc11-opc.c: Add S12X and XGATE opcodes. 768 + 769 + 2012-05-14 James Lemke <jwlemke@codesourcery.com> 770 + 771 + * ppc-dis.c (get_powerpc_dialect): Use is_ppc_vle. 772 + (PPC_OPCD_SEGS, VLE_OPCD_SEGS): New defines. 773 + (vle_opcd_indices): New array. 774 + (lookup_vle): New function. 775 + (disassemble_init_powerpc): Revise for second (VLE) opcode table. 776 + (print_insn_powerpc): Likewise. 777 + * ppc-opc.c: Likewise. 778 + 779 + 2012-05-14 Catherine Moore <clm@codesourcery.com> 780 + Maciej W. Rozycki <macro@codesourcery.com> 781 + Rhonda Wittels <rhonda@codesourcery.com> 782 + Nathan Froyd <froydnj@codesourcery.com> 783 + 784 + * ppc-opc.c (insert_arx, extract_arx): New functions. 785 + (insert_ary, extract_ary): New functions. 786 + (insert_li20, extract_li20): New functions. 787 + (insert_rx, extract_rx): New functions. 788 + (insert_ry, extract_ry): New functions. 789 + (insert_sci8, extract_sci8): New functions. 790 + (insert_sci8n, extract_sci8n): New functions. 791 + (insert_sd4h, extract_sd4h): New functions. 792 + (insert_sd4w, extract_sd4w): New functions. 793 + (insert_vlesi, extract_vlesi): New functions. 794 + (insert_vlensi, extract_vlensi): New functions. 795 + (insert_vleui, extract_vleui): New functions. 796 + (insert_vleil, extract_vleil): New functions. 797 + (BI_MASK, BB_MASK, BT): Use PPC_OPERAND_CR_BIT. 798 + (BI16, BI32, BO32, B8): New. 799 + (B15, B24, CRD32, CRS): New. 800 + (CRD, OBF, BFA, CR, CRFS): Use PPC_OPERAND_CR_REG. 801 + (DB, IMM20, RD, Rx, ARX, RY, RZ): New. 802 + (ARY, SCLSCI8, SCLSCI8N, SE_SD, SE_SDH): New. 803 + (SH6_MASK): Use PPC_OPSHIFT_INV. 804 + (SI8, UI5, OIMM5, UI7, BO16): New. 805 + (VLESIMM, VLENSIMM, VLEUIMM, VLEUIMML): New. 806 + (XT6, XA6, XB6, XB6S, XC6): Use PPC_OPSHIFT_INV. 807 + (ALLOW8_SPRG): New. 808 + (insert_sprg, extract_sprg): Check ALLOW8_SPRG. 809 + (OPVUP, OPVUP_MASK OPVUP): New 810 + (BD8, BD8_MASK, BD8IO, BD8IO_MASK): New. 811 + (EBD8IO, EBD8IO1_MASK, EBD8IO2_MASK, EBD8IO3_MASK): New. 812 + (BD15, BD15_MASK, EBD15, EBD15_MASK, EBD15BI, EBD15BI_MASK): New. 813 + (BD24,BD24_MASK, C_LK, C_LK_MASK, C, C_MASK): New. 814 + (IA16, IA16_MASK, I16A, I16A_MASK, I16L, I16L_MASK): New. 815 + (IM7, IM7_MASK, LI20, LI20_MASK, SCI8, SCI8_MASK): New. 816 + (SCI8BF, SCI8BF_MASK, SD4, SD4_MASK): New. 817 + (SE_IM5, SE_IM5_MASK): New. 818 + (SE_R, SE_R_MASK, SE_RR, SE_RR_MASK): New. 819 + (EX, EX_MASK, BO16F, BO16T, BO32F, BO32T): New. 820 + (BO32DNZ, BO32DZ): New. 821 + (NO371, PPCSPE, PPCISEL, PPCEFS, MULHW): Include PPC_OPCODE_VLE. 822 + (PPCVLE): New. 823 + (powerpc_opcodes): Add new VLE instructions. Update existing 824 + instruction to include PPCVLE if supported. 825 + * ppc-dis.c (ppc_opts): Add vle entry. 826 + (get_powerpc_dialect): New function. 827 + (powerpc_init_dialect): VLE support. 828 + (print_insn_big_powerpc): Call get_powerpc_dialect. 829 + (print_insn_little_powerpc): Likewise. 830 + (operand_value_powerpc): Handle negative shift counts. 831 + (print_insn_powerpc): Handle 2-byte instruction lengths. 832 + 833 + 2012-05-11 Daniel Richard G. <skunk@iskunk.org> 834 + 835 + PR binutils/14028 836 + * configure.in: Invoke ACX_HEADER_STRING. 837 + * configure: Regenerate. 838 + * config.in: Regenerate. 839 + * sysdep.h: If STRINGS_WITH_STRING is defined then include both 840 + string.h and strings.h. 841 + 842 + 2012-05-11 Nick Clifton <nickc@redhat.com> 843 + 844 + PR binutils/14006 845 + * arm-dis.c (print_insn): Fix detection of instruction mode in 846 + files containing multiple executable sections. 847 + 848 + 2012-05-03 Sean Keys <skeys@ipdatasys.com> 849 + 850 + * Makefile.in, configure: regenerate 851 + * disassemble.c (disassembler): Recognize ARCH_XGATE. 852 + * xgate-dis.c (read_memory, print_insn, print_insn_xgate): 853 + New functions. 854 + * configure.in: Recognize xgate. 855 + * xgate-dis.c, xgate-opc.c: New files for support of xgate 856 + * Makefile.am (CFILES, ALL_MACHINES): New files for disassembly 857 + and opcode generation for xgate. 858 + 859 + 2012-04-30 DJ Delorie <dj@redhat.com> 860 + 861 + * rx-decode.opc (MOV): Do not sign-extend immediates which are 862 + already the maximum bit size. 863 + * rx-decode.c: Regenerate. 864 + 865 + 2012-04-27 David S. Miller <davem@davemloft.net> 866 + 867 + * sparc-dis.c (v9a_asr_reg_names): Add 'cfr'. 868 + * sparc-opc.c (sparc_opcodes): Add rd/wr cases for %cfr. 869 + 870 + * sparc-opc.c (sparc_opcodes): Add 'wr X, %pause' and 'pause'. 871 + * sparc-dis.c (v9a_asr_reg_names): Add 'pause'. 872 + 873 + * sparc-opc.c (CBCOND): New define. 874 + (CBCOND_XCC): Likewise. 875 + (cbcond): New helper macro. 876 + (sparc_opcodes): Add compare-and-branch instructions. 877 + 878 + * sparc-dis.c (print_insn_sparc): Handle ')'. 879 + * sparc-opc.c (sparc_opcodes): Add crypto instructions. 880 + 881 + * sparc-opc.c (sparc_opcodes): Rework table to put HWCAP values 882 + into new struct sparc_opcode 'hwcaps' field instead of 'flags'. 883 + 884 + 2012-04-12 David S. Miller <davem@davemloft.net> 885 + 886 + * sparc-dis.c (X_DISP10): Define. 887 + (print_insn_sparc): Handle '='. 888 + 889 + 2012-04-01 Mike Frysinger <vapier@gentoo.org> 890 + 891 + * bfin-dis.c (fmtconst): Replace decimal handling with a single 892 + sprintf call and the '*' field width. 893 + 894 + 2012-03-23 Maxim Kuvyrkov <maxim@codesourcery.com> 895 + 896 + * mips-dis.c (mips_arch_choices): Add entry for Broadcom XLP. 897 + 898 + 2012-03-16 Alan Modra <amodra@gmail.com> 899 + 900 + * ppc-dis.c (PPC_OPC_SEGS, PPC_OP_TO_SEG): Delete. 901 + (powerpc_opcd_indices): Bump array size. 902 + (disassemble_init_powerpc): Set powerpc_opcd_indices entries 903 + corresponding to unused opcodes to following entry. 904 + (lookup_powerpc): New function, extracted and optimised from.. 905 + (print_insn_powerpc): ..here. 906 + 907 + 2012-03-15 Alan Modra <amodra@gmail.com> 908 + James Lemke <jwlemke@codesourcery.com> 909 + 910 + * disassemble.c (disassemble_init_for_target): Handle ppc init. 911 + * ppc-dis.c (private): New var. 912 + (powerpc_init_dialect): Don't return calloc failure, instead use 913 + private. 914 + (PPC_OPCD_SEGS, PPC_OP_TO_SEG): Define. 915 + (powerpc_opcd_indices): New array. 916 + (disassemble_init_powerpc): New function. 917 + (print_insn_big_powerpc): Don't init dialect here. 918 + (print_insn_little_powerpc): Likewise. 919 + (print_insn_powerpc): Start search using powerpc_opcd_indices. 920 + 921 + 2012-03-10 Edmar Wienskoski <edmar@freescale.com> 922 + 923 + * ppc-dis.c (ppc_opts): Add entries for "e5500" and "e6500". 924 + * ppc-opc.c (insert_ls, TMR, ESYNC, XSYNCLE_MASK): New. 925 + (PPCVEC2, PPCTMR, E6500): New short names. 926 + (powerpc_opcodes): Add vabsdub, vabsduh, vabsduw, dni, mvidsplt, 927 + mviwsplt, icblq., mftmr, mttmr, dcblq., miso, lvexbx, lvexhx, 928 + lvexwx, stvexbx, stvexhx, stvexwx, lvepx, lvepxl, stvepx, stvepxl, 929 + lvtrx, lvtrxl, lvtlx, lvtlxl, stvfrx, stvfrxl, stvflx, stvflxl, 930 + lvswx, lvswxl, stvswx, stvswxl, lvsm mnemonics. Accept LS, ESYNC 931 + optional operands on sync instruction for E6500 target. 932 + 933 + 2012-03-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 934 + 935 + * s390-opc.txt: Set instruction type of pku to SS_L2RDRD. 936 + 937 + 2012-02-27 Alan Modra <amodra@gmail.com> 938 + 939 + * mt-dis.c: Regenerate. 940 + 941 + 2012-02-27 Alan Modra <amodra@gmail.com> 942 + 943 + * v850-opc.c (extract_v8): Rearrange to make it obvious this 944 + is the inverse of corresponding insert function. 945 + (extract_d22, extract_u9, extract_r4): Likewise. 946 + (extract_d9): Correct sign extension. 947 + (extract_d16_15): Don't assume "long" is 32 bits, and don't 948 + rely on implementation defined behaviour for shift right of 949 + signed types. 950 + (extract_d16_16, extract_d17_16, extract_i9): Likewise. 951 + (extract_d23): Likewise, and correct mask. 952 + 953 + 2012-02-27 Alan Modra <amodra@gmail.com> 954 + 955 + * crx-dis.c (print_arg): Mask constant to 32 bits. 956 + * crx-opc.c (cst4_map): Use int array. 957 + 958 + 2012-02-27 Alan Modra <amodra@gmail.com> 959 + 960 + * arc-dis.c (BITS): Don't use shifts to mask off bits. 961 + (FIELDD): Sign extend with xor,sub. 962 + 963 + 2012-02-25 Walter Lee <walt@tilera.com> 964 + 965 + * tilegx-opc.c: Handle TILEGX_OPC_LD4S_TLS and TILEGX_OPC_LD_TLS. 966 + * tilepro-opc.c: Handle TILEPRO_OPC_LW_TLS and 967 + TILEPRO_OPC_LW_TLS_SN. 968 + 969 + 2012-02-21 H.J. Lu <hongjiu.lu@intel.com> 970 + 971 + * i386-opc.h (HLEPrefixNone): New. 972 + (HLEPrefixLock): Likewise. 973 + (HLEPrefixAny): Likewise. 974 + (HLEPrefixRelease): Likewise. 975 + 976 + 2012-02-08 H.J. Lu <hongjiu.lu@intel.com> 977 + 978 + * i386-dis.c (HLE_Fixup1): New. 979 + (HLE_Fixup2): Likewise. 980 + (HLE_Fixup3): Likewise. 981 + (Ebh1): Likewise. 982 + (Evh1): Likewise. 983 + (Ebh2): Likewise. 984 + (Evh2): Likewise. 985 + (Ebh3): Likewise. 986 + (Evh3): Likewise. 987 + (MOD_C6_REG_7): Likewise. 988 + (MOD_C7_REG_7): Likewise. 989 + (RM_C6_REG_7): Likewise. 990 + (RM_C7_REG_7): Likewise. 991 + (XACQUIRE_PREFIX): Likewise. 992 + (XRELEASE_PREFIX): Likewise. 993 + (dis386): Use Ebh1/Evh1 on add, adc, and, btc, btr, bts, 994 + cmpxchg, dec, inc, neg, not, or, sbb, sub, xor and xadd. Use 995 + Ebh2/Evh2 on xchg. Use Ebh3/Evh3 on mov. 996 + (reg_table): Use Ebh1/Evh1 on add, adc, and, dec, inc, neg, 997 + not, or, sbb, sub and xor. Use Ebh3/Evh3 on mov. Use 998 + MOD_C6_REG_7 and MOD_C7_REG_7. 999 + (mod_table): Add MOD_C6_REG_7 and MOD_C7_REG_7. 1000 + (rm_table): Add RM_C6_REG_7 and RM_C7_REG_7. Add xend and 1001 + xtest. 1002 + (prefix_name): Handle XACQUIRE_PREFIX and XRELEASE_PREFIX. 1003 + (CMPXCHG8B_Fixup): Handle HLE prefix on cmpxchg8b. 1004 + 1005 + * i386-gen.c (cpu_flag_init): Add CPU_HLE_FLAGS and 1006 + CPU_RTM_FLAGS. 1007 + (cpu_flags): Add CpuHLE and CpuRTM. 1008 + (opcode_modifiers): Add HLEPrefixOk. 1009 + 1010 + * i386-opc.h (CpuHLE): New. 1011 + (CpuRTM): Likewise. 1012 + (HLEPrefixOk): Likewise. 1013 + (i386_cpu_flags): Add cpuhle and cpurtm. 1014 + (i386_opcode_modifier): Add hleprefixok. 1015 + 1016 + * i386-opc.tbl: Add HLEPrefixOk=3 to mov. Add HLEPrefixOk to 1017 + add, adc, and, btc, btr, bts, cmpxchg, dec, inc, neg, not, or, 1018 + sbb, sub, xor and xadd. Add HLEPrefixOk=2 to xchg with memory 1019 + operand. Add xacquire, xrelease, xabort, xbegin, xend and 1020 + xtest. 1021 + * i386-init.h: Regenerated. 1022 + * i386-tbl.h: Likewise. 1023 + 1024 + 2012-01-24 DJ Delorie <dj@redhat.com> 1025 + 1026 + * rl78-decode.opc (rl78_decode_opcode): Add NOT1. 1027 + * rl78-decode.c: Regenerate. 1028 + 1029 + 2012-01-17 James Murray <jsm@jsm-net.demon.co.uk> 1030 + 1031 + PR binutils/10173 1032 + * cr16-dis.c (print_arg): Test symtab_size not num_symbols. 1033 + 1034 + 2012-01-17 Andreas Schwab <schwab@linux-m68k.org> 1035 + 1036 + * m68k-opc.c (m68k_opcodes): Fix entries for pmove with BADx/BACx 1037 + register and move them after pmove with PSR/PCSR register. 1038 + 1039 + 2012-01-13 H.J. Lu <hongjiu.lu@intel.com> 1040 + 1041 + * i386-dis.c (mod_table): Add vmfunc. 1042 + 1043 + * i386-gen.c (cpu_flag_init): Add CPU_VMFUNC_FLAGS. 1044 + (cpu_flags): CpuVMFUNC. 1045 + 1046 + * i386-opc.h (CpuVMFUNC): New. 1047 + (i386_cpu_flags): Add cpuvmfunc. 1048 + 1049 + * i386-opc.tbl: Add vmfunc. 1050 + * i386-init.h: Regenerated. 1051 + * i386-tbl.h: Likewise. 1052 + 1053 + For older changes see ChangeLog-2011 1054 + 1055 + Copyright (C) 2012 Free Software Foundation, Inc. 1056 + 1057 + Copying and distribution of this file, with or without modification, 1058 + are permitted in any medium without royalty provided the copyright 1059 + notice and this notice are preserved. 1060 + 1061 + Local Variables: 1062 + mode: change-log 1063 + left-margin: 8 1064 + fill-column: 74 1065 + version-control: never 1066 + End:
+67 -59
opcodes/cr16-dis.c
··· 1 1 /* Disassembler code for CR16. 2 - Copyright 2007, 2008, 2009, 2012 Free Software Foundation, Inc. 2 + Copyright 2007, 2008, 2009, 2012, 2013 Free Software Foundation, Inc. 3 3 Contributed by M R Swami Reddy (MR.Swami.Reddy@nsc.com). 4 4 5 5 This file is part of GAS, GDB and the GNU binutils. ··· 35 35 36 36 /* Set Bit Mask - a mask to set all bits starting from offset 'offs'. */ 37 37 #define SBM(offs) ((((1 << (32 - offs)) -1) << (offs))) 38 - 39 - typedef unsigned long dwordU; 40 - typedef unsigned short wordU; 41 38 42 39 typedef struct 43 40 { ··· 83 80 /* Current opcode table entry we're disassembling. */ 84 81 const inst *instruction; 85 82 /* Current instruction we're disassembling. */ 86 - ins currInsn; 83 + ins cr16_currInsn; 87 84 /* The current instruction is read into 3 consecutive words. */ 88 - wordU words[3]; 85 + wordU cr16_words[3]; 89 86 /* Contains all words in appropriate order. */ 90 - ULONGLONG allWords; 87 + ULONGLONG cr16_allWords; 91 88 /* Holds the current processed argument number. */ 92 89 int processing_argument_number; 93 90 /* Nonzero means a IMM4 instruction. */ ··· 281 278 return "ILLEGAL REGISTER"; 282 279 } 283 280 284 - /* START and END are relating 'allWords' struct, which is 48 bits size. 281 + /* START and END are relating 'cr16_allWords' struct, which is 48 bits size. 285 282 286 283 START|--------|END 287 284 +---------+---------+---------+---------+ ··· 317 314 318 315 /* Search for a matching opcode. Return 1 for success, 0 for failure. */ 319 316 320 - static int 317 + int 321 318 match_opcode (void) 322 319 { 323 320 unsigned long mask; 324 321 /* The instruction 'constant' opcode doewsn't exceed 32 bits. */ 325 - unsigned long doubleWord = (words[1] + (words[0] << 16)) & 0xffffffff; 322 + unsigned long doubleWord = (cr16_words[1] 323 + + (cr16_words[0] << 16)) & 0xffffffff; 326 324 327 325 /* Start searching from end of instruction table. */ 328 326 instruction = &cr16_instruction[NUMOPCODES - 2]; ··· 360 358 switch (a->type) 361 359 { 362 360 case arg_r: 363 - p = makelongparameter (allWords, inst_bit_size - (start_bits + a->size), 364 - inst_bit_size - start_bits); 361 + p = makelongparameter (cr16_allWords, 362 + inst_bit_size - (start_bits + a->size), 363 + inst_bit_size - start_bits); 365 364 a->r = p.val; 366 365 break; 367 366 368 367 case arg_rp: 369 - p = makelongparameter (allWords, inst_bit_size - (start_bits + a->size), 370 - inst_bit_size - start_bits); 368 + p = makelongparameter (cr16_allWords, 369 + inst_bit_size - (start_bits + a->size), 370 + inst_bit_size - start_bits); 371 371 a->rp = p.val; 372 372 break; 373 373 374 374 case arg_pr: 375 - p = makelongparameter (allWords, inst_bit_size - (start_bits + a->size), 376 - inst_bit_size - start_bits); 375 + p = makelongparameter (cr16_allWords, 376 + inst_bit_size - (start_bits + a->size), 377 + inst_bit_size - start_bits); 377 378 a->pr = p.val; 378 379 break; 379 380 380 381 case arg_prp: 381 - p = makelongparameter (allWords, inst_bit_size - (start_bits + a->size), 382 - inst_bit_size - start_bits); 382 + p = makelongparameter (cr16_allWords, 383 + inst_bit_size - (start_bits + a->size), 384 + inst_bit_size - start_bits); 383 385 a->prp = p.val; 384 386 break; 385 387 386 388 case arg_ic: 387 - p = makelongparameter (allWords, inst_bit_size - (start_bits + a->size), 388 - inst_bit_size - start_bits); 389 + p = makelongparameter (cr16_allWords, 390 + inst_bit_size - (start_bits + a->size), 391 + inst_bit_size - start_bits); 389 392 a->constant = p.val; 390 393 break; 391 394 392 395 case arg_cc: 393 - p = makelongparameter (allWords, inst_bit_size - (start_bits + a->size), 394 - inst_bit_size - start_bits); 396 + p = makelongparameter (cr16_allWords, 397 + inst_bit_size - (start_bits + a->size), 398 + inst_bit_size - start_bits); 395 399 396 400 a->cc = p.val; 397 401 break; ··· 400 404 if ((IS_INSN_MNEMONIC ("cbitb")) 401 405 || (IS_INSN_MNEMONIC ("sbitb")) 402 406 || (IS_INSN_MNEMONIC ("tbitb"))) 403 - p = makelongparameter (allWords, 8, 9); 407 + p = makelongparameter (cr16_allWords, 8, 9); 404 408 else 405 - p = makelongparameter (allWords, 9, 10); 409 + p = makelongparameter (cr16_allWords, 9, 10); 406 410 a->i_r = p.val; 407 - p = makelongparameter (allWords, inst_bit_size - a->size, inst_bit_size); 411 + p = makelongparameter (cr16_allWords, 412 + inst_bit_size - a->size, inst_bit_size); 408 413 a->constant = p.val; 409 414 break; 410 415 411 416 case arg_idxrp: 412 - p = makelongparameter (allWords, start_bits + 12, start_bits + 13); 417 + p = makelongparameter (cr16_allWords, start_bits + 12, start_bits + 13); 413 418 a->i_r = p.val; 414 - p = makelongparameter (allWords, start_bits + 13, start_bits + 16); 419 + p = makelongparameter (cr16_allWords, start_bits + 13, start_bits + 16); 415 420 a->rp = p.val; 416 421 if (inst_bit_size > 32) 417 422 { 418 - p = makelongparameter (allWords, inst_bit_size - start_bits - 12, 423 + p = makelongparameter (cr16_allWords, inst_bit_size - start_bits - 12, 419 424 inst_bit_size); 420 425 a->constant = ((p.val & 0xffff) | (p.val >> 8 & 0xf0000)); 421 426 } 422 427 else if (instruction->size == 2) 423 428 { 424 - p = makelongparameter (allWords, inst_bit_size - 22, inst_bit_size); 429 + p = makelongparameter (cr16_allWords, inst_bit_size - 22, 430 + inst_bit_size); 425 431 a->constant = (p.val & 0xf) | (((p.val >>20) & 0x3) << 4) 426 432 | ((p.val >>14 & 0x3) << 6) | (((p.val >>7) & 0x1f) <<7); 427 433 } ··· 431 437 break; 432 438 433 439 case arg_rbase: 434 - p = makelongparameter (allWords, inst_bit_size, inst_bit_size); 440 + p = makelongparameter (cr16_allWords, inst_bit_size, inst_bit_size); 435 441 a->constant = p.val; 436 - p = makelongparameter (allWords, inst_bit_size - (start_bits + 4), 442 + p = makelongparameter (cr16_allWords, inst_bit_size - (start_bits + 4), 437 443 inst_bit_size - start_bits); 438 444 a->r = p.val; 439 445 break; 440 446 441 447 case arg_cr: 442 - p = makelongparameter (allWords, start_bits + 12, start_bits + 16); 448 + p = makelongparameter (cr16_allWords, start_bits + 12, start_bits + 16); 443 449 a->r = p.val; 444 - p = makelongparameter (allWords, inst_bit_size - 16, inst_bit_size); 450 + p = makelongparameter (cr16_allWords, inst_bit_size - 16, inst_bit_size); 445 451 a->constant = p.val; 446 452 break; 447 453 448 454 case arg_crp: 449 455 if (instruction->size == 1) 450 - p = makelongparameter (allWords, 12, 16); 456 + p = makelongparameter (cr16_allWords, 12, 16); 451 457 else 452 - p = makelongparameter (allWords, start_bits + 12, start_bits + 16); 458 + p = makelongparameter (cr16_allWords, start_bits + 12, start_bits + 16); 453 459 a->rp = p.val; 454 460 455 461 if (inst_bit_size > 32) 456 462 { 457 - p = makelongparameter (allWords, inst_bit_size - start_bits - 12, 463 + p = makelongparameter (cr16_allWords, inst_bit_size - start_bits - 12, 458 464 inst_bit_size); 459 465 a->constant = ((p.val & 0xffff) | (p.val >> 8 & 0xf0000)); 460 466 } 461 467 else if (instruction->size == 2) 462 468 { 463 - p = makelongparameter (allWords, inst_bit_size - 16, inst_bit_size); 469 + p = makelongparameter (cr16_allWords, inst_bit_size - 16, 470 + inst_bit_size); 464 471 a->constant = p.val; 465 472 } 466 473 else if (instruction->size == 1 && a->size != 0) 467 474 { 468 - p = makelongparameter (allWords, 4, 8); 475 + p = makelongparameter (cr16_allWords, 4, 8); 469 476 if (IS_INSN_MNEMONIC ("loadw") 470 477 || IS_INSN_MNEMONIC ("loadd") 471 478 || IS_INSN_MNEMONIC ("storw") ··· 489 496 switch (a->size) 490 497 { 491 498 case 8 : 492 - p = makelongparameter (allWords, 0, start_bits); 499 + p = makelongparameter (cr16_allWords, 0, start_bits); 493 500 a->constant = ((((p.val&0xf00)>>4)) | (p.val&0xf)); 494 501 break; 495 502 496 503 case 24: 497 504 if (instruction->size == 3) 498 505 { 499 - p = makelongparameter (allWords, 16, inst_bit_size); 506 + p = makelongparameter (cr16_allWords, 16, inst_bit_size); 500 507 a->constant = ((((p.val>>16)&0xf) << 20) 501 508 | (((p.val>>24)&0xf) << 16) 502 509 | (p.val & 0xffff)); 503 510 } 504 511 else if (instruction->size == 2) 505 512 { 506 - p = makelongparameter (allWords, 8, inst_bit_size); 513 + p = makelongparameter (cr16_allWords, 8, inst_bit_size); 507 514 a->constant = p.val; 508 515 } 509 516 break; 510 517 511 518 default: 512 - p = makelongparameter (allWords, inst_bit_size - (start_bits + 513 - a->size), inst_bit_size - start_bits); 519 + p = makelongparameter (cr16_allWords, 520 + inst_bit_size - (start_bits + a->size), 521 + inst_bit_size - start_bits); 514 522 a->constant = p.val; 515 523 break; 516 524 } 517 525 } 518 526 else 519 527 { 520 - p = makelongparameter (allWords, inst_bit_size - 521 - (start_bits + a->size), 528 + p = makelongparameter (cr16_allWords, 529 + inst_bit_size - (start_bits + a->size), 522 530 inst_bit_size - start_bits); 523 531 a->constant = p.val; 524 532 } ··· 734 742 735 743 /* Build the instruction's arguments. */ 736 744 737 - static void 745 + void 738 746 make_instruction (void) 739 747 { 740 748 int i; 741 749 unsigned int shift; 742 750 743 - for (i = 0; i < currInsn.nargs; i++) 751 + for (i = 0; i < cr16_currInsn.nargs; i++) 744 752 { 745 753 argument a; 746 754 ··· 750 758 shift = instruction->operands[i].shift; 751 759 752 760 make_argument (&a, shift); 753 - currInsn.arg[i] = a; 761 + cr16_currInsn.arg[i] = a; 754 762 } 755 763 756 764 /* Calculate instruction size (in bytes). */ 757 - currInsn.size = instruction->size + (size_changed ? 1 : 0); 765 + cr16_currInsn.size = instruction->size + (size_changed ? 1 : 0); 758 766 /* Now in bits. */ 759 - currInsn.size *= 2; 767 + cr16_currInsn.size *= 2; 760 768 } 761 769 762 770 /* Retrieve a single word from a given memory address. */ ··· 785 793 bfd_vma mem; 786 794 787 795 for (i = 0, mem = memaddr; i < 3; i++, mem += 2) 788 - words[i] = get_word_at_PC (mem, info); 796 + cr16_words[i] = get_word_at_PC (mem, info); 789 797 790 - allWords = 791 - ((ULONGLONG) words[0] << 32) + ((unsigned long) words[1] << 16) + words[2]; 798 + cr16_allWords = ((ULONGLONG) cr16_words[0] << 32) 799 + + ((unsigned long) cr16_words[1] << 16) + cr16_words[2]; 792 800 } 793 801 794 802 /* Prints the instruction by calling print_arguments after proper matching. */ ··· 807 815 /* Find a matching opcode in table. */ 808 816 is_decoded = match_opcode (); 809 817 /* If found, print the instruction's mnemonic and arguments. */ 810 - if (is_decoded > 0 && (words[0] << 16 || words[1]) != 0) 818 + if (is_decoded > 0 && (cr16_words[0] << 16 || cr16_words[1]) != 0) 811 819 { 812 820 if (strneq (instruction->mnemonic, "cinv", 4)) 813 821 info->fprintf_func (info->stream,"%s", getcinvstring (instruction->mnemonic)); 814 822 else 815 823 info->fprintf_func (info->stream, "%s", instruction->mnemonic); 816 824 817 - if (((currInsn.nargs = get_number_of_operands ()) != 0) 825 + if (((cr16_currInsn.nargs = get_number_of_operands ()) != 0) 818 826 && ! (IS_INSN_MNEMONIC ("b"))) 819 827 info->fprintf_func (info->stream, "\t"); 820 828 make_instruction (); 821 829 /* For push/pop/pushrtn with RA instructions. */ 822 - if ((INST_HAS_REG_LIST) && ((words[0] >> 7) & 0x1)) 823 - currInsn.nargs +=1; 824 - print_arguments (&currInsn, memaddr, info); 825 - return currInsn.size; 830 + if ((INST_HAS_REG_LIST) && ((cr16_words[0] >> 7) & 0x1)) 831 + cr16_currInsn.nargs +=1; 832 + print_arguments (&cr16_currInsn, memaddr, info); 833 + return cr16_currInsn.size; 826 834 } 827 835 828 836 /* No match found. */