| 1 | 2008-02-11 Daniel Jacobowitz <dan@codesourcery.com> |
| 2 | |
| 3 | * cache.c (cache_bread): Set bfd_error_file_truncated if EOF |
| 4 | was reached. |
| 5 | * srec.c (srec_scan): Calculate the checksum. Complain on mismatch. |
| 6 | |
| 7 | 2008-02-07 Alan Modra <amodra@bigpond.net.au> |
| 8 | |
| 9 | * elf32-spu.c (spu_elf_size_stubs): Revert 2008-01-28 doubling |
| 10 | of _ovly_buf_table size. |
| 11 | (spu_elf_build_stubs): Use low bit of .size as "present" bit. |
| 12 | Adjust initialisations relating to _ovly_buf_table. |
| 13 | |
| 14 | 2008-02-04 Bob Wilson <bob.wilson@acm.org> |
| 15 | |
| 16 | * elf32-xtensa (elf_xtensa_relocate_section): After finding an invalid |
| 17 | relocation, do not continue processing it. Ignore R_XTENSA_ASM_EXPAND |
| 18 | relocations against dynamic symbols. |
| 19 | (elf_xtensa_finish_dynamic_sections): Do not fail if there is no |
| 20 | .xt.lit section. |
| 21 | |
| 22 | 2008-02-04 Kai Tietz <kai.tietz@onevision.com> |
| 23 | H.J. Lu <hongjiu.lu@intel.com> |
| 24 | |
| 25 | PR 5715 |
| 26 | * warning.m4: Enable -Wno-format by default when using gcc on |
| 27 | mingw. |
| 28 | * configure: Regenerated. |
| 29 | |
| 30 | 2008-02-04 Adam Nemet <anemet@caviumnetworks.com> |
| 31 | |
| 32 | * archures.c: Update copyright. |
| 33 | (bfd_mach_mips_octeon): New macro. |
| 34 | * bfd-in2.h: Regenerate. |
| 35 | * elfxx-mips.c (_bfd_elf_mips_mach): Handle Octeon. |
| 36 | (mips_set_isa_flags): Likewise. |
| 37 | (mips_mach_extensions): Add Octeon. |
| 38 | * cpu-mips.c: Update copyright. |
| 39 | (I_mipsocteon): New enum constant. |
| 40 | (arch_info_struct): Add Octeon. |
| 41 | |
| 42 | 2008-02-04 Alan Modra <amodra@bigpond.net.au> |
| 43 | |
| 44 | * elf32-spu.c (spu_elf_relocate_section): Correct return type. |
| 45 | Return error status on unexpected relocation errors. |
| 46 | |
| 47 | 2008-02-04 Alan Modra <amodra@bigpond.net.au> |
| 48 | |
| 49 | PR ld/5692 |
| 50 | * elf.c (bfd_elf_get_elf_syms): Revert 2008-01-31. Instead abort |
| 51 | on non-ELF input. |
| 52 | * elf32-arm.c (elf32_arm_size_dynamic_sections): Skip glue |
| 53 | processing on non-ELF input. |
| 54 | |
| 55 | 2008-01-31 Marc Gauthier <marc@tensilica.com> |
| 56 | |
| 57 | * config.bfd (xtensa*-*-*): Recognize processor variants. |
| 58 | |
| 59 | 2008-01-31 Nick Clifton <nickc@redhat.com> |
| 60 | |
| 61 | PR ld/5692 |
| 62 | * elf.c (bfd_elf_get_elf_syms): Check the return value of |
| 63 | get_elf_backend_data. |
| 64 | |
| 65 | 2008-01-28 Fabian Groffen <grobian@gentoo.org> |
| 66 | |
| 67 | * config.bfd (x86_64-*-solaris2): Add support for this target. |
| 68 | |
| 69 | 2008-01-28 Alan Modra <amodra@bigpond.net.au> |
| 70 | |
| 71 | Rewrite SPU overlay handling code. Put overlay calls stubs in the |
| 72 | overlays where possible. Use a faster call stub, or optionally at |
| 73 | compile time, a more compact stub. Double size of _ovly_buf_table |
| 74 | so that low bit of _ovly_table.buf can be used as a "present" bit. |
| 75 | Reserve an extra _ovly_table entry for index zero. |
| 76 | * elf32-spu.c: (struct spu_link_hash_table): Delete a number of fields, |
| 77 | add new ones. |
| 78 | (struct got_entry): New. |
| 79 | (struct spu_stub_hash_entry): Delete. |
| 80 | (stub_hash_newfunc, spu_elf_link_hash_table_free): Delete. |
| 81 | (spu_elf_link_hash_table_create): Adjust for struct changes. |
| 82 | (spu_stub_name): Delete. |
| 83 | (spu_elf_find_overlays): Don't track sections from overlay regions. |
| 84 | Instead set ovl_buf number in spu elf section data. Error if |
| 85 | overlays in one region don't start at the same address. Adjust |
| 86 | for struct _spu_elf_section_data changes. |
| 87 | (SIZEOF_STUB1, SIZEOF_STUB2, ILA_79, ILA_78): Delete. |
| 88 | (OVL_STUB_SIZE, BRSL, LNOP, ILA): Define. |
| 89 | (needs_ovl_stub): Adjust for struct _spu_elf_section_data changes. |
| 90 | (enum _insn_type): New. |
| 91 | (count_stub, build_stub): New functions. |
| 92 | (allocate_spuear_stubs): Use count_stub. |
| 93 | (build_spuear_stubs): Use build_stub. |
| 94 | (populate_stubs, sort_stubs): Delete. |
| 95 | (process_stubs): New function. |
| 96 | (write_one_stub): Delete. |
| 97 | (spu_elf_size_stubs, spu_elf_build_stubs): Rewrite. |
| 98 | (alloc_stack_info): Adjust for struct _spu_elf_section_data changes. |
| 99 | (maybe_insert_function, check_function_ranges): Likewise. |
| 100 | (find_function, pasted_function, build_call_tree): Likewise. |
| 101 | (spu_elf_stack_analysis, spu_elf_modify_segment_map): Likewise. |
| 102 | (spu_elf_modify_program_headers): Likewise. |
| 103 | (interesting_section): Detect stub sections differently. Delete |
| 104 | htab param, adjust all callers. |
| 105 | (spu_elf_relocate_section): Rewrite stub handling. |
| 106 | (spu_elf_output_symbol_hook): Likewise. |
| 107 | (bfd_elf32_bfd_link_hash_table_free): Delete. |
| 108 | * elf32-spu.h (struct _spu_elf_section_data): Move input-only and |
| 109 | output-only fields into a union. Add ovl_buf. |
| 110 | (spu_elf_size_stubs, spu_elf_build_stubs): Update prototypes. |
| 111 | |
| 112 | 2008-01-25 DJ Delorie <dj@redhat.com> |
| 113 | |
| 114 | * elf32-m32c.c (_bfd_m32c_elf_eh_frame_address_size): New. |
| 115 | |
| 116 | 2008-01-25 Kai Tietz <kai.tietz@onevision.com> |
| 117 | |
| 118 | * bfd-in.h: Add mingw I64 support. |
| 119 | * bfd-in2.h: Regenerated. |
| 120 | * bfd.c: (bfd_get_sign_extend_vma): Add pe-x86-64 and pei-x86-64. |
| 121 | |
| 122 | 2008-01-21 Alan Modra <amodra@bigpond.net.au> |
| 123 | |
| 124 | PR 4453 |
| 125 | * format.c (bfd_check_format_matches): Don't accept archives as |
| 126 | fully matching unless they have a map. |
| 127 | |
| 128 | 2008-01-21 Alan Modra <amodra@bigpond.net.au> |
| 129 | |
| 130 | * elflink.c (_bfd_elf_link_output_relocs): Correct error return. |
| 131 | |
| 132 | 2008-01-21 Alan Modra <amodra@bigpond.net.au> |
| 133 | |
| 134 | * ecoff.c (_bfd_ecoff_archive_p): Delete. |
| 135 | * libecoff.h (_bfd_ecoff_archive_p): Delete. |
| 136 | * coff-alpha.c (ecoffalpha_little_vec): Use bfd_generic_archive_p. |
| 137 | * coff-mips.c (ecoff_little_vec, ecoff_big_vec): Likewise. |
| 138 | (ecoff_biglittle_vec): Likewise. |
| 139 | |
| 140 | 2008-01-19 Alan Modra <amodra@bigpond.net.au> |
| 141 | |
| 142 | PR 5646 |
| 143 | * elf64-ppc.c (ppc64_elf_tls_optimize): Ensure htab->tls_get_addr |
| 144 | non-NULL before dereferencing. |
| 145 | |
| 146 | 2008-01-15 Alan Modra <amodra@bigpond.net.au> |
| 147 | |
| 148 | PR 5604 |
| 149 | * elf-bfd.h (struct elf_backend_data): Add gc_keep. Remove param |
| 150 | names from others. |
| 151 | (_bfd_elf_gc_keep): Declare. |
| 152 | * elfxx-target.h (elf_backend_gc_keep): Define. |
| 153 | (elfNN_bed): Init new field. |
| 154 | * elflink.c (_bfd_elf_gc_keep): New function. |
| 155 | (bfd_elf_gc_sections): Call gc_keep. |
| 156 | * elf64-ppc.c (elf_backend_gc_keep): Define. |
| 157 | (struct _ppc64_elf_section_data): Move .opd related fields to |
| 158 | a struct so they don't occupy the same storage. Adjust accesses |
| 159 | throughout file. |
| 160 | (ppc64_elf_gc_keep): New function, split out from.. |
| 161 | (ppc64_elf_gc_mark_hook): ..here. Don't call _bfd_elf_gc_mark |
| 162 | to mark .opd section, just set gc_mark. |
| 163 | (ppc64_elf_edit_opd): Remove no_opd_opt parm. Don't set opd->adjust |
| 164 | unless we are changing .opd. Test non-NULL opd->adjust at all |
| 165 | accesses throughout file. |
| 166 | * elf64-ppc.h (ppc64_elf_edit_opd): Update prototype. |
| 167 | |
| 168 | 2008-01-15 Alan Modra <amodra@bigpond.net.au> |
| 169 | |
| 170 | * bfd-in.h (BFD_HOST_LONG_LONG): Delete. |
| 171 | * bfd-in2.h: Regenerate. |
| 172 | |
| 173 | 2008-01-11 Tristan Gingold <gingold@adacore.com> |
| 174 | Eric Botcazou <ebotcazou@adacore.com> |
| 175 | |
| 176 | * elf32-ppc.c (ppc_elf_gc_sweep_hook): Exit early if generating a |
| 177 | relocatable. |
| 178 | * elf32-arm.c (elf32_arm_gc_sweep_hook): Likewise. |
| 179 | * elf32-cris.c (cris_elf_gc_sweep_hook): Likewise. |
| 180 | * elf32-hppa.c (elf32_hppa_gc_sweep_hook): Likewise. |
| 181 | * elf32-i386.c (elf_i386_gc_sweep_hook): Likewise. |
| 182 | * elf32-m32r.c (m32r_elf_gc_sweep_hook): Likewise. |
| 183 | * elf32-m68k.c (elf_m68k_gc_sweep_hook): Likewise. |
| 184 | * elf32-s390.c (elf_s390_gc_sweep_hook): Likewise. |
| 185 | * elf32-sh.c (sh_elf_gc_sweep_hook): Likewise. |
| 186 | * elf32-vax.c (elf_vax_gc_sweep_hook): Likewise. |
| 187 | * elf32-xtensa.c (elf_xtensa_gc_sweep_hook): Likewise. |
| 188 | * elf64-x86-64.c (elf64_x86_64_gc_sweep_hook): Likewise. |
| 189 | * elf64-s390.c (elf_s390_gc_sweep_hook): Likewise. |
| 190 | * elf64-ppc.c (ppc64_elf_gc_sweep_hook): Likewise. |
| 191 | * elfxx-mips.c (_bfd_mips_elf_gc_sweep_hook): Likewise. |
| 192 | * elfxx-sparc.c (_bfd_sparc_elf_gc_sweep_hook): Likewise. |
| 193 | * elflink.c (bfd_elf_gc_sections): Do not punt on relocatable output |
| 194 | or executable output with relocations. |
| 195 | |
| 196 | 2008-01-09 Nick Clifton <nickc@redhat.com> |
| 197 | |
| 198 | PR gas/5552 |
| 199 | * elf32-fr30.c (fr30_elf_howto_table): Set partial_inplace field |
| 200 | to FALSE for all relocs. |
| 201 | |
| 202 | 2008-01-09 Richard Sandiford <rsandifo@nildram.co.uk> |
| 203 | |
| 204 | PR ld/5526 |
| 205 | * elf-bfd.h (eh_cie_fde): Add u.cie.u.full_cie and u.cie.merged |
| 206 | fields. Rename u.cie.u.merged to u.cie.u.merged_with. |
| 207 | (eh_frame_sec_info): Add a cies field. |
| 208 | (eh_frame_hdr_info): Add a merge_cies field. |
| 209 | * elf-eh-frame.c (cie): Add a reloc_index member to the personality |
| 210 | union. |
| 211 | (_bfd_elf_begin_eh_frame_parsing): Set hdr_info->merge_cies instead |
| 212 | of hdr_info->cies. |
| 213 | (_bfd_elf_parse_eh_frame): Remove tmp_cie. Ccreate an array of |
| 214 | cie structures in all cases and use it instead of extended_cies. |
| 215 | If merging, store the cie array in sec_info->cies and point each |
| 216 | CIE's eh_fde_cie at the associated element. Do not try to |
| 217 | calculate the value of the personality routine here; record the |
| 218 | offset of the relocation instead. Do not merge CIEs here. |
| 219 | (_bfd_elf_end_eh_frame_parsing): Do not free hdr_info->cies here... |
| 220 | (_bfd_elf_discard_section_eh_frame_hdr): ...do it here instead. |
| 221 | (_bfd_elf_gc_mark_fdes): Mark the original (unmerged) CIE. |
| 222 | (find_merged_cie): New function. |
| 223 | (_bfd_elf_gc_mark_fdes): Use it. Free sec_info->cies. |
| 224 | |
| 225 | 2008-01-07 Nick Clifton <nickc@redhat.com> |
| 226 | |
| 227 | PR binutils/5535 |
| 228 | * vms.c (vms_close_and_cleanup): Check for the presence of a |
| 229 | vms_private_data_struct before examining any of its fields. |
| 230 | |
| 231 | 2008-01-07 H.J. Lu <hongjiu.lu@intel.com> |
| 232 | |
| 233 | PR ld/5522 |
| 234 | * elflink.c (elf_link_input_bfd): Don't write out a section if |
| 235 | its output section is marked with SEC_NEVER_LOAD. |
| 236 | |
| 237 | For older changes see ChangeLog-2007 |
| 238 | \f |
| 239 | Local Variables: |
| 240 | mode: change-log |
| 241 | left-margin: 8 |
| 242 | fill-column: 74 |
| 243 | version-control: never |
| 244 | End: |