1 1.1 christos 2007-12-31 H.J. Lu <hongjiu.lu (a] intel.com> 2 1.1 christos 3 1.1 christos PR ld/5530 4 1.1 christos * elfxx-ia64.c (elfNN_ia64_relocate_section): Call 5 1.1 christos _bfd_elf_find_segment_containing_section with output_bfd, 6 1.1 christos instead of input_bfd. 7 1.1 christos 8 1.1 christos 2007-12-31 Nick Clifton <nickc (a] redhat.com> 9 1.1 christos 10 1.1 christos * elf-m10300.c (mn10300_elf_relax_section): Use 11 1.1 christos _bfd_merged_section_offset to compute the offset of a symbol in a 12 1.1 christos merged section. 13 1.1 christos 14 1.1 christos 2007-12-31 Nick Clifton <nickc (a] redhat.com> 15 1.1 christos 16 1.1 christos * elf.c (_bfd_elf_find_segment_containing_section): New function: 17 1.1 christos Scan the segment map looking for the segment containing a 18 1.1 christos specified function. 19 1.1 christos * elf-bfd.h: Prototype the new function. 20 1.1 christos * elf-hppa.h (elf_hppa_osec_to_segment): Delete. 21 1.1 christos (elf_hppa_record_segment_addrs): Use new function. 22 1.1 christos * elf32-bfin.c (_bfdfdpic_osec_to_segment): Use new function. 23 1.1 christos * elf32-frv.c (_frvfdpic_osec_to_segment): Use new function. 24 1.1 christos * elf32-hppa.c (hppa_record_segment_addr): Use new function. 25 1.1 christos * elfxx-ia64.c (elfNN_ia64_relocate_section): Use new function. 26 1.1 christos 27 1.1 christos 2007-12-28 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca> 28 1.1 christos 29 1.1 christos PR binutils/5146 30 1.1 christos * elf64-hppa.c: Declare alloca when __GNUC__ is defined. 31 1.1 christos * som.c: Likewise. 32 1.1 christos 33 1.1 christos * elf-hppa.h (elf_hppa_osec_to_segment): New function. 34 1.1 christos (elf_hppa_record_segment_addrs): Use elf_hppa_osec_to_segment. 35 1.1 christos Remove ATTRIBUTE_UNUSED from abfd argument. 36 1.1 christos * elf32-hppa.c (hppa_record_segment_addr): Likewise. 37 1.1 christos 38 1.1 christos 2007-12-28 Nick Hudson <nick.hudson (a] dsl.pipex.com> 39 1.1 christos 40 1.1 christos * elf32-hppa.c (hppa_record_segment_addr): Locate the segment 41 1.1 christos containing the section using the segment map, rather than guessing 42 1.1 christos based upon the section's vma and file position. 43 1.1 christos 44 1.1 christos 2007-12-24 H.J. Lu <hongjiu.lu (a] intel.com> 45 1.1 christos 46 1.1 christos PR binutils/5488 47 1.1 christos * elf.c (IS_NOTE): New. 48 1.1 christos (IS_COREFILE_NOTE): Use IS_NOTE. 49 1.1 christos (IS_SECTION_IN_INPUT_SEGMENT): Use IS_NOTE instead of 50 1.1 christos IS_COREFILE_NOTE. 51 1.1 christos 52 1.1 christos 2007-12-24 H.J. Lu <hongjiu.lu (a] intel.com> 53 1.1 christos 54 1.1 christos PR binutils/5449 55 1.1 christos * elf.c (rewrite_elf_program_header): Don't adjust p_paddr if 56 1.1 christos p_paddr is set to 0. 57 1.1 christos (copy_private_bfd_data): Call rewrite_elf_program_header if 58 1.1 christos p_paddr is set to 0. 59 1.1 christos 60 1.1 christos * elfcode.h (elf_swap_phdr_out): Set p_paddr to 0 if needed. 61 1.1 christos 62 1.1 christos * elfxx-ia64.c (ELF_MAXPAGESIZE): Don't redefine it for HPUX. 63 1.1 christos 64 1.1 christos 2007-12-21 Bob Wilson <bob.wilson (a] acm.org> 65 1.1 christos 66 1.1 christos * elf32-xtensa.c (relax_section): Update DIFF relocations in the 67 1.1 christos same way as other relocations. 68 1.1 christos 69 1.1 christos 2007-12-18 Daniel Jacobowitz <dan (a] codesourcery.com> 70 1.1 christos 71 1.1 christos * section.c (BFD_FAKE_SECTION): Update. 72 1.1 christos * bfd-in2.h: Regenerate. 73 1.1 christos 74 1.1 christos 2007-12-18 Daniel Jacobowitz <dan (a] codesourcery.com> 75 1.1 christos 76 1.1 christos * bfd-in2.h: Regenerate. 77 1.1 christos 78 1.1 christos 2007-12-17 Pedro Alves <pedro_alves (a] portugalmail.pt> 79 1.1 christos 80 1.1 christos * config.bfd: Add arm-*-mingw32ce* target. 81 1.1 christos 82 1.1 christos 2007-12-15 Richard Sandiford <rsandifo (a] nildram.co.uk> 83 1.1 christos 84 1.1 christos * elf-bfd.h (eh_cie_fde): Replace u.cie.merged with a union of 85 1.1 christos a merged field and a sec field. 86 1.1 christos (eh_frame_hdr_info): Remove offsets_adjusted. 87 1.1 christos * elf-eh-frame.c (_bfd_elf_parse_eh_frame): Update accesses to 88 1.1 christos the CIE merged field. 89 1.1 christos (_bfd_elf_gc_mark_fdes): Likewise. 90 1.1 christos (_bfd_elf_discard_section_eh_frame): Likewise. Set u.cie.u.sec 91 1.1 christos when clearing the removed flag. 92 1.1 christos (_bfd_elf_eh_frame_section_offset): Remove offsets_adjusted handling. 93 1.1 christos (_bfd_elf_write_section_eh_frame): Likewise. Apply output_offsets 94 1.1 christos where appropriate. 95 1.1 christos 96 1.1 christos 2007-12-15 Richard Sandiford <rsandifo (a] nildram.co.uk> 97 1.1 christos 98 1.1 christos * elf-bfd.h (eh_cie_fde): Move add_fde_encoding and 99 1.1 christos per_encoding_relative to u.cie. Add commentary. 100 1.1 christos * elf-eh-frame.c (cie): Remove make_relative. 101 1.1 christos (extra_augmentation_string_bytes): Update use of add_fde_encoding. 102 1.1 christos (extra_augmentation_data_bytes): Likewise. Use an FDE's own 103 1.1 christos add_augmentation_size field, rather than referring to the CIE. 104 1.1 christos (_bfd_elf_parse_eh_frame): Don't set the struct cie 105 1.1 christos make_relative field; set the eh_cie_fde field directly. 106 1.1 christos Update setting of add_fde_encoding and per_encoding_relative. 107 1.1 christos Copy make_relative and add_augmentation_size from the CIE 108 1.1 christos to the FDE. 109 1.1 christos (_bfd_elf_discard_section_eh_frame): Use the FDE's own 110 1.1 christos make_relative field. 111 1.1 christos (_bfd_elf_eh_frame_section_offset): Likewise. 112 1.1 christos (_bfd_elf_write_section_eh_frame): Update accesses to 113 1.1 christos add_fde_encoding and per_encoding_relative. Use the FDE's 114 1.1 christos own make_relative and add_augmentation_size fields. 115 1.1 christos 116 1.1 christos 2007-12-15 Richard Sandiford <rsandifo (a] nildram.co.uk> 117 1.1 christos 118 1.1 christos * elf-bfd.h (eh_cie_fde): Remove need_lsda_relative. 119 1.1 christos Move make_lsda_relative to u.cie. 120 1.1 christos * elf-eh-frame.c (cie): Rename make_lsda_relative to 121 1.1 christos can_make_lsda_relative. 122 1.1 christos (_bfd_elf_parse_eh_frame): Don't set the old eh_cie_fde 123 1.1 christos make_lsda_relative field. Update after cie renaming. 124 1.1 christos Set u.cie.make_lsda_relative if can_make_lsda_relative 125 1.1 christos and if we find a relocation against the LSDA. 126 1.1 christos (_bfd_elf_discard_section_eh_frame): Copy make_lsda_relative when 127 1.1 christos changing a CIE's group representative. 128 1.1 christos (_bfd_elf_eh_frame_section_offset): Don't set need_ldsa_relative here. 129 1.1 christos (_bfd_elf_write_section_eh_frame): Check u.cie.make_lsda_relative 130 1.1 christos rather than need_lsda_relative. 131 1.1 christos 132 1.1 christos 2007-12-15 Richard Sandiford <rsandifo (a] nildram.co.uk> 133 1.1 christos 134 1.1 christos * elf-bfd.h (eh_cie_fde): Add u.fde.next_for_section and 135 1.1 christos u.cie.gc_mark. 136 1.1 christos (bfd_elf_section_data): Add fde_list. 137 1.1 christos (elf_fde_list): New macro. 138 1.1 christos (elf_obj_tdata): Add eh_frame_section. 139 1.1 christos (elf_eh_frame_section): New macro. 140 1.1 christos (_bfd_elf_gc_mark_reloc): Remove last parameter. 141 1.1 christos (_bfd_elf_gc_mark_fdes): Declare. 142 1.1 christos * elf-eh-frame.c (_bfd_elf_get_eh_frame_sec_info): Chain the FDEs 143 1.1 christos for each input section. 144 1.1 christos (mark_entry, _bfd_elf_gc_mark_fdes): New functions. 145 1.1 christos * elflink.c (_bfd_elf_gc_mark_reloc): Remove is_eh parameter. 146 1.1 christos (_bfd_elf_gc_mark): Update call accordingly. Mark the relocations 147 1.1 christos againts the section's FDEs. Don't mark the bfd's elf_eh_frame_section. 148 1.1 christos (bfd_elf_gc_sections): Parse each input bfd's .eh_frame before 149 1.1 christos marking any input sections. Remove the current EH handling. 150 1.1 christos * section.c (bfd_section): Remove gc_mark_from_eh. 151 1.1 christos * ecoff.c (bfd_debug_section): Update initializer accordingly. 152 1.1 christos 153 1.1 christos 2007-12-15 Richard Sandiford <rsandifo (a] nildram.co.uk> 154 1.1 christos 155 1.1 christos * elf-bfd.h (eh_cie_fde): Add u.cie. Document how u.fde.cie_inf 156 1.1 christos changes when removed == 0. 157 1.1 christos (eh_frame_hdr_info): Add parsed_eh_frames. 158 1.1 christos (_bfd_elf_begin_eh_frame_parsing): Declare. 159 1.1 christos (_bfd_elf_parse_eh_frame): Declare. 160 1.1 christos (_bfd_elf_end_eh_frame_parsing): Declare. 161 1.1 christos * elf-eh-frame.c (_bfd_elf_begin_eh_frame_parsing): New function. 162 1.1 christos (_bfd_elf_parse_eh_frame): New function, split out from 163 1.1 christos _bfd_elf_discard_section_eh_frame. Make a first pass through the 164 1.1 christos buffer to calculate the number of entries and CIEs. Allocate memory 165 1.1 christos for them before the main loop. Replace current extended cie 166 1.1 christos representation with a pair of pointers, one to the local eh_cie_fde 167 1.1 christos and one to the full struct cie. Allocate a separate array of struct 168 1.1 christos cies if not merging. Merge CIEs during the main loop and set up each 169 1.1 christos u.cie.merged field. Point an FDE's cie_inf field directly at the 170 1.1 christos local CIE. Initially assume that all entries should be removed. 171 1.1 christos (_bfd_elf_end_eh_frame_parsing): New function. 172 1.1 christos (_bfd_elf_discard_section_eh_frame): Assume that the section has 173 1.1 christos already been parsed. Use a separate pass to mark entries that 174 1.1 christos need to be kept. Use the u.cie.merged field to track a CIE's 175 1.1 christos group representative. 176 1.1 christos * elflink.c (bfd_elf_discard_info): Call _bfd_elf_parse_eh_frame 177 1.1 christos before _bfd_elf_discard_section_eh_frame. Wrap loop with calls to 178 1.1 christos _bfd_elf_begin_eh_frame_parsing and _bfd_elf_end_eh_frame_parsing. 179 1.1 christos 180 1.1 christos 2007-12-15 Richard Sandiford <rsandifo (a] nildram.co.uk> 181 1.1 christos 182 1.1 christos * elf-bfd.h (eh_cie_fde): Put cie_inf in a union. Add a reloc_index 183 1.1 christos field. Use bitfields for fde_encoding, lsda_encoding and lsda_offset. 184 1.1 christos * elf-eh-frame.c (extra_augmentation_data_bytes): Adjust cie_inf 185 1.1 christos accesses after the above change. 186 1.1 christos (_bfd_elf_eh_frame_section_offset): Likewise. 187 1.1 christos (_bfd_elf_write_section_eh_frame): Likewise. 188 1.1 christos (_bfd_elf_discard_section_eh_frame): Likewise. Set up reloc_index. 189 1.1 christos 190 1.1 christos 2007-12-15 Richard Sandiford <rsandifo (a] nildram.co.uk> 191 1.1 christos 192 1.1 christos * elf-bfd.h (_bfd_elf_gc_mark_rsec, _bfd_elf_gc_mark_reloc): Declare. 193 1.1 christos (_bfd_elf_gc_mark): Use elf_gc_mark_hook_fn. 194 1.1 christos * elflink.c (init_reloc_cookie, fini_reloc_cookie) 195 1.1 christos (init_reloc_cookie_rels, fini_reloc_cookie_rels): New functions, 196 1.1 christos split out from... 197 1.1 christos (bfd_elf_discard_info): ...here. 198 1.1 christos (init_reloc_cookie_for_section): New function. 199 1.1 christos (fini_reloc_cookie_for_section): Likewise. 200 1.1 christos (_bfd_elf_gc_mark_rsec, _bfd_elf_gc_mark_reloc): New functions, 201 1.1 christos split out from... 202 1.1 christos (_bfd_elf_gc_mark): ...here. Use init_reloc_cookie_for_section 203 1.1 christos and fini_reloc_cookie_for_section. 204 1.1 christos 205 1.1 christos 2007-12-12 Bob Wilson <bob.wilson (a] acm.org> 206 1.1 christos 207 1.1 christos * elf32-xtensa.c (elf_xtensa_do_reloc): Update self_address along with 208 1.1 christos address. 209 1.1 christos (print_action_list): Fix name for ta_convert_longcall. 210 1.1 christos 211 1.1 christos 2007-12-11 Catherine Moore <clm (a] codesourcery.com> 212 1.1 christos 213 1.1 christos * elf.c (_bfd_elf_copy_private_symbol_data): Don't copy shndx if 214 1.1 christos the symbol's section is the undefined section. 215 1.1 christos 216 1.1 christos 2007-12-11 Alan Modra <amodra (a] bigpond.net.au> 217 1.1 christos 218 1.1 christos * elf.c (elf_fake_sections): Add "warning:" to "..changed to PROGBITS" 219 1.1 christos message. 220 1.1 christos 221 1.1 christos 2007-12-07 Bob Wilson <bob.wilson (a] acm.org> 222 1.1 christos 223 1.1 christos * elf32-xtensa.c (elf_howto_table): Add R_XTENSA_32_PCREL. 224 1.1 christos (elf_xtensa_reloc_type_lookup): Handle BFD_RELOC_32_PCREL. 225 1.1 christos (elf_xtensa_check_relocs): Use default case for all relocations that 226 1.1 christos need nothing done here. 227 1.1 christos (elf_xtensa_do_reloc): Compute self_address for all relocation types. 228 1.1 christos Handle R_XTENSA_32_PCREL. 229 1.1 christos (elf_xtensa_relocate_section): Check for R_XTENSA_32_PCREL for dynamic 230 1.1 christos symbols. 231 1.1 christos (check_section_ebb_pcrels_fit): Ignore R_XTENSA_32_PCREL relocations. 232 1.1 christos 233 1.1 christos 2007-12-05 Alan Modra <amodra (a] bigpond.net.au> 234 1.1 christos 235 1.1 christos * elf32-spu.c (spu_elf_size_stubs): Do consider branches to 236 1.1 christos non-function symbols for overlay stubs. 237 1.1 christos 238 1.1 christos 2007-12-04 Bob Wilson <bob.wilson (a] acm.org> 239 1.1 christos 240 1.1 christos * elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Create DT_PLTGOT 241 1.1 christos entry for all dynamic objects. 242 1.1 christos 243 1.1 christos 2007-12-04 Alan Modra <amodra (a] bigpond.net.au> 244 1.1 christos 245 1.1 christos * elf32-spu.c (spu_elf_size_stubs): Correct section alignment. 246 1.1 christos 247 1.1 christos 2007-11-30 Richard Sandiford <rsandifo (a] nildram.co.uk> 248 1.1 christos 249 1.1 christos * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use the 250 1.1 christos ELF header to choose between 32-bit and 64-bit relocation structures. 251 1.1 christos 252 1.1 christos 2007-11-29 Mark Shinwell <shinwell (a] codesourcery.com> 253 1.1 christos 254 1.1 christos * archures.c (bfd_mach_mips_loongson_2e): New. 255 1.1 christos (bfd_mach_mips_loongson_2f): New. 256 1.1 christos * bfd-in2.h (bfd_mach_mips_loongson_2e): New. 257 1.1 christos (bfd_mach_mips_loongson_2f): New. 258 1.1 christos * cpu-mips.c: Add I_loongson_2e and I_loongson_2f to 259 1.1 christos anonymous enum. 260 1.1 christos (arch_info_struct): Add Loongson-2E and Loongson-2F entries. 261 1.1 christos * elfxx-mips.c (_bfd_elf_mips_mach): Handle Loongson-2E 262 1.1 christos and Loongson-2F flags. 263 1.1 christos (mips_set_isa_flags): Likewise. 264 1.1 christos (mips_mach_extensions): Add Loongson-2E and Loongson-2F 265 1.1 christos entries. 266 1.1 christos 267 1.1 christos 2007-11-29 Nick Clifton <nickc (a] redhat.com> 268 1.1 christos 269 1.1 christos PR ld/5398 270 1.1 christos * elf32-arm.c (bfd_elf32_arm_process_before_allocation): Do not 271 1.1 christos complain if there is no glue bfd, just return. 272 1.1 christos 273 1.1 christos 2007-11-28 Nick Clifton <nickc (a] redhat.com> 274 1.1 christos 275 1.1 christos * elf-m10300.c (mn10300_elf_relax_section): Extend previous fix to 276 1.1 christos cover forward jumps. 277 1.1 christos 278 1.1 christos 2007-11-21 Nick Clifton <nickc (a] redhat.com> 279 1.1 christos 280 1.1 christos * elf-m10300.c (mn10300_elf_relax_section): Allow for alignment 281 1.1 christos relocs when computing whether instructions can be relaxed. 282 1.1 christos 283 1.1 christos 2007-11-16 Tristan Gingold <gingold (a] adacore.com> 284 1.1 christos 285 1.1 christos * elflink.c (elf_link_output_extsym): Weaken assertion: if 286 1.1 christos --gc-section is set, there may be no TLS segment. 287 1.1 christos 288 1.1 christos 2007-11-19 Alan Modra <amodra (a] bigpond.net.au> 289 1.1 christos 290 1.1 christos * elf-bfd.h (bfd_elf_perform_complex_relocation): Update prototype. 291 1.1 christos * elflink.c (bfd_elf_perform_complex_relocation): Return status. 292 1.1 christos Don't print reloc overflow message. 293 1.1 christos * elf32-mep.c (mep_elf_relocate_section): Handle status from 294 1.1 christos bfd_elf_perform_complex_relocation. 295 1.1 christos 296 1.1 christos 2007-11-17 Thiemo Seufer <ths (a] mips.com> 297 1.1 christos 298 1.1 christos * elfxx-mips.c (mips_elf_merge_obj_attributes): Handle -mips32r2 299 1.1 christos -mfp64 attribute. 300 1.1 christos 301 1.1 christos 2007-11-16 Nick Clifton <nickc (a] redhat.com> 302 1.1 christos 303 1.1 christos * elf-m10300.c (mn10300_elf_check_relocs): Fix memory leak and 304 1.1 christos check that bfd_elf_get_elf_syms is only called once. 305 1.1 christos 306 1.1 christos 2007-11-16 Ulrich Weigand <uweigand (a] de.ibm.com> 307 1.1 christos 308 1.1 christos * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Set udata.p of 309 1.1 christos synthetic symbol to point to the ELF symbol it was derived from. 310 1.1 christos 311 1.1 christos 2007-11-15 Alan Modra <amodra (a] bigpond.net.au> 312 1.1 christos 313 1.1 christos PR 5328 314 1.1 christos * opncls.c (separate_debug_file_exists): Use fopen/fread 315 1.1 christos rather than open/read and open in binary mode. 316 1.1 christos 317 1.1 christos 2007-11-14 Richard Sandiford <richard (a] codesourcery.com> 318 1.1 christos 319 1.1 christos * elfxx-mips.c (mips_got_page_range): New structure. 320 1.1 christos (mips_got_page_entry): Likewise. 321 1.1 christos (mips_got_info): Add page_gotno and got_page_entries fields. 322 1.1 christos (mips_elf_got_per_bfd_arg): Add max_pages field. Delete 323 1.1 christos primary_count and current_count fields. 324 1.1 christos (mips_got_page_entry_hash, mips_got_page_entry_eq): New functions. 325 1.1 christos (mips_elf_pages_for_range, mips_elf_record_got_page_entry): Likewise. 326 1.1 christos (mips_elf_get_got_for_bfd): New function, split out from 327 1.1 christos mips_elf_make_got_per_bfd. Initialize the page_gotno and 328 1.1 christos got_page_entries fields when creating a new GOT structure. 329 1.1 christos (mips_elf_make_got_pages_per_bfd): New function. 330 1.1 christos (mips_elf_merge_got_with): New function, split out from 331 1.1 christos mips_elf_make_got_per_bfd. Merge page entries as well as 332 1.1 christos non-page entries. Use the minimum of max_pages and the sum 333 1.1 christos of the page_gotnos to estimate the number of page entries. 334 1.1 christos (mips_elf_merge_gots): Use the minimum of max_pages and the 335 1.1 christos bfd's page_gotno to estimate the number of page entries. 336 1.1 christos Use the above functions. 337 1.1 christos (mips_elf_multi_got): Add page entries as well as non-page entries 338 1.1 christos to the individual per-bfd GOTs. Initialize got_per_bfd_arg.max_pages. 339 1.1 christos Initialize the page_gotno and got_page_entries fields when creating 340 1.1 christos a new primary GOT. Use the minimum of pages and page_gotno when 341 1.1 christos adding the number of pages entries to local_gotno. 342 1.1 christos (mips_elf_create_got_section): Initialize the page_gotno and 343 1.1 christos got_page_entries fields of the GOT structure. 344 1.1 christos (mips_elf_rel_relocation_p, mips_elf_read_rel_addend) 345 1.1 christos (mips_elf_add_lo16_rel_addend, mips_elf_get_section_contents): New 346 1.1 christos functions, split out from... 347 1.1 christos (_bfd_mips_elf_relocate_section): ...here. 348 1.1 christos (_bfd_mips_elf_check_relocs): Record GOT page entries too. 349 1.1 christos (_bfd_mips_relax_section): Use mips_elf_get_section_contents. 350 1.1 christos (_bfd_mips_elf_always_size_sections): Use the smaller of the 351 1.1 christos loadable_size- and page_gotno-derived estimates. 352 1.1 christos 353 1.1 christos 2007-11-14 Thiemo Seufer <ths (a] mips.com> 354 1.1 christos 355 1.1 christos * elfxx-mips.c (mips_elf_merge_obj_attributes): Prevent 356 1.1 christos unwanted fallthroughs in case statement. 357 1.1 christos 358 1.1 christos 2007-11-13 H.J. Lu <hongjiu.lu (a] intel.com> 359 1.1 christos 360 1.1 christos PR binutils/5307 361 1.1 christos * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Don't 362 1.1 christos copy input subsystem if output is different from input. 363 1.1 christos 364 1.1 christos 2007-11-13 Nick Clifton <nickc (a] redhat.com> 365 1.1 christos 366 1.1 christos * elf-m10300.c (mn10300_elf_final_link_relocate): Prevent the 367 1.1 christos accidental termination of DWARF location list entries. 368 1.1 christos (mn10300_elf_relax_delete_bytes): Stop deletion if an align reloc 369 1.1 christos is encountered that is larger than or not a mutliple of the number 370 1.1 christos of bytes being deleted. 371 1.1 christos When adjusting symbols, any symbols inside the region being 372 1.1 christos deleted must be moved to the end of the region. 373 1.1 christos Move align relocs forward if there is room for them after the 374 1.1 christos deletion of the region. 375 1.1 christos 376 1.1 christos 2007-11-13 Alan Modra <amodra (a] bigpond.net.au> 377 1.1 christos 378 1.1 christos PR 5233 379 1.1 christos * elf.c (rewrite_elf_program_header): Formatting. Add 380 1.1 christos first_matching_lma and first_suggested_lma booleans and use 381 1.1 christos instead of testing matching_lma and suggested_lma for zero. 382 1.1 christos 383 1.1 christos 2007-11-12 H.J. Lu <hongjiu.lu (a] intel.com> 384 1.1 christos 385 1.1 christos PR binutils/5299 386 1.1 christos * peicode.h (pe_bfd_object_p): Save and restore previous bfd 387 1.1 christos state when calling coff_object_p. 388 1.1 christos 389 1.1 christos 2007-11-12 Alan Modra <amodra (a] bigpond.net.au> 390 1.1 christos 391 1.1 christos * elf.c (_bfd_elf_get_synthetic_symtab): Only bump the symbol 392 1.1 christos pointer when we have a valid symbol. Init udata.p to NULL. 393 1.1 christos 394 1.1 christos 2007-11-09 Nathan Sidwell <nathan (a] codesourcery.com> 395 1.1 christos 396 1.1 christos * elf-vxworks.c (elf_vxworks_emit_relocs): Don't clobber 397 1.1 christos rel_hash. Move loop inside if test. 398 1.1 christos 399 1.1 christos 2007-11-08 Nathan Sidwell <nathan (a] codesourcery.com> 400 1.1 christos 401 1.1 christos * elf-vxworks.h (elf_vxworks_add_dynamic_entries): Declare. 402 1.1 christos (elf_vxworks_finish_dynamic_entry): Declare. 403 1.1 christos * elf-vxworks.c: Include elf/vxworks.h. 404 1.1 christos (elf_vxworks_add_dynamic_entries): New. 405 1.1 christos (elf_vxworks_finish_dynamic_entry): New. 406 1.1 christos * Makefile.am (elf-vxworks.lo): Add dependency. 407 1.1 christos * Makefile.in (elf-vxworks.lo): Add dependency. 408 1.1 christos * elf32-i386.c (elf_i386_size_dynamic_sections, 409 1.1 christos elf_i386_finish_dynamic_sections): Call 410 1.1 christos elf_vxworks_add_dynamic_entries and 411 1.1 christos elf_vxworks_finish_dynamic_entry. 412 1.1 christos * elf32-ppc.c (ppc_elf_size_dynamic_sections, 413 1.1 christos ppc_elf_finish_dynamic_sections): Likewise. 414 1.1 christos * elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections, 415 1.1 christos sparc_finish_dyn): Likewise. 416 1.1 christos * elf32-sh.c (sh_elf_size_dynamic_sections, 417 1.1 christos sh_elf_finish_dynamic_sections): Likewise. 418 1.1 christos * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections, 419 1.1 christos _bfd_mips_elf_finish_dynamic_sections): Likewise. 420 1.1 christos * elf32-arm.c (elf32_arm_size_dynamic_sections, 421 1.1 christos elf32_arm_finish_dynamic_sections): Likewise. 422 1.1 christos 423 1.1 christos 2007-11-07 Olivier Hainque <hainque (a] adacore.com> 424 1.1 christos 425 1.1 christos * bfd/elfxx-mips.c (_bfd_mips_elf_fake_sections): Force 426 1.1 christos SHF_MIPS_NOSTRIP on .debug_frame for Irix. 427 1.1 christos 428 1.1 christos 2007-11-06 Alan Modra <amodra (a] bigpond.net.au> 429 1.1 christos 430 1.1 christos * elf64-ppc.c (ppc64_elf_check_relocs): Don't refcount tlsld_got here.. 431 1.1 christos (ppc64_elf_gc_sweep_hook): ..or here.. 432 1.1 christos (ppc64_elf_tls_optimize): ..or here. Make two passes through the 433 1.1 christos relocs, ensuring that tls_get_addr calls follow gd and ld relocs. 434 1.1 christos (allocate_dynrelocs): Refcount tlsld_got here. 435 1.1 christos (ppc64_elf_size_dynamic_sections): Allocate local got and call 436 1.1 christos allocate_dynrelocs before allocating tlsld_got. 437 1.1 christos (ppc64_elf_relocate_section): Remove check that a tls_get_addr 438 1.1 christos call follows gd and ld relocs. 439 1.1 christos 440 1.1 christos * elf32-ppc.c (ppc_elf_check_relocs): Don't refcount tlsld_got here.. 441 1.1 christos (ppc_elf_gc_sweep_hook): ..or here.. 442 1.1 christos (ppc_elf_tls_optimize): ..or here. Make two passes through the 443 1.1 christos relocs, ensuring that tls_get_addr calls follow gd and ld relocs. 444 1.1 christos (allocate_dynrelocs): Refcount tlsld_got here. 445 1.1 christos (ppc_elf_size_dynamic_sections): Call allocate_dynrelocs before 446 1.1 christos allocating tlsld_got. 447 1.1 christos (ppc_elf_relocate_section): Remove check that a tls_get_addr 448 1.1 christos call follows gd and ld relocs. 449 1.1 christos 450 1.1 christos 2007-11-05 Alan Modra <amodra (a] bigpond.net.au> 451 1.1 christos 452 1.1 christos * merge.c (sec_merge_hash_lookup): Revert last change. 453 1.1 christos (record_section): Likewise. 454 1.1 christos (_bfd_merge_sections): Likewise. 455 1.1 christos (_bfd_merged_section_offset): Properly handle NULL secinfo. 456 1.1 christos (_bfd_add_merge_section): Allocate extra space for a zero 457 1.1 christos terminator on SEC_STRINGS sections. 458 1.1 christos 459 1.1 christos 2007-11-05 Danny Smith <dannysmith (a] users.sourceforge.net> 460 1.1 christos 461 1.1 christos * pe-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Let .data, .text 462 1.1 christos and .bss section use the default. 463 1.1 christos * pei-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise. 464 1.1 christos 465 1.1 christos 2007-11-01 Joseph Myers <joseph (a] codesourcery.com> 466 1.1 christos 467 1.1 christos * merge.c (sec_merge_hash_lookup): Add parameter sec_end. Check 468 1.1 christos for unterminated strings. All callers changed. 469 1.1 christos (record_section): Add parameter abfd. Give error message for 470 1.1 christos unterminated strings. 471 1.1 christos (_bfd_merge_sections): Update call to record_section. 472 1.1 christos (_bfd_write_merged_section, _bfd_merged_section_offset): Handle 473 1.1 christos NULL secinfo from merge failures. 474 1.1 christos 475 1.1 christos 2007-10-31 Nick Clifton <nickc (a] redhat.com> 476 1.1 christos 477 1.1 christos * elf-m10300.c (mn10300_elf_relax_delete_bytes): Do not look for 478 1.1 christos align relocs when there are no relocs attached to the section. 479 1.1 christos 480 1.1 christos 2007-10-31 Alan Modra <amodra (a] bigpond.net.au> 481 1.1 christos 482 1.1 christos * elf-bfd.h (bfd_elf_match_symbols_in_sections): Don't declare. 483 1.1 christos * elflink.c (bfd_elf_match_symbols_in_sections): Make static. 484 1.1 christos Remove section name comparisons. 485 1.1 christos 486 1.1 christos 2007-10-30 Nick Clifton <nickc (a] redhat.com> 487 1.1 christos 488 1.1 christos * reloc.c (BFD_RELOC_MN10300_ALIGN): Add. 489 1.1 christos * bfd-in2.h: Regenerate. 490 1.1 christos * libbfd.h: Regnerate. 491 1.1 christos * elf-m10300.h: Handle R_MN10300_ALIGN relocs. 492 1.1 christos (mn10300_elf_relax_delete_bytes): Honour R_MN10300_ALIGN relocs. 493 1.1 christos Re-fix off by one error in comparisons. 494 1.1 christos 495 1.1 christos 2007-10-25 Pedro Alves <pedro_alves (a] portugalmail.pt> 496 1.1 christos 497 1.1 christos * bfd-in.h (STRING_COMMA_LEN): Don't handle NULL STR case. 498 1.1 christos * bfd-in2.h: Regenerate. 499 1.1 christos 500 1.1 christos 2007-10-25 Daniel Jacobowitz <dan (a] codesourcery.com> 501 1.1 christos 502 1.1 christos * elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support for 503 1.1 christos Tag_GNU_Power_ABI_Vector. 504 1.1 christos 505 1.1 christos 2007-10-25 Joseph Myers <joseph (a] codesourcery.com> 506 1.1 christos 507 1.1 christos * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Do not add 508 1.1 christos PT_NULL header when not linking. 509 1.1 christos 510 1.1 christos 2007-10-25 Carlos Eduardo Seo <cseo (a] linux.vnet.ibm.com> 511 1.1 christos 512 1.1 christos * elf.c (elfcore_grok_ppc_vmx): New function. 513 1.1 christos (elfcore_grok_note): Handle NT_PPC_VMX. 514 1.1 christos (elfcore_write_ppc_vmx): New function. 515 1.1 christos * elf-bfd.h (elfcore_write_ppc_vmx): Declare. 516 1.1 christos 517 1.1 christos 2007-10-24 Alan Modra <amodra (a] bigpond.net.au> 518 1.1 christos 519 1.1 christos * Makefile.am: Run "make dep-am". 520 1.1 christos * Makefile.in: Regenerate. 521 1.1 christos * po/SRC-POTFILES.in: Regenerate. 522 1.1 christos 523 1.1 christos 2007-10-23 Alan Modra <amodra (a] bigpond.net.au> 524 1.1 christos 525 1.1 christos * elf64-ppc.c (ppc_build_one_stub): Don't duplicate relocs 526 1.1 christos emitted for ".brlt" entries. 527 1.1 christos (toc_adjusting_stub_needed): Don't treat ".fixup" specially here.. 528 1.1 christos (ppc64_elf_next_input_section): ..instead do so here. 529 1.1 christos 530 1.1 christos 2007-10-19 Nick Clifton <nickc (a] redhat.com> 531 1.1 christos 532 1.1 christos * config.bfd: Recognise am34-linux-gnu target. 533 1.1 christos * reloc.c: Add BFD_RELOC_MN10300_SYM_DIFF relocation. 534 1.1 christos * bfd-in2.h: Regenerate. 535 1.1 christos * libbfd.h: Regenerate. 536 1.1 christos * elf-m10300.c (elf_mn10300_howto): Add R_MN10300_SYM_DIFF. 537 1.1 christos (mn10300_reloc_map): Likewise. 538 1.1 christos (mn10300_elf_check_relocs): Do not create dynamic relocs for 539 1.1 christos symbol differences or relocations against absolute symbols. 540 1.1 christos (mn10300_elf_final_link_relocate): Likewise. 541 1.1 christos Handle R_MN10300_SYM_DIFF relocs. 542 1.1 christos (mn10300_elf_relocate_section): Fix for creating local copys of 543 1.1 christos dynamic relocs. 544 1.1 christos (mn10300_elf_relax_delete_bytes): Adjust symbols at the end of the 545 1.1 christos region. Adjust the size of function symbols. 546 1.1 christos (mn10300_elf_relax_section): Ignore symbols that are in discarded 547 1.1 christos sections. 548 1.1 christos 549 1.1 christos 2007-10-19 Nick Clifton <nickc (a] redhat.com> 550 1.1 christos 551 1.1 christos * elf-m10300.c: Convert to ISO C. 552 1.1 christos 553 1.1 christos 2007-10-18 H.J. Lu <hongjiu.lu (a] intel.com> 554 1.1 christos Alan Modra <amodra (a] bigpond.net.au> 555 1.1 christos 556 1.1 christos PR ld/4424 557 1.1 christos * config.bfd (targ_selvecs): Add bfd_elf64_alpha_vec for 558 1.1 christos alpha/FreeBSD. Add bfd_elf64_sparc_vec for sparc64/FreeBSD. 559 1.1 christos Add bfd_elf32_i386_vec and bfd_efi_app_ia32_vec for i386/FreeBSD. 560 1.1 christos (targ64_selvecs): Set for i386/FreeBSD. 561 1.1 christos * elf-bfd.h (elf_backend_data): Add relocs_compatible. 562 1.1 christos (_bfd_elf_default_relocs_compatible): Declare. 563 1.1 christos (_bfd_elf_relocs_compatible): Declare. 564 1.1 christos * elfxx-target.h (elf_backend_relocs_compatible): Define. 565 1.1 christos (elfNN_bed): Init new relocs_compatible field. 566 1.1 christos * elflink.c (_bfd_elf_default_relocs_compatible): New function. 567 1.1 christos (_bfd_elf_relocs_compatible): New function. 568 1.1 christos (elf_link_add_object_symbols): Call bed->relocs_compatible. 569 1.1 christos * elf32-i386.c (elf_backend_relocs_compatible): Define. 570 1.1 christos * elf64-alpha.c: Likewise. 571 1.1 christos * elf64-sparc.c: Likewise. 572 1.1 christos * elf64-x86-64.c: Likewise. 573 1.1 christos 574 1.1 christos 2007-10-16 Bob Wilson <bob.wilson (a] acm.org> 575 1.1 christos 576 1.1 christos * elf32-xtensa.c (relax_section): Check for a reference to a discarded 577 1.1 christos DWARF section and anticipate its replacement with the kept section. 578 1.1 christos 579 1.1 christos 2007-10-16 Bob Wilson <bob.wilson (a] acm.org> 580 1.1 christos 581 1.1 christos * elf32-xtensa.c (elf_xtensa_discard_info_for_section): Remove 582 1.1 christos unnecessary size variables. Set sec->rawsize. 583 1.1 christos (relax_section, relax_property_section): Likewise. 584 1.1 christos 585 1.1 christos 2007-10-16 Bob Wilson <bob.wilson (a] acm.org> 586 1.1 christos 587 1.1 christos * section.c (struct bfd_section): Clarify comment for rawsize field. 588 1.1 christos * bfd-in2.h: Regenerate. 589 1.1 christos 590 1.1 christos 2007-10-16 Bob Wilson <bob.wilson (a] acm.org> 591 1.1 christos 592 1.1 christos * elflink.c (_bfd_elf_check_kept_section): Use the section rawsize 593 1.1 christos values if they are set. 594 1.1 christos 595 1.1 christos 2007-10-16 Nick Clifton <nickc (a] redhat.com> 596 1.1 christos 597 1.1 christos PR 5146 598 1.1 christos * configure.in (AC_CHECK_HEADERS): Add alloca.h 599 1.1 christos * configure: Regenerate. 600 1.1 christos * config.in: Regenerate. 601 1.1 christos * som.c: Replace alloca-conf.h inclusion with code recommended in 602 1.1 christos autoconf documentation. 603 1.1 christos * elf64-hppa.c: Likewise. 604 1.1 christos 605 1.1 christos 2007-10-16 Nick Clifton <nickc (a] redhat.com> 606 1.1 christos 607 1.1 christos * configure.in (--enable-elf-stt-common): New configure 608 1.1 christos option. If enabled then the tools can generate symbols with 609 1.1 christos the ELF STT_COMMON type. 610 1.1 christos * config.in: Regenerate. 611 1.1 christos * configure: Regenerate. 612 1.1 christos * elf.c (swap_out_syms): If USE_STT_COMMON is defined then set 613 1.1 christos the type of emitted common symbols to STT_COMMON. 614 1.1 christos * elfcode.h (elf_slurp_symbol_table): Accept STT_COMMON symbol 615 1.1 christos types. 616 1.1 christos 617 1.1 christos 2007-10-15 Alan Modra <amodra (a] bigpond.net.au> 618 1.1 christos 619 1.1 christos * coff-arm.c (arm_emit_base_file_entry): Check fwrite return value. 620 1.1 christos Return status. Adjust callers. 621 1.1 christos * coff-mcore.c (mcore_emit_base_file_entry): Likewise. 622 1.1 christos * coff-ppc.c (write_base_file_entry): New function. 623 1.1 christos (coff_ppc_relocate_section): Use it. 624 1.1 christos * elf32-arm.c (find_thumb_glue): Check asprintf return status. 625 1.1 christos (find_arm_glue): Likewise. 626 1.1 christos * vms-misc.c (_bfd_vms_output_flush): Check fwrite return value. 627 1.1 christos 628 1.1 christos 2007-10-12 Nick Clifton <nickc (a] redhat.com> 629 1.1 christos 630 1.1 christos PR 5160 631 1.1 christos * elflink.c (eval_symbol): Remove bufsz variable and use 632 1.1 christos sizeof(symbuf) where necessary. 633 1.1 christos 634 1.1 christos 2007-10-12 M R Swami Reddy <MR.Swami.Reddy (a] nsc.com> 635 1.1 christos 636 1.1 christos * elf32-cr16.c (elf32_cr16_relax_section): Fix condition check typo. 637 1.1 christos 638 1.1 christos 2007-10-12 Daniel Jacobowitz <dan (a] codesourcery.com> 639 1.1 christos 640 1.1 christos * elfxx-mips.c (mips_elf_sort_hash_table_f): Handle forced 641 1.1 christos local symbols specially. 642 1.1 christos (mips_elf_set_global_got_offset): Skip forced local symbols. 643 1.1 christos 644 1.1 christos 2007-10-12 Alan Modra <amodra (a] bigpond.net.au> 645 1.1 christos 646 1.1 christos * elf.c (elfcore_grok_prxfpreg): Fix comment typo. 647 1.1 christos 648 1.1 christos 2007-10-10 H.J. Lu <hongjiu.lu (a] intel.com> 649 1.1 christos 650 1.1 christos * elf.c (get_program_header_size): Always add a PT_GNU_RELRO 651 1.1 christos segment for -z relro. 652 1.1 christos (_bfd_elf_map_sections_to_segments): Make a PT_GNU_RELRO 653 1.1 christos segment only when needed. 654 1.1 christos 655 1.1 christos 2007-10-05 Bob Wilson <bob.wilson (a] acm.org> 656 1.1 christos 657 1.1 christos * elf32-xtensa.c (relax_section): Call pin_internal_relocs when 658 1.1 christos changing a relocation's offset. Adjust call to translate_reloc. Do 659 1.1 christos not add a fix record for a DIFF reloc. For other relocs, only add a 660 1.1 christos fix record if the translated target is in a different object file; 661 1.1 christos otherwise, just update the relocation. Call pin_internal_relocs when 662 1.1 christos updating a reloc but not when adding a fix record. 663 1.1 christos (translate_reloc): Get the target section from a new argument, not 664 1.1 christos from the relocation. Change check for relaxable sections to an 665 1.1 christos assertion. Compute separate offset adjustments for the base symbol 666 1.1 christos and the addend, and set the new relocation's addend correctly. Return 667 1.1 christos the new target section. 668 1.1 christos 669 1.1 christos 2007-10-05 Bob Wilson <bob.wilson (a] acm.org> 670 1.1 christos 671 1.1 christos * elf32-xtensa.c (elf_xtensa_relocate_section): Remove updates of 672 1.1 christos r_type and howto after calling do_fix_for_relocateable_link and 673 1.1 christos do_fix_for_final_link. 674 1.1 christos 675 1.1 christos 2007-10-05 Bob Wilson <bob.wilson (a] acm.org> 676 1.1 christos 677 1.1 christos * elf32-xtensa.c (removed_by_actions): New. 678 1.1 christos (offset_with_removed_text): Reimplement using removed_by_actions. 679 1.1 christos (offset_with_removed_text_before_fill): Delete. 680 1.1 christos (relax_property_section): Use removed_by_actions. Rearrange logic. 681 1.1 christos (relax_section_symbols): Likewise. 682 1.1 christos 683 1.1 christos 2007-10-04 Bob Wilson <bob.wilson (a] acm.org> 684 1.1 christos 685 1.1 christos * elf32-xtensa.c (reloc_bfd_fix_struct): Delete target_abfd field. 686 1.1 christos (reloc_bfd_fix_init): Remove target_abfd argument. 687 1.1 christos (relax_section, move_literal): Adjust calls to reloc_bfd_fix_init. 688 1.1 christos 689 1.1 christos 2007-10-04 Nick Clifton <nickc (a] redhat.com> 690 1.1 christos 691 1.1 christos PR linker/5099 692 1.1 christos * elf64-x86-64.c (elf64_x86_64_check_relocs): Add missing 693 1.1 christos apostrophe to error message. 694 1.1 christos 695 1.1 christos 2007-10-01 M R Swami Reddy <MR.Swami.Reddy (a] nsc.com> 696 1.1 christos 697 1.1 christos * elf32-cr16.c: Fixed DISP8, DISP20 and IMM20 relocations at 698 1.1 christos final relocation phase. 699 1.1 christos Added the below relaxations: IMM32 -> IMM20/IM16 -> IMM4. 700 1.1 christos * reloc.c: Added 3 new relocations: R_CR16_SWITCH8, 701 1.1 christos R_CR16_SWITCH16, R_CR16_SWITCH32. 702 1.1 christos * libbfd.h: Regenerate. 703 1.1 christos * bfd-in2.h: Regenerate. 704 1.1 christos 705 1.1 christos 2007-09-30 Alan Modra <amodra (a] bigpond.net.au> 706 1.1 christos 707 1.1 christos * elflink.c: Formatting. 708 1.1 christos 709 1.1 christos 2007-09-29 Alan Modra <amodra (a] bigpond.net.au> 710 1.1 christos 711 1.1 christos * elflink.c (resolve_symbol): Handle symbols in SEC_MERGE 712 1.1 christos sections. Don't test symbol st_shndx. Don't bother with 713 1.1 christos bfd_link_hash_common symbols. Print longs rather than ints 714 1.1 christos in debug messages. 715 1.1 christos (eval_symbol): Replace "sym" and "advanced" params with "symp". 716 1.1 christos Replace "addr" and "section_offset" params with "dot". Don't 717 1.1 christos cast bfd_vma values to signed, cast them to bfd_signed_vma. 718 1.1 christos (bfd_elf_perform_complex_relocation): Delete "output_bfd", "info", 719 1.1 christos "local_syms" and "local_sections" params. Add "relocation". 720 1.1 christos Delete code calculating relocation value. 721 1.1 christos (evaluate_complex_relocation_symbols): Delete function. Fold into.. 722 1.1 christos (elf_link_input_bfd): ..existing code examining relocs. 723 1.1 christos * elf-bfd.h (bfd_elf_perform_complex_relocation): Update prototype. 724 1.1 christos * elf32-mep.c (mep_elf_check_relocs): Delete function. 725 1.1 christos (mep_elf_gc_sweep_hook, mep_elf_gc_mark_hook): Likewise. 726 1.1 christos (mep_elf_object_p): Don't set elf_bad_symtab. 727 1.1 christos (elf_backend_check_relocs): Don't define. 728 1.1 christos (elf_backend_gc_mark_hook, elf_backend_gc_sweep_hook): Likewise. 729 1.1 christos (elf_backend_can_gc_sections, USE_RELA): Likwise. 730 1.1 christos (mep_elf_relocate_section): Move bfd_elf_perform_complex_relocation 731 1.1 christos call after we have calculated reloc value. Delete local sym 732 1.1 christos debug code. Use RELOC_FOR_GLOBAL_SYMBOL. Delete addend 733 1.1 christos adjusting code.. 734 1.1 christos (elf_backend_rela_normal): ..instead define this. 735 1.1 christos 736 1.1 christos 2007-09-28 Alan Modra <amodra (a] bigpond.net.au> 737 1.1 christos 738 1.1 christos * elf-m10300.c (mn10300_elf_check_relocs): Delete dead code. 739 1.1 christos * elf32-arm.c (elf32_arm_check_relocs): Likewise. 740 1.1 christos * elf32-avr.c (elf32_avr_check_relocs): Likewise. 741 1.1 christos * elf32-bfin.c (bfinfdpic_check_relocs): Likewise. 742 1.1 christos * elf32-cris.c (cris_elf_check_relocs): Likewise. 743 1.1 christos * elf32-d10v.c (elf32_d10v_check_relocs): Likewise. 744 1.1 christos * elf32-dlx.c (elf32_dlx_check_relocs): Likewise. 745 1.1 christos * elf32-fr30.c (fr30_elf_check_relocs): Likewise. 746 1.1 christos * elf32-frv.c (_frvfdpic_check_discarded_relocs): Likewise. 747 1.1 christos (elf32_frv_check_relocs): Likewise. 748 1.1 christos * elf32-iq2000.c (iq2000_elf_check_relocs): Likewise. 749 1.1 christos * elf32-m32c.c (m32c_elf_check_relocs): Likewise. 750 1.1 christos * elf32-m32r.c (m32r_elf_check_relocs): Likewise. 751 1.1 christos * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise. 752 1.1 christos * elf32-mcore.c (mcore_elf_check_relocs): Likewise. 753 1.1 christos * elf32-msp430.c (elf32_msp430_check_relocs): Likewise. 754 1.1 christos * elf32-mt.c (mt_elf_check_relocs): Likewise. 755 1.1 christos * elf32-openrisc.c (openrisc_elf_check_relocs): Likewise. 756 1.1 christos * elf32-sh.c (sh_elf_check_relocs): Likewise. 757 1.1 christos * elf64-mmix.c (mmix_elf_check_relocs): Likewise. 758 1.1 christos * elf64-sh64.c (sh_elf64_check_relocs): Likewise. 759 1.1 christos * elf32-score.c (_bfd_score_elf_check_relocs): Likewise. 760 1.1 christos (score_elf_local_relocation_p): Likewise. 761 1.1 christos (_bfd_score_elf_relocate_section): Likewise. 762 1.1 christos (score_elf_final_link_relocate): Likewise. 763 1.1 christos 764 1.1 christos 2007-09-26 Jan Beulich <jbeulich (a] novell.com> 765 1.1 christos 766 1.1 christos * elf32-i386.c (elf_i386_check_relocs): Revert NULL pointer 767 1.1 christos check for R_386_GNU_VTINHERIT. 768 1.1 christos * elf-m10300.c (mn10300_elf_check_relocs): Check for NULL 769 1.1 christos pointer for R_xxx_GNU_VTENTRY. 770 1.1 christos * elf32-arm.c (elf32_arm_check_relocs): Likewise. 771 1.1 christos * elf32-bfin.c (bfin_check_relocs): Likewise. 772 1.1 christos (bfinfdpic_check_relocs): Likewise. 773 1.1 christos * elf32-cris.c (cris_elf_check_relocs): Likewise. 774 1.1 christos * elf32-d10v.c (elf32_d10v_check_relocs): Likewise. 775 1.1 christos * elf32-dlx.c (elf32_dlx_check_relocs): Likewise. 776 1.1 christos * elf32-fr30.c (fr30_elf_check_relocs): Likewise. 777 1.1 christos * elf32-frv.c (elf32_frv_check_relocs): Likewise. 778 1.1 christos * elf32-hppa.c (elf32_hppa_check_relocs): Likewise. 779 1.1 christos * elf32-iq2000.c (iq2000_elf_check_relocs): Likewise. 780 1.1 christos * elf32-m32r.c (m32r_elf_check_relocs): Likewise. 781 1.1 christos * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise. 782 1.1 christos * elf32-m68k.c (elf_m68k_check_relocs): Likewise. 783 1.1 christos * elf32-mcore.c (mcore_elf_check_relocs): Likewise. 784 1.1 christos * elf32-openrisc.c (openrisc_elf_check_relocs): Likewise. 785 1.1 christos * elf32-ppc.c (ppc_elf_check_relocs): Likewise. 786 1.1 christos * elf32-s390.c (elf_s390_check_relocs): Likewise. 787 1.1 christos * elf32-score.c (_bfd_score_elf_check_relocs): Likewise. 788 1.1 christos * elf32-sh.c (sh_elf_check_relocs): Likewise. 789 1.1 christos * elf32-v850.c (v850_elf_check_relocs): Likewise. 790 1.1 christos * elf32-vax.c (elf_vax_check_relocs): Likewise. 791 1.1 christos * elf32-xstormy16.c (xstormy16_elf_check_relocs): Likewise. 792 1.1 christos * elf32-xtensa.c (elf_xtensa_check_relocs): Likewise. 793 1.1 christos * elf64-mmix.c (mmix_elf_check_relocs): Likewise. 794 1.1 christos * elf64-ppc.c (ppc64_elf_check_relocs): Likewise. 795 1.1 christos * elf64-s390.c (elf_s390_check_relocs): Likewise. 796 1.1 christos * elf64-sh64.c (sh_elf64_check_relocs): Likewise. 797 1.1 christos * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise. 798 1.1 christos * elfxx-mips.c (_bfd_mips_elf_check_relocs): Likewise. 799 1.1 christos * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise. 800 1.1 christos 801 1.1 christos 2007-09-26 Alan Modra <amodra (a] bigpond.net.au> 802 1.1 christos 803 1.1 christos * elflink.c (set_symbol_value): Add isymbuf and locsymcount 804 1.1 christos params. Change symidx to a size_t. Don't access past end 805 1.1 christos of symbol buffer. 806 1.1 christos (resolve_symbol): Add isymbuf param and use instead of 807 1.1 christos finfo->internal_syms. 808 1.1 christos (eval_symbol, evaluate_complex_relocation_symbols): Likewise. 809 1.1 christos (elf_link_input_bfd): Don't read symbols specially for 810 1.1 christos evaluate_complex_relocation_symbols. 811 1.1 christos 812 1.1 christos 2007-09-26 Tristan Gingold <gingold (a] adacore.com> 813 1.1 christos 814 1.1 christos * som.c (som_get_reloc_upper_bound): If there are no relocs return 815 1.1 christos enough space to hold a NULL pointer. 816 1.1 christos 817 1.1 christos 2007-09-26 Alan Modra <amodra (a] bigpond.net.au> 818 1.1 christos 819 1.1 christos * elf64-ppc.c (ppc_build_one_stub): Correct rel_hdr.sh_size. 820 1.1 christos 821 1.1 christos 2007-09-25 Alan Modra <amodra (a] bigpond.net.au> 822 1.1 christos 823 1.1 christos * elf32-spu.c (struct spu_link_hash_table): Add ovly_load_r_symndx. 824 1.1 christos (spu_elf_size_stubs): Count stub relocs. 825 1.1 christos (write_one_stub): Emit relocs on overlay call stubs. 826 1.1 christos 827 1.1 christos * elf32-spu.c (struct spu_link_hash_table): Add "stubs". 828 1.1 christos (spu_elf_link_hash_table_create): Init new field. 829 1.1 christos (spu_elf_size_stubs): Store sorted stub syms in new htab field 830 1.1 christos rather than local var. 831 1.1 christos (spu_elf_build_stubs): Iterate over htab stubs rather than 832 1.1 christos hash traversal. 833 1.1 christos (struct stubarr): Delete. 834 1.1 christos (allocate_spuear_stubs, populate_stubs, write_one_stub): Adjust. 835 1.1 christos 836 1.1 christos 2007-09-24 Daniel Jacobowitz <dan (a] codesourcery.com> 837 1.1 christos 838 1.1 christos * elf.c (assign_file_positions_for_load_sections): Trust 839 1.1 christos p_align_valid. 840 1.1 christos (copy_elf_program_header): Copy PT_NULL segments. 841 1.1 christos 842 1.1 christos 2007-09-24 Trevor Smigiel <Trevor_Smigiel (a] playstation.sony.com> 843 1.1 christos 844 1.1 christos * elf32-spu.c (is_indirect_branch): New function. 845 1.1 christos (find_function_stack_adjust): End scan on hitting indirect branch. 846 1.1 christos (sum_stack): Cast %v arg to correct type. 847 1.1 christos 848 1.1 christos 2007-09-21 H.J. Lu <hongjiu.lu (a] intel.com> 849 1.1 christos 850 1.1 christos * Makefile.am: Run "make dep-am". 851 1.1 christos * Makefile.in: Regenerated. 852 1.1 christos 853 1.1 christos 2007-09-21 Doug Kwan <dougkwan (a] google.com> 854 1.1 christos 855 1.1 christos * Makefile.am (BFD32_LIBS): Add arange-set.lo. 856 1.1 christos (BFD32_LIBS_CFILES): Add arange-set.c. 857 1.1 christos (SOURCE_HFILES): Add arange-set.h 858 1.1 christos (dwarf2.lo): Add dependency upon arange-set.h. 859 1.1 christos (arange-set.lo): New target. 860 1.1 christos * Makefile.in: Regenerate. 861 1.1 christos * arange-set.c: New file. 862 1.1 christos * arange-set.h: New file. 863 1.1 christos * dwarf2.c: Include arange-set.h. 864 1.1 christos (struct dwarf2_debug) Add new fields comp_unit_count and 865 1.1 christos comp_unit_arange_set. 866 1.1 christos (struct comp_unit) Replace field arange with a new field arange_set. 867 1.1 christos (dwarf2_arange_set_allocate, dwarf2_arange_set_deallocate, 868 1.1 christos dwarf2_combine_arange_value, dwarf2_arange_set_new, 869 1.1 christos dwarf2_arange_set_with_value_new, dwarf2_comp_unit_arange_add): New 870 1.1 christos functions to utilize arange set in dwarf2.c. 871 1.1 christos (arange_add): Formatting change for a line longer than 80 characters. 872 1.1 christos (decode_line_info): Replace call target arange_add with 873 1.1 christos dwarf2_comp_unit_arange_add. 874 1.1 christos (read_rangelist_insert_arange_list, 875 1.1 christos read_rangelist_comp_unit_arange_add): New functions used as callbacks 876 1.1 christos for read_rangelist. 877 1.1 christos (read_rangelist): Change interface to accept a callback and data to 878 1.1 christos allow caller to select the action peformed on a new range list read. 879 1.1 christos (scan_unit_for_symbols): Use new interface of read_rangelist. 880 1.1 christos (parse_comp_unit): Create an arange set for each new comp unit. 881 1.1 christos Use new interface of read_rangelist. Replace call to arange_add 882 1.1 christos with that to dwarf2_comp_unit_arange_add. 883 1.1 christos (comp_unit_contains_address): Replace sequential search with a call to 884 1.1 christos arange_set_lookup_address, which can handles large set efficiently. 885 1.1 christos (stash_copy_local_aranges, stash_maybe_enable_arange_set, 886 1.1 christos stash_find_nearest_line_fast): New functions maintaining and using a 887 1.1 christos valued global arange set for all compilation units to speed up 888 1.1 christos bfd_dwarf2_find_nearest_line. 889 1.1 christos (find_line): Use global arange set. Replace sequential search over all 890 1.1 christos compilation units with a call to stash_find_nearest_line_fast. Add 891 1.1 christos book keeping to count number of compilation units. Replace empty 892 1.1 christos arange list test with a call to arange_set_empty_p. 893 1.1 christos 894 1.1 christos 2007-09-21 Olivier Hainque <hainque (a] adacore.com> 895 1.1 christos Tristan Gingold <gingold (a] adacore.com> 896 1.1 christos 897 1.1 christos * syms.c (_bfd_stab_section_find_nearest_line): Look at the 898 1.1 christos specific SOM sections for stabs if the regular ones are not found. 899 1.1 christos * som.h (struct somdata): Add a line_info field, to be used by 900 1.1 christos som_find_nearest_line. 901 1.1 christos * som.c (som_find_nearest_line): Implement using the bfd stabs 902 1.1 christos function above. 903 1.1 christos 904 1.1 christos 2007-09-19 Daniel Jacobowitz <dan (a] codesourcery.com> 905 1.1 christos 906 1.1 christos * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Make sure .got 907 1.1 christos will be output. 908 1.1 christos 909 1.1 christos 2007-09-19 Alan Modra <amodra (a] bigpond.net.au> 910 1.1 christos Doug Kwan <dougkwan (a] google.com> 911 1.1 christos 912 1.1 christos * bfd-in.h (bfd_hash_insert): Declare. 913 1.1 christos * bfd-in2.h: Regenerate. 914 1.1 christos * hash.c (bfd_hash_insert): New function. Split out from.. 915 1.1 christos (bfd_hash_lookup): ..here. 916 1.1 christos * merge.c (sec_merge_hash_lookup): Use bfd_hash_insert. 917 1.1 christos 918 1.1 christos 2007-09-18 Alan Modra <amodra (a] bigpond.net.au> 919 1.1 christos 920 1.1 christos * elf.c (bfd_section_from_shdr): Check bfd_alloc return. 921 1.1 christos (elfcore_write_note): Check realloc return. 922 1.1 christos * elflink.c (_bfd_elf_link_find_version_dependencies): Check 923 1.1 christos bfd_zalloc return. 924 1.1 christos (_bfd_elf_link_assign_sym_version): Check bfd_malloc return. 925 1.1 christos (elf_link_add_object_symbols): Likewise. 926 1.1 christos (struct hash_codes_info): New. 927 1.1 christos (elf_collect_hash_codes): Return bfd_malloc error. 928 1.1 christos (struct collect_gnu_hash_codes): Add "error". 929 1.1 christos (elf_collect_gnu_hash_codes): Return bfd_malloc error. 930 1.1 christos (bfd_elf_size_dynamic_sections): Check return status of 931 1.1 christos _bfd_elf_link_find_version_dependencies. 932 1.1 christos (bfd_elf_size_dynsym_hash_dynstr): Adjust for elf_collect_hash_codes 933 1.1 christos and elf_collect_gnu_hash_codes changes. 934 1.1 christos (elf_sym_name_compare): Formatting. 935 1.1 christos (elf_fixup_link_order): Use bfd_malloc, not xmalloc. 936 1.1 christos 937 1.1 christos 2007-09-17 H.J. Lu <hongjiu.lu (a] intel.com> 938 1.1 christos 939 1.1 christos PR binutils/3281 940 1.1 christos PR binutils/5037 941 1.1 christos * elf-bfd.h (elf_obj_tdata): Remove relro. 942 1.1 christos 943 1.1 christos * elf.c (get_program_header_size): Check info->relro instead 944 1.1 christos of elf_tdata (abfd)->relro. 945 1.1 christos (_bfd_elf_map_sections_to_segments): Likewise. 946 1.1 christos (assign_file_positions_for_load_sections): Don't set 947 1.1 christos PT_GNU_RELRO segment alignment here. 948 1.1 christos (assign_file_positions_for_non_load_sections): Properly set up 949 1.1 christos PT_GNU_RELRO segment for copying executable/shared library. 950 1.1 christos (rewrite_elf_program_header): Remove PT_GNU_RELRO segment. 951 1.1 christos (copy_elf_program_header): Set p_size and p_size_valid fields for 952 1.1 christos PT_GNU_RELRO segment. 953 1.1 christos 954 1.1 christos 2007-09-17 Nick Clifton <nickc (a] redhat.com> 955 1.1 christos 956 1.1 christos * po/fi.po: New Finnish translation. 957 1.1 christos * po/es.po: Updated Spanish translation. 958 1.1 christos * configure.in (ALL_LINGUAS): Add fi. 959 1.1 christos * configure: Regenerate. 960 1.1 christos * po/bfd.pot: Regenerate. 961 1.1 christos 962 1.1 christos 2007-09-15 Nick Clifton <nickc (a] redhat.com> 963 1.1 christos 964 1.1 christos * bfd.c (_bfd_default_error_handler): fflush stdout. 965 1.1 christos 966 1.1 christos 2007-09-14 Alan Modra <amodra (a] bigpond.net.au> 967 1.1 christos 968 1.1 christos * opncls.c (find_separate_debug_file): Ensure bfd_set_error has 969 1.1 christos been called on all error return paths. 970 1.1 christos (bfd_fill_in_gnu_debuglink_section): Use bfd_malloc, not malloc. 971 1.1 christos Clear padding after filename 972 1.1 christos 973 1.1 christos 2007-09-14 Alan Modra <amodra (a] bigpond.net.au> 974 1.1 christos 975 1.1 christos * format.c (bfd_check_format_matches): Record matching targets even 976 1.1 christos when "matching" is NULL to allow bfd_associated_vector matches. 977 1.1 christos Consolidate error return code. Consolidate ok return code. Always 978 1.1 christos restore original target and format on error. 979 1.1 christos 980 1.1 christos 2007-09-14 Alan Modra <amodra (a] bigpond.net.au> 981 1.1 christos 982 1.1 christos * configure.in: Delete BFD_HOST_LONG_LONG and bfd checks for 983 1.1 christos long long. Partly revert 2007-07-12 change, so that 984 1.1 christos BFD_HOST_64BIT_LONG and BFD_HOST_64BIT_LONG_LONG are set 985 1.1 christos independent of "void *" size. 986 1.1 christos * configure: Regenerate. 987 1.1 christos * config.in: Regenerate. 988 1.1 christos * Makefile.in: Regenerate. 989 1.1 christos 990 1.1 christos 2007-09-12 Alan Modra <amodra (a] bigpond.net.au> 991 1.1 christos 992 1.1 christos * elf-bfd.h (struct elf_backend_data): Delete elf_backend_sprintf_vma 993 1.1 christos and elf_backend_fprintf_vma. 994 1.1 christos (_bfd_elf_sprintf_vma, _bfd_elf_fprintf_vma): Delete. 995 1.1 christos * elf.c (_bfd_elf_sprintf_vma, _bfd_elf_fprintf_vma): Delete. 996 1.1 christos * elfxx-target.h (elf_backend_sprintf_vma): Don't define. 997 1.1 christos (elf_backend_fprintf_vma): Likewise. 998 1.1 christos (elfNN_bed): Don't init removed fields. 999 1.1 christos * bfd.c (is32bit): New function. 1000 1.1 christos (bfd_sprintf_vma, bfd_fprintf_vma): Use the above. 1001 1.1 christos 1002 1.1 christos 2007-09-11 Nathan Sidwell <nathan (a] codesourcery.com> 1003 1.1 christos 1004 1.1 christos * archures.c: Add bfd_mach_mcf_isa_c_nodiv, 1005 1.1 christos bfd_mach_mcf_isa_c_nodiv_mac & bfd_mach_mcf_isa_c_nodiv_emac. 1006 1.1 christos * ieee.c (ieee_write_processor): Update coldfire architecture 1007 1.1 christos list. 1008 1.1 christos * bfd-in2.h: Rebuilt. 1009 1.1 christos * cpu-m68k.c (arch_info_struct): Add isa_c nodiv architectures. 1010 1.1 christos (m68k_arch_features): Likewise. 1011 1.1 christos * elf32-m68k.c (elf32_m68k_object_p): Add EF_M68K_CF_ISA_C_NODIV. 1012 1.1 christos (elf32_m68k_print_private_bfd_data): Likewise. 1013 1.1 christos 1014 1.1 christos 2007-09-11 Jan Beulich <jbeulich (a] novell.com> 1015 1.1 christos 1016 1.1 christos * elf64-i386.c (elf64_i386_tls_transition): Remove redundant 'const'. 1017 1.1 christos * elf64-x86_64.c (elf64_x86_64_tls_transition): Likewise. 1018 1.1 christos 1019 1.1 christos 2007-09-08 Alan Modra <amodra (a] bigpond.net.au> 1020 1.1 christos 1021 1.1 christos * elf64-ppc.c (func_desc_adjust): When resolving undefined 1022 1.1 christos references to dot-symbols, transfer def_regular and 1023 1.1 christos def_dynamic from the descriptor symbol. 1024 1.1 christos 1025 1.1 christos 2007-09-08 Alan Modra <amodra (a] bigpond.net.au> 1026 1.1 christos 1027 1.1 christos * config.bfd: Set want64 for spu-*-elf. 1028 1.1 christos 1029 1.1 christos 2007-09-08 Alan Modra <amodra (a] bigpond.net.au> 1030 1.1 christos 1031 1.1 christos PR ld/2864, ld/5006 1032 1.1 christos * elf.c (special_sections): Comment typo. 1033 1.1 christos (elf_fake_sections): Force SHT_PROGBITS for sections that are 1034 1.1 christos SHT_NOBITS if BFD section flags say they have contents. 1035 1.1 christos 1036 1.1 christos 2007-09-04 Michael Snyder <msnyder (a] access-company.com> 1037 1.1 christos 1038 1.1 christos * elf32-bfin.c (howto_table): Cut and paste error? 1039 1.1 christos Name field of reloc is wrong. 1040 1.1 christos 1041 1.1 christos 2007-09-04 Alan Modra <amodra (a] bigpond.net.au> 1042 1.1 christos 1043 1.1 christos * elf32-spu.c (elf_howto_table): Formatting. 1044 1.1 christos 1045 1.1 christos 2007-09-02 H.J. Lu <hongjiu.lu (a] intel.com> 1046 1.1 christos 1047 1.1 christos PR ld/4986 1048 1.1 christos * dwarf2.c (new_line_sorts_after): Undo the last change. 1049 1.1 christos (add_line_info): Only keep the last entry with the same address 1050 1.1 christos and end sequence. 1051 1.1 christos 1052 1.1 christos 2007-08-31 H.J. Lu <hongjiu.lu (a] intel.com> 1053 1.1 christos 1054 1.1 christos PR ld/4986 1055 1.1 christos * dwarf2.c (new_line_sorts_after): Also compare line number. 1056 1.1 christos 1057 1.1 christos 2007-08-31 Jesse Michael <jmichael (a] suse.de> 1058 1.1 christos 1059 1.1 christos * mach-o.c (bfd_mach_o_make_bfd_section): Fix test for non 1060 1.1 christos zerofill sections. 1061 1.1 christos 1062 1.1 christos 2007-08-28 David Heine <dlheine (a] tensilica.com> 1063 1.1 christos 1064 1.1 christos * elf32-xtensa.c (compute_ebb_actions): Update removed_bytes when 1065 1.1 christos narrowing instructions. 1066 1.1 christos 1067 1.1 christos 2007-08-28 Mark Shinwell <shinwell (a] codesourcery.com> 1068 1.1 christos Joseph Myers <joseph (a] codesourcery.com> 1069 1.1 christos 1070 1.1 christos * elf32-arm.c (elf32_arm_compare_mapping): Compare first on vma, 1071 1.1 christos then on type. 1072 1.1 christos 1073 1.1 christos 2007-08-28 Robert Sebastian Gerus <arachnist (a] gmail.com> 1074 1.1 christos 1075 1.1 christos * config.bfd: Add support for i[3-7]86-*-dragonfly*. 1076 1.1 christos * configure.in: Likewise. 1077 1.1 christos * configure: Regenerate. 1078 1.1 christos 1079 1.1 christos 2007-08-25 Ulrich Weigand <uweigand (a] de.ibm.com> 1080 1.1 christos Alan Modra <amodra (a] bigpond.net.au> 1081 1.1 christos 1082 1.1 christos * elf.c (elfcore_grok_spu_note): New function. 1083 1.1 christos (elf_parse_notes): Call it. 1084 1.1 christos 1085 1.1 christos 2007-08-24 H.J. Lu <hongjiu.lu (a] intel.com> 1086 1.1 christos 1087 1.1 christos * elf64-x86-64.c (elf64_x86_64_relocate_section): Adjust 1088 1.1 christos indentation. 1089 1.1 christos 1090 1.1 christos 2007-08-24 Pedro Alves <pedro_alves (a] portugalmail.pt> 1091 1.1 christos 1092 1.1 christos * elf.c (elfcore_grok_win32pstatus): Remove HAVE_WIN32_PSTATUS_T 1093 1.1 christos guard. Make it host independent. 1094 1.1 christos (elfcore_grok_note): Remove HAVE_WIN32_PSTATUS_T guard around 1095 1.1 christos NT_WIN32PSTATUS. 1096 1.1 christos 1097 1.1 christos 2007-08-24 Jan Kratochvil <jan.kratochvil (a] redhat.com> 1098 1.1 christos 1099 1.1 christos * elf-bfd.h (struct elf_obj_tdata): New BUILD_ID_SIZE, BUILD_ID. 1100 1.1 christos * elf.c (elfcore_read_notes): Split to ... 1101 1.1 christos (elf_read_notes) ... here ... 1102 1.1 christos (elf_parse_notes): ... and here. Check `bfd_get_format (abfd)' with 1103 1.1 christos the former subfunctions called only for BFD_CORE. 1104 1.1 christos Call ELFOBJ_GROK_GNU_NOTE for BFD_OBJECT files with the owner "GNU". 1105 1.1 christos (_bfd_elf_make_section_from_shdr): Call ELF_PARSE_NOTES for SHT_NOTEs. 1106 1.1 christos (bfd_section_from_phdr): Update the call for renamed ELFCORE_READ_NOTES. 1107 1.1 christos (elfobj_grok_gnu_build_id, elfobj_grok_gnu_note): New functions. 1108 1.1 christos Code advisory: Roland McGrath 1109 1.1 christos 1110 1.1 christos 2007-08-24 Daniel Jacobowitz <dan (a] codesourcery.com> 1111 1.1 christos 1112 1.1 christos * elf64-mips.c (elf_backend_sign_extend_vma): Define. 1113 1.1 christos 1114 1.1 christos 2007-08-24 Alan Modra <amodra (a] bigpond.net.au> 1115 1.1 christos 1116 1.1 christos * elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Warning fix. 1117 1.1 christos 1118 1.1 christos 2007-08-23 H.J. Lu <hongjiu.lu (a] intel.com> 1119 1.1 christos 1120 1.1 christos * Makefile.am: Run "make dep-am". 1121 1.1 christos * Makefile.in: Regenerated. 1122 1.1 christos 1123 1.1 christos 2007-08-23 H.J. Lu <hongjiu.lu (a] intel.com> 1124 1.1 christos 1125 1.1 christos * elf32-i386.c: Include "bfd_stdint.h". 1126 1.1 christos (elf_i386_rtype_to_howto): New function. 1127 1.1 christos (elf_i386_info_to_howto_rel): Use it. 1128 1.1 christos (x86_64_opcode16): New union type. 1129 1.1 christos (elf_i386_check_tls_transition): New function. 1130 1.1 christos (elf_i386_tls_transition): Updated to check transition and 1131 1.1 christos issue an error if a transition isn't supported. 1132 1.1 christos (elf_i386_check_relocs): Return FALSE if 1133 1.1 christos elf_i386_tls_transition returns FALSE. 1134 1.1 christos (elf_i386_gc_sweep_hook): Likewise. 1135 1.1 christos (elf_i386_relocate_section): Likewise. Remove BFD_ASSERT 1136 1.1 christos on TLS transitions. 1137 1.1 christos 1138 1.1 christos * elf64-x86-64.c: Include "bfd_stdint.h". 1139 1.1 christos (x86_64_opcode16): New union type. 1140 1.1 christos (x86_64_opcode32): Likewise. 1141 1.1 christos (elf64_x86_64_check_tls_transition): New function. 1142 1.1 christos (elf64_x86_64_tls_transition): Updated to check transition and 1143 1.1 christos issue an error if a transition isn't supported. 1144 1.1 christos (elf64_x86_64_check_relocs): Return FALSE if 1145 1.1 christos elf64_x86_64_tls_transition returns FALSE. 1146 1.1 christos (elf64_x86_64_gc_sweep_hook): Likewise. 1147 1.1 christos (elf64_x86_64_relocate_section): Likewise. Remove BFD_ASSERT 1148 1.1 christos on TLS transitions. 1149 1.1 christos 1150 1.1 christos 2007-08-22 H.J. Lu <hongjiu.lu (a] intel.com> 1151 1.1 christos 1152 1.1 christos * elfxx-ia64.c: Convert to ISO C90 prototypes. 1153 1.1 christos (elfNN_hpux_backend_section_from_bfd_section): Make it static. 1154 1.1 christos 1155 1.1 christos 2007-08-22 H.J. Lu <hongjiu.lu (a] intel.com> 1156 1.1 christos 1157 1.1 christos * elf64-x86-64.c: Remove trailing whitespace. 1158 1.1 christos * elfxx-ia64.c: Likewise. 1159 1.1 christos 1160 1.1 christos 2007-08-21 H.J. Lu <hongjiu.lu (a] intel.com> 1161 1.1 christos 1162 1.1 christos * elf32-i386.c (elf_i386_tls_transition): Accept a pointer 1163 1.1 christos to ELF hash entry instead of an integer for local test. 1164 1.1 christos (elf_i386_check_relocs): Updated. 1165 1.1 christos (elf_i386_gc_sweep_hook): Likewise. 1166 1.1 christos (elf_i386_relocate_section): Likewise. 1167 1.1 christos 1168 1.1 christos * elf64-x86-64.c (elf64_x86_64_tls_transition): Accept a 1169 1.1 christos pointer to ELF hash entry instead of an integer for local 1170 1.1 christos test. 1171 1.1 christos (elf64_x86_64_check_relocs): Updated. 1172 1.1 christos (elf64_x86_64_gc_sweep_hook): Likewise. 1173 1.1 christos (elf64_x86_64_relocate_section): Likewise. 1174 1.1 christos 1175 1.1 christos 2007-08-20 H.J. Lu <hongjiu.lu (a] intel.com> 1176 1.1 christos 1177 1.1 christos * elf32-i386.c (elf_i386_tls_transition): Break long line. 1178 1.1 christos * elf64-x86-64.c (elf64_x86_64_tls_transition): Likewise. 1179 1.1 christos 1180 1.1 christos 2007-08-20 Jan Kratochvil <jan.kratochvil (a] redhat.com> 1181 1.1 christos 1182 1.1 christos * elfxx-target.h [ELF_COMMONPAGESIZE && ELF_MAXPAGESIZE] 1183 1.1 christos (ELF_MINPAGESIZE): Fixed its size guess. Sanity checked its size. 1184 1.1 christos (ELF_COMMONPAGESIZE, ELF_MAXPAGESIZE): Sanity checked their size. 1185 1.1 christos 1186 1.1 christos 2007-08-20 Nick Clifton <nickc (a] redhat.com> 1187 1.1 christos 1188 1.1 christos * elflink.c (elf_fixup_link_order): Rewrite conversion of 1189 1.1 christos s->alignment_power into an offset mask in order to avoid a gcc 1190 1.1 christos error message. 1191 1.1 christos 1192 1.1 christos 2007-08-17 Jakub Jelinek <jakub (a] redhat.com> 1193 1.1 christos 1194 1.1 christos * config.bfd: Handle sparcv*-*-linux-* the same as sparc-*-linux-*. 1195 1.1 christos Change sparc64-*-linux-* to sparc64*-*-linux-*. 1196 1.1 christos 1197 1.1 christos 2007-08-17 Alan Modra <amodra (a] bigpond.net.au> 1198 1.1 christos 1199 1.1 christos * po/Make-in: Add --msgid-bugs-address to xgettext invocation. 1200 1.1 christos 1201 1.1 christos 2007-08-16 H.J. Lu <hongjiu.lu (a] intel.com> 1202 1.1 christos 1203 1.1 christos * elf.c: Revert last change. 1204 1.1 christos 1205 1.1 christos 2007-08-16 H.J. Lu <hongjiu.lu (a] intel.com> 1206 1.1 christos 1207 1.1 christos * elf.c (get_segment_type): Change PT_GNU_STACK to PT_GNU_ATTR. 1208 1.1 christos (bfd_section_from_phdr): Likewise. 1209 1.1 christos (get_program_header_size): Likewise. Add a PT_GNU_ATTR segment 1210 1.1 christos if there is an attribute section. 1211 1.1 christos (_bfd_elf_map_sections_to_segments): Likewise. 1212 1.1 christos (IS_SECTION_IN_INPUT_SEGMENT): Likewise. 1213 1.1 christos 1214 1.1 christos 2007-08-14 H.J. Lu <hongjiu.lu (a] intel.com> 1215 1.1 christos 1216 1.1 christos PR ld/4918 1217 1.1 christos * elf32-i386.c (elf_i386_relocate_section): Allow R_386_PC32 1218 1.1 christos on ___tls_get_addr for GD->LE/LD->LE transitions when not 1219 1.1 christos building shared library. 1220 1.1 christos 1221 1.1 christos * elf64-x86-64.c (elf64_x86_64_relocate_section): Allow 1222 1.1 christos R_X86_64_PC32 on __tls_get_addr for GD->LE/LD->LE transitions 1223 1.1 christos when not building shared library. 1224 1.1 christos 1225 1.1 christos 2007-08-14 Jan Kratochvil <jan.kratochvil (a] redhat.com> 1226 1.1 christos 1227 1.1 christos * elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): LOADBASE is now 1228 1.1 christos initialized only on the first PT_LOAD. New variable LOADBASE_SET. 1229 1.1 christos Removed PF_R checking for IA-64 vDSOs as redundant now. 1230 1.1 christos Code advisory: Roland McGrath 1231 1.1 christos 1232 1.1 christos 2007-08-13 Richard Sandiford <richard (a] codesourcery.com> 1233 1.1 christos 1234 1.1 christos * elfxx-mips.c (mips_elf_link_hash_table): Add computed_got_sizes. 1235 1.1 christos (mips_elf_record_global_got_symbol): Increment local_gotno for 1236 1.1 christos each forced-local symbol. 1237 1.1 christos (_bfd_mips_elf_check_relocs): Pass forced-local call symbols to 1238 1.1 christos mips_elf_record_global_got_symbol for VxWorks too. 1239 1.1 christos (_bfd_mips_elf_always_size_sections): Set computed_got_sizes 1240 1.1 christos to true after computing the GOT size. 1241 1.1 christos (_bfd_mips_elf_hide_symbol): Increase local_gotno whenever 1242 1.1 christos got.offset == 1. Only adjust global_gotno if computed_got_sizes. 1243 1.1 christos For VxWorks, add a local entry when hiding a symbol that needs a 1244 1.1 christos plt but has not been marked as needing a global got entry. 1245 1.1 christos (_bfd_mips_elf_link_hash_table_create): Set computed_got_sizes to 1246 1.1 christos false. 1247 1.1 christos 1248 1.1 christos 2007-08-12 Daniel Jacobowitz <dan (a] codesourcery.com> 1249 1.1 christos 1250 1.1 christos * coffgen.c (coff_get_normalized_symtab): Correct cast. 1251 1.1 christos 1252 1.1 christos 2007-08-13 Alan Modra <amodra (a] bigpond.net.au> 1253 1.1 christos 1254 1.1 christos * elf.c (elf_modify_segment_map): Add remove_empty_load param. 1255 1.1 christos Don't remove empty PT_LOAD header if false. 1256 1.1 christos (_bfd_elf_map_sections_to_segments): If user phdrs, pass false 1257 1.1 christos to elf_modify_segment_map. 1258 1.1 christos (assign_file_positions_for_load_sections): Pass false to 1259 1.1 christos elf_modify_segment_map. 1260 1.1 christos 1261 1.1 christos 2007-08-13 Alan Modra <amodra (a] bigpond.net.au> 1262 1.1 christos 1263 1.1 christos * elf64-ppc.c (ADDI_R12_R12, LD_R11_0R2, LD_R2_0R2): Define. 1264 1.1 christos Update stub comments. 1265 1.1 christos (build_plt_stub): Build two variants, one without "addis". 1266 1.1 christos (ppc_build_one_stub): Build stubs without "addis" if possible. 1267 1.1 christos (ppc_size_one_stub): Size new stubs. 1268 1.1 christos 1269 1.1 christos 2007-08-11 Richard Sandiford <richard (a] codesourcery.com> 1270 1.1 christos 1271 1.1 christos * config.bfd (sh-*-vxworks): Define targ_underscore to "yes". 1272 1.1 christos 1273 1.1 christos 2007-08-09 Michael Snyder <msnyder (a] access-company.com> 1274 1.1 christos 1275 1.1 christos * aoutx.h (aout_get_external_symbols): Return if count is zero. 1276 1.1 christos 1277 1.1 christos 2007-08-09 H.J. Lu <hongjiu.lu (a] intel.com> 1278 1.1 christos 1279 1.1 christos PR ld/4909 1280 1.1 christos * elf.c (print_segment_map): New function. 1281 1.1 christos (assign_file_positions_for_load_sections): Call print_segment_map 1282 1.1 christos when a section can't be allocated in segment. 1283 1.1 christos 1284 1.1 christos 2007-08-09 Jan Kratochvil <jan.kratochvil (a] redhat.com> 1285 1.1 christos 1286 1.1 christos * opncls.c (bfd_openr_iovec): Fix the OPEN parameter macro expansion. 1287 1.1 christos 1288 1.1 christos 2007-08-07 Nick Clifton <nickc (a] redhat.com> 1289 1.1 christos 1290 1.1 christos * po/bfd.pot: Updated template. 1291 1.1 christos * po/BLD-POTFILES.in: Regenerate. 1292 1.1 christos 1293 1.1 christos 2007-08-07 Alan Modra <amodra (a] bigpond.net.au> 1294 1.1 christos 1295 1.1 christos * elf.c: (_bfd_elf_make_section_from_phdr): Properly handle 1296 1.1 christos bss segments. 1297 1.1 christos 1298 1.1 christos 2007-08-06 Daniel Jacobowitz <dan (a] codesourcery.com> 1299 1.1 christos 1300 1.1 christos * Makefile.am (BUILD_HFILES): Clean bfd_stdint.h. 1301 1.1 christos * Makefile.in: Regenerated. 1302 1.1 christos 1303 1.1 christos 2007-08-06 Daniel Jacobowitz <dan (a] codesourcery.com> 1304 1.1 christos 1305 1.1 christos * configure.in: Update version to 2.18.50. 1306 1.1 christos * configure: Regenerated. 1307 1.1 christos 1308 1.1 christos 2007-08-06 Paul Brook <paul (a] codesourcery.com> 1309 1.1 christos 1310 1.1 christos * elf32-arm.c (elf32_arm_link_hash_entry): Add 1311 1.1 christos plt_maybe_thumb_refcount. 1312 1.1 christos (elf32_arm_link_hash_newfunc): Set plt_maybe_thumb_refcount. 1313 1.1 christos (elf32_arm_copy_indirect_symbol): Ditto. 1314 1.1 christos (elf32_arm_adjust_dynamic_symbol): Ditto. 1315 1.1 christos (bfd_elf32_arm_process_before_allocation): Handle R_ARM_THM_JUMP24. 1316 1.1 christos (arm_add_to_rel): Ditto. 1317 1.1 christos (elf32_arm_final_link_relocate): Merge R_ARM_THM_JUMP24 with 1318 1.1 christos R_ARM_THM_CALL. Handle R_ARM_THM_JUMP19 against a PLT stub. 1319 1.1 christos (elf32_arm_gc_sweep_hook): Call check_use_blx. Update plt counts 1320 1.1 christos for R_ARM_THM_JUMP24 and R_ARM_THM_JUMP19. 1321 1.1 christos (elf32_arm_check_relocs): Update plt counts for R_ARM_THM_JUMP24 1322 1.1 christos and R_ARM_THM_JUMP19. 1323 1.1 christos (allocate_dynrelocs): Use plt_maybe_thumb_refcount. 1324 1.1 christos (elf32_arm_finish_dynamic_symbol): Ditto. 1325 1.1 christos (elf32_arm_output_plt_map): Ditto. 1326 1.1 christos 1327 1.1 christos 2007-08-06 Daniel Jacobowitz <dan (a] codesourcery.com> 1328 1.1 christos 1329 1.1 christos * elf.c (rewrite_elf_program_header): Handle sections not sorted 1330 1.1 christos by address. 1331 1.1 christos (copy_elf_program_header): Likewise. 1332 1.1 christos 1333 1.1 christos 2007-08-04 H.J. Lu <hongjiu.lu (a] intel.com> 1334 1.1 christos 1335 1.1 christos * elf-bfd.h (xvec_get_elf_backend_data): Add const. 1336 1.1 christos 1337 1.1 christos * elfcode.h (elf_object_p): Use xvec_get_elf_backend_data. 1338 1.1 christos * elfcore.h (elf_core_file_p): Likewise. 1339 1.1 christos 1340 1.1 christos 2007-08-02 H.J. Lu <hongjiu.lu (a] intel.com> 1341 1.1 christos 1342 1.1 christos * coffcode.h (ALIGN_SET): Removed. 1343 1.1 christos (ELIFALIGN_SET): Likewise. 1344 1.1 christos (coff_set_alignment_hook): Handle IMAGE_SCN_ALIGN_128BYTES, 1345 1.1 christos IMAGE_SCN_ALIGN_256BYTES, IMAGE_SCN_ALIGN_512BYTES, 1346 1.1 christos IMAGE_SCN_ALIGN_1024BYTES, IMAGE_SCN_ALIGN_2048BYTES, 1347 1.1 christos IMAGE_SCN_ALIGN_4096BYTES and IMAGE_SCN_ALIGN_8192BYTES. 1348 1.1 christos 1349 1.1 christos 2007-08-01 Michael Snyder <msnyder (a] access-company.com> 1350 1.1 christos 1351 1.1 christos * vms-tir.c (new_section): Fix cut and paste error. 1352 1.1 christos 1353 1.1 christos * aoutx.h (aout_link_add_symbols): Return if count is zero. 1354 1.1 christos 1355 1.1 christos * elf.c (bfd_elf_print_symbol): Macro dereferences pointer, so 1356 1.1 christos pointer must be non-null. 1357 1.1 christos 1358 1.1 christos 2007-08-01 Tristan Gingold <gingold (a] adacore.com> 1359 1.1 christos 1360 1.1 christos * coffcode.h (coff_sort_func_alent): New function. 1361 1.1 christos (coff_slurp_line_table): Sort line table if not already sorted. 1362 1.1 christos 1363 1.1 christos 2007-08-01 Jakub Jelinek <jakub (a] redhat.com> 1364 1.1 christos 1365 1.1 christos * elf.c (_bfd_elf_map_sections_to_segments): Work around buggy 1366 1.1 christos GCC 3.4.x warning. 1367 1.1 christos 1368 1.1 christos 2007-08-01 Alan Modra <amodra (a] bigpond.net.au> 1369 1.1 christos 1370 1.1 christos * aoutx.h (swap_ext_reloc_in): Set howto to NULL for unknown 1371 1.1 christos r_type. 1372 1.1 christos (swap_std_reloc_in): Likewise. 1373 1.1 christos (aout_link_input_section_std): Likewise. Return with an error 1374 1.1 christos on unexpected relocation type. 1375 1.1 christos (aout_link_input_section_ext): Likewise. 1376 1.1 christos 1377 1.1 christos 2007-08-01 Alan Modra <amodra (a] bigpond.net.au> 1378 1.1 christos 1379 1.1 christos PR4694 1380 1.1 christos * aoutx.h (final_link): Write a zero in first word of 1381 1.1 christos stringtab if no symbols rather than corrupting last byte 1382 1.1 christos of text/data. 1383 1.1 christos 1384 1.1 christos 2007-07-31 Jakub Jelinek <jakub (a] redhat.com> 1385 1.1 christos 1386 1.1 christos * elf.c (get_program_header_size): Adjacent loadable .note* 1387 1.1 christos sections need just one PT_NOTE segment. 1388 1.1 christos (_bfd_elf_map_sections_to_segments): Likewise. 1389 1.1 christos 1390 1.1 christos 2007-07-30 Michael Snyder <msnyder (a] access-company.com> 1391 1.1 christos 1392 1.1 christos * coffgen.c (_bfd_coff_read_internal_relocs): Revert change of 1393 1.1 christos 2007-07-26. Buffer still in use, can't be freed. 1394 1.1 christos 1395 1.1 christos 2007-07-27 Michael Snyder <msnyder (a] access-company.com> 1396 1.1 christos 1397 1.1 christos * cofflink.c (coff_link_add_symbols): Return if count is zero. 1398 1.1 christos 1399 1.1 christos * coff-i386.c (coff_i386_rtype_to_howto): Off by one error. 1400 1.1 christos 1401 1.1 christos * aoutx.h (slurp_symbol_table): Return if count == 0. 1402 1.1 christos 1403 1.1 christos * coffgen.c (_bfd_coff_read_internal_relocs): Return if count is zero. 1404 1.1 christos 1405 1.1 christos * elf32-i386.c (elf_i386_check_relocs): Check for null pointer. 1406 1.1 christos 1407 1.1 christos 2007-07-27 H.J. Lu <hongjiu.lu (a] intel.com> 1408 1.1 christos 1409 1.1 christos * config.bfd (x86_64-*-mingw*): Don't include x86_64coff_vec. 1410 1.1 christos 1411 1.1 christos 2007-07-26 Michael Snyder <msnyder (a] access-company.com> 1412 1.1 christos 1413 1.1 christos * coff-i386.c (coff_i386_rtype_to_howto): Guard against null. 1414 1.1 christos 1415 1.1 christos * linker.c (bfd_section_already_linked_table_insert): Change 1416 1.1 christos return type from void to boolean. Return FALSE on failure. 1417 1.1 christos (_bfd_generic_section_already_linked): Test return value of 1418 1.1 christos bfd_section_already_linked_table_insert, call fatal on error. 1419 1.1 christos 1420 1.1 christos * elflink.c (_bfd_elf_section_already_linked): Test return value 1421 1.1 christos of bfd_section_already_linked_table_insert, call fatal on error. 1422 1.1 christos 1423 1.1 christos * libbfd-in.h (bfd_section_already_linked_table_insert): Update 1424 1.1 christos return type to bfd_boolean. 1425 1.1 christos 1426 1.1 christos * libbfd.h: Regenerate. 1427 1.1 christos 1428 1.1 christos 2007-07-26 Adam Nemet <anemet (a] caviumnetworks.com> 1429 1.1 christos 1430 1.1 christos * archive.c (do_slurp_bsd_armap, do_slurp_coff_armap, 1431 1.1 christos bfd_slurp_armap): Improve function comment. 1432 1.1 christos 1433 1.1 christos 2007-07-26 Michael Snyder <msnyder (a] access-company.com> 1434 1.1 christos 1435 1.1 christos * linker.c (already_linked_newfunc): Check for NULL return from 1436 1.1 christos bfd_hash_allocate. 1437 1.1 christos 1438 1.1 christos * coffgen.c (fixup_symbol_value): Guard against null; 1439 1.1 christos bfd_is_com_section will dereference the section pointer. 1440 1.1 christos 1441 1.1 christos * syms.c (bfd_decode_symclass): Guard against NULL, since 1442 1.1 christos bfd_is_com_section dereferences the pointer. 1443 1.1 christos 1444 1.1 christos * srec.c (srec_scan): Check for EOF (critical because return value 1445 1.1 christos will be used as array index). 1446 1.1 christos 1447 1.1 christos * coffgen.c (_bfd_coff_read_internal_relocs): If internal_relocs 1448 1.1 christos are not to be cached, free the temporary buffer. 1449 1.1 christos 1450 1.1 christos * aoutx.h (slurp_reloc_table): Return TRUE if reloc_size == zero 1451 1.1 christos or count == zero. 1452 1.1 christos 1453 1.1 christos * tekhex.c (first_phase): Check return value for null. 1454 1.1 christos 1455 1.1 christos * elf.c (_bfd_elf_get_synthetic_symtab): Remove meaningless 1456 1.1 christos pointer increment. 1457 1.1 christos 1458 1.1 christos 2007-07-26 Alan Modra <amodra (a] bigpond.net.au> 1459 1.1 christos 1460 1.1 christos * elflink.c (_bfd_elf_fix_symbol_flags): Remove unnecessary 1461 1.1 christos check on dynobj. Remove bed shadow. 1462 1.1 christos 1463 1.1 christos * srec.c (srec_get_section_contents): Return immediately on 1464 1.1 christos count zero. Check that offset and count are within section. 1465 1.1 christos * libbfd.c (_bfd_generic_get_section_contents): Check that 1466 1.1 christos offset + count does not overflow. 1467 1.1 christos 1468 1.1 christos * srec.c (srec_canonicalize_symtab): Don't alloc when symcount 1469 1.1 christos is zero. Correct return value on error. 1470 1.1 christos * mmo.c (mmo_canonicalize_symtab): Likewise. 1471 1.1 christos * binary.c (binary_canonicalize_symtab) Correct return on error. 1472 1.1 christos 1473 1.1 christos 2007-07-26 Thiemo Seufer <ths (a] mips.com> 1474 1.1 christos 1475 1.1 christos * bfd.c (_bfd_set_gp_value): Use abort instead of BFD_FAIL. 1476 1.1 christos 1477 1.1 christos 2007-07-26 Alan Modra <amodra (a] bigpond.net.au> 1478 1.1 christos 1479 1.1 christos * reloc.c (bfd_generic_get_relocated_section_contents): Avoid 1480 1.1 christos bfd_canonicalize_reloc call when bfd_get_reloc_upper_bound 1481 1.1 christos says there are no relocs. 1482 1.1 christos 1483 1.1 christos 2007-07-26 Doug Kwan <dougkwan (a] google.com> 1484 1.1 christos 1485 1.1 christos Speed up bfd_dwarf2_find_line. 1486 1.1 christos * dwarf2.c (struct dwarf2_debug): Add new fields to support function 1487 1.1 christos and variable info hash tables. Add last_comp_unit, info_hash_count, 1488 1.1 christos funcinfo_hash_table, varinfo_hash_table, hash_units_head. 1489 1.1 christos (struct comp_unit): Add prev_unit, cached. 1490 1.1 christos (struct info_list_node, struct info_hash_entry, 1491 1.1 christos struct info_hash_table): New. 1492 1.1 christos (info_hash_table_newfunc, create_info_hash_table, 1493 1.1 christos insert_info_hash_table, lookup_info_hash_table): New functions 1494 1.1 christos implementing function and variable info hash tables. 1495 1.1 christos (scan_unit_for_symbols): Add checks to make sure hash tables are 1496 1.1 christos consistent with compilation units. 1497 1.1 christos (comp_unit_maybe_decode_line_info): New function. 1498 1.1 christos (comp_unit_find_line): Use comp_unit_maybe_decode_line_info. 1499 1.1 christos (reverse_funcinfo_list, reverse_varinfo_list, comp_unit_hash_info, 1500 1.1 christos info_hash_lookup_funcinfo, info_hash_lookup_varinfo, 1501 1.1 christos stash_maybe_update_info_hash_table, stash_verify_info_hash_table, 1502 1.1 christos stash_maybe_enable_info_hash_tables, stash_find_line_fast): New 1503 1.1 christos functions. Make use of info hash tables to speed up 1504 1.1 christos bfd_dwarf2_find_line. 1505 1.1 christos (find_line): Use hash table for faster lookup if it is turned on. 1506 1.1 christos Also add code to maintain bi-directional link in comp units. 1507 1.1 christos 1508 1.1 christos 2007-07-25 Michael Snyder <msnyder (a] access-company.com> 1509 1.1 christos 1510 1.1 christos * coffgen.c (_bfd_coff_get_external_symbols): Nothing to be done 1511 1.1 christos if size == 0; return and avoid possible null pointer issues. 1512 1.1 christos 1513 1.1 christos 2007-07-25 Alan Modra <amodra (a] bigpond.net.au> 1514 1.1 christos 1515 1.1 christos * linker.c (generic_link_add_symbol_list): Warning fix. 1516 1.1 christos 1517 1.1 christos 2007-07-24 Michael Snyder <msnyder (a] access-company.com> 1518 1.1 christos 1519 1.1 christos * opncls.c (bfd_make_writable): Check return from bfd_malloc. 1520 1.1 christos 1521 1.1 christos * elflink.c (bfd_elf_final_link): Avoid redundant frees -- return 1522 1.1 christos on bfd_malloc error rather than goto error_return. 1523 1.1 christos 1524 1.1 christos 2007-07-24 Alan Modra <amodra (a] bigpond.net.au> 1525 1.1 christos 1526 1.1 christos * elflink.c (_bfd_elf_link_just_syms, merge_sections_remove_hook, 1527 1.1 christos _bfd_elf_merge_sections, _bfd_elf_link_hash_newfunc, 1528 1.1 christos _bfd_elf_link_hash_copy_indirect, _bfd_elf_link_hash_hide_symbol, 1529 1.1 christos _bfd_elf_link_hash_table_init, _bfd_elf_link_hash_table_create, 1530 1.1 christos bfd_elf_set_dt_needed_name, bfd_elf_get_dyn_lib_class, 1531 1.1 christos bfd_elf_set_dyn_lib_class, bfd_elf_get_needed_list, 1532 1.1 christos bfd_elf_get_runpath_list, bfd_elf_get_dt_soname, 1533 1.1 christos bfd_elf_get_bfd_needed_list, struct elf_symbuf_symbol, 1534 1.1 christos struct elf_symbuf_head, struct elf_symbol, elf_sort_elf_symbol, 1535 1.1 christos elf_sym_name_compare, elf_create_symbuf, 1536 1.1 christos bfd_elf_match_symbols_in_sections, 1537 1.1 christos _bfd_elf_match_sections_by_type): Move to here.. 1538 1.1 christos * elf.c: ..from here. 1539 1.1 christos 1540 1.1 christos 2007-07-23 Richard Sandiford <richard (a] codesourcery.com> 1541 1.1 christos 1542 1.1 christos * elflink.c (_bfd_elf_fix_symbol_flags): Only assert the type 1543 1.1 christos of weakdef->root.type if weakdef has no regular definition. 1544 1.1 christos 1545 1.1 christos 2007-07-22 Adam Nemet <anemet (a] caviumnetworks.com> 1546 1.1 christos 1547 1.1 christos * elfxx-mips.c (struct mips_elf_link_hash_table): Add new field 1548 1.1 christos small_data_overflow_reported. 1549 1.1 christos (_bfd_mips_elf_link_hash_table_create): Initialize it. 1550 1.1 christos (_bfd_mips_elf_relocate_section) <bfd_reloc_overflow>: Report 1551 1.1 christos small-data section overflow. 1552 1.1 christos 1553 1.1 christos 2007-07-19 Doug Kwan <dougkwan (a] google.com> 1554 1.1 christos 1555 1.1 christos PR binutils/4797 1556 1.1 christos * dwarf2.c: (find_line) Do not dereference functionname_ptr if 1557 1.1 christos do_line is true. 1558 1.1 christos 1559 1.1 christos 2007-07-18 Bob Wilson <bob.wilson (a] acm.org> 1560 1.1 christos 1561 1.1 christos * elf32-xtensa.c (xtensa_callback_required_dependence): Ignore 1562 1.1 christos non-ELF sections. 1563 1.1 christos 1564 1.1 christos 2007-07-18 Bob Wilson <bob.wilson (a] acm.org> 1565 1.1 christos 1566 1.1 christos * elf32-xtensa.c (elf_xtensa_finish_dynamic_sections): Get section 1567 1.1 christos vma and size for dynamic tags from the output sections. 1568 1.1 christos 1569 1.1 christos 2007-07-18 Alan Modra <amodra (a] bigpond.net.au> 1570 1.1 christos 1571 1.1 christos * elf-bfd.h (struct sym_sec_cache): Delete "sec". Add "shndx". 1572 1.1 christos * elf.c (bfd_section_from_r_symndx): Don't cache bfd section of 1573 1.1 christos symbol. Instead cache ELF section index. Remove redundant 1574 1.1 christos checks of st_shndx. 1575 1.1 christos 1576 1.1 christos 2007-07-15 Mike Frysinger <vapier (a] gentoo.org> 1577 1.1 christos 1578 1.1 christos * trad-core.c (NBPG): If not defined, set to getpagesize(). 1579 1.1 christos 1580 1.1 christos 2007-07-13 Roland McGrath <roland (a] redhat.com> 1581 1.1 christos 1582 1.1 christos * elf-bfd.h (struct elf_obj_tdata): Revert last change. 1583 1.1 christos Add after_write_object_contents, after_write_object_contents_info. 1584 1.1 christos * elf.c (_bfd_elf_write_object_contents): Revert last change. 1585 1.1 christos Instead, call after_write_object_contents if set. 1586 1.1 christos 1587 1.1 christos 2007-07-12 Kai Tietz <kai.tietz (a] onevision.com> 1588 1.1 christos 1589 1.1 christos * bfd-in.h: (BFD_HOST_64BIT_LONG_LONG): New. 1590 1.1 christos (BFD_HOSTPTR_T): Host pointer type for casting a 1591 1.1 christos pointer to an integer type. 1592 1.1 christos (bfd_hostptr_t): The typedef of BFD_HOSTPTR_T. 1593 1.1 christos (sprintf_vma, fprintf_vma): Add support for long long prints. 1594 1.1 christos * bfd-in2.h: Regenerate. 1595 1.1 christos * configure.in: (BFD_HOST_64BIT_LONG_LONG): New. 1596 1.1 christos (BFD_HOSTPTR_T): Host pointer type for casting a 1597 1.1 christos pointer to an integer type. Default is "unsigned long". 1598 1.1 christos (AC_CHECK_SIZEOF(void *)): New. 1599 1.1 christos (host64): Set it if the pointer size is 8. 1600 1.1 christos * configure: Regenerate. 1601 1.1 christos * config.in: Add macro SIZEOF_VOID_P. 1602 1.1 christos * coffcode.h: Replace host ptr type assuming "long" with 1603 1.1 christos bfd_hostptr_t type. 1604 1.1 christos * coffgen.c: Likewise. 1605 1.1 christos * elf-eh-frame.c: Likewise. 1606 1.1 christos * peicode.h: Likewise. 1607 1.1 christos 1608 1.1 christos 2007-07-10 H.J. Lu <hongjiu.lu (a] intel.com> 1609 1.1 christos 1610 1.1 christos * Makefile.in: Regenerated. 1611 1.1 christos 1612 1.1 christos 2007-07-10 H.J. Lu <hongjiu.lu (a] intel.com> 1613 1.1 christos 1614 1.1 christos PR binutils/4756 1615 1.1 christos * simple.c (bfd_simple_get_relocated_section_content): Don't 1616 1.1 christos apply relocation on executable and shared library. 1617 1.1 christos 1618 1.1 christos 2007-07-10 Nathan Sidwell <nathan (a] codesourcery.com> 1619 1.1 christos 1620 1.1 christos * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Don't eliminate 1621 1.1 christos copy relocs on vxworks. 1622 1.1 christos 1623 1.1 christos 2007-07-10 Alan Modra <amodra (a] bigpond.net.au> 1624 1.1 christos 1625 1.1 christos * elf32-arm.c (elf32_arm_size_info): Init checksum_contents field. 1626 1.1 christos * elf64-alpha.c (alpha_elf_size_info): Likewise. 1627 1.1 christos * elf64-hppa.c (hppa64_elf_size_info): Likewise. 1628 1.1 christos * elf64-mips.c (mips_elf64_size_info): Likewise. 1629 1.1 christos * elf64-s390.c (s390_elf64_size_info): Likewise. 1630 1.1 christos * elf64-sparc.c (elf64_sparc_size_info): Likewise. 1631 1.1 christos 1632 1.1 christos 2007-07-09 H.J. Lu <hongjiu.lu (a] intel.com> 1633 1.1 christos 1634 1.1 christos * elflink.c (bfd_elf_record_link_assignment): Handle indirect 1635 1.1 christos symbol. 1636 1.1 christos (_bfd_elf_merge_symbol): Properly update normal symbol when 1637 1.1 christos overriding the versioned symbol from a dynamic library. 1638 1.1 christos 1639 1.1 christos 2007-07-09 Roland McGrath <roland (a] redhat.com> 1640 1.1 christos 1641 1.1 christos * elf-bfd.h (struct elf_obj_tdata): Add members 1642 1.1 christos emit_note_gnu_build_id and note_gnu_build_id_sec. 1643 1.1 christos * elf.c (_bfd_id_note_section_size): New global function. 1644 1.1 christos (read_hex, _bfd_elf_write_build_id_section): New static functions. 1645 1.1 christos (_bfd_elf_write_object_contents): Call _bfd_elf_write_build_id_section 1646 1.1 christos if emit_note_gnu_build_id is set. 1647 1.1 christos * Makefile.am (elf.lo): Update dependencies. 1648 1.1 christos 1649 1.1 christos * elf-bfd.h (struct elf_size_info): Add checksum_contents hook. 1650 1.1 christos (bfd_elf32_checksum_contents, bfd_elf64_checksum_contents): Declare. 1651 1.1 christos * elfcode.h (elf_checksum_contents): New macro and function. 1652 1.1 christos (NAME(_bfd_elf,size_info)): Initialize checksum_contents hook. 1653 1.1 christos 1654 1.1 christos 2007-07-06 Michael Snyder <msnyder (a] access-company.com> 1655 1.1 christos 1656 1.1 christos * elflink.c (elf_link_add_object_symbols): Return via 1657 1.1 christos error_free_vers on "notice" failure. 1658 1.1 christos 1659 1.1 christos 2007-07-04 H.J. Lu <hongjiu.lu (a] intel.com> 1660 1.1 christos 1661 1.1 christos * peicode.h (pe_bfd_object_p): Don't check PE vs. EFI target 1662 1.1 christos if arch is unknown. 1663 1.1 christos 1664 1.1 christos 2007-07-04 Nick Clifton <nickc (a] redhat.com> 1665 1.1 christos 1666 1.1 christos Import this patch from an internal tree: 1667 1.1 christos 1668 1.1 christos 2001-07-17 Richard Henderson <rth (a] redhat.com> 1669 1.1 christos 1670 1.1 christos * elf32-mep.c (mep_final_link_relocate) [R_MEP_HI16S]: Correctly 1671 1.1 christos compensate for high bit set in R_MEP_LOW16. 1672 1.1 christos 1673 1.1 christos 2007-07-03 Joseph Myers <joseph (a] codesourcery.com> 1674 1.1 christos 1675 1.1 christos * elf32-arm.c (elf32_arm_merge_eabi_attributes): Copy type from 1676 1.1 christos input attributes if value has been copied. 1677 1.1 christos 1678 1.1 christos 2007-07-03 Nick Clifton <nickc (a] redhat.com> 1679 1.1 christos 1680 1.1 christos * COPYING: Replace with GPLv3 text. 1681 1.1 christos * aix386-core.c: Update copyright notice to refer to GPLv3. 1682 1.1 christos * aix5ppc-core.c, aout0.c, aout32.c, aout64.c, aout-adobe.c, 1683 1.1 christos aout-arm.c, aout-cris.c, aoutf1.h, aout-ns32k.c, aout-sparcle.c, 1684 1.1 christos aout-target.h, aout-tic30.c, aoutx.h, archive64.c, archive.c, 1685 1.1 christos archures.c, armnetbsd.c, bfd.c, bfd-in.h, bfdio.c, bfdwin.c, 1686 1.1 christos binary.c, bout.c, cache.c, cf-i386lynx.c, cf-sparclynx.c, 1687 1.1 christos cisco-core.c, coff64-rs6000.c, coff-alpha.c, coff-apollo.c, 1688 1.1 christos coff-arm.c, coff-aux.c, coffcode.h, coffgen.c, coff-go32.c, 1689 1.1 christos coff-h8300.c, coff-h8500.c, coff-i386.c, coff-i860.c, coff-i960.c, 1690 1.1 christos coff-ia64.c, cofflink.c, coff-m68k.c, coff-m88k.c, coff-maxq.c, 1691 1.1 christos coff-mcore.c, coff-mips.c, coff-or32.c, coff-pmac.c, coff-ppc.c, 1692 1.1 christos coff-rs6000.c, coff-sh.c, coff-sparc.c, coff-stgo32.c, 1693 1.1 christos coff-svm68k.c, coffswap.h, coff-tic30.c, coff-tic4x.c, 1694 1.1 christos coff-tic54x.c, coff-tic80.c, coff-u68k.c, coff-w65.c, 1695 1.1 christos coff-we32k.c, coff-x86_64.c, coff-z80.c, coff-z8k.c, corefile.c, 1696 1.1 christos cpu-alpha.c, cpu-arc.c, cpu-arm.c, cpu-avr.c, cpu-bfin.c, 1697 1.1 christos cpu-cr16.c, cpu-cr16c.c, cpu-cris.c, cpu-crx.c, cpu-d10v.c, 1698 1.1 christos cpu-d30v.c, cpu-dlx.c, cpu-fr30.c, cpu-frv.c, cpu-h8300.c, 1699 1.1 christos cpu-h8500.c, cpu-hppa.c, cpu-i370.c, cpu-i386.c, cpu-i860.c, 1700 1.1 christos cpu-i960.c, cpu-ia64.c, cpu-ia64-opc.c, cpu-ip2k.c, cpu-iq2000.c, 1701 1.1 christos cpu-m10200.c, cpu-m10300.c, cpu-m32c.c, cpu-m32r.c, cpu-m68hc11.c, 1702 1.1 christos cpu-m68hc12.c, cpu-m68k.c, cpu-m88k.c, cpu-maxq.c, cpu-mcore.c, 1703 1.1 christos cpu-mep.c, cpu-mips.c, cpu-mmix.c, cpu-msp430.c, cpu-mt.c, 1704 1.1 christos cpu-ns32k.c, cpu-openrisc.c, cpu-or32.c, cpu-pdp11.c, cpu-pj.c, 1705 1.1 christos cpu-powerpc.c, cpu-rs6000.c, cpu-s390.c, cpu-score.c, cpu-sh.c, 1706 1.1 christos cpu-sparc.c, cpu-spu.c, cpu-tic30.c, cpu-tic4x.c, cpu-tic54x.c, 1707 1.1 christos cpu-tic80.c, cpu-v850.c, cpu-vax.c, cpu-w65.c, cpu-we32k.c, 1708 1.1 christos cpu-xc16x.c, cpu-xstormy16.c, cpu-xtensa.c, cpu-z80.c, cpu-z8k.c, 1709 1.1 christos demo64.c, doc/chew.c, dwarf1.c, dwarf2.c, ecoff.c, ecofflink.c, 1710 1.1 christos ecoffswap.h, efi-app-ia32.c, efi-app-ia64.c, efi-app-x86_64.c, 1711 1.1 christos elf32-am33lin.c, elf32-arc.c, elf32-arm.c, elf32-avr.c, 1712 1.1 christos elf32-avr.h, elf32-bfin.c, elf32.c, elf32-cr16.c, elf32-cr16c.c, 1713 1.1 christos elf32-cris.c, elf32-crx.c, elf32-d10v.c, elf32-d30v.c, 1714 1.1 christos elf32-dlx.c, elf32-fr30.c, elf32-frv.c, elf32-gen.c, 1715 1.1 christos elf32-h8300.c, elf32-hppa.c, elf32-hppa.h, elf32-i370.c, 1716 1.1 christos elf32-i386.c, elf32-i860.c, elf32-i960.c, elf32-ip2k.c, 1717 1.1 christos elf32-iq2000.c, elf32-m32c.c, elf32-m32r.c, elf32-m68hc11.c, 1718 1.1 christos elf32-m68hc12.c, elf32-m68hc1x.c, elf32-m68hc1x.h, elf32-m68k.c, 1719 1.1 christos elf32-m88k.c, elf32-mcore.c, elf32-mep.c, elf32-mips.c, 1720 1.1 christos elf32-msp430.c, elf32-mt.c, elf32-openrisc.c, elf32-or32.c, 1721 1.1 christos elf32-pj.c, elf32-ppc.c, elf32-ppc.h, elf32-s390.c, elf32-score.c, 1722 1.1 christos elf32-sh64.c, elf32-sh64-com.c, elf32-sh64.h, elf32-sh.c, 1723 1.1 christos elf32-sh-symbian.c, elf32-sparc.c, elf32-spu.c, elf32-spu.h, 1724 1.1 christos elf32-v850.c, elf32-vax.c, elf32-xc16x.c, elf32-xstormy16.c, 1725 1.1 christos elf32-xtensa.c, elf64-alpha.c, elf64.c, elf64-gen.c, elf64-hppa.c, 1726 1.1 christos elf64-hppa.h, elf64-mips.c, elf64-mmix.c, elf64-ppc.c, 1727 1.1 christos elf64-ppc.h, elf64-s390.c, elf64-sh64.c, elf64-sparc.c, 1728 1.1 christos elf64-x86-64.c, elf-attrs.c, elf-bfd.h, elf.c, elfcode.h, 1729 1.1 christos elfcore.h, elf-eh-frame.c, elf-hppa.h, elflink.c, elf-m10200.c, 1730 1.1 christos elf-m10300.c, elfn32-mips.c, elf-strtab.c, elf-vxworks.c, 1731 1.1 christos elf-vxworks.h, elfxx-ia64.c, elfxx-mips.c, elfxx-mips.h, 1732 1.1 christos elfxx-sparc.c, elfxx-sparc.h, elfxx-target.h, epoc-pe-arm.c, 1733 1.1 christos epoc-pei-arm.c, format.c, freebsd.h, gen-aout.c, genlink.h, 1734 1.1 christos hash.c, host-aout.c, hosts/alphavms.h, hp300bsd.c, hp300hpux.c, 1735 1.1 christos hppabsd-core.c, hpux-core.c, i386aout.c, i386bsd.c, i386dynix.c, 1736 1.1 christos i386freebsd.c, i386linux.c, i386lynx.c, i386mach3.c, i386msdos.c, 1737 1.1 christos i386netbsd.c, i386os9k.c, ieee.c, ihex.c, init.c, irix-core.c, 1738 1.1 christos libaout.h, libbfd.c, libbfd-in.h, libcoff-in.h, libecoff.h, 1739 1.1 christos libhppa.h, libieee.h, libnlm.h, liboasys.h, libpei.h, libxcoff.h, 1740 1.1 christos linker.c, lynx-core.c, m68k4knetbsd.c, m68klinux.c, m68knetbsd.c, 1741 1.1 christos m88kmach3.c, m88kopenbsd.c, mach-o.c, mach-o.h, mach-o-target.c, 1742 1.1 christos mep-relocs.pl, merge.c, mipsbsd.c, mmo.c, netbsd-core.c, netbsd.h, 1743 1.1 christos newsos3.c, nlm32-alpha.c, nlm32.c, nlm32-i386.c, nlm32-ppc.c, 1744 1.1 christos nlm32-sparc.c, nlm64.c, nlm.c, nlmcode.h, nlmswap.h, nlm-target.h, 1745 1.1 christos ns32k.h, ns32knetbsd.c, oasys.c, opncls.c, osf-core.c, 1746 1.1 christos pc532-mach.c, pdp11.c, pe-arm.c, pe-arm-wince.c, pef.c, pef.h, 1747 1.1 christos pef-traceback.h, pe-i386.c, pei-arm.c, pei-arm-wince.c, peicode.h, 1748 1.1 christos pei-i386.c, pei-mcore.c, pei-mips.c, pei-ppc.c, pei-sh.c, 1749 1.1 christos pei-x86_64.c, pe-mcore.c, pe-mips.c, pe-ppc.c, pe-sh.c, 1750 1.1 christos pe-x86_64.c, peXXigen.c, ppcboot.c, ptrace-core.c, reloc16.c, 1751 1.1 christos reloc.c, riscix.c, rs6000-core.c, sco5-core.c, section.c, 1752 1.1 christos simple.c, som.c, som.h, sparclinux.c, sparclynx.c, sparcnetbsd.c, 1753 1.1 christos srec.c, stabs.c, stab-syms.c, stamp-h.in, sunos.c, syms.c, 1754 1.1 christos sysdep.h, targets.c, targmatch.sed, tekhex.c, ticoff.h, 1755 1.1 christos trad-core.c, vax1knetbsd.c, vaxbsd.c, vaxnetbsd.c, versados.c, 1756 1.1 christos vms.c, vms-gsd.c, vms.h, vms-hdr.c, vms-misc.c, vms-tir.c, 1757 1.1 christos xcofflink.c, xcoff-target.h, xsym.c, xsym.h, xtensa-isa.c, 1758 1.1 christos xtensa-modules.c: Likewise. 1759 1.1 christos * elf32-sh-relocs.h: Add copyright notice. 1760 1.1 christos * hosts/alphalinux.h, hosts/decstation.h, hosts/delta68.h, 1761 1.1 christos hosts/dpx2.h, hosts/hp300bsd.h, hosts/i386bsd.h, 1762 1.1 christos hosts/i386linux.h, hosts/i386mach3.h, hosts/i386sco.h, 1763 1.1 christos hosts/i860mach3.h, hosts/m68kaux.h, hosts/m68klinux.h, 1764 1.1 christos hosts/m88kmach3.h, hosts/mipsbsd.h, hosts/mipsmach3.h, 1765 1.1 christos hosts/news.h, hosts/news-mips.h, hosts/pc532mach.h, 1766 1.1 christos hosts/riscos.h, hosts/symmetry.h, hosts/tahoe.h, hosts/vaxbsd.h, 1767 1.1 christos hosts/vaxlinux.h, hosts/vaxult2.h, hosts/vaxult.h: Likewise. 1768 1.1 christos * bfd-in2.h, libbfd.h, libcoff.h: Regenerate. 1769 1.1 christos 1770 1.1 christos 2007-07-02 Joseph Myers <joseph (a] codesourcery.com> 1771 1.1 christos 1772 1.1 christos * elfxx-mips.c (mips_elf_calculate_relocation): Handle 1773 1.1 christos R_MIPS_TLS_DTPREL32 and R_MIPS_TLS_DTPREL64. 1774 1.1 christos * elf64-mips.c (mips_elf64_howto_table_rela): Support 1775 1.1 christos R_MIPS_TLS_DTPREL64. 1776 1.1 christos 1777 1.1 christos 2007-07-02 Alan Modra <amodra (a] bigpond.net.au> 1778 1.1 christos 1779 1.1 christos * Makefile.am: Run "make dep-am". 1780 1.1 christos * Makefile.in: Regenerate. 1781 1.1 christos * aclocal.m4: Regenerate. 1782 1.1 christos * config.in: Regenerate. 1783 1.1 christos * po/SRC-POTFILES.in: Regenerate. 1784 1.1 christos * po/bfd.pot: Regenerate. 1785 1.1 christos 1786 1.1 christos 2007-07-02 Alan Modra <amodra (a] bigpond.net.au> 1787 1.1 christos 1788 1.1 christos * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Tidy 1789 1.1 christos symsec != NULL tests. 1790 1.1 christos 1791 1.1 christos 2007-07-02 Alan Modra <amodra (a] bigpond.net.au> 1792 1.1 christos 1793 1.1 christos PR 4712 1794 1.1 christos * elf.c (assign_file_positions_for_load_sections): Adjust lma 1795 1.1 christos by p_vaddr_offset. 1796 1.1 christos 1797 1.1 christos 2007-06-30 H.J. Lu <hongjiu.lu (a] intel.com> 1798 1.1 christos 1799 1.1 christos * aclocal.m4: Regenerated. 1800 1.1 christos * Makefile.in: Likewise. 1801 1.1 christos 1802 1.1 christos 2007-06-29 Joseph Myers <joseph (a] codesourcery.com> 1803 1.1 christos 1804 1.1 christos * elf32-ppc.c (ppc_elf_merge_obj_attributes): New. 1805 1.1 christos (ppc_elf_merge_private_bfd_data): Call it. 1806 1.1 christos 1807 1.1 christos 2007-06-29 Joseph Myers <joseph (a] codesourcery.com> 1808 1.1 christos 1809 1.1 christos * elfxx-mips.c (mips_elf_merge_obj_attributes): New. 1810 1.1 christos (_bfd_mips_elf_merge_private_bfd_data): Call it. 1811 1.1 christos 1812 1.1 christos 2007-06-29 Joseph Myers <joseph (a] codesourcery.com> 1813 1.1 christos 1814 1.1 christos * elf-attrs.c: New. 1815 1.1 christos * Makefile.am (BFD32_BACKENDS): Add elf-attrs.lo. 1816 1.1 christos (BFD32_BACKENDS_CFILES): Add elf-attrs.c. 1817 1.1 christos (elf-attrs.lo): Generate dependencies. 1818 1.1 christos * Makefile.in: Regenerate. 1819 1.1 christos * configure.in (elf): Add elf-attrs.lo. 1820 1.1 christos * configure: Regenerate. 1821 1.1 christos * elf-bfd.h (struct elf_backend_data): Add entries for object 1822 1.1 christos attributes. 1823 1.1 christos (NUM_KNOWN_OBJ_ATTRIBUTES, obj_attribute, obj_attribute_list, 1824 1.1 christos OBJ_ATTR_PROC, OBJ_ATTR_GNU, OBJ_ATTR_FIRST, OBJ_ATTR_LAST, 1825 1.1 christos Tag_NULL, Tag_File, Tag_Section, Tag_Symbol, Tag_compatibility): 1826 1.1 christos New. 1827 1.1 christos (struct elf_obj_tdata): Add entries for object attributes. 1828 1.1 christos (elf_known_obj_attributes, elf_other_obj_attributes, 1829 1.1 christos elf_known_obj_attributes_proc, elf_other_obj_attributes_proc): 1830 1.1 christos New. 1831 1.1 christos (bfd_elf_obj_attr_size, bfd_elf_set_obj_attr_contents, 1832 1.1 christos bfd_elf_get_obj_attr_int, bfd_elf_add_obj_attr_int, 1833 1.1 christos bfd_elf_add_proc_attr_int, bfd_elf_add_obj_attr_string, 1834 1.1 christos bfd_elf_add_proc_attr_string, bfd_elf_add_obj_attr_compat, 1835 1.1 christos bfd_elf_add_proc_attr_compat, _bfd_elf_attr_strdup, 1836 1.1 christos _bfd_elf_copy_obj_attributes, _bfd_elf_obj_attrs_arg_type, 1837 1.1 christos _bfd_elf_parse_attributes, _bfd_elf_merge_object_attributes): New. 1838 1.1 christos * elf.c (_bfd_elf_copy_private_bfd_data): Copy object attributes. 1839 1.1 christos (bfd_section_from_shdr): Handle attributes sections. 1840 1.1 christos * elflink.c (bfd_elf_final_link): Handle attributes sections. 1841 1.1 christos * elfxx-target.h (elf_backend_obj_attrs_vendor, 1842 1.1 christos elf_backend_obj_attrs_section, elf_backend_obj_attrs_arg_type, 1843 1.1 christos elf_backend_obj_attrs_section_type): New. 1844 1.1 christos (elfNN_bed): Update. 1845 1.1 christos * elf32-arm.c (NUM_KNOWN_ATTRIBUTES, aeabi_attribute, 1846 1.1 christos aeabi_attribute_list): Remove. 1847 1.1 christos (struct elf32_arm_obj_tdata): Remove object attributes fields. 1848 1.1 christos (check_use_blx, bfd_elf32_arm_set_vfp11_fix, using_thumb2, 1849 1.1 christos elf32_arm_copy_private_bfd_data, elf32_arm_merge_eabi_attributes): 1850 1.1 christos Update for new object attributes interfaces. 1851 1.1 christos (uleb128_size, is_default_attr, eabi_attr_size, 1852 1.1 christos elf32_arm_eabi_attr_size, write_uleb128, write_eabi_attribute, 1853 1.1 christos elf32_arm_set_eabi_attr_contents, elf32_arm_bfd_final_link, 1854 1.1 christos elf32_arm_new_eabi_attr, elf32_arm_get_eabi_attr_int, 1855 1.1 christos elf32_arm_add_eabi_attr_int, attr_strdup, 1856 1.1 christos elf32_arm_add_eabi_attr_string, elf32_arm_add_eabi_attr_compat, 1857 1.1 christos copy_eabi_attributes, elf32_arm_parse_attributes): Remove. Moved 1858 1.1 christos to generic code in elf-attrs.c. 1859 1.1 christos (elf32_arm_obj_attrs_arg_type): New. 1860 1.1 christos (elf32_arm_fake_sections): Do not handle .ARM.attributes. 1861 1.1 christos (elf32_arm_section_from_shdr): Do not handle SHT_ARM_ATTRIBUTES. 1862 1.1 christos (bfd_elf32_bfd_final_link): Remove. 1863 1.1 christos (elf_backend_obj_attrs_vendor, elf_backend_obj_attrs_section, 1864 1.1 christos elf_backend_obj_attrs_arg_type, 1865 1.1 christos elf_backend_obj_attrs_section_type): New. 1866 1.1 christos * elf32-bfin.c (bfin_elf_copy_private_bfd_data): Copy object 1867 1.1 christos attributes. 1868 1.1 christos * elf32-frv.c (frv_elf_copy_private_bfd_data): Likewise. 1869 1.1 christos * elf32-iq2000.c (iq2000_elf_copy_private_bfd_data): Likewise. 1870 1.1 christos * elf32-mep.c (mep_elf_copy_private_bfd_data): Likewise. 1871 1.1 christos * elf32-mt.c (mt_elf_copy_private_bfd_data): Likewise. 1872 1.1 christos * elf32-sh.c (sh_elf_copy_private_data): Likewise. 1873 1.1 christos * elf64-sh64.c (sh_elf64_copy_private_data_internal): Likewise. 1874 1.1 christos 1875 1.1 christos 2007-06-29 Paul Brook <paul (a] codesourcery.com> 1876 1.1 christos 1877 1.1 christos * elf32-arm.c (bfd_elf32_arm_process_before_allocation): Suppress 1878 1.1 christos call veneers for call relocations against undefined symbols. 1879 1.1 christos (elf32_arm_final_link_relocate): Turn call to undefined symbol 1880 1.1 christos into a jump to the next instruction. 1881 1.1 christos 1882 1.1 christos 2007-06-29 Michael Snyder <msnyder (a] access-company.com> 1883 1.1 christos 1884 1.1 christos * bfd.c (bfd_demangle): Plug memory leak (Coverity). 1885 1.1 christos 1886 1.1 christos 2007-06-29 M R Swami Reddy <MR.Swami.Reddy (a] nsc.com> 1887 1.1 christos 1888 1.1 christos * Makefile.am: Add cr16 related entry 1889 1.1 christos * Makefile.in: Regenerate 1890 1.1 christos * archures.c: Add bfd_cr16_arch 1891 1.1 christos * bfd-in2.h: Regenerate 1892 1.1 christos * config.bfd: Add cr16-elf 1893 1.1 christos * configure.in: Add bfd_elf32_cr16_vec 1894 1.1 christos * configure: Regenerate. 1895 1.1 christos * targets.c: Added cr16 related information 1896 1.1 christos * cpu-cr16.c: New file. 1897 1.1 christos * elf32-cr16.c: New file. 1898 1.1 christos * reloc.c: Added cr16 relocs. 1899 1.1 christos 1900 1.1 christos 2007-06-29 Alan Modra <amodra (a] bigpond.net.au> 1901 1.1 christos 1902 1.1 christos * elflink.c (_bfd_elf_link_assign_sym_version): Improve error 1903 1.1 christos message for undefined version nodes. 1904 1.1 christos (elf_gc_sweep): Don't warn when zero size sections are 1905 1.1 christos removed. 1906 1.1 christos 1907 1.1 christos 2007-06-29 Nathan Froyd <froydnj (a] codesourcery.com> 1908 1.1 christos 1909 1.1 christos * elf32-ppc.c (ppc_elf_info_to_howto): Check for invalid relocation 1910 1.1 christos types. 1911 1.1 christos 1912 1.1 christos 2007-06-29 Alan Modra <amodra (a] bigpond.net.au> 1913 1.1 christos 1914 1.1 christos * elf32-spu.c (spu_elf_fake_sections): New function. 1915 1.1 christos (elf_backend_fake_sections): Define. 1916 1.1 christos 1917 1.1 christos 2007-06-29 Alan Modra <amodra (a] bigpond.net.au> 1918 1.1 christos 1919 1.1 christos * elf.c (assign_file_positions_for_load_sections): Use elf 1920 1.1 christos section header sh_size rather than bfd section size, simplifying 1921 1.1 christos .tbss handling. 1922 1.1 christos 1923 1.1 christos 2007-06-29 Alan Modra <amodra (a] bigpond.net.au> 1924 1.1 christos 1925 1.1 christos PR ld/4701 1926 1.1 christos * elf.c (assign_file_positions_for_load_sections): Ensure bss 1927 1.1 christos segments meet gABI alignment requirements. Don't allocate 1928 1.1 christos file space for bss sections in a segment also containing file 1929 1.1 christos or program headers. 1930 1.1 christos 1931 1.1 christos 2007-06-27 Alan Modra <amodra (a] bigpond.net.au> 1932 1.1 christos 1933 1.1 christos * bfd.c (struct bfd): Rename "next" to "archive_next". 1934 1.1 christos * archive.c: Rename uses throughout file. 1935 1.1 christos * archive64.c: Likewise. 1936 1.1 christos * coff-rs6000.c: Likewise. 1937 1.1 christos * ecoff.c: Likewise. 1938 1.1 christos * som.c: Likewise. 1939 1.1 christos * bfd-in2.h: Regenerate. 1940 1.1 christos 1941 1.1 christos * elf32-ppc.c (ppc_elf_select_plt_layout): Properly iterate over 1942 1.1 christos input bfds. 1943 1.1 christos * elf32-spu.c (spu_elf_create_sections): Likewise. 1944 1.1 christos 1945 1.1 christos 2007-06-26 H.J. Lu <hongjiu.lu (a] intel.com> 1946 1.1 christos 1947 1.1 christos * dwarf2.c (find_line): New. Contains the duplicated code from: 1948 1.1 christos (_bfd_dwarf2_find_nearest_line): Use it. 1949 1.1 christos (_bfd_dwarf2_find_line): Use it. 1950 1.1 christos 1951 1.1 christos 2007-06-26 Joseph Myers <joseph (a] codesourcery.com> 1952 1.1 christos 1953 1.1 christos * elf32-arm.c (copy_eabi_attributes): Copy type of attributes. 1954 1.1 christos 1955 1.1 christos 2007-06-25 Richard Sandiford <richard (a] codesourcery.com> 1956 1.1 christos 1957 1.1 christos * elfxx-mips.c (mips_elf_calculate_relocation): Allow local stubs 1958 1.1 christos to be used for calls from MIPS16 code. 1959 1.1 christos 1960 1.1 christos 2007-06-23 Andreas Schwab <schwab (a] suse.de> 1961 1.1 christos 1962 1.1 christos * configure.in (--with-separate-debug-dir): New option. 1963 1.1 christos * configure: Regenerate. 1964 1.1 christos * Makefile.am (dwarf2.lo): Add rule to pass DEBUGDIR. 1965 1.1 christos * Makefile.in: Regenerate. 1966 1.1 christos * dwarf2.c (_bfd_dwarf2_find_nearest_line): Pass DEBUGDIR to 1967 1.1 christos bfd_follow_gnu_debuglink. 1968 1.1 christos (_bfd_dwarf2_find_line): Likewise. 1969 1.1 christos 1970 1.1 christos 2007-06-22 Nick Clifton <nickc (a] redhat.com> 1971 1.1 christos 1972 1.1 christos * dwarf2.c: Add support for reading in debug information via a 1973 1.1 christos .gnu_debuglink section: 1974 1.1 christos (struct dwarf2_debug): Add bfd field to record the bfd containing 1975 1.1 christos the debug info. 1976 1.1 christos (parse_comp_unit): Remove ABFD parameter. Instead use the bfd 1977 1.1 christos field in the dwarf2_debug structure. 1978 1.1 christos (_bfd_dwarf2_find_nearest_line): If a debug info section could not 1979 1.1 christos be found in the current bfd call bfd_follow_gnu_debuglink to see 1980 1.1 christos if another file contains the debug information. If it does, open 1981 1.1 christos it and continue. 1982 1.1 christos (_bfd_dwarf2_find_line): Likewise. 1983 1.1 christos 1984 1.1 christos 2007-06-19 H.J. Lu <hongjiu.lu (a] intel.com> 1985 1.1 christos 1986 1.1 christos PR ld/4590 1987 1.1 christos * elfxx-ia64.c (sort_dyn_sym_info): Keep the valid got_offset 1988 1.1 christos when removing duplicated entries. 1989 1.1 christos (get_dyn_sym_info): Initialize the got_offset field to -1. 1990 1.1 christos Update call to sort_dyn_sym_info. 1991 1.1 christos (elfNN_ia64_relocate_section): Call sort_dyn_sym_info to sort 1992 1.1 christos array of addend and remove duplicates. 1993 1.1 christos 1994 1.1 christos 2007-06-18 H.J. Lu <hongjiu.lu (a] intel.com> 1995 1.1 christos 1996 1.1 christos * libpei.h (_bfd_XXi_final_link_postscript): Remove 1997 1.1 christos duplication. 1998 1.1 christos (bfd_target_pei_p): New. 1999 1.1 christos (bfd_target_pei_arch): New 2000 1.1 christos (bfd_target_efi_p): Likewise. 2001 1.1 christos (bfd_target_efi_arch): New 2002 1.1 christos (bfd_pe_executable_p): Use bfd_target_pei_p and 2003 1.1 christos bfd_target_efi_p. 2004 1.1 christos 2005 1.1 christos * peicode.h (arch_type): New enum. 2006 1.1 christos (pe_arch): New function. 2007 1.1 christos (pe_bfd_object_p): Don't match PE/EFI target with EFI/PE file 2008 1.1 christos if there is an EFI/PE target. 2009 1.1 christos 2010 1.1 christos 2007-06-14 H.J. Lu <hongjiu.lu (a] intel.com> 2011 1.1 christos 2012 1.1 christos * Makefile.am (ACLOCAL_AMFLAGS): Add -I . -I ../config. 2013 1.1 christos 2014 1.1 christos * acinclude.m4: Don't include m4 files. Remove libtool 2015 1.1 christos kludge. 2016 1.1 christos 2017 1.1 christos * Makefile.in: Regenerated. 2018 1.1 christos * aclocal.m4: Likewise. 2019 1.1 christos * configure: Likewise. 2020 1.1 christos 2021 1.1 christos 2007-06-11 Sterling Augustine <sterling (a] tensilica.com> 2022 1.1 christos Bob Wilson <bob.wilson (a] acm.org> 2023 1.1 christos 2024 1.1 christos * elf32-xtensa.c (extend_ebb_bounds_forward): Use renamed 2025 1.1 christos XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM. 2026 1.1 christos (extend_ebb_bounds_backward, compute_text_actions): Likewise. 2027 1.1 christos (compute_ebb_proposed_actions, coalesce_shared_literal): Likewise. 2028 1.1 christos (xtensa_get_property_predef_flags): Likewise. 2029 1.1 christos (compute_removed_literals): Pass new arguments to is_removable_literal. 2030 1.1 christos (is_removable_literal): Add sec, prop_table and ptblsize arguments. 2031 1.1 christos Do not remove literal if the NO_TRANSFORM property flag is set. 2032 1.1 christos 2033 1.1 christos 2007-05-31 Richard Sandiford <rsandifo (a] nildram.co.uk> 2034 1.1 christos 2035 1.1 christos * elfxx-mips.c (mips_elf_initialize_tls_index): When processing a 2036 1.1 christos type (3) single-GOT entry, read tls_type from the hash table entry 2037 1.1 christos rather than the GOT entry. 2038 1.1 christos 2039 1.1 christos 2007-06-01 Alan Modra <amodra (a] bigpond.net.au> 2040 1.1 christos 2041 1.1 christos * simple.c (bfd_simple_get_relocated_section_contents): Init 2042 1.1 christos input_bfds_tail. 2043 1.1 christos 2044 1.1 christos 2007-05-30 Alan Modra <amodra (a] bigpond.net.au> 2045 1.1 christos 2046 1.1 christos * elf.c (elf_fake_sections): Adjust test for SHT_NOBITS sections 2047 1.1 christos created by objcopy --only-keep-debug. 2048 1.1 christos (_bfd_elf_init_private_section_data): Only change elf_section_type 2049 1.1 christos if it is SHT_NULL. 2050 1.1 christos 2051 1.1 christos * elf.c (assign_file_positions_for_load_sections): Correct sh_type 2052 1.1 christos to SHT_NOBITS earlier. Base actions in rest of function on sh_type 2053 1.1 christos and sh_flags instead of bfd section flags. Delete voff and code 2054 1.1 christos keeping nobits segments aligned. 2055 1.1 christos 2056 1.1 christos 2007-05-25 Eric Christopher <echristo (a] apple.com> 2057 1.1 christos 2058 1.1 christos * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): 2059 1.1 christos Check that sym_sec isn't NULL before accessing. 2060 1.1 christos 2061 1.1 christos 2007-05-24 Steve Ellcey <sje (a] cup.hp.com> 2062 1.1 christos 2063 1.1 christos * Makefile.in: Regnerate. 2064 1.1 christos * configure: Regenerate. 2065 1.1 christos * aclocal.m4: Regenerate. 2066 1.1 christos * doc/Makefile.in: Regenerate. 2067 1.1 christos 2068 1.1 christos 2007-05-22 Paul Brook <paul (a] codesourcery.com> 2069 1.1 christos 2070 1.1 christos * elf32-arm.c (output_arch_syminfo): Replace plt_shndx and plt_offset 2071 1.1 christos with sec and sec_shndx. 2072 1.1 christos (elf32_arm_ouput_plt_map_sym): Use them. 2073 1.1 christos (elf32_arm_output_arch_local_syms): Output mapping symbols for 2074 1.1 christos interworking glue. 2075 1.1 christos 2076 1.1 christos 2007-05-18 Paul Brook <paul (a] codesourcery.com> 2077 1.1 christos 2078 1.1 christos * elf32-arm.c (ARM2THUMB_V5_STATIC_GLUE_SIZE): Define. 2079 1.1 christos (a2t1v5_ldr_insn, a2t1v5_ldr_insn): New. 2080 1.1 christos (record_arm_to_thumb_glue): Add v5t non-pic glue. 2081 1.1 christos (elf32_arm_create_thumb_stub): Ditto. 2082 1.1 christos 2083 1.1 christos 2007-05-16 H.J. Lu <hongjiu.lu (a] intel.com> 2084 1.1 christos Alan Modra <amodra (a] bigpond.net.au> 2085 1.1 christos 2086 1.1 christos * elflink.c (_bfd_elf_adjust_dynamic_copy): Align dynamic bss 2087 1.1 christos section to the minimum alignment. 2088 1.1 christos 2089 1.1 christos 2007-05-15 H.J. Lu <hongjiu.lu (a] intel.com> 2090 1.1 christos Alan Modra <amodra (a] bigpond.net.au> 2091 1.1 christos 2092 1.1 christos PR ld/4504 2093 1.1 christos * elf-bfd.h (_bfd_elf_adjust_dynamic_copy): New. 2094 1.1 christos * elflink.c (_bfd_elf_adjust_dynamic_copy): New. 2095 1.1 christos 2096 1.1 christos * elf-m10300.c (_bfd_mn10300_elf_adjust_dynamic_symbol): Call 2097 1.1 christos _bfd_elf_adjust_dynamic_copy to adjust for the copy in dynamic 2098 1.1 christos bss section. 2099 1.1 christos * elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Likewise. 2100 1.1 christos * elf32-cris.c (elf_cris_adjust_dynamic_symbol): Likewise. 2101 1.1 christos * elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise. 2102 1.1 christos * elf32-i370.c (i370_elf_adjust_dynamic_symbol): Likewise. 2103 1.1 christos * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise. 2104 1.1 christos * elf32-m32r.c (m32r_elf_adjust_dynamic_symbol): Likewise. 2105 1.1 christos * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise. 2106 1.1 christos * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise. 2107 1.1 christos * elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. 2108 1.1 christos * elf32-sh.c (sh_elf_adjust_dynamic_symbol): Likewise. 2109 1.1 christos * elf32-vax.c (elf_vax_adjust_dynamic_symbol): Likewise. 2110 1.1 christos * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise. 2111 1.1 christos * elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. 2112 1.1 christos * elf64-sh64.c (sh64_elf64_adjust_dynamic_symbol): Likewise. 2113 1.1 christos * elf64-x86-64.c (elf64_x86_64_adjust_dynamic_symbol): Likewise. 2114 1.1 christos * elfxx-mips.c (_bfd_mips_vxworks_adjust_dynamic_symbol): Likewise. 2115 1.1 christos * elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise. 2116 1.1 christos 2117 1.1 christos 2007-05-15 Richard Sandiford <richard (a] codesourcery.com> 2118 1.1 christos 2119 1.1 christos * elfxx-mips.c (mips_elf_create_local_got_entry): Remove 2120 1.1 christos input_section argument. Create .rela.dyn relocations against 2121 1.1 christos symbol 0 rather than the section symbol. 2122 1.1 christos (mips_elf_local_got_index): Remove input_section argument. 2123 1.1 christos Update call to mips_elf_create_local_got_entry. 2124 1.1 christos (mips_elf_got_page, mips_elf_got16_entry): Likewise. 2125 1.1 christos (mips_elf_calculate_relocation): Update calls to 2126 1.1 christos mips_elf_local_got_index, mips_elf_got16_entry and mips_elf_got_page. 2127 1.1 christos 2128 1.1 christos 2007-05-15 Mark Shinwell <shinwell (a] codesourcery.com> 2129 1.1 christos 2130 1.1 christos * elf32-arm.c (elf32_arm_final_link_relocate): Correctly 2131 1.1 christos handle the Thumb-2 JUMP19 relocation. 2132 1.1 christos 2133 1.1 christos 2007-05-15 Alan Modra <amodra (a] bigpond.net.au> 2134 1.1 christos 2135 1.1 christos PR 4479 2136 1.1 christos * elf.c (elf_fake_sections): Don't allow backend to change 2137 1.1 christos SHT_NOBITS if called for strip/objcopy --only-keep-debug. 2138 1.1 christos * elfxx-mips.c (_bfd_mips_elf_fake_sections): Remove similar 2139 1.1 christos fix from here. 2140 1.1 christos 2141 1.1 christos 2007-05-14 Alan Modra <amodra (a] bigpond.net.au> 2142 1.1 christos 2143 1.1 christos * elf.c (bfd_elf_string_from_elf_section): Return NULL on 2144 1.1 christos invalid shstrndx. 2145 1.1 christos (bfd_elf_get_str_section): Likewise. 2146 1.1 christos 2147 1.1 christos 2007-05-12 Alan Modra <amodra (a] bigpond.net.au> 2148 1.1 christos 2149 1.1 christos PR 4497 2150 1.1 christos * elf-eh-frame.c (struct cie): Add "local_personality". Make 2151 1.1 christos "personality" a union. 2152 1.1 christos (cie_eq): Compare local_personality too. Adjust personality 2153 1.1 christos comparison. 2154 1.1 christos (_bfd_elf_discard_section_eh_frame): Check binding on personality 2155 1.1 christos reloc sym to allow for bad symtab. Use stashed local syms rather 2156 1.1 christos than reading personality local sym. Handle discarded sections. 2157 1.1 christos 2158 1.1 christos 2007-05-12 Alan Modra <amodra (a] bigpond.net.au> 2159 1.1 christos 2160 1.1 christos * elf32-spu.c (elf_howto_table): Add howto for R_SPU_ADDR16X. 2161 1.1 christos 2162 1.1 christos 2007-05-11 Alan Modra <amodra (a] bigpond.net.au> 2163 1.1 christos 2164 1.1 christos * elf32-ppc.h (ppc_elf_select_plt_layout): Update prototype. 2165 1.1 christos (enum ppc_elf_plt_type): Move from.. 2166 1.1 christos * elf32-ppc.c: ..here. 2167 1.1 christos (struct ppc_elf_obj_tdata): Add makes_plt_call and has_rel16. 2168 1.1 christos (struct ppc_elf_link_hash_table): Reorder. Add old_bfd. Delete 2169 1.1 christos can_use_new_plt. Make is_vxworks a bitfield. 2170 1.1 christos (ppc_elf_link_hash_table_create): Don't clear is_vxworks (again). 2171 1.1 christos (ppc_elf_check_relocs): Update setting of reloc flags. Set old_bfd. 2172 1.1 christos (ppc_elf_select_plt_layout): Modify parameters. Use bfd reloc 2173 1.1 christos flags to better detect object files needing old bss-style plt. 2174 1.1 christos Allow secure plt to be used without rel16 relocs being detected. 2175 1.1 christos Warn if secure plt request cannot be allowed. 2176 1.1 christos 2177 1.1 christos 2007-05-11 Alan Modra <amodra (a] bigpond.net.au> 2178 1.1 christos 2179 1.1 christos * reloc.c (BFD_RELOC_SPU_PPU32, BFD_RELOC_SPU_PPU64): Define. 2180 1.1 christos * elf-bfd.h (struct elf_backend_data): Change return type of 2181 1.1 christos elf_backend_relocate_section to int. 2182 1.1 christos * elf32-spu.c (elf_howto_table): Add howtos for R_SPU_PPU32 and 2183 1.1 christos R_SPU_PPU64. 2184 1.1 christos (spu_elf_bfd_to_reloc_type): Convert new relocs. 2185 1.1 christos (spu_elf_count_relocs): New function. 2186 1.1 christos (elf_backend_count_relocs): Define. 2187 1.1 christos (spu_elf_relocate_section): Arrange to emit R_SPU_PPU32 and 2188 1.1 christos R_SPU_PPU64 relocs. 2189 1.1 christos * elflink.c (elf_link_input_bfd): Emit relocs if relocate_section 2190 1.1 christos returns 2. 2191 1.1 christos * bfd-in2.h: Regenerate. 2192 1.1 christos * libbfd.h: Regenerate. 2193 1.1 christos 2194 1.1 christos 2007-05-10 Richard Sandiford <richard (a] codesourcery.com> 2195 1.1 christos 2196 1.1 christos * elf32-arm.c (elf32_arm_check_relocs): Don't create PLT entries 2197 1.1 christos for R_ARM_ABS12 relocs. 2198 1.1 christos (elf32_arm_finish_dynamic_symbol): Fix the loop that creates 2199 1.1 christos non-shared VxWorks PLT entries. 2200 1.1 christos 2201 1.1 christos 2007-05-11 Alan Modra <amodra (a] bigpond.net.au> 2202 1.1 christos 2203 1.1 christos PR 4454 2204 1.1 christos * elf-eh-frame.c (struct cie): Make "personality" a bfd_vma. 2205 1.1 christos (_bfd_elf_discard_section_eh_frame): Handle local syms on 2206 1.1 christos personality relocation. 2207 1.1 christos 2208 1.1 christos 2007-05-10 Richard Sandiford <richard (a] codesourcery.com> 2209 1.1 christos 2210 1.1 christos * elf.c (assign_file_positions_for_load_sections): Use p_memsz 2211 1.1 christos rather than p_filesz to calculate the LMA of the end of a segment. 2212 1.1 christos 2213 1.1 christos 2007-05-10 Jakub Jelinek <jakub (a] redhat.com> 2214 1.1 christos 2215 1.1 christos * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Don't do copyreloc 2216 1.1 christos processing if symbol is defined in the executable. 2217 1.1 christos 2218 1.1 christos 2007-05-10 Alexandre Oliva <aoliva (a] redhat.com> 2219 1.1 christos 2220 1.1 christos * elf32-frv.c (_frvfdpic_check_discarded_relocs): New. 2221 1.1 christos (frvfdpic_elf_discard_info): New. 2222 1.1 christos (elf_backend_discard_info): Define for FDPIC. 2223 1.1 christos 2224 1.1 christos 2007-05-09 Mark Shinwell <shinwell (a] codesourcery.com> 2225 1.1 christos 2226 1.1 christos * elf32-arm.c (bfd_elf32_arm_vfp11_erratum_scan): Don't 2227 1.1 christos attempt to scan if the bfd doesn't correspond to an ELF image. 2228 1.1 christos (bfd_elf32_arm_vfp11_fix_veneer_locations): Likewise. 2229 1.1 christos 2230 1.1 christos 2007-05-08 Alexandre Oliva <aoliva (a] redhat.com> 2231 1.1 christos 2232 1.1 christos * elf32-frv.c (elf32_frv_relocate_section): Discard dynamic relocs 2233 1.1 christos for which _bfd_elf_section_offset returns -1. 2234 1.1 christos 2235 1.1 christos 2007-05-08 Alan Modra <amodra (a] bigpond.net.au> 2236 1.1 christos 2237 1.1 christos * elf32-spu.c (spu_elf_size_stubs): Use "void *" for psyms. 2238 1.1 christos (mark_functions_via_relocs): Likewise. 2239 1.1 christos 2240 1.1 christos 2007-05-07 Alan Modra <amodra (a] bigpond.net.au> 2241 1.1 christos 2242 1.1 christos * elflink.c (bfd_elf_final_link): Correct reloc handling for 2243 1.1 christos elf_backend_count_relocs. 2244 1.1 christos (bfd_elf_discard_info): Print an error if we can't read syms. 2245 1.1 christos 2246 1.1 christos 2007-05-07 Alan Modra <amodra (a] bigpond.net.au> 2247 1.1 christos 2248 1.1 christos * elf32-spu.c (spu_elf_reloc_type_lookup): Return NULL on 2249 1.1 christos invalid reloc code. 2250 1.1 christos (spu_elf_gc_mark_hook, spu_elf_section_processing): Delete functions. 2251 1.1 christos (elf_backend_gc_mark_hook, elf_backend_section_processing): Don't 2252 1.1 christos define. 2253 1.1 christos 2254 1.1 christos 2007-05-07 Alan Modra <amodra (a] bigpond.net.au> 2255 1.1 christos 2256 1.1 christos * elf.c (assign_file_positions_for_load_sections): Don't check 2257 1.1 christos core segment. 2258 1.1 christos 2259 1.1 christos 2007-05-04 H.J. Lu <hongjiu.lu (a] intel.com> 2260 1.1 christos 2261 1.1 christos * elflink.c (elf_link_sort_relocs): Return if both .rela.dyn 2262 1.1 christos and .rel.dyn aren't present. 2263 1.1 christos 2264 1.1 christos 2007-05-04 Nick Clifton <nickc (a] redhat.com> 2265 1.1 christos 2266 1.1 christos * elflink.c (elf_link_sort_relocs): If both .rela.dyn and .rel.dyn 2267 1.1 christos sections are present examine the indirect sections in an attempt 2268 1.1 christos to compute the correct relocation size. If there is any 2269 1.1 christos ambiguity, produce an error and refuse to sort. 2270 1.1 christos 2271 1.1 christos 2007-05-03 Sandra Loosemore <sandra (a] codesourcery.com> 2272 1.1 christos 2273 1.1 christos * elf32-arm.c (allocate_dynrelocs): Fix typo in comment. 2274 1.1 christos 2275 1.1 christos 2007-05-03 Vincent Riviere <vincent.riviere (a] freesbee.fr> 2276 1.1 christos Nick Clifton <nickc (a] redhat.com> 2277 1.1 christos 2278 1.1 christos PR gas/3041 2279 1.1 christos * aoutx.h (swap_std_reloc_out): Treat relocs against weak symbols 2280 1.1 christos in the same way as relocs against external symbols. 2281 1.1 christos 2282 1.1 christos 2007-05-02 Alan Modra <amodra (a] bigpond.net.au> 2283 1.1 christos 2284 1.1 christos * elf.c (assign_file_positions_for_load_sections): Set sh_offset 2285 1.1 christos here. Set sh_type to SHT_NOBITS if we won't be allocating 2286 1.1 christos file space. Don't bump p_memsz for non-alloc sections. Adjust 2287 1.1 christos section-in-segment check. 2288 1.1 christos (assign_file_positions_for_non_load_sections): Don't set sh_offset 2289 1.1 christos here for sections that have already been handled above. 2290 1.1 christos 2291 1.1 christos 2007-04-30 Alan Modra <amodra (a] bigpond.net.au> 2292 1.1 christos 2293 1.1 christos * elf32-spu.c (struct spu_link_hash_table): Add stack_analysis 2294 1.1 christos and emit_stack_syms bitfields. 2295 1.1 christos (get_sym_h): Read all symbols if stack analysis will be done. 2296 1.1 christos (spu_elf_create_sections): Add stack_analysis and emit_stack_syms 2297 1.1 christos params, and stash in hash table. 2298 1.1 christos (is_hint): Split off from.. 2299 1.1 christos (is_branch): ..here. Adjust callers. 2300 1.1 christos (spu_elf_size_stubs): Add stack_analysis param. Arrange to read 2301 1.1 christos and keep all syms. 2302 1.1 christos (write_one_stub): Fix mem leak. 2303 1.1 christos (find_function_stack_adjust): New function. 2304 1.1 christos (sort_syms_syms, sort_syms_psecs): New vars. 2305 1.1 christos (sort_syms): New function. 2306 1.1 christos (struct call_info, struct function_info): New. 2307 1.1 christos (struct spu_elf_stack_info): New. 2308 1.1 christos (alloc_stack_info, maybe_insert_function, func_name): New functions. 2309 1.1 christos (is_nop, insns_at_end, check_function_ranges): Likewise. 2310 1.1 christos (find_function, insert_callee, mark_functions_via_relocs): Likewise. 2311 1.1 christos (pasted_function, interesting_section, discover_functions): Likewise. 2312 1.1 christos (mark_non_root, call_graph_traverse, build_call_tree): Likewise. 2313 1.1 christos (sum_stack, spu_elf_stack_analysis, spu_elf_final_link): Likewise. 2314 1.1 christos (bfd_elf32_bfd_final_link): Define. 2315 1.1 christos * elf32-spu.h (struct _spu_elf_section_data): Add stack_info field. 2316 1.1 christos (spu_elf_create_sections, spu_elf_size_stubs): Update prototypes. 2317 1.1 christos 2318 1.1 christos 2007-04-28 Sergey Rogozhkin <rogozhkin (a] niisi.msk.ru> 2319 1.1 christos 2320 1.1 christos * elfxx-mips.c (mips_elf_create_dynamic_relocation): Don't access 2321 1.1 christos memory which we might not own. 2322 1.1 christos 2323 1.1 christos 2007-04-27 Bob Wilson <bob.wilson (a] acm.org> 2324 1.1 christos 2325 1.1 christos * elf32-xtensa.c (elf_xtensa_make_sym_local): Restore deleted function. 2326 1.1 christos (elf_xtensa_hide_symbol, elf_backend_hide_symbol): Likewise. 2327 1.1 christos (elf_xtensa_allocate_dynrelocs): Use elf_xtensa_make_sym_local. 2328 1.1 christos 2329 1.1 christos 2007-04-27 Bob Wilson <bob.wilson (a] acm.org> 2330 1.1 christos 2331 1.1 christos * elf32-xtensa.c (xtensa_read_table_entries): Step through table 2332 1.1 christos contents and relocs in parallel. 2333 1.1 christos 2334 1.1 christos 2007-04-27 Bob Wilson <bob.wilson (a] acm.org> 2335 1.1 christos 2336 1.1 christos * elf32-xtensa.c (relax_property_section): Remove extra irel increment. 2337 1.1 christos 2338 1.1 christos 2007-04-27 Alan Modra <amodra (a] bigpond.net.au> 2339 1.1 christos 2340 1.1 christos * cpu-rs6000.c: Write Mimi's name in ASCII. 2341 1.1 christos * coff-rs6000.c: Likewise. 2342 1.1 christos * rs6000-core.c: Likewise. 2343 1.1 christos 2344 1.1 christos 2007-04-27 Alan Modra <amodra (a] bigpond.net.au> 2345 1.1 christos 2346 1.1 christos * sysdep.h: Include config.h first. 2347 1.1 christos Many files: Include sysdep.h before bfd.h. 2348 1.1 christos * Makefile.am: Run "make dep-am". 2349 1.1 christos * Makefile.in: Regenerate. 2350 1.1 christos 2351 1.1 christos 2007-04-25 Alan Modra <amodra (a] bigpond.net.au> 2352 1.1 christos 2353 1.1 christos * sysdep.h: Revert last change. 2354 1.1 christos 2355 1.1 christos 2007-04-24 Nick Clifton <nickc (a] redhat.com> 2356 1.1 christos 2357 1.1 christos * coffcode.h (coff_slurp_reloc_table): Initialise dst.r_offset. 2358 1.1 christos * coff-m68k.c (m68kcoff_rtype_to_howto): Initialize relent.howto. 2359 1.1 christos 2360 1.1 christos 2007-04-24 Alan Modra <amodra (a] bigpond.net.au> 2361 1.1 christos 2362 1.1 christos * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Warn if 2363 1.1 christos eh_frame_hdr table won't be created. 2364 1.1 christos 2365 1.1 christos 2007-04-24 Alan Modra <amodra (a] bigpond.net.au> 2366 1.1 christos 2367 1.1 christos * acinclude.m4: Include config/stdint.m4. 2368 1.1 christos * configure.in: Invoke GCC_HEADER_STDINT. 2369 1.1 christos * sysdep.h: Don't include ansidecl.h here. 2370 1.1 christos * configure: Regenerate. 2371 1.1 christos * config.in: Regenerate. 2372 1.1 christos * Makefile.in: Regenerate. 2373 1.1 christos 2374 1.1 christos 2007-04-23 Nathan Sidwell <nathan (a] codesourcery.com> 2375 1.1 christos 2376 1.1 christos * archures.c (bfd_mach_mcf_isa_c, bfd_mach_mcf_isa_c_mac, 2377 1.1 christos bfd_mach_mcf_isa_c_emac): New. 2378 1.1 christos * elf32-m68k.c (ISAC_PLT_ENTRY_SIZE, elf_isac_plt0_entry, 2379 1.1 christos elf_isac_plt_entry, elf_isac_plt_info): New. 2380 1.1 christos (elf32_m68k_object_p): Add ISA_C. 2381 1.1 christos (elf32_m68k_print_private_bfd_data): Print ISA_C. 2382 1.1 christos (elf32_m68k_get_plt_info): Detect ISA_C. 2383 1.1 christos * cpu-m68k.c (arch_info): Add ISAC. 2384 1.1 christos (m68k_arch_features): Likewise, 2385 1.1 christos (bfd_m68k_compatible): ISAs B & C are not compatible. 2386 1.1 christos 2387 1.1 christos 2007-04-21 Nick Clifton <nickc (a] redhat.com> 2388 1.1 christos 2389 1.1 christos * ecoff.c (_bfd_ecoff_write_armap): Initialise rehash. 2390 1.1 christos (ecoff_link_add_archive_symbols): Likewise. 2391 1.1 christos * coff-m68k.c (m68kcoff_common_addend_rtype_to_howto): Initialise 2392 1.1 christos relent.howto. 2393 1.1 christos * ieee.c (parse_int): Initialise x. 2394 1.1 christos (must_parse_int): Initialise result. 2395 1.1 christos (ieee_slurp_external_symbols): Initialise value. 2396 1.1 christos 2397 1.1 christos 2007-04-21 Alan Modra <amodra (a] bigpond.net.au> 2398 1.1 christos 2399 1.1 christos * config.bfd (spu-*-elf): Delete targ_selvecs. 2400 1.1 christos 2401 1.1 christos 2007-04-19 Nick Clifton <nickc (a] redhat.com> 2402 1.1 christos 2403 1.1 christos * coffcode.h (coff_rtype_to_howto): Initialise genrel.howto. 2404 1.1 christos 2405 1.1 christos 2007-04-19 Alan Modra <amodra (a] bigpond.net.au> 2406 1.1 christos 2407 1.1 christos * bfd.c (bfd_demangle): New function. 2408 1.1 christos * Makefile.am: Run "make dep-am". 2409 1.1 christos * Makefile.in: Regenerate. 2410 1.1 christos * bfd-in2.h: Regenerate. 2411 1.1 christos 2412 1.1 christos 2007-04-18 Matthias Klose <doko (a] ubuntu.com> 2413 1.1 christos 2414 1.1 christos * Makefile.am (libbfd_la_LDFLAGS): Use bfd soversion. 2415 1.1 christos (bfdver.h): Use the date in non-release builds for the soversion. 2416 1.1 christos * Makefile.in: Regenerate. 2417 1.1 christos 2418 1.1 christos 2007-04-17 Paul Brook <paul (a] codesourcery.com> 2419 1.1 christos 2420 1.1 christos * elf.c (_bfd_elf_is_function_type): New function. 2421 1.1 christos * elflink.c (_bfd_elf_merge_symbol): Use bed->is_function_type. 2422 1.1 christos (_bfd_elf_dynamic_symbol_p, _bfd_elf_symbol_refs_local_p, 2423 1.1 christos is_global_data_symbol_definition, elf_link_add_object_symbols): Ditto. 2424 1.1 christos * elf-bfd.h (elf_backend_data): Add is_function_type. 2425 1.1 christos (_bfd_elf_is_function_type): Add prototype. 2426 1.1 christos * elfxx-target.h (elf_backend_is_function_type): Add default 2427 1.1 christos definition. 2428 1.1 christos (elfNN_bed): Add elf_backend_is_function_type. 2429 1.1 christos * elf32-arm.c (elf32_arm_is_function_type): New function. 2430 1.1 christos (elf_backend_is_function_type): Define. 2431 1.1 christos 2432 1.1 christos 2007-04-17 Daniel Jacobowitz <dan (a] codesourcery.com> 2433 1.1 christos 2434 1.1 christos * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Put 2435 1.1 christos DT_MIPS_RLD_MAP before DT_DEBUG again. 2436 1.1 christos 2437 1.1 christos 2007-04-14 Steve Ellcey <sje (a] cup.hp.com> 2438 1.1 christos 2439 1.1 christos * Makefile.am: Add ACLOCAL_AMFLAGS. 2440 1.1 christos * configure.in: Change macro call order. 2441 1.1 christos * Makefile.in: Regnerate. 2442 1.1 christos * doc/Makefile.in: Regenerate. 2443 1.1 christos * configure: Regenerate. 2444 1.1 christos 2445 1.1 christos 2007-04-14 Jakub Jelinek <jakub (a] redhat.com> 2446 1.1 christos 2447 1.1 christos * elflink.c (bfd_elf_final_link): Don't free symbuf for 2448 1.1 christos non-elf input bfds. 2449 1.1 christos (bfd_elf_size_dynamic_sections): Don't access elf_section_data 2450 1.1 christos for non-elf input bfds. 2451 1.1 christos 2452 1.1 christos 2007-04-12 Richard Sandiford <richard (a] codesourcery.com> 2453 1.1 christos 2454 1.1 christos * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Don't add 2455 1.1 christos DT_MIPS_RTLD_MAP for PIEs. 2456 1.1 christos 2457 1.1 christos 2007-04-12 Richard Sandiford <richard (a] codesourcery.com> 2458 1.1 christos 2459 1.1 christos * elfxx-mips.c (mips_elf_calculate_relocation): Set DT_TEXTREL 2460 1.1 christos when creating a __GOTT_BASE__ or __GOTT_INDEX__ relocation 2461 1.1 christos in a read-only section. 2462 1.1 christos (_bfd_mips_elf_check_relocs): Likewise. 2463 1.1 christos 2464 1.1 christos 2007-04-12 Bob Wilson <bob.wilson (a] acm.org> 2465 1.1 christos 2466 1.1 christos * elf32-xtensa.c (xtensa_is_insntable_section): New. 2467 1.1 christos (xtensa_is_proptable_section): New. 2468 1.1 christos (elf_xtensa_discard_info_for_section): Handle "full" .xt.prop property 2469 1.1 christos tables with 12-byte entries, as well as tables with 8-byte entries. 2470 1.1 christos Sort the relocations before examining them. 2471 1.1 christos (relax_property_section): Use xtensa_is_proptable_section and 2472 1.1 christos xtensa_is_littable_section. Rewrite code for combining table entries 2473 1.1 christos to be more robust in case of unexpected relocations. Do not set offset 2474 1.1 christos of unused relocations to less than zero. 2475 1.1 christos (xtensa_is_property_section): Use other functions instead of 2476 1.1 christos duplicating section name comparisons. 2477 1.1 christos (xtensa_is_littable_section): Use CONST_STRNEQ for ".gnu.linkonce.p.". 2478 1.1 christos (xtensa_get_property_predef_flags): Use xtensa_is_insntable_section. 2479 1.1 christos 2480 1.1 christos 2007-04-12 Bob Wilson <bob.wilson (a] acm.org> 2481 1.1 christos 2482 1.1 christos * elf32-xtensa.c (elf_xtensa_gc_mark_hook): Don't follow references 2483 1.1 christos from Xtensa property sections. 2484 1.1 christos 2485 1.1 christos 2007-04-12 Alan Modra <amodra (a] bigpond.net.au> 2486 1.1 christos 2487 1.1 christos * elf32-spu.c (needs_ovl_stub): Test that spu_elf_section_data 2488 1.1 christos is non-NULL before dereferencing. 2489 1.1 christos 2490 1.1 christos 2007-04-11 Nathan Sidwell <nathan (a] codesourcery.com> 2491 1.1 christos 2492 1.1 christos * elf-vxworks.c (elf_vxworks_emit_relocs): Remap weakdef PLT slot 2493 1.1 christos relocs too. 2494 1.1 christos 2495 1.1 christos 2007-04-10 Richard Henderson <rth (a] redhat.com> 2496 1.1 christos 2497 1.1 christos * elf64-alpha.c (struct alpha_elf_link_hash_table): Add relax_trip. 2498 1.1 christos (elf64_alpha_size_got_sections): Remove unused something_changed local. 2499 1.1 christos (elf64_alpha_size_plt_section): Return void. 2500 1.1 christos (elf64_alpha_size_rela_got_section): Likewise. 2501 1.1 christos (elf64_alpha_relax_section): Only regenerate got+plt if the 2502 1.1 christos relax_trip counter has changed. 2503 1.1 christos 2504 1.1 christos 2007-04-09 Daniel Jacobowitz <dan (a] codesourcery.com> 2505 1.1 christos 2506 1.1 christos * Makefile.am (bfdver.h): Do not generate doc/bfdver.texi. 2507 1.1 christos * doc/Makefile.am (DOCFILES): Add bfdver.texi. 2508 1.1 christos (bfdver.texi): New rule. 2509 1.1 christos * Makefile.in, doc/Makefile.in: Regenerated. 2510 1.1 christos 2511 1.1 christos 2007-04-03 Matt Thomas <matt (a] netbsd.org> 2512 1.1 christos 2513 1.1 christos * elf32-vax.c (elf_vax_relocate_section): Do not emit a PCREL reloc 2514 1.1 christos in a shared object if it is not in a CODE section or if it is against 2515 1.1 christos a section symbol. This allows DWARF2 to use pcrel format. 2516 1.1 christos 2517 1.1 christos 2007-04-05 H.J. Lu <hongjiu.lu (a] intel.com> 2518 1.1 christos 2519 1.1 christos PR ld/4304 2520 1.1 christos * elflink.c (bfd_elf_final_link): Call einfo callback in 2521 1.1 christos bfd_link_info instead of _bfd_error_handler for DT_TEXTREL 2522 1.1 christos warning. 2523 1.1 christos 2524 1.1 christos 2007-04-05 Alan Modra <amodra (a] bigpond.net.au> 2525 1.1 christos 2526 1.1 christos * elf32-spu.c (spu_elf_output_symbol_hook): New function. 2527 1.1 christos (elf_backend_link_output_symbol_hook): Define. 2528 1.1 christos 2529 1.1 christos 2007-04-02 Nick Clifton <nickc (a] redhat.com> 2530 1.1 christos 2531 1.1 christos PR binutils/4292 2532 1.1 christos * bfd.c (bfd_fprintf_vma): Do not print addresses of 32-bit 2533 1.1 christos targets as 64-bit values, even if running on a 64-bit host. 2534 1.1 christos * coffgen.c (coff_print_symbol): Likewise. 2535 1.1 christos 2536 1.1 christos 2007-03-29 Nick Clifton <nickc (a] redhat.com> 2537 1.1 christos 2538 1.1 christos PR binutils/4110 2539 1.1 christos * elf.c (IS_VALID_GROUP_SECTION_HEADER): New macro. 2540 1.1 christos (setup_group): Use it. Report corrupt group section headers. 2541 1.1 christos (bfd_section_from_shdr): Use new macro. Replace constant 4 with 2542 1.1 christos GRP_ENTRY_SIZE. Cope with NULLs in the group section table. 2543 1.1 christos (elf_fake_section): Replace constant 4 with GRP_ENTRY_SIZE. 2544 1.1 christos 2545 1.1 christos 2007-03-29 Alan Modra <amodra (a] bigpond.net.au> 2546 1.1 christos 2547 1.1 christos PR ld/4267 2548 1.1 christos * elflink.c (evaluate_complex_relocation_symbols): Use bfd_vma 2549 1.1 christos for rel->r_info values. 2550 1.1 christos (bfd_elf_perform_complex_relocation): Likewise. 2551 1.1 christos * elf32-ppc.c (allocate_dynrelocs): Set plt.offset to -1 for 2552 1.1 christos unused entries. Don't clear plt.plist in loop. 2553 1.1 christos 2554 1.1 christos 2007-03-28 Richard Sandiford <richard (a] codesourcery.com> 2555 1.1 christos 2556 1.1 christos * elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Remove append_rela. 2557 1.1 christos * elfxx-sparc.c (sparc_elf_append_rela_64, sparc_elf_append_rela_32): 2558 1.1 christos Merge into... 2559 1.1 christos (sparc_elf_append_rela): ...this new function. 2560 1.1 christos (SPARC_ELF_APPEND_RELA): Delete. 2561 1.1 christos (_bfd_sparc_elf_link_hash_table_create): Don't initialize 2562 1.1 christos the deleted append_rela field. 2563 1.1 christos (_bfd_sparc_elf_relocate_section): Use sparc_elf_append_rela 2564 1.1 christos instead of SPARC_ELF_APPEND_RELA. 2565 1.1 christos (_bfd_sparc_elf_finish_dynamic_symbol): Likewise. Use the 2566 1.1 christos elf_size_info structure to find the size of a RELA entry and 2567 1.1 christos the associated swap-out function. 2568 1.1 christos (sparc64_finish_dyn, sparc64_finish_dyn): Merge into... 2569 1.1 christos (sparc_finish_dyn): ...this new function. 2570 1.1 christos (_bfd_sparc_elf_finish_dynamic_sections): Update calls accordingly. 2571 1.1 christos 2572 1.1 christos 2007-03-28 Richard Sandiford <richard (a] codesourcery.com> 2573 1.1 christos Phil Edwards <phil (a] codesourcery.com> 2574 1.1 christos 2575 1.1 christos * doc/bfd.texinfo: Put the contents after the title page rather 2576 1.1 christos than at the end of the document. 2577 1.1 christos 2578 1.1 christos 2007-03-27 Andreas Schwab <schwab (a] suse.de> 2579 1.1 christos 2580 1.1 christos * elfxx-ia64.c (elf_backend_default_execstack): Define to 0. 2581 1.1 christos 2582 1.1 christos 2007-03-26 H.J. Lu <hongjiu.lu (a] intel.com> 2583 1.1 christos 2584 1.1 christos * configure: Regenerated. 2585 1.1 christos 2586 1.1 christos 2007-03-26 Alan Modra <amodra (a] bigpond.net.au> 2587 1.1 christos 2588 1.1 christos * elf32-spu.c (struct stubarr): Add stub_hash_table and err fields. 2589 1.1 christos (allocate_spuear_stubs): New function. 2590 1.1 christos (spu_elf_size_stubs): Call allocate_spuear_stubs. 2591 1.1 christos 2592 1.1 christos 2007-03-26 Alan Modra <amodra (a] bigpond.net.au> 2593 1.1 christos 2594 1.1 christos * aout-adobe.c (aout_32_bfd_reloc_name_lookup): Define. 2595 1.1 christos * aout-arm.c (MY_bfd_reloc_name_lookup): Define. 2596 1.1 christos (MY (bfd_reloc_name_lookup)): New function. 2597 1.1 christos * aout-ns32k.c (MY (bfd_reloc_name_lookup)): New function. 2598 1.1 christos * aout-target.h (NAME (aout, reloc_name_lookup)): Declare. 2599 1.1 christos (MY_bfd_reloc_name_lookup): Define. 2600 1.1 christos * aout-tic30.c (tic30_aout_reloc_name_lookup): New function. 2601 1.1 christos (MY_bfd_reloc_name_lookup): Define. 2602 1.1 christos * aoutx.h (NAME (aout, reloc_type_lookup)): Don't declare. 2603 1.1 christos (NAME (aout, reloc_name_lookup)): New function. 2604 1.1 christos * bout.c (b_out_bfd_reloc_name_lookup): New function. 2605 1.1 christos * coff-alpha.c (alpha_bfd_reloc_name_lookup): New function. 2606 1.1 christos (_bfd_ecoff_bfd_reloc_name_lookup): Define. 2607 1.1 christos * coff-arm.c (coff_arm_reloc_name_lookup): New function. 2608 1.1 christos (coff_bfd_reloc_name_lookup): Define. 2609 1.1 christos * coff-i386.c (coff_bfd_reloc_name_lookup): Define. 2610 1.1 christos (coff_i386_reloc_name_lookup): New function. 2611 1.1 christos * coff-i860.c (coff_i860_reloc_name_lookup): New function. 2612 1.1 christos (coff_bfd_reloc_name_lookup): Define. 2613 1.1 christos * coff-i960.c (coff_i960_reloc_name_lookup): New function. 2614 1.1 christos (coff_bfd_reloc_name_lookup): Define. 2615 1.1 christos * coff-m68k.c (m68k_reloc_name_lookup): New function. 2616 1.1 christos (coff_bfd_reloc_name_lookup): Define. 2617 1.1 christos * coff-maxq.c (maxq_reloc_name_lookup): New function. 2618 1.1 christos (coff_bfd_reloc_name_lookup): Define. 2619 1.1 christos * coff-mcore.c (mcore_coff_reloc_name_lookup): New function. 2620 1.1 christos (coff_bfd_reloc_name_lookup): Define. 2621 1.1 christos * coff-mips.c (mips_bfd_reloc_name_lookup): New function. 2622 1.1 christos (_bfd_ecoff_bfd_reloc_name_lookup): Define. 2623 1.1 christos * coff-ppc.c (ppc_coff_reloc_name_lookup): New function. 2624 1.1 christos (coff_bfd_reloc_name_lookup): Define. 2625 1.1 christos * coff-rs6000.c (coff_bfd_reloc_name_lookup): Define. 2626 1.1 christos (_bfd_xcoff_reloc_name_lookup): New function. 2627 1.1 christos (rs6000coff_vec, pmac_xcoff_vec): Init new field. 2628 1.1 christos * coff-sh.c (coff_bfd_reloc_name_lookup): Define. 2629 1.1 christos (sh_coff_reloc_name_lookup): New function. 2630 1.1 christos * coff-sparc.c (coff_sparc_reloc_name_lookup): New function. 2631 1.1 christos (coff_bfd_reloc_name_lookup): Define. 2632 1.1 christos * coff-tic30.c (coff_bfd_reloc_name_lookup): Define. 2633 1.1 christos (tic30_coff_reloc_name_lookup): New function. 2634 1.1 christos * coff-tic4x.c (coff_bfd_reloc_name_lookup): Define. 2635 1.1 christos (tic4x_coff_reloc_name_lookup): New function. 2636 1.1 christos * coff-tic54x.c (coff_bfd_reloc_name_lookup): Define. 2637 1.1 christos (tic54x_coff_reloc_name_lookup): New function. 2638 1.1 christos * coff-x86_64.c (coff_bfd_reloc_name_lookup): Define. 2639 1.1 christos (coff_amd64_reloc_name_lookup): New function. 2640 1.1 christos * coff-z80.c (coff_z80_reloc_name_lookup): New function. 2641 1.1 christos (coff_bfd_reloc_name_lookup): Define. 2642 1.1 christos * coff-z8k.c (coff_z8k_reloc_name_lookup): New function. 2643 1.1 christos (coff_bfd_reloc_name_lookup): Define. 2644 1.1 christos * coff64-rs6000.c (coff_bfd_reloc_name_lookup): Define. 2645 1.1 christos (xcoff64_reloc_name_lookup): New function. 2646 1.1 christos (rs6000coff64_vec, aix5coff64_vec): Init new field. 2647 1.1 christos * coffcode.h (coff_bfd_reloc_name_lookup): Define. 2648 1.1 christos * elf-hppa.h (elf_hppa_reloc_name_lookup): New function. 2649 1.1 christos * elf-m10200.c (bfd_elf32_bfd_reloc_name_lookup): New function. 2650 1.1 christos * elf-m10300.c (bfd_elf32_bfd_reloc_name_lookup): New function. 2651 1.1 christos * elf32-arc.c (bfd_elf32_bfd_reloc_name_lookup): New function. 2652 1.1 christos * elf32-arm.c (elf32_arm_reloc_name_lookup): New function. 2653 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2654 1.1 christos * elf32-avr.c (bfd_elf32_bfd_reloc_name_lookup): New function. 2655 1.1 christos * elf32-bfin.c (bfin_bfd_reloc_name_lookup): New function. 2656 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2657 1.1 christos * elf32-cr16c.c (elf_cr16c_reloc_name_lookup): New function. 2658 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2659 1.1 christos * elf32-cris.c (cris_reloc_name_lookup): New function. 2660 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2661 1.1 christos * elf32-crx.c (elf_crx_reloc_name_lookup): New function. 2662 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2663 1.1 christos * elf32-d10v.c (bfd_elf32_bfd_reloc_name_lookup): New function. 2664 1.1 christos * elf32-d30v.c (bfd_elf32_bfd_reloc_name_lookup): New function. 2665 1.1 christos * elf32-dlx.c (elf32_dlx_reloc_name_lookup): New function. 2666 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2667 1.1 christos * elf32-fr30.c (fr30_reloc_name_lookup): New function. 2668 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2669 1.1 christos * elf32-frv.c (frv_reloc_name_lookup): New function. 2670 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2671 1.1 christos * elf32-gen.c (bfd_elf32_bfd_reloc_name_lookup): Define. 2672 1.1 christos * elf32-h8300.c (elf32_h8_reloc_name_lookup): New function. 2673 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2674 1.1 christos * elf32-hppa.c (bfd_elf32_bfd_reloc_name_lookup): Define. 2675 1.1 christos * elf32-i370.c (i370_elf_reloc_name_lookup): New function. 2676 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2677 1.1 christos * elf32-i386.c (elf_i386_reloc_name_lookup): New function. 2678 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2679 1.1 christos * elf32-i860.c (elf32_i860_reloc_name_lookup): New function. 2680 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2681 1.1 christos * elf32-i960.c (elf32_i960_reloc_name_lookup): New function. 2682 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2683 1.1 christos * elf32-ip2k.c (ip2k_reloc_name_lookup): New function. 2684 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2685 1.1 christos * elf32-iq2000.c (iq2000_reloc_name_lookup): New function. 2686 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2687 1.1 christos * elf32-m32c.c (m32c_reloc_name_lookup): New function. 2688 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2689 1.1 christos * elf32-m32r.c (bfd_elf32_bfd_reloc_name_lookup): New function. 2690 1.1 christos * elf32-m68hc11.c (bfd_elf32_bfd_reloc_name_lookup): New function. 2691 1.1 christos * elf32-m68hc12.c (bfd_elf32_bfd_reloc_name_lookup): New function. 2692 1.1 christos * elf32-m68k.c (reloc_name_lookup): New function. 2693 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2694 1.1 christos * elf32-m88k.c (bfd_elf32_bfd_reloc_name_lookup): Define. 2695 1.1 christos * elf32-mcore.c (mcore_elf_reloc_name_lookup): New function. 2696 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2697 1.1 christos * elf32-mep.c (mep_reloc_name_lookup): New function. 2698 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2699 1.1 christos * elf32-mips.c (bfd_elf32_bfd_reloc_name_lookup): New function. 2700 1.1 christos (mips_vxworks_bfd_reloc_name_lookup): Likewise. 2701 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2702 1.1 christos * elf32-msp430.c (bfd_elf32_bfd_reloc_name_lookup): New function. 2703 1.1 christos * elf32-mt.c (mt_reloc_name_lookup): New function. 2704 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2705 1.1 christos * elf32-openrisc.c (openrisc_reloc_name_lookup): New function. 2706 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2707 1.1 christos * elf32-or32.c (bfd_elf32_bfd_reloc_name_lookup): New function. 2708 1.1 christos * elf32-pj.c (pj_elf_reloc_name_lookup): New function. 2709 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2710 1.1 christos * elf32-ppc.c (ppc_elf_reloc_name_lookup): New function. 2711 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2712 1.1 christos * elf32-s390.c (elf_s390_reloc_name_lookup): New function. 2713 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2714 1.1 christos * elf32-score.c (elf32_score_reloc_name_lookup): New function. 2715 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2716 1.1 christos * elf32-sh.c (sh_elf_reloc_name_lookup): New function. 2717 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2718 1.1 christos * elf32-sparc.c (bfd_elf32_bfd_reloc_name_lookup): Define. 2719 1.1 christos * elf32-spu.c (spu_elf_reloc_name_lookup): New function. 2720 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2721 1.1 christos * elf32-v850.c (v850_elf_reloc_name_lookup): New function. 2722 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2723 1.1 christos * elf32-vax.c (reloc_name_lookup): New function. 2724 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2725 1.1 christos * elf32-xc16x.c (xc16x_reloc_name_lookup): New function. 2726 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2727 1.1 christos * elf32-xstormy16.c (xstormy16_reloc_name_lookup): New function. 2728 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2729 1.1 christos * elf32-xtensa.c (elf_xtensa_reloc_name_lookup): New function. 2730 1.1 christos (bfd_elf32_bfd_reloc_name_lookup): Define. 2731 1.1 christos * elf64-alpha.c (elf64_alpha_bfd_reloc_name_lookup): New function. 2732 1.1 christos (bfd_elf64_bfd_reloc_name_lookup): Define. 2733 1.1 christos * elf64-gen.c (bfd_elf64_bfd_reloc_name_lookup): Define. 2734 1.1 christos * elf64-hppa.c (bfd_elf64_bfd_reloc_name_lookup): Define. 2735 1.1 christos * elf64-mips.c (bfd_elf64_bfd_reloc_name_lookup): New function. 2736 1.1 christos * elf64-mmix.c (bfd_elf64_bfd_reloc_name_lookup): New function. 2737 1.1 christos * elf64-ppc.c (ppc64_elf_reloc_name_lookup): New function. 2738 1.1 christos (bfd_elf64_bfd_reloc_name_lookup): Define. 2739 1.1 christos * elf64-s390.c (elf_s390_reloc_name_lookup): New function. 2740 1.1 christos (bfd_elf64_bfd_reloc_name_lookup): Define. 2741 1.1 christos * elf64-sh64.c (sh_elf64_reloc_name_lookup): New function. 2742 1.1 christos (bfd_elf64_bfd_reloc_name_lookup): Define. 2743 1.1 christos * elf64-sparc.c (bfd_elf64_bfd_reloc_name_lookup): Define. 2744 1.1 christos * elf64-x86-64.c (elf64_x86_64_reloc_name_lookup): New function. 2745 1.1 christos (bfd_elf64_bfd_reloc_name_lookup): Define. 2746 1.1 christos * elfn32-mips.c (bfd_elf32_bfd_reloc_name_lookup): New function. 2747 1.1 christos * elfxx-ia64.c (elfNN_ia64_reloc_name_lookup): New function. 2748 1.1 christos (bfd_elfNN_bfd_reloc_name_lookup): Define. 2749 1.1 christos * elfxx-sparc.c (_bfd_sparc_elf_reloc_name_lookup): New function. 2750 1.1 christos * elfxx-sparc.h (_bfd_sparc_elf_reloc_name_lookup): Declare. 2751 1.1 christos * i386msdos.c (msdos_bfd_reloc_name_lookup): Define. 2752 1.1 christos * i386os9k.c (aout_32_bfd_reloc_name_lookup): Define. 2753 1.1 christos * ieee.c (ieee_bfd_reloc_name_lookup): Define. 2754 1.1 christos * libaout.h (NAME (aout, reloc_name_lookup)): Declare. 2755 1.1 christos * libbfd-in.h (_bfd_norelocs_bfd_reloc_name_lookup): Declare. 2756 1.1 christos * mipsbsd.c (MY_bfd_reloc_name_lookup): Define. 2757 1.1 christos (MY(reloc_type_lookup)): Rename from MY(reloc_howto_type_lookup). 2758 1.1 christos (MY(reloc_name_lookup)): New function. 2759 1.1 christos * nlm-target.h (nlm_bfd_reloc_name_lookup): Define. 2760 1.1 christos * oasys.c (oasys_bfd_reloc_name_lookup): Define. 2761 1.1 christos * pdp11.c (NAME (aout, reloc_name_lookup)): New function. 2762 1.1 christos * pe-mips.c (coff_mips_reloc_name_lookup): New function. 2763 1.1 christos (coff_bfd_reloc_name_lookup): Define. 2764 1.1 christos * reloc.c (bfd_reloc_name_lookup): New function. 2765 1.1 christos * riscix.c (riscix_reloc_name_lookup): New function. 2766 1.1 christos (MY_bfd_reloc_name_lookup): Define. 2767 1.1 christos * som.c (som_bfd_reloc_name_lookup): New function. 2768 1.1 christos * targets.c (struct bfd_target): Add reloc_name_lookup. 2769 1.1 christos (BFD_JUMP_TABLE_RELOCS): Add NAME##_bfd_reloc_name_lookup. 2770 1.1 christos * versados.c (versados_bfd_reloc_name_lookup): Define. 2771 1.1 christos * vms.c (vms_bfd_reloc_name_lookup): New function. 2772 1.1 christos * bfd-in2.h: Regenerate. 2773 1.1 christos * libbfd.h: Regenerate. 2774 1.1 christos 2775 1.1 christos 2007-03-26 Thiemo Seufer <ths (a] mips.com> 2776 1.1 christos 2777 1.1 christos PR ld/4208 2778 1.1 christos * elfxx-mips.c (mips_elf_next_relocation): Don't signal an error if no 2779 1.1 christos matching relocation is found. 2780 1.1 christos (_bfd_mips_elf_relocate_section): Only warn about missing relocations. 2781 1.1 christos 2782 1.1 christos 2007-03-23 H.J. Lu <hongjiu.lu (a] intel.com> 2783 1.1 christos 2784 1.1 christos * configure: Regenerated. 2785 1.1 christos 2786 1.1 christos 2007-03-23 Joseph Myers <joseph (a] codesourcery.com> 2787 1.1 christos 2788 1.1 christos * configure.in: Use ACX_PKGVERSION and ACX_BUGURL. 2789 1.1 christos * configure: Regenerate. 2790 1.1 christos 2791 1.1 christos 2007-03-23 Alan Modra <amodra (a] bigpond.net.au> 2792 1.1 christos 2793 1.1 christos * elf32-spu.c (spu_stub_name): Don't put input section in stub name. 2794 1.1 christos Remove input_sec param. Adjust all calls. 2795 1.1 christos (write_one_stub): Adjust stub symbol. 2796 1.1 christos (needs_ovl_stub): New function, extracted from.. 2797 1.1 christos (spu_elf_size_stubs): ..here. 2798 1.1 christos (spu_elf_relocate_section): Use needs_ovl_stub. 2799 1.1 christos 2800 1.1 christos 2007-03-22 Joseph Myers <joseph (a] codesourcery.com> 2801 1.1 christos 2802 1.1 christos * Makefile.am (bfdver.h): Only set VERSION_PACKAGE in bfdver.texi 2803 1.1 christos if nonempty. 2804 1.1 christos * configure.in (REPORT_BUGS_TO): Do not use "URL:" prefix. 2805 1.1 christos * Makefile.in, configure, doc/Makefile.in: Regenerate. 2806 1.1 christos 2807 1.1 christos 2007-03-22 H.J. Lu <hongjiu.lu (a] intel.com> 2808 1.1 christos 2809 1.1 christos PR ld/4210 2810 1.1 christos * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Use the virtual 2811 1.1 christos address and virtual size of the last section for the image 2812 1.1 christos size. 2813 1.1 christos 2814 1.1 christos 2007-03-22 H.J. Lu <hongjiu.lu (a] intel.com> 2815 1.1 christos 2816 1.1 christos PR ld/4007 2817 1.1 christos * elf.c (assign_file_positions_for_load_sections): Check if 2818 1.1 christos all sections are in the segment. 2819 1.1 christos 2820 1.1 christos 2007-03-20 H.J. Lu <hongjiu.lu (a] intel.com> 2821 1.1 christos 2822 1.1 christos PR ld/4208 2823 1.1 christos * elfxx-mips.c (_bfd_mips_elf_relocate_section): Report missing 2824 1.1 christos matching LO16 relocation for HI16 relocation. 2825 1.1 christos 2826 1.1 christos 2007-03-20 Paul Brook <paul (a] codesourcery.com> 2827 1.1 christos 2828 1.1 christos * bfd-in.h (bfd_elf32_arm_set_target_relocs): Update prototype. 2829 1.1 christos * bfd-in2.h: Regenerate. 2830 1.1 christos * elf32-arm.c (elf32_arm_link_hash_table): Add pic_veneer. 2831 1.1 christos (record_arm_to_thumb_glue): Use globals->pic_veneer. 2832 1.1 christos (elf32_arm_create_thumb_stub): Ditto. 2833 1.1 christos (bfd_elf32_arm_set_target_relocs): Set globals->pic_veneer. 2834 1.1 christos 2835 1.1 christos 2007-03-18 Mark Shinwell <shinwell (a] codesourcery.com> 2836 1.1 christos 2837 1.1 christos * bfd-in.h (bfd_elf32_arm_set_target_relocs): Add "bfd *" 2838 1.1 christos argument and extra last argument. 2839 1.1 christos * bfd-in2.h: Regenerate. 2840 1.1 christos * elf32-arm.c (elf32_arm_obj_tdata): Add no_enum_size_warning 2841 1.1 christos member. 2842 1.1 christos (bfd_elf32_arm_set_target_relocs): Add "bfd *" argument and 2843 1.1 christos extra last argument. Set no_enum_size_warning appropriately. 2844 1.1 christos (elf32_arm_merge_eabi_attributes): Improve enum sizes 2845 1.1 christos diagnostic, suppressing it when no_enum_size_warning dictates. 2846 1.1 christos 2847 1.1 christos 2007-03-20 Nick Clifton <nickc (a] redhat.com> 2848 1.1 christos 2849 1.1 christos PR binutils/3535 2850 1.1 christos * elf.c (copy_private_bfd_data): Widen the scope of Solaris 2851 1.1 christos specific conditions that need the program headers to be 2852 1.1 christos rewritten. 2853 1.1 christos 2854 1.1 christos 2007-03-19 H.J. Lu <hongjiu.lu (a] intel.com> 2855 1.1 christos 2856 1.1 christos * peXXigen.c (_bfd_XXi_swap_aouthdr_in): Store Magic, 2857 1.1 christos MajorLinkerVersion, MinorLinkerVersion, SizeOfCode, 2858 1.1 christos SizeOfInitializedData, SizeOfUninitializedData, 2859 1.1 christos AddressOfEntryPoint, BaseOfCode and BaseOfData in internal 2860 1.1 christos extra PE a.out header. 2861 1.1 christos (IMAGE_NT_OPTIONAL_HDR_MAGIC): Defined as 0x10b if not defined. 2862 1.1 christos (IMAGE_NT_OPTIONAL_HDR64_MAGIC): Defined as 0x20b if not 2863 1.1 christos defined. 2864 1.1 christos (IMAGE_NT_OPTIONAL_HDRROM_MAGIC): Defined as 0x107 if not 2865 1.1 christos defined. 2866 1.1 christos (_bfd_XX_print_private_bfd_data_common): Also print Magic, 2867 1.1 christos MajorLinkerVersion, MinorLinkerVersion, SizeOfCode, 2868 1.1 christos SizeOfInitializedData, SizeOfUninitializedData, 2869 1.1 christos AddressOfEntryPoint, BaseOfCode and BaseOfData from internal 2870 1.1 christos extra PE a.out header. 2871 1.1 christos 2872 1.1 christos 2007-03-18 H.J. Lu <hongjiu.lu (a] intel.com> 2873 1.1 christos 2874 1.1 christos * targets.c (_bfd_target_vector): Add bfd_efi_app_x86_64_vec 2875 1.1 christos only if BFD64 is defined. 2876 1.1 christos 2877 1.1 christos 2007-03-17 Alan Modra <amodra (a] bigpond.net.au> 2878 1.1 christos 2879 1.1 christos * elf32-spu.c (spu_elf_size_stubs): Always use an overlay stub 2880 1.1 christos on setjmp calls. 2881 1.1 christos 2882 1.1 christos 2007-03-15 H.J. Lu <hongjiu.lu (a] intel.com> 2883 1.1 christos 2884 1.1 christos * doc/Makefile.in: Regenerated. 2885 1.1 christos 2886 1.1 christos 2007-03-15 H.J. Lu <hongjiu.lu (a] intel.com> 2887 1.1 christos 2888 1.1 christos * Makefile.am (bfdver.h): Substitute report_bugs_to. Also 2889 1.1 christos create doc/bfdver.texi. 2890 1.1 christos * Makefile.in: Regenerated. 2891 1.1 christos 2892 1.1 christos * configure.in (--with-bugurl): New option. 2893 1.1 christos * configure: Regenerated. 2894 1.1 christos 2895 1.1 christos * version.h (REPORT_BUGS_TO): New. 2896 1.1 christos 2897 1.1 christos 2007-03-13 H.J. Lu <hongjiu.lu (a] intel.com> 2898 1.1 christos 2899 1.1 christos PR binutils/3826 2900 1.1 christos * elf-bfd.h (elf_backend_data): Add elf_osabi. 2901 1.1 christos (_bfd_elf_set_osabi): New. 2902 1.1 christos 2903 1.1 christos * elf.c (_bfd_elf_set_osabi): New. 2904 1.1 christos 2905 1.1 christos * elf32-hppa.c (elf32_hppa_post_process_headers): Removed. 2906 1.1 christos (elf_backend_post_process_headers): Defined with 2907 1.1 christos _bfd_elf_set_osabi. 2908 1.1 christos (ELF_OSABI): Properly defined for each target. 2909 1.1 christos 2910 1.1 christos * elf32-i370.c (i370_elf_post_process_headers): Removed. 2911 1.1 christos (ELF_OSABI): Defined. 2912 1.1 christos (elf_backend_post_process_headers): Defined with 2913 1.1 christos _bfd_elf_set_osabi. 2914 1.1 christos 2915 1.1 christos * elf32-i386.c (ELF_OSABI): Defined to ELFOSABI_FREEBSD for 2916 1.1 christos freebsd. 2917 1.1 christos (elf_i386_post_process_headers): Set EI_OSABI with elf_osabi. 2918 1.1 christos 2919 1.1 christos * elf32-msp430.c (elf32_msp430_post_process_headers): Removed. 2920 1.1 christos (ELF_OSABI): Defined. 2921 1.1 christos (elf_backend_post_process_headers): Defined with 2922 1.1 christos _bfd_elf_set_osabi. 2923 1.1 christos 2924 1.1 christos * elf64-alpha.c (ELF_OSABI): Defined to ELFOSABI_FREEBSD for 2925 1.1 christos freebsd. 2926 1.1 christos (elf64_alpha_fbsd_post_process_headers): Set EI_OSABI with 2927 1.1 christos elf_osabi. 2928 1.1 christos 2929 1.1 christos * elf64-hppa.c (elf64_hppa_post_process_headers): Set EI_OSABI 2930 1.1 christos with elf_osabi. 2931 1.1 christos (ELF_OSABI): Properly defined for each target. 2932 1.1 christos (elf_backend_post_process_headers): Defined with 2933 1.1 christos _bfd_elf_set_osabi for Linux. 2934 1.1 christos 2935 1.1 christos * elf64-sparc.c (elf64_sparc_fbsd_post_process_headers): Removed. 2936 1.1 christos (ELF_OSABI): Defined to ELFOSABI_FREEBSD for freebsd. 2937 1.1 christos (elf_backend_post_process_headers): Defined with 2938 1.1 christos _bfd_elf_set_osabi. 2939 1.1 christos 2940 1.1 christos * elf64-x86-64.c (elf64_x86_64_fbsd_post_process_headers): Removed. 2941 1.1 christos (ELF_OSABI): Defined to ELFOSABI_FREEBSD for freebsd. 2942 1.1 christos (elf_backend_post_process_headers): Defined with 2943 1.1 christos _bfd_elf_set_osabi. 2944 1.1 christos 2945 1.1 christos * elfcode.h (elf_object_p): Match the ELFOSABI_NONE ELF target 2946 1.1 christos with any ELF target of the compatible machine for which we do not 2947 1.1 christos have a specific backend. 2948 1.1 christos 2949 1.1 christos * elfxx-ia64.c (elfNN_hpux_post_process_headers): Set EI_OSABI 2950 1.1 christos with elf_osabi. 2951 1.1 christos 2952 1.1 christos * elfxx-target.h (ELF_OSABI): Default to ELFOSABI_NONE. 2953 1.1 christos (elfNN_bed): Initialize elf_osabi with ELF_OSABI. 2954 1.1 christos 2955 1.1 christos 2007-03-08 Alan Modra <amodra (a] bigpond.net.au> 2956 1.1 christos 2957 1.1 christos * elf32-v850.c (v850_elf_link_output_symbol_hook): Clean out 2958 1.1 christos V850_OTHER_* bits. 2959 1.1 christos 2960 1.1 christos 2007-03-08 Alan Modra <amodra (a] bigpond.net.au> 2961 1.1 christos 2962 1.1 christos * Makefile.am (BFD64_BACKENDS): Add efi-app-x86_64.lo. 2963 1.1 christos (BFD64_BACKENDS_CFILES): Add efi-app-x86_64.c. 2964 1.1 christos Run "make dep-am". 2965 1.1 christos * Makefile.in: Regenerate. 2966 1.1 christos * po/SRC-POTFILES.in: Regenerate. 2967 1.1 christos 2968 1.1 christos 2007-03-07 H.J. Lu <hongjiu.lu (a] intel.com> 2969 1.1 christos 2970 1.1 christos * config.bfd (x86_64-*-freebsd*): Add bfd_efi_app_x86_64_vec. 2971 1.1 christos (x86_64-*-kfreebsd*-gnu): Likewise. 2972 1.1 christos (x86_64-*-netbsd*): Likewise. 2973 1.1 christos (x86_64-*-openbsd*): Likewise. 2974 1.1 christos (x86_64-*-linux-*): Likewise. 2975 1.1 christos 2976 1.1 christos * configure.in: Support bfd_efi_app_x86_64_vec. 2977 1.1 christos * configure: Regenerated. 2978 1.1 christos 2979 1.1 christos * efi-app-x86_64.c: New file. 2980 1.1 christos 2981 1.1 christos * targets.c (bfd_efi_app_x86_64_vec): New. 2982 1.1 christos (_bfd_target_vector): Add bfd_efi_app_x86_64_vec. 2983 1.1 christos 2984 1.1 christos 2007-03-07 Kai Tietz <kai.tietz (a] onevision.com> 2985 1.1 christos 2986 1.1 christos * reloc.c (bfd_generic_get_relocated_section_contents): Remove 2987 1.1 christos const for type reloc_howto_type. 2988 1.1 christos 2989 1.1 christos 2007-03-07 Alan Modra <amodra (a] bigpond.net.au> 2990 1.1 christos 2991 1.1 christos PR 3958 2992 1.1 christos * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): No error on relocatable link. 2993 1.1 christos (elf_discarded_section): Move.. 2994 1.1 christos * bfd-in.h: ..to here. 2995 1.1 christos * bfd-in2.h: Regenerate. 2996 1.1 christos * elflink.c (elf_link_input_bfd): Don't zap relocs against symbols 2997 1.1 christos from discarded sections before relocate_section has done its job. 2998 1.1 christos * reloc.c (bfd_generic_get_relocated_section_contents): Handle 2999 1.1 christos relocs against symbols from discarded sections. 3000 1.1 christos * elf-hppa.h (elf_hppa_howto_table): Set size. Set dst_mask on 3001 1.1 christos SECREL32. 3002 1.1 christos (elf_hppa_relocate_section): Handle relocatable link after setting 3003 1.1 christos sec, sym, h etc. for final link. Squash error messages for 3004 1.1 christos relocatable link. Clear section contents for relocs against 3005 1.1 christos symbols in discarded sections, and zero reloc. Remove existing 3006 1.1 christos zero r_symndx code. 3007 1.1 christos * elf-m10200.c (mn10200_elf_relocate_section): Likewise. 3008 1.1 christos * elf-m10300.c (mn10300_elf_relocate_section): Likewise. 3009 1.1 christos * elf32-arm.c (elf32_arm_relocate_section): Likewise. 3010 1.1 christos * elf32-avr.c (elf32_avr_relocate_section): Likewise. 3011 1.1 christos * elf32-bfin.c (bfinfdpic_relocate_section): Likewise. 3012 1.1 christos (bfin_relocate_section): Likewise. 3013 1.1 christos * elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise. 3014 1.1 christos * elf32-cris.c (cris_elf_relocate_section): Likewise. 3015 1.1 christos * elf32-crx.c (elf32_crx_relocate_section): Likewise. 3016 1.1 christos * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. 3017 1.1 christos * elf32-fr30.c (fr30_elf_relocate_section): Likewise. 3018 1.1 christos * elf32-frv.c (elf32_frv_relocate_section): Likewise. 3019 1.1 christos * elf32-h8300.c (elf32_h8_relocate_section): Likewise. 3020 1.1 christos * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. 3021 1.1 christos * elf32-i370.c (i370_elf_relocate_section): Likewise. 3022 1.1 christos * elf32-i386.c (elf_i386_relocate_section): Likewise. 3023 1.1 christos * elf32-i860.c (elf32_i860_relocate_section): Likewise. 3024 1.1 christos * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. 3025 1.1 christos * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise. 3026 1.1 christos * elf32-m32c.c (m32c_elf_relocate_section): Likewise. 3027 1.1 christos * elf32-m32r.c (m32r_elf_relocate_section): Likewise. 3028 1.1 christos * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise. 3029 1.1 christos * elf32-m68k.c (elf_m68k_relocate_section): Likewise. 3030 1.1 christos * elf32-mcore.c (mcore_elf_relocate_section): Likewise. 3031 1.1 christos * elf32-mep.c (mep_elf_relocate_section): Likewise. 3032 1.1 christos * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. 3033 1.1 christos * elf32-mt.c (mt_elf_relocate_section): Likewise. 3034 1.1 christos * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. 3035 1.1 christos * elf32-ppc.c (ppc_elf_relocate_section): Likewise. 3036 1.1 christos * elf32-s390.c (elf_s390_relocate_section): Likewise. 3037 1.1 christos * elf32-score.c (_bfd_score_elf_relocate_section): Likewise. 3038 1.1 christos * elf32-sh.c (sh_elf_relocate_section): Likewise. 3039 1.1 christos * elf32-spu.c (spu_elf_relocate_section): Likewise. 3040 1.1 christos * elf32-v850.c (v850_elf_relocate_section): Likewise. 3041 1.1 christos * elf32-vax.c (elf_vax_relocate_section): Likewise. 3042 1.1 christos * elf32-xc16x.c (elf32_xc16x_relocate_section): Likewise. 3043 1.1 christos * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. 3044 1.1 christos * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. 3045 1.1 christos * elf64-alpha.c (elf64_alpha_relocate_section_r): Likewise. 3046 1.1 christos (elf64_alpha_relocate_section): Likewise. 3047 1.1 christos * elf64-mmix.c (mmix_elf_relocate_section): Likewise. 3048 1.1 christos * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. 3049 1.1 christos * elf64-s390.c (elf_s390_relocate_section): Likewise. 3050 1.1 christos * elf64-sh64.c (sh_elf64_relocate_section): Likewise. 3051 1.1 christos * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. 3052 1.1 christos * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. 3053 1.1 christos * elfxx-mips.c (_bfd_mips_elf_relocate_section): Likewise. 3054 1.1 christos * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise. 3055 1.1 christos 3056 1.1 christos * elf32-arm.c (elf32_arm_relocate_section): Always adjust section 3057 1.1 christos symbols for relocatable link. Don't use always-zero st_value. 3058 1.1 christos (elf_backend_rela_normal): Don't define. 3059 1.1 christos * elf32-bfin.c (bfinfdpic_relocate_section): Use 3060 1.1 christos RELOC_FOR_GLOBAL_SYMBOL. 3061 1.1 christos * elf32-frv.c (elf32_frv_relocate_section): Likewise. 3062 1.1 christos * elf32-d10v.c (elf32_d10v_relocate_section): Combine SEC_MERGE 3063 1.1 christos section symbol adjustments with same for relocatable link. 3064 1.1 christos * elf32-i386.c (elf_i386_relocate_section): Likewise. 3065 1.1 christos * elf32-m68hc1x.c (m68hc11_get_relocation_value): Move.. 3066 1.1 christos (elf32_m68hc11_check_relocs): ..to here. 3067 1.1 christos * elf32-score.c (score_elf_final_link_relocate): Remove zero 3068 1.1 christos r_symndx code. 3069 1.1 christos * elfxx-mips.c (mips_elf_calculate_relocation): Likewise. 3070 1.1 christos 3071 1.1 christos 2007-03-07 Alan Modra <amodra (a] bigpond.net.au> 3072 1.1 christos 3073 1.1 christos PR 4144 3074 1.1 christos * elf.c (assign_file_positions_for_load_sections): Don't 3075 1.1 christos adjust p_memsz for !SEC_LOAD section vma modulo page size. 3076 1.1 christos Instead, use the same lma based adjustment for SEC_LOAD 3077 1.1 christos sections. 3078 1.1 christos 3079 1.1 christos 2007-03-01 Bob Wilson <bob.wilson (a] acm.org> 3080 1.1 christos 3081 1.1 christos * elf32-xtensa.c (analyze_relocations): Zero src_count if not relaxing. 3082 1.1 christos (find_relaxable_sections): Do not increment src_count for unknown 3083 1.1 christos opcodes. Decode only once instead of calling is_l32r_relocation. 3084 1.1 christos (compute_text_actions): Remove unused no_insn_move flag. Assert that 3085 1.1 christos src_next matches src_count in relax_info. 3086 1.1 christos 3087 1.1 christos 2007-03-01 Joseph Myers <joseph (a] codesourcery.com> 3088 1.1 christos 3089 1.1 christos * Makefile.am (bfdver.h): Use "." not " " between version number 3090 1.1 christos and date. 3091 1.1 christos * Makefile.in: Regenerate. 3092 1.1 christos * configure.in (PKGVERSION): Default to "(GNU Binutils) ". 3093 1.1 christos * configure: Regenerate. 3094 1.1 christos 3095 1.1 christos 2007-02-28 Nathan Sidwell <nathan (a] codesourcery.com> 3096 1.1 christos 3097 1.1 christos * config.bfd (sh-*-uclinux, sh[12]-*-uclinux): New stanza. 3098 1.1 christos 3099 1.1 christos 2007-02-27 Alan Modra <amodra (a] bigpond.net.au> 3100 1.1 christos 3101 1.1 christos * elf32-spu.h (struct _ovl_stream): Make "start" and "end" const. 3102 1.1 christos * elf32-spu.c (ovl_mgr_pread): Add const to casts. 3103 1.1 christos 3104 1.1 christos 2007-02-23 Carlos O'Donell <carlos (a] codesourcery.com> 3105 1.1 christos 3106 1.1 christos * dwarf2.c (_bfd_dwarf2_find_nearest_line): Assume 32-bit 3107 1.1 christos DWARF even with 64-bit addresses. 3108 1.1 christos (_bfd_dwarf2_find_nearest_line): Likewise. 3109 1.1 christos 3110 1.1 christos 2007-02-23 Nick Clifton <nickc (a] redhat.com> 3111 1.1 christos 3112 1.1 christos PR binutils/3535 3113 1.1 christos * elf.c (copy_private_bfd_data): Always rewrite the program 3114 1.1 christos headers when a Solaris interpreter segment is involved. 3115 1.1 christos 3116 1.1 christos 2007-02-22 Paul Brook <paul (a] codesourcery.com> 3117 1.1 christos 3118 1.1 christos * elflink.c (gc_mark_hook_fn): Remove. 3119 1.1 christos (_bfd_elf_gc_mark): Rename gc_mark_hook_fn to elf_gc_mark_hook_fn. 3120 1.1 christos (bfd_elf_gc_sections): Ditto. Call gc_mark_extra_sections. 3121 1.1 christos * elf-bfd.h (elf_gc_mark_hook_fn): Define. 3122 1.1 christos (elf_backend_data): Add gc_mark_extra_sections. 3123 1.1 christos * elfxx-target.h (elf_backend_gc_mark_extra_sections): Provide default 3124 1.1 christos definition. 3125 1.1 christos (elfNN_bed): Add elf_backend_gc_mark_extra_sections. 3126 1.1 christos * elf32-arm.c (elf32_arm_gc_mark_extra_sections): New function. 3127 1.1 christos (elf_backend_gc_mark_extra_sections): Define. 3128 1.1 christos 3129 1.1 christos 2007-02-21 Nick Clifton <nickc (a] redhat.com> 3130 1.1 christos 3131 1.1 christos * elf.c (_bfd_elf_map_sections_to_segments): If the 3132 1.1 christos override_segment_assignment callback is defined then call it. 3133 1.1 christos 3134 1.1 christos 2007-02-21 Alan Modra <amodra (a] bigpond.net.au> 3135 1.1 christos 3136 1.1 christos * elf32-spu.c (spu_elf_size_stubs): Correct order of warning args. 3137 1.1 christos 3138 1.1 christos 2007-02-19 Thiemo Seufer <ths (a] mips.com> 3139 1.1 christos 3140 1.1 christos * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): Remove 3141 1.1 christos translation marker from untranslatable strings. 3142 1.1 christos 3143 1.1 christos 2007-02-19 Alan Modra <amodra (a] bigpond.net.au> 3144 1.1 christos 3145 1.1 christos * elf-bfd.h (struct elf_backend_data): Add default_execstack. 3146 1.1 christos * elflink.c (bfd_elf_size_dynamic_sections): Heed default_execstack. 3147 1.1 christos * elfxx-target.h (elf_backend_default_execstack): Define to 1. 3148 1.1 christos (elfNN_bed): Init new field. 3149 1.1 christos * elf64-ppc.c (elf_backend_default_execstack): Define to 0. 3150 1.1 christos 3151 1.1 christos 2007-02-17 Mark Mitchell <mark (a] codesourcery.com> 3152 1.1 christos Nathan Sidwell <nathan (a] codesourcery.com> 3153 1.1 christos Vladimir Prus <vladimir (a] codesourcery.com 3154 1.1 christos Joseph Myers <joseph (a] codesourcery.com> 3155 1.1 christos 3156 1.1 christos * configure.in (--with-pkgversion): New option. 3157 1.1 christos * configure: Regenerate. 3158 1.1 christos * Makefile.am (bfdver.h): Substitute for @bfd_version_package@. 3159 1.1 christos * Makefile.in: Regenerate. 3160 1.1 christos * version.h (BFD_VERSION_STRING): Define using 3161 1.1 christos @bfd_version_package@. 3162 1.1 christos 3163 1.1 christos 2007-02-16 Carlos O'Donell <carlos (a] codesourcery.com> 3164 1.1 christos 3165 1.1 christos * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): 3166 1.1 christos Print EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT 3167 1.1 christos and EF_MIPS_UCODE. 3168 1.1 christos 3169 1.1 christos 2007-02-15 Alan Modra <amodra (a] bigpond.net.au> 3170 1.1 christos 3171 1.1 christos * libbfd-in.h (_bfd_norelocs_get_reloc_upper_bound): Don't define, 3172 1.1 christos declare. 3173 1.1 christos (_bfd_norelocs_canonicalize_reloc): Likewise. 3174 1.1 christos * libbfd.h: Regenerate. 3175 1.1 christos * libbfd.c (_bfd_norelocs_get_reloc_upper_bound): New function. 3176 1.1 christos (_bfd_norelocs_canonicalize_reloc): Likewise. 3177 1.1 christos * binary.c (binary_bfd_reloc_type_lookup): Don't define. 3178 1.1 christos (binary_get_reloc_upper_bound, binary_canonicalize_reloc): Likewise. 3179 1.1 christos (binary_vec): Use _bfd_norelocs in BFD_JUMP_TABLE_RELOCS. 3180 1.1 christos * ihex.c: Similarly. 3181 1.1 christos * mach-o-target.c: Similarly. 3182 1.1 christos * mach-o.c: Similarly. 3183 1.1 christos * mmo.c: Similarly. 3184 1.1 christos * pef.c: Similarly. 3185 1.1 christos * ppcboot.c: Similarly. 3186 1.1 christos * srec.c: Similarly. 3187 1.1 christos * xsym.c: Similarly. 3188 1.1 christos 3189 1.1 christos 2007-02-14 H.J. Lu <hongjiu.lu (a] intel.com> 3190 1.1 christos 3191 1.1 christos PR ld/3953 3192 1.1 christos * elflink.c (_bfd_elf_add_default_symbol): Check warning symbol 3193 1.1 christos when adding default symbol. 3194 1.1 christos 3195 1.1 christos 2007-02-13 Alan Modra <amodra (a] bigpond.net.au> 3196 1.1 christos 3197 1.1 christos * elf64-ppc.c (create_linkage_sections): Use section ".branch_lt" 3198 1.1 christos for branch lookup table. 3199 1.1 christos 3200 1.1 christos 2007-02-12 Alan Modra <amodra (a] bigpond.net.au> 3201 1.1 christos 3202 1.1 christos * elf64-ppc.c (create_linkage_sections): Don't create 3203 1.1 christos .rela.rodata.brlt for --emit-relocs. 3204 1.1 christos (ppc_build_one_stub): Create relocs for brlt --emit-relocs here. 3205 1.1 christos (ppc_size_one_stub): Count them. Simplify test of stub type 3206 1.1 christos when counting stub relocs. Set SEC_RELOC too. 3207 1.1 christos (ppc64_elf_size_stubs): Clear reloc_count and SEC_RELOC. 3208 1.1 christos (ppc64_elf_finish_dynamic_sections): Output brlt relocs. 3209 1.1 christos 3210 1.1 christos 2007-02-12 Alan Modra <amodra (a] bigpond.net.au> 3211 1.1 christos 3212 1.1 christos * elflink.c (evaluate_complex_relocation_symbols): Ignore relocs 3213 1.1 christos with a zero symbol index. 3214 1.1 christos 3215 1.1 christos 2007-02-12 Alan Modra <amodra (a] bigpond.net.au> 3216 1.1 christos 3217 1.1 christos * elflink.c (bfd_elf_discard_info): Tidy setting of "eh". 3218 1.1 christos 3219 1.1 christos 2007-02-05 Dave Brolley <brolley (a] redhat.com> 3220 1.1 christos Stan Cox <scox (a] redhat.com> 3221 1.1 christos 3222 1.1 christos PR ld/3972 3223 1.1 christos * elflink.c (elf_link_input_bfd): Always setup finfo->internal_syms. 3224 1.1 christos 3225 1.1 christos 2007-02-05 Dave Brolley <brolley (a] redhat.com> 3226 1.1 christos Richard Sandiford <rsandifo (a] redhat.com> 3227 1.1 christos Stan Cox <scox (a] redhat.com> 3228 1.1 christos Nick Clifton <nickc (a] redhat.com> 3229 1.1 christos DJ Delorie <dj (a] redhat.com> 3230 1.1 christos Frank Ch. Eigler <fche (a] redhat.com> 3231 1.1 christos Ben Elliston <bje (a] redhat.com> 3232 1.1 christos Richard Henderson <rth (a] redhat.com> 3233 1.1 christos 3234 1.1 christos * Makefile.am (ALL_MACHINES): Add cpu-mep.lo. 3235 1.1 christos (ALL_MACHINES_CFILES): Add CPU_MEP.c. 3236 1.1 christos (BFD32_BACKENDS): Add elf32-mep.lo. 3237 1.1 christos (BFD32_BACKENDS_CFILES): Add elf32-mep.c. 3238 1.1 christos (cpu-mep.lo,elf32-mep.lo): New targets. 3239 1.1 christos * archures.c (bfd_arch_mep): New enumerator. 3240 1.1 christos (bfd_mach_mep, bfd_mach_mep_h1): New macros. 3241 1.1 christos (bfd_mep_arch): New external variable. 3242 1.1 christos (bfd_archures_list): Add bfd_mep_arch. 3243 1.1 christos * config.bfd: Support mep-*-elf. 3244 1.1 christos * configure.in: Support bfd_elf32_mep_vec and bfd_elf32_mep_little_vec. 3245 1.1 christos * reloc.c (BFD_RELOC_MEP_*): New relocation numbers. 3246 1.1 christos * targets.c (bfd_elf32_mep_vec,bfd_elf32_mep_little_vec): New extern 3247 1.1 christos declarations. 3248 1.1 christos (_bfd_target_vector): Add bfd_elf32_mep_vec and 3249 1.1 christos bfd_elf32_mep_little_vec. 3250 1.1 christos * mep-relocs.pl: New file. 3251 1.1 christos * cpu-mep.c: New file. 3252 1.1 christos * elf32-mep.c: New file. 3253 1.1 christos * bfd-in2.h: Regenerate. 3254 1.1 christos * po/POTFILES.in: Regenerate. 3255 1.1 christos * libbfd.h: Regenerate. 3256 1.1 christos * Makefile.in: Regenerate. 3257 1.1 christos * configure: Regenerate. 3258 1.1 christos 3259 1.1 christos 2007-02-05 Dave Brolley <brolley (a] redhat.com> 3260 1.1 christos 3261 1.1 christos * elflink.c (evaluate_complex_relocation_symbols): Check for 3262 1.1 christos STT_SRELC for global symbols. 3263 1.1 christos (perform_complex_relocations): Renamed to 3264 1.1 christos perform_complex_relocation and now examines only one relocation. 3265 1.1 christos (elf_link_input_bfd): Don't call perform_complex_relocations. 3266 1.1 christos * elf-bfd.h (bfd_elf_perform_complex_relocation_: New prototype. 3267 1.1 christos * elf32-mep.c (mep_elf_howto_table): Add R_RELC. 3268 1.1 christos (OD,OS,OU): #undefs corrected to N, S and U repectively. 3269 1.1 christos (mep_reloc_type_lookup): Handle BFD_RELOC_RELC. 3270 1.1 christos (complex_reloc_installation_howto): Removed. 3271 1.1 christos (mep_info_to_howto_rela): Remove special case for r_type==0xff. 3272 1.1 christos (mep_elf_relocate_section): Call bfd_elf_perform_complex_relocation. 3273 1.1 christos 3274 1.1 christos 2007-02-05 Dave Brolley <brolley (a] redhat.com> 3275 1.1 christos Richard Sandiford <rsandifo (a] redhat.com> 3276 1.1 christos DJ Delorie <dj (a] redhat.com> 3277 1.1 christos Graydon Hoare <graydon (a] redhat.com> 3278 1.1 christos Nick Clifton <nickc (a] cambridge.redhat.com> 3279 1.1 christos Jeff Holcomb <jeffh (a] redhat.com> 3280 1.1 christos Frank Ch. Eigler <fche (a] redhat.com> 3281 1.1 christos 3282 1.1 christos * elf-bfd.h (bfd_elf_perform_complex_relocations): New prototype. 3283 1.1 christos * elf.c (swap_out_syms): Handle BSF_RELC and BSF_SRELC. 3284 1.1 christos * elfcode.h (elf_slurp_symbol_table): Handle STT_RELC and STT_SRELC. 3285 1.1 christos * elflink.c (set_symbolValue): New static function. 3286 1.1 christos (resolve_symbol): Likewise. 3287 1.1 christos (resolve_section): Likewise. 3288 1.1 christos (undefined_reference): Likewise. 3289 1.1 christos (eval_symbol): Likewise. 3290 1.1 christos (evaluate_complex_relocation_symbols): Likewise. 3291 1.1 christos (put_value): Likewise. 3292 1.1 christos (get_value): Likewise. 3293 1.1 christos (decode_complex_addend): 3294 1.1 christos (bfd_elf_perform_complex_relocation): New function. 3295 1.1 christos (elf_link_input_bfd): Call evaluate_complex_relocation_symbols. 3296 1.1 christos * reloc.c (BFD_RELOC_RELC): New relocation number. 3297 1.1 christos * syms.c (BSF_RELC,BSF_SRELC): New macros. 3298 1.1 christos 3299 1.1 christos 2007-02-05 Bob Wilson <bob.wilson (a] acm.org> 3300 1.1 christos 3301 1.1 christos * elf32-xtensa.c (elf_xtensa_make_sym_local): Delete. 3302 1.1 christos (elf_xtensa_hide_symbol, elf_backend_hide_symbol): Delete. 3303 1.1 christos (elf_xtensa_fix_refcounts, elf_xtensa_allocate_plt_size) 3304 1.1 christos (elf_xtensa_allocate_got_size): Replace these with... 3305 1.1 christos (elf_xtensa_allocate_dynrelocs): ...this new function. 3306 1.1 christos (elf_xtensa_size_dynamic_sections): Use it. 3307 1.1 christos 3308 1.1 christos 2007-02-05 Bob Wilson <bob.wilson (a] acm.org> 3309 1.1 christos 3310 1.1 christos * elf32-xtensa.c (elf_howto_table) <R_XTENSA_GLOB_DAT> 3311 1.1 christos <R_XTENSA_JMP_SLOT, R_XTENSA_RELATIVE, R_XTENSA_PLT, R_XTENSA_DIFF32>: 3312 1.1 christos Set src_mask to zero. 3313 1.1 christos <R_XTENSA_DIFF8, R_XTENSA_DIFF16>: Likewise. Also fix dst_mask. 3314 1.1 christos <R_XTENSA_ASM_EXPAND>: Set pcrel_offset to TRUE. 3315 1.1 christos 3316 1.1 christos 2007-02-02 Bob Wilson <bob.wilson (a] acm.org> 3317 1.1 christos 3318 1.1 christos * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Renamed to... 3319 1.1 christos (elf_xtensa_dynamic_symbol_p): ...this. 3320 1.1 christos 3321 1.1 christos 2007-02-02 Bob Wilson <bob.wilson (a] acm.org> 3322 1.1 christos 3323 1.1 christos * elf32-xtensa.c (plt_reloc_count): Move into link hash table. 3324 1.1 christos (struct elf_xtensa_link_hash_table): New. 3325 1.1 christos (elf_xtensa_hash_table): New. 3326 1.1 christos (elf_xtensa_link_hash_table_create): New. 3327 1.1 christos (elf_xtensa_check_relocs): Update plt_reloc_count references. 3328 1.1 christos Update arguments to add_extra_plt_sections. 3329 1.1 christos (elf_xtensa_create_dynamic_sections): Record new sections in the hash 3330 1.1 christos table. Update for plt_reloc_count and add_extra_plt_sections. 3331 1.1 christos (add_extra_plt_sections, elf_xtensa_create_plt_entry): Replace dynobj 3332 1.1 christos argument with link info. Update calls to elf_xtensa_get_plt_section 3333 1.1 christos and elf_xtensa_get_gotplt_section. 3334 1.1 christos (elf_xtensa_allocate_local_got_size, elf_xtensa_size_dynamic_sections) 3335 1.1 christos (elf_xtensa_relocate_section, elf_xtensa_finish_dynamic_sections) 3336 1.1 christos (elf_xtensa_discard_info_for_section, shrink_dynamic_reloc_sections) 3337 1.1 christos (relax_property_section): Get sections from the hash table and update 3338 1.1 christos function calls. 3339 1.1 christos (elf_xtensa_get_plt_section, elf_xtensa_get_gotplt_section): Replace 3340 1.1 christos dynobj argument with link info. Get sections for first plt chunk from 3341 1.1 christos the hash table. 3342 1.1 christos (bfd_elf32_bfd_link_hash_table_create): Define. 3343 1.1 christos 3344 1.1 christos 2007-02-02 Jakub Jelinek <jakub (a] redhat.com> 3345 1.1 christos 3346 1.1 christos * elf-bfd.h (struct elf_obj_tdata): Change symbuf type to void *. 3347 1.1 christos * elf.c (struct elf_symbuf_symbol, struct elf_symbuf_head): New types. 3348 1.1 christos (struct elf_symbol): Change first member into union. 3349 1.1 christos (elf_sort_elf_symbol): Compare pointers to internal syms rather than 3350 1.1 christos internal syms. Only compare st_shndx fields. 3351 1.1 christos (elf_create_symbuf): New function. 3352 1.1 christos (bfd_elf_match_symbols_in_sections): Use it. If symbufs are available 3353 1.1 christos for bfds, use a binary search, otherwise don't qsort symbols 3354 1.1 christos unnecessarily only to select which symbols are for the particular 3355 1.1 christos shndx. 3356 1.1 christos 3357 1.1 christos 2007-02-01 Nick Clifton <nickc (a] redhat.com> 3358 1.1 christos 3359 1.1 christos PR ld/3852 3360 1.1 christos * elf.c (_bfd_elf_link_hash_table_init): Initialize all the fields 3361 1.1 christos in the elf_link_hash_table structure. 3362 1.1 christos 3363 1.1 christos 2007-02-01 Alan Modra <amodra (a] bigpond.net.au> 3364 1.1 christos 3365 1.1 christos * elf-bfd.h (struct elf_backend_data): Add elf_backend_write_core_note. 3366 1.1 christos * elfxx-target.h (elf_backend_write_core_note): Define and use. 3367 1.1 christos * elf.c (elfcore_write_prpsinfo): Call the above. Add support for 3368 1.1 christos 32-bit core note on 64-bit target. 3369 1.1 christos (elfcore_write_prstatus): Likewise. 3370 1.1 christos (elfcore_write_lwpstatus): Make note_name const. 3371 1.1 christos (elfcore_write_prfpreg): Likewise. 3372 1.1 christos (elfcore_write_pstatus): Add support for 32-bit core note on 64-bit 3373 1.1 christos target. 3374 1.1 christos * elf32-ppc.c (ppc_elf_write_core_note): New function. 3375 1.1 christos (elf_backend_write_core_note): Define. 3376 1.1 christos * elf64-ppc.c (ppc64_elf_write_core_note): New function. 3377 1.1 christos (elf_backend_write_core_note): Define. 3378 1.1 christos 3379 1.1 christos 2007-01-31 H.J. Lu <hongjiu.lu (a] intel.com> 3380 1.1 christos 3381 1.1 christos * elf32-cris.c (INCLUDED_TARGET_FILE): Removed. 3382 1.1 christos (elf32_bed): Defined for elf32-us-cris. 3383 1.1 christos 3384 1.1 christos * elf64-sh64.c (elf64_bed): Defined for Linux. 3385 1.1 christos (INCLUDED_TARGET_FILE): Removed. 3386 1.1 christos 3387 1.1 christos * elfxx-target.h (elfNN_bed): Always define. Don't check 3388 1.1 christos INCLUDED_TARGET_FILE. 3389 1.1 christos 3390 1.1 christos 2007-01-31 DJ Delorie <dj (a] redhat.com> 3391 1.1 christos 3392 1.1 christos * elf-m10300.c (mn10300_elf_relocate_section): Clarify the warning 3393 1.1 christos message for dangerous relocs, special case the common user error. 3394 1.1 christos 3395 1.1 christos 2007-01-30 H.J. Lu <hongjiu.lu (a] intel.com> 3396 1.1 christos 3397 1.1 christos * elf.c (copy_elf_program_header): Start from the first section 3398 1.1 christos in a segment and stop when all sections in a segment are 3399 1.1 christos accounted for. 3400 1.1 christos 3401 1.1 christos 2007-01-29 Julian Brown <julian (a] codesourcery.com> 3402 1.1 christos 3403 1.1 christos * bfd-in2.h: Regenerate. 3404 1.1 christos * bfd-in.h (bfd_arm_vfp11_fix): New enum. Specify how VFP11 3405 1.1 christos instruction scanning should be done. 3406 1.1 christos (bfd_elf32_arm_init_maps, bfd_elf32_arm_vfp11_erratum_scan) 3407 1.1 christos (bfd_elf32_arm_vfp11_fix_veneer_locations): Add prototypes. 3408 1.1 christos (bfd_elf32_arm_set_target_relocs): Add vfp11 fix type argument to 3409 1.1 christos prototype. 3410 1.1 christos * elf-bfd.h (elf_backend_write_section): Add struct bfd_link_info 3411 1.1 christos argument. 3412 1.1 christos * elf32-arm.c (VFP11_ERRATUM_VENEER_SECTION_NAME) 3413 1.1 christos (VFP11_ERRATUM_VENEER_ENTRY_NAME): Define macros. 3414 1.1 christos (elf32_vfp11_erratum_type): New enum. 3415 1.1 christos (elf32_vfp11_erratum_list): New struct. List of veneers or jumps to 3416 1.1 christos veneers. 3417 1.1 christos (_arm_elf_section_data): Add mapsize, erratumcount, erratumlist. 3418 1.1 christos (elf32_arm_link_hash_table): Add vfp11_erratum_glue_size, 3419 1.1 christos vfp11_fix and num_vfp11_fixes fields. 3420 1.1 christos (elf32_arm_link_hash_table_create): Initialise vfp11_fix, 3421 1.1 christos vfp11_erratum_glue_size, num_vfp11_fixes fields. 3422 1.1 christos (VFP11_ERRATUM_VENEER_SIZE): Define. Size of an (ARM) veneer. 3423 1.1 christos (bfd_elf32_arm_allocate_interworking_sections): Initialise erratum 3424 1.1 christos glue section. 3425 1.1 christos (elf32_arm_section_map_add): Add an code/data mapping symbol entry 3426 1.1 christos to a section's map. 3427 1.1 christos (record_vfp11_erratum_veneer): Create a single veneer, and its 3428 1.1 christos associated symbols. 3429 1.1 christos (bfd_elf32_arm_add_glue_sections_to_bfd): Add vfp11 erratum glue. 3430 1.1 christos (bfd_elf32_arm_init_maps): Initialise mapping symbol table for input 3431 1.1 christos BFDs. 3432 1.1 christos (bfd_elf32_arm_set_vfp11_fix): Set the type of erratum workaround 3433 1.1 christos required. 3434 1.1 christos (bfd_arm_vfp11_pipe): Define VFP11 instruction pipes. 3435 1.1 christos (bfd_arm_vfp11_regno): Recode a register number from a VFP11 insn. 3436 1.1 christos (bfd_arm_vfp11_write_mask): Update write mask according to coded 3437 1.1 christos register number. 3438 1.1 christos (bfd_arm_vfp11_antidependency): New function. 3439 1.1 christos (bfd_arm_vfp11_insn_decode): Decode a VFP11 insn. 3440 1.1 christos (elf32_arm_compare_mapping): Declare. 3441 1.1 christos (bfd_elf32_arm_vfp11_erratum_scan): Scan the sections of an input 3442 1.1 christos BFD for potential erratum-triggering insns. Record results. 3443 1.1 christos (bfd_elf32_arm_vfp11_fix_veneer_locations): Find out where veneers 3444 1.1 christos and branches to veneers have been placed in virtual memory after 3445 1.1 christos layout. 3446 1.1 christos (bfd_elf32_arm_set_target_relocs): Set vfp11_fix field in global 3447 1.1 christos hash table. 3448 1.1 christos (elf32_arm_output_symbol_hook): Remove. 3449 1.1 christos (elf32_arm_write_section): Output veneers, and branches to veneers. 3450 1.1 christos Use maps from input sections, not output sections, for code 3451 1.1 christos byte-swapping. 3452 1.1 christos * elf32-ppc.c (ppc_elf_write_section): Add dummy link_info argument. 3453 1.1 christos * elf32-score.c (_bfd_score_elf_write_section): Likewise. 3454 1.1 christos * elfxx-mips.c (_bfd_mips_elf_write_section): Likewise. 3455 1.1 christos * elfxx-mips.h (_bfd_mips_elf_write_section): Likewise. 3456 1.1 christos 3457 1.1 christos 2007-01-27 H.J. Lu <hongjiu.lu (a] intel.com> 3458 1.1 christos 3459 1.1 christos * elf64-hppa.c (elf64_bed): Defined for HPUX and Linux. 3460 1.1 christos (INCLUDED_TARGET_FILE): Removed. 3461 1.1 christos 3462 1.1 christos 2007-01-27 Mike Frysinger <vapier (a] gentoo.org> 3463 1.1 christos 3464 1.1 christos * elf32-hppa.c (elf32_bed): Define for hpux, linux and netbsd. 3465 1.1 christos (INCLUDED_TARGET_FILE): Remove. 3466 1.1 christos 3467 1.1 christos 2007-01-25 DJ Delorie <dj (a] redhat.com> 3468 1.1 christos 3469 1.1 christos * elf32-m32c.c (m32c_elf_howto_table): Don't complain about 3470 1.1 christos R_M32C_16 or R_M32C_24 relocs. 3471 1.1 christos 3472 1.1 christos 2007-01-25 Nick Clifton <nickc (a] redhat.com> 3473 1.1 christos 3474 1.1 christos PR binutils/3874 3475 1.1 christos * elf32-avr.c (avr_link_hash_table): Check to make sure that the 3476 1.1 christos hash table was created by elf32_avr_link_hash_table_create before 3477 1.1 christos using it. 3478 1.1 christos (elf32_avr_link_hash_newfunc): New function. Just pass the call 3479 1.1 christos through to _bfd_elf_link_hash_newfunc. 3480 1.1 christos (elf32_avr_link_hash_table_create): Use 3481 1.1 christos elf32_avr_link_hash_newfunc instead of 3482 1.1 christos _bfd_elf_link_hash_newfunc. 3483 1.1 christos (elf32_avr_relocate_section): Check for the hash table pointer 3484 1.1 christos being NULL. 3485 1.1 christos (elf32_avr_relax_section, avr_build_one_stub, 3486 1.1 christos elf32_avr_setup_params, get_local_syms, elf32_avr_size_stubs, 3487 1.1 christos elf32_avr_build_stubs): Likewise. 3488 1.1 christos 3489 1.1 christos 2007-01-16 H.J. Lu <hongjiu.lu (a] intel.com> 3490 1.1 christos 3491 1.1 christos PR ld/3831 3492 1.1 christos * elf-bfd.h (bfd_elf_link_mark_dynamic_symbol): Add an 3493 1.1 christos argument, Elf_Internal_Sym *. 3494 1.1 christos 3495 1.1 christos * elflink.c (bfd_elf_link_mark_dynamic_symbol): Mark a data 3496 1.1 christos symbol dynamic if info->dynamic_data is TRUE. 3497 1.1 christos (bfd_elf_record_link_assignment): Updated call to 3498 1.1 christos bfd_elf_record_link_assignment. 3499 1.1 christos (_bfd_elf_merge_symbol): Likewise. Always call 3500 1.1 christos bfd_elf_link_mark_dynamic_symbol. 3501 1.1 christos 3502 1.1 christos 2007-01-12 H.J. Lu <hongjiu.lu (a] intel.com> 3503 1.1 christos 3504 1.1 christos * Makefile.am (BFD_LIBS): Removed. 3505 1.1 christos * Makefile.in: Regenerated. 3506 1.1 christos 3507 1.1 christos 2007-01-11 H.J. Lu <hongjiu.lu (a] intel.com> 3508 1.1 christos 3509 1.1 christos PR binutils/3631 3510 1.1 christos * Makefile.am (OFILES): Add @bfd64_libs@. 3511 1.1 christos (libbfd_la_SOURCES): Remove $(BFD64_LIBS_CFILES). 3512 1.1 christos * Makefile.in: Regenerated. 3513 1.1 christos 3514 1.1 christos * configure.in (bfd_libs): Replaced by ... 3515 1.1 christos (bfd64_libs): This. 3516 1.1 christos * configure: Regenerated. 3517 1.1 christos 3518 1.1 christos 2007-01-11 Nathan Sidwell <nathan (a] codesourcery.com> 3519 1.1 christos 3520 1.1 christos * elf.c (assign_file_positions_for_load_sections): We can 3521 1.1 christos require fewer phdrs than expected. 3522 1.1 christos 3523 1.1 christos 2007-01-08 Kazu Hirata <kazu (a] codesourcery.com> 3524 1.1 christos 3525 1.1 christos * archures.c (bfd_mach_cpu32_fido): Rename to bfd_mach_fido. 3526 1.1 christos * bfd-in2.h: Regenerate. 3527 1.1 christos * cpu-m68k.c (arch_info_struct): Use bfd_mach_fido instead of 3528 1.1 christos bfd_mach_cpu32_fido. 3529 1.1 christos (m68k_arch_features): Use fido_a instead of cpu32. 3530 1.1 christos (bfd_m68k_compatible): Reject the combination of Fido and 3531 1.1 christos ColdFire. Accept the combination of CPU32 and Fido with a 3532 1.1 christos warning. 3533 1.1 christos * elf32-m68k.c (elf32_m68k_object_p, 3534 1.1 christos elf32_m68k_merge_private_bfd_data, 3535 1.1 christos elf32_m68k_print_private_bfd_data): Treat Fido as an 3536 1.1 christos architecture by itself. 3537 1.1 christos 3538 1.1 christos 2007-01-08 Kai Tietz <kai.tietz (a] onevision.com> 3539 1.1 christos 3540 1.1 christos * config.bfd: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*. 3541 1.1 christos 3542 1.1 christos 2007-01-05 Jakub Jelinek <jakub (a] redhat.com> 3543 1.1 christos 3544 1.1 christos * texhex.c (first_phase): Don't fall through into the default 3545 1.1 christos case. 3546 1.1 christos (pass_over): Replace abort () calls with return FALSE. Fix 3547 1.1 christos buffer overflow. 3548 1.1 christos 3549 1.1 christos 2007-01-04 Jie Zhang <jie.zhang (a] analog.com> 3550 1.1 christos 3551 1.1 christos * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't set 3552 1.1 christos SEC_EXCLUDE on zero size .eh_frame. 3553 1.1 christos 3554 1.1 christos For older changes see ChangeLog-2006 3555 1.1 christos 3557 1.1 christos Copyright (C) 2007 Free Software Foundation, Inc. 3558 1.1 christos 3559 1.1 christos Copying and distribution of this file, with or without modification, 3560 1.1 christos are permitted in any medium without royalty provided the copyright 3561 1.1 christos notice and this notice are preserved. 3562 1.1 christos 3563 1.1 christos Local Variables: 3564 1.1 christos mode: change-log 3565 1.1 christos left-margin: 8 3566 1.1 christos fill-column: 74 3567 1.1 christos version-control: never 3568 End: 3569