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