| 1 | 2003-03-26 H.J. Lu <hongjiu.lu@intel.com> |
| 2 | |
| 3 | * configure: Regenerated. |
| 4 | |
| 5 | 2007-03-26 Alan Modra <amodra@bigpond.net.au> |
| 6 | |
| 7 | * elf32-spu.c (struct stubarr): Add stub_hash_table and err fields. |
| 8 | (allocate_spuear_stubs): New function. |
| 9 | (spu_elf_size_stubs): Call allocate_spuear_stubs. |
| 10 | |
| 11 | 2007-03-26 Alan Modra <amodra@bigpond.net.au> |
| 12 | |
| 13 | * aout-adobe.c (aout_32_bfd_reloc_name_lookup): Define. |
| 14 | * aout-arm.c (MY_bfd_reloc_name_lookup): Define. |
| 15 | (MY (bfd_reloc_name_lookup)): New function. |
| 16 | * aout-ns32k.c (MY (bfd_reloc_name_lookup)): New function. |
| 17 | * aout-target.h (NAME (aout, reloc_name_lookup)): Declare. |
| 18 | (MY_bfd_reloc_name_lookup): Define. |
| 19 | * aout-tic30.c (tic30_aout_reloc_name_lookup): New function. |
| 20 | (MY_bfd_reloc_name_lookup): Define. |
| 21 | * aoutx.h (NAME (aout, reloc_type_lookup)): Don't declare. |
| 22 | (NAME (aout, reloc_name_lookup)): New function. |
| 23 | * bout.c (b_out_bfd_reloc_name_lookup): New function. |
| 24 | * coff-alpha.c (alpha_bfd_reloc_name_lookup): New function. |
| 25 | (_bfd_ecoff_bfd_reloc_name_lookup): Define. |
| 26 | * coff-arm.c (coff_arm_reloc_name_lookup): New function. |
| 27 | (coff_bfd_reloc_name_lookup): Define. |
| 28 | * coff-i386.c (coff_bfd_reloc_name_lookup): Define. |
| 29 | (coff_i386_reloc_name_lookup): New function. |
| 30 | * coff-i860.c (coff_i860_reloc_name_lookup): New function. |
| 31 | (coff_bfd_reloc_name_lookup): Define. |
| 32 | * coff-i960.c (coff_i960_reloc_name_lookup): New function. |
| 33 | (coff_bfd_reloc_name_lookup): Define. |
| 34 | * coff-m68k.c (m68k_reloc_name_lookup): New function. |
| 35 | (coff_bfd_reloc_name_lookup): Define. |
| 36 | * coff-maxq.c (maxq_reloc_name_lookup): New function. |
| 37 | (coff_bfd_reloc_name_lookup): Define. |
| 38 | * coff-mcore.c (mcore_coff_reloc_name_lookup): New function. |
| 39 | (coff_bfd_reloc_name_lookup): Define. |
| 40 | * coff-mips.c (mips_bfd_reloc_name_lookup): New function. |
| 41 | (_bfd_ecoff_bfd_reloc_name_lookup): Define. |
| 42 | * coff-ppc.c (ppc_coff_reloc_name_lookup): New function. |
| 43 | (coff_bfd_reloc_name_lookup): Define. |
| 44 | * coff-rs6000.c (coff_bfd_reloc_name_lookup): Define. |
| 45 | (_bfd_xcoff_reloc_name_lookup): New function. |
| 46 | (rs6000coff_vec, pmac_xcoff_vec): Init new field. |
| 47 | * coff-sh.c (coff_bfd_reloc_name_lookup): Define. |
| 48 | (sh_coff_reloc_name_lookup): New function. |
| 49 | * coff-sparc.c (coff_sparc_reloc_name_lookup): New function. |
| 50 | (coff_bfd_reloc_name_lookup): Define. |
| 51 | * coff-tic30.c (coff_bfd_reloc_name_lookup): Define. |
| 52 | (tic30_coff_reloc_name_lookup): New function. |
| 53 | * coff-tic4x.c (coff_bfd_reloc_name_lookup): Define. |
| 54 | (tic4x_coff_reloc_name_lookup): New function. |
| 55 | * coff-tic54x.c (coff_bfd_reloc_name_lookup): Define. |
| 56 | (tic54x_coff_reloc_name_lookup): New function. |
| 57 | * coff-x86_64.c (coff_bfd_reloc_name_lookup): Define. |
| 58 | (coff_amd64_reloc_name_lookup): New function. |
| 59 | * coff-z80.c (coff_z80_reloc_name_lookup): New function. |
| 60 | (coff_bfd_reloc_name_lookup): Define. |
| 61 | * coff-z8k.c (coff_z8k_reloc_name_lookup): New function. |
| 62 | (coff_bfd_reloc_name_lookup): Define. |
| 63 | * coff64-rs6000.c (coff_bfd_reloc_name_lookup): Define. |
| 64 | (xcoff64_reloc_name_lookup): New function. |
| 65 | (rs6000coff64_vec, aix5coff64_vec): Init new field. |
| 66 | * coffcode.h (coff_bfd_reloc_name_lookup): Define. |
| 67 | * elf-hppa.h (elf_hppa_reloc_name_lookup): New function. |
| 68 | * elf-m10200.c (bfd_elf32_bfd_reloc_name_lookup): New function. |
| 69 | * elf-m10300.c (bfd_elf32_bfd_reloc_name_lookup): New function. |
| 70 | * elf32-arc.c (bfd_elf32_bfd_reloc_name_lookup): New function. |
| 71 | * elf32-arm.c (elf32_arm_reloc_name_lookup): New function. |
| 72 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 73 | * elf32-avr.c (bfd_elf32_bfd_reloc_name_lookup): New function. |
| 74 | * elf32-bfin.c (bfin_bfd_reloc_name_lookup): New function. |
| 75 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 76 | * elf32-cr16c.c (elf_cr16c_reloc_name_lookup): New function. |
| 77 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 78 | * elf32-cris.c (cris_reloc_name_lookup): New function. |
| 79 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 80 | * elf32-crx.c (elf_crx_reloc_name_lookup): New function. |
| 81 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 82 | * elf32-d10v.c (bfd_elf32_bfd_reloc_name_lookup): New function. |
| 83 | * elf32-d30v.c (bfd_elf32_bfd_reloc_name_lookup): New function. |
| 84 | * elf32-dlx.c (elf32_dlx_reloc_name_lookup): New function. |
| 85 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 86 | * elf32-fr30.c (fr30_reloc_name_lookup): New function. |
| 87 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 88 | * elf32-frv.c (frv_reloc_name_lookup): New function. |
| 89 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 90 | * elf32-gen.c (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 91 | * elf32-h8300.c (elf32_h8_reloc_name_lookup): New function. |
| 92 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 93 | * elf32-hppa.c (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 94 | * elf32-i370.c (i370_elf_reloc_name_lookup): New function. |
| 95 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 96 | * elf32-i386.c (elf_i386_reloc_name_lookup): New function. |
| 97 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 98 | * elf32-i860.c (elf32_i860_reloc_name_lookup): New function. |
| 99 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 100 | * elf32-i960.c (elf32_i960_reloc_name_lookup): New function. |
| 101 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 102 | * elf32-ip2k.c (ip2k_reloc_name_lookup): New function. |
| 103 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 104 | * elf32-iq2000.c (iq2000_reloc_name_lookup): New function. |
| 105 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 106 | * elf32-m32c.c (m32c_reloc_name_lookup): New function. |
| 107 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 108 | * elf32-m32r.c (bfd_elf32_bfd_reloc_name_lookup): New function. |
| 109 | * elf32-m68hc11.c (bfd_elf32_bfd_reloc_name_lookup): New function. |
| 110 | * elf32-m68hc12.c (bfd_elf32_bfd_reloc_name_lookup): New function. |
| 111 | * elf32-m68k.c (reloc_name_lookup): New function. |
| 112 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 113 | * elf32-m88k.c (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 114 | * elf32-mcore.c (mcore_elf_reloc_name_lookup): New function. |
| 115 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 116 | * elf32-mep.c (mep_reloc_name_lookup): New function. |
| 117 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 118 | * elf32-mips.c (bfd_elf32_bfd_reloc_name_lookup): New function. |
| 119 | (mips_vxworks_bfd_reloc_name_lookup): Likewise. |
| 120 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 121 | * elf32-msp430.c (bfd_elf32_bfd_reloc_name_lookup): New function. |
| 122 | * elf32-mt.c (mt_reloc_name_lookup): New function. |
| 123 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 124 | * elf32-openrisc.c (openrisc_reloc_name_lookup): New function. |
| 125 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 126 | * elf32-or32.c (bfd_elf32_bfd_reloc_name_lookup): New function. |
| 127 | * elf32-pj.c (pj_elf_reloc_name_lookup): New function. |
| 128 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 129 | * elf32-ppc.c (ppc_elf_reloc_name_lookup): New function. |
| 130 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 131 | * elf32-s390.c (elf_s390_reloc_name_lookup): New function. |
| 132 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 133 | * elf32-score.c (elf32_score_reloc_name_lookup): New function. |
| 134 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 135 | * elf32-sh.c (sh_elf_reloc_name_lookup): New function. |
| 136 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 137 | * elf32-sparc.c (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 138 | * elf32-spu.c (spu_elf_reloc_name_lookup): New function. |
| 139 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 140 | * elf32-v850.c (v850_elf_reloc_name_lookup): New function. |
| 141 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 142 | * elf32-vax.c (reloc_name_lookup): New function. |
| 143 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 144 | * elf32-xc16x.c (xc16x_reloc_name_lookup): New function. |
| 145 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 146 | * elf32-xstormy16.c (xstormy16_reloc_name_lookup): New function. |
| 147 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 148 | * elf32-xtensa.c (elf_xtensa_reloc_name_lookup): New function. |
| 149 | (bfd_elf32_bfd_reloc_name_lookup): Define. |
| 150 | * elf64-alpha.c (elf64_alpha_bfd_reloc_name_lookup): New function. |
| 151 | (bfd_elf64_bfd_reloc_name_lookup): Define. |
| 152 | * elf64-gen.c (bfd_elf64_bfd_reloc_name_lookup): Define. |
| 153 | * elf64-hppa.c (bfd_elf64_bfd_reloc_name_lookup): Define. |
| 154 | * elf64-mips.c (bfd_elf64_bfd_reloc_name_lookup): New function. |
| 155 | * elf64-mmix.c (bfd_elf64_bfd_reloc_name_lookup): New function. |
| 156 | * elf64-ppc.c (ppc64_elf_reloc_name_lookup): New function. |
| 157 | (bfd_elf64_bfd_reloc_name_lookup): Define. |
| 158 | * elf64-s390.c (elf_s390_reloc_name_lookup): New function. |
| 159 | (bfd_elf64_bfd_reloc_name_lookup): Define. |
| 160 | * elf64-sh64.c (sh_elf64_reloc_name_lookup): New function. |
| 161 | (bfd_elf64_bfd_reloc_name_lookup): Define. |
| 162 | * elf64-sparc.c (bfd_elf64_bfd_reloc_name_lookup): Define. |
| 163 | * elf64-x86-64.c (elf64_x86_64_reloc_name_lookup): New function. |
| 164 | (bfd_elf64_bfd_reloc_name_lookup): Define. |
| 165 | * elfn32-mips.c (bfd_elf32_bfd_reloc_name_lookup): New function. |
| 166 | * elfxx-ia64.c (elfNN_ia64_reloc_name_lookup): New function. |
| 167 | (bfd_elfNN_bfd_reloc_name_lookup): Define. |
| 168 | * elfxx-sparc.c (_bfd_sparc_elf_reloc_name_lookup): New function. |
| 169 | * elfxx-sparc.h (_bfd_sparc_elf_reloc_name_lookup): Declare. |
| 170 | * i386msdos.c (msdos_bfd_reloc_name_lookup): Define. |
| 171 | * i386os9k.c (aout_32_bfd_reloc_name_lookup): Define. |
| 172 | * ieee.c (ieee_bfd_reloc_name_lookup): Define. |
| 173 | * libaout.h (NAME (aout, reloc_name_lookup)): Declare. |
| 174 | * libbfd-in.h (_bfd_norelocs_bfd_reloc_name_lookup): Declare. |
| 175 | * mipsbsd.c (MY_bfd_reloc_name_lookup): Define. |
| 176 | (MY(reloc_type_lookup)): Rename from MY(reloc_howto_type_lookup). |
| 177 | (MY(reloc_name_lookup)): New function. |
| 178 | * nlm-target.h (nlm_bfd_reloc_name_lookup): Define. |
| 179 | * oasys.c (oasys_bfd_reloc_name_lookup): Define. |
| 180 | * pdp11.c (NAME (aout, reloc_name_lookup)): New function. |
| 181 | * pe-mips.c (coff_mips_reloc_name_lookup): New function. |
| 182 | (coff_bfd_reloc_name_lookup): Define. |
| 183 | * reloc.c (bfd_reloc_name_lookup): New function. |
| 184 | * riscix.c (riscix_reloc_name_lookup): New function. |
| 185 | (MY_bfd_reloc_name_lookup): Define. |
| 186 | * som.c (som_bfd_reloc_name_lookup): New function. |
| 187 | * targets.c (struct bfd_target): Add reloc_name_lookup. |
| 188 | (BFD_JUMP_TABLE_RELOCS): Add NAME##_bfd_reloc_name_lookup. |
| 189 | * versados.c (versados_bfd_reloc_name_lookup): Define. |
| 190 | * vms.c (vms_bfd_reloc_name_lookup): New function. |
| 191 | * bfd-in2.h: Regenerate. |
| 192 | * libbfd.h: Regenerate. |
| 193 | |
| 194 | 2007-03-26 Thiemo Seufer <ths@mips.com> |
| 195 | |
| 196 | PR ld/4208 |
| 197 | * elfxx-mips.c (mips_elf_next_relocation): Don't signal an error if no |
| 198 | matching relocation is found. |
| 199 | (_bfd_mips_elf_relocate_section): Only warn about missing relocations. |
| 200 | |
| 201 | 2003-03-23 H.J. Lu <hongjiu.lu@intel.com> |
| 202 | |
| 203 | * configure: Regenerated. |
| 204 | |
| 205 | 2007-03-23 Joseph Myers <joseph@codesourcery.com> |
| 206 | |
| 207 | * configure.in: Use ACX_PKGVERSION and ACX_BUGURL. |
| 208 | * configure: Regenerate. |
| 209 | |
| 210 | 2007-03-23 Alan Modra <amodra@bigpond.net.au> |
| 211 | |
| 212 | * elf32-spu.c (spu_stub_name): Don't put input section in stub name. |
| 213 | Remove input_sec param. Adjust all calls. |
| 214 | (write_one_stub): Adjust stub symbol. |
| 215 | (needs_ovl_stub): New function, extracted from.. |
| 216 | (spu_elf_size_stubs): ..here. |
| 217 | (spu_elf_relocate_section): Use needs_ovl_stub. |
| 218 | |
| 219 | 2007-03-22 Joseph Myers <joseph@codesourcery.com> |
| 220 | |
| 221 | * Makefile.am (bfdver.h): Only set VERSION_PACKAGE in bfdver.texi |
| 222 | if nonempty. |
| 223 | * configure.in (REPORT_BUGS_TO): Do not use "URL:" prefix. |
| 224 | * Makefile.in, configure, doc/Makefile.in: Regenerate. |
| 225 | |
| 226 | 2003-03-22 H.J. Lu <hongjiu.lu@intel.com> |
| 227 | |
| 228 | PR ld/4210 |
| 229 | * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Use the virtual |
| 230 | address and virtual size of the last section for the image |
| 231 | size. |
| 232 | |
| 233 | 2007-03-22 H.J. Lu <hongjiu.lu@intel.com> |
| 234 | |
| 235 | PR ld/4007 |
| 236 | * elf.c (assign_file_positions_for_load_sections): Check if |
| 237 | all sections are in the segment. |
| 238 | |
| 239 | 2003-03-20 H.J. Lu <hongjiu.lu@intel.com> |
| 240 | |
| 241 | PR ld/4208 |
| 242 | * elfxx-mips.c (_bfd_mips_elf_relocate_section): Report missing |
| 243 | matching LO16 relocation for HI16 relocation. |
| 244 | |
| 245 | 2007-03-20 Paul Brook <paul@codesourcery.com> |
| 246 | |
| 247 | * bfd-in.h (bfd_elf32_arm_set_target_relocs): Update prototype. |
| 248 | * bfd-in2.h: Regenerate. |
| 249 | * elf32-arm.c (elf32_arm_link_hash_table): Add pic_veneer. |
| 250 | (record_arm_to_thumb_glue): Use globals->pic_veneer. |
| 251 | (elf32_arm_create_thumb_stub): Ditto. |
| 252 | (bfd_elf32_arm_set_target_relocs): Set globals->pic_veneer. |
| 253 | |
| 254 | 2007-03-18 Mark Shinwell <shinwell@codesourcery.com> |
| 255 | |
| 256 | * bfd-in.h (bfd_elf32_arm_set_target_relocs): Add "bfd *" |
| 257 | argument and extra last argument. |
| 258 | * bfd-in2.h: Regenerate. |
| 259 | * elf32-arm.c (elf32_arm_obj_tdata): Add no_enum_size_warning |
| 260 | member. |
| 261 | (bfd_elf32_arm_set_target_relocs): Add "bfd *" argument and |
| 262 | extra last argument. Set no_enum_size_warning appropriately. |
| 263 | (elf32_arm_merge_eabi_attributes): Improve enum sizes |
| 264 | diagnostic, suppressing it when no_enum_size_warning dictates. |
| 265 | |
| 266 | 2007-03-20 Nick Clifton <nickc@redhat.com> |
| 267 | |
| 268 | PR binutils/3535 |
| 269 | * elf.c (copy_private_bfd_data): Widen the scope of Solaris |
| 270 | specific conditions that need the program headers to be |
| 271 | rewritten. |
| 272 | |
| 273 | 2003-03-19 H.J. Lu <hongjiu.lu@intel.com> |
| 274 | |
| 275 | * peXXigen.c (_bfd_XXi_swap_aouthdr_in): Store Magic, |
| 276 | MajorLinkerVersion, MinorLinkerVersion, SizeOfCode, |
| 277 | SizeOfInitializedData, SizeOfUninitializedData, |
| 278 | AddressOfEntryPoint, BaseOfCode and BaseOfData in internal |
| 279 | extra PE a.out header. |
| 280 | (IMAGE_NT_OPTIONAL_HDR_MAGIC): Defined as 0x10b if not defined. |
| 281 | (IMAGE_NT_OPTIONAL_HDR64_MAGIC): Defined as 0x20b if not |
| 282 | defined. |
| 283 | (IMAGE_NT_OPTIONAL_HDRROM_MAGIC): Defined as 0x107 if not |
| 284 | defined. |
| 285 | (_bfd_XX_print_private_bfd_data_common): Also print Magic, |
| 286 | MajorLinkerVersion, MinorLinkerVersion, SizeOfCode, |
| 287 | SizeOfInitializedData, SizeOfUninitializedData, |
| 288 | AddressOfEntryPoint, BaseOfCode and BaseOfData from internal |
| 289 | extra PE a.out header. |
| 290 | |
| 291 | 2003-03-18 H.J. Lu <hongjiu.lu@intel.com> |
| 292 | |
| 293 | * targets.c (_bfd_target_vector): Add bfd_efi_app_x86_64_vec |
| 294 | only if BFD64 is defined. |
| 295 | |
| 296 | 2007-03-17 Alan Modra <amodra@bigpond.net.au> |
| 297 | |
| 298 | * elf32-spu.c (spu_elf_size_stubs): Always use an overlay stub |
| 299 | on setjmp calls. |
| 300 | |
| 301 | 2007-03-15 H.J. Lu <hongjiu.lu@intel.com> |
| 302 | |
| 303 | * doc/Makefile.in: Regenerated. |
| 304 | |
| 305 | 2007-03-15 H.J. Lu <hongjiu.lu@intel.com> |
| 306 | |
| 307 | * Makefile.am (bfdver.h): Substitute report_bugs_to. Also |
| 308 | create doc/bfdver.texi. |
| 309 | * Makefile.in: Regenerated. |
| 310 | |
| 311 | * configure.in (--with-bugurl): New option. |
| 312 | * configure: Regenerated. |
| 313 | |
| 314 | * version.h (REPORT_BUGS_TO): New. |
| 315 | |
| 316 | 2007-03-13 H.J. Lu <hongjiu.lu@intel.com> |
| 317 | |
| 318 | PR binutils/3826 |
| 319 | * elf-bfd.h (elf_backend_data): Add elf_osabi. |
| 320 | (_bfd_elf_set_osabi): New. |
| 321 | |
| 322 | * elf.c (_bfd_elf_set_osabi): New. |
| 323 | |
| 324 | * elf32-hppa.c (elf32_hppa_post_process_headers): Removed. |
| 325 | (elf_backend_post_process_headers): Defined with |
| 326 | _bfd_elf_set_osabi. |
| 327 | (ELF_OSABI): Properly defined for each target. |
| 328 | |
| 329 | * elf32-i370.c (i370_elf_post_process_headers): Removed. |
| 330 | (ELF_OSABI): Defined. |
| 331 | (elf_backend_post_process_headers): Defined with |
| 332 | _bfd_elf_set_osabi. |
| 333 | |
| 334 | * elf32-i386.c (ELF_OSABI): Defined to ELFOSABI_FREEBSD for |
| 335 | freebsd. |
| 336 | (elf_i386_post_process_headers): Set EI_OSABI with elf_osabi. |
| 337 | |
| 338 | * elf32-msp430.c (elf32_msp430_post_process_headers): Removed. |
| 339 | (ELF_OSABI): Defined. |
| 340 | (elf_backend_post_process_headers): Defined with |
| 341 | _bfd_elf_set_osabi. |
| 342 | |
| 343 | * elf64-alpha.c (ELF_OSABI): Defined to ELFOSABI_FREEBSD for |
| 344 | freebsd. |
| 345 | (elf64_alpha_fbsd_post_process_headers): Set EI_OSABI with |
| 346 | elf_osabi. |
| 347 | |
| 348 | * elf64-hppa.c (elf64_hppa_post_process_headers): Set EI_OSABI |
| 349 | with elf_osabi. |
| 350 | (ELF_OSABI): Properly defined for each target. |
| 351 | (elf_backend_post_process_headers): Defined with |
| 352 | _bfd_elf_set_osabi for Linux. |
| 353 | |
| 354 | * elf64-sparc.c (elf64_sparc_fbsd_post_process_headers): Removed. |
| 355 | (ELF_OSABI): Defined to ELFOSABI_FREEBSD for freebsd. |
| 356 | (elf_backend_post_process_headers): Defined with |
| 357 | _bfd_elf_set_osabi. |
| 358 | |
| 359 | * elf64-x86-64.c (elf64_x86_64_fbsd_post_process_headers): Removed. |
| 360 | (ELF_OSABI): Defined to ELFOSABI_FREEBSD for freebsd. |
| 361 | (elf_backend_post_process_headers): Defined with |
| 362 | _bfd_elf_set_osabi. |
| 363 | |
| 364 | * elfcode.h (elf_object_p): Match the ELFOSABI_NONE ELF target |
| 365 | with any ELF target of the compatible machine for which we do not |
| 366 | have a specific backend. |
| 367 | |
| 368 | * elfxx-ia64.c (elfNN_hpux_post_process_headers): Set EI_OSABI |
| 369 | with elf_osabi. |
| 370 | |
| 371 | * elfxx-target.h (ELF_OSABI): Default to ELFOSABI_NONE. |
| 372 | (elfNN_bed): Initialize elf_osabi with ELF_OSABI. |
| 373 | |
| 374 | 2007-03-08 Alan Modra <amodra@bigpond.net.au> |
| 375 | |
| 376 | * elf32-v850.c (v850_elf_link_output_symbol_hook): Clean out |
| 377 | V850_OTHER_* bits. |
| 378 | |
| 379 | 2007-03-08 Alan Modra <amodra@bigpond.net.au> |
| 380 | |
| 381 | * Makefile.am (BFD64_BACKENDS): Add efi-app-x86_64.lo. |
| 382 | (BFD64_BACKENDS_CFILES): Add efi-app-x86_64.c. |
| 383 | Run "make dep-am". |
| 384 | * Makefile.in: Regenerate. |
| 385 | * po/SRC-POTFILES.in: Regenerate. |
| 386 | |
| 387 | 2007-03-07 H.J. Lu <hongjiu.lu@intel.com> |
| 388 | |
| 389 | * config.bfd (x86_64-*-freebsd*): Add bfd_efi_app_x86_64_vec. |
| 390 | (x86_64-*-kfreebsd*-gnu): Likewise. |
| 391 | (x86_64-*-netbsd*): Likewise. |
| 392 | (x86_64-*-openbsd*): Likewise. |
| 393 | (x86_64-*-linux-*): Likewise. |
| 394 | |
| 395 | * configure.in: Support bfd_efi_app_x86_64_vec. |
| 396 | * configure: Regenerated. |
| 397 | |
| 398 | * efi-app-x86_64.c: New file. |
| 399 | |
| 400 | * targets.c (bfd_efi_app_x86_64_vec): New. |
| 401 | (_bfd_target_vector): Add bfd_efi_app_x86_64_vec. |
| 402 | |
| 403 | 2007-03-07 Kai Tietz <kai.tietz@onevision.com> |
| 404 | |
| 405 | * reloc.c (bfd_generic_get_relocated_section_contents): Remove |
| 406 | const for type reloc_howto_type. |
| 407 | |
| 408 | 2007-03-07 Alan Modra <amodra@bigpond.net.au> |
| 409 | |
| 410 | PR 3958 |
| 411 | * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): No error on relocatable link. |
| 412 | (elf_discarded_section): Move.. |
| 413 | * bfd-in.h: ..to here. |
| 414 | * bfd-in2.h: Regenerate. |
| 415 | * elflink.c (elf_link_input_bfd): Don't zap relocs against symbols |
| 416 | from discarded sections before relocate_section has done its job. |
| 417 | * reloc.c (bfd_generic_get_relocated_section_contents): Handle |
| 418 | relocs against symbols from discarded sections. |
| 419 | * elf-hppa.h (elf_hppa_howto_table): Set size. Set dst_mask on |
| 420 | SECREL32. |
| 421 | (elf_hppa_relocate_section): Handle relocatable link after setting |
| 422 | sec, sym, h etc. for final link. Squash error messages for |
| 423 | relocatable link. Clear section contents for relocs against |
| 424 | symbols in discarded sections, and zero reloc. Remove existing |
| 425 | zero r_symndx code. |
| 426 | * elf-m10200.c (mn10200_elf_relocate_section): Likewise. |
| 427 | * elf-m10300.c (mn10300_elf_relocate_section): Likewise. |
| 428 | * elf32-arm.c (elf32_arm_relocate_section): Likewise. |
| 429 | * elf32-avr.c (elf32_avr_relocate_section): Likewise. |
| 430 | * elf32-bfin.c (bfinfdpic_relocate_section): Likewise. |
| 431 | (bfin_relocate_section): Likewise. |
| 432 | * elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise. |
| 433 | * elf32-cris.c (cris_elf_relocate_section): Likewise. |
| 434 | * elf32-crx.c (elf32_crx_relocate_section): Likewise. |
| 435 | * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. |
| 436 | * elf32-fr30.c (fr30_elf_relocate_section): Likewise. |
| 437 | * elf32-frv.c (elf32_frv_relocate_section): Likewise. |
| 438 | * elf32-h8300.c (elf32_h8_relocate_section): Likewise. |
| 439 | * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. |
| 440 | * elf32-i370.c (i370_elf_relocate_section): Likewise. |
| 441 | * elf32-i386.c (elf_i386_relocate_section): Likewise. |
| 442 | * elf32-i860.c (elf32_i860_relocate_section): Likewise. |
| 443 | * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. |
| 444 | * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise. |
| 445 | * elf32-m32c.c (m32c_elf_relocate_section): Likewise. |
| 446 | * elf32-m32r.c (m32r_elf_relocate_section): Likewise. |
| 447 | * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise. |
| 448 | * elf32-m68k.c (elf_m68k_relocate_section): Likewise. |
| 449 | * elf32-mcore.c (mcore_elf_relocate_section): Likewise. |
| 450 | * elf32-mep.c (mep_elf_relocate_section): Likewise. |
| 451 | * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. |
| 452 | * elf32-mt.c (mt_elf_relocate_section): Likewise. |
| 453 | * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. |
| 454 | * elf32-ppc.c (ppc_elf_relocate_section): Likewise. |
| 455 | * elf32-s390.c (elf_s390_relocate_section): Likewise. |
| 456 | * elf32-score.c (_bfd_score_elf_relocate_section): Likewise. |
| 457 | * elf32-sh.c (sh_elf_relocate_section): Likewise. |
| 458 | * elf32-spu.c (spu_elf_relocate_section): Likewise. |
| 459 | * elf32-v850.c (v850_elf_relocate_section): Likewise. |
| 460 | * elf32-vax.c (elf_vax_relocate_section): Likewise. |
| 461 | * elf32-xc16x.c (elf32_xc16x_relocate_section): Likewise. |
| 462 | * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. |
| 463 | * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. |
| 464 | * elf64-alpha.c (elf64_alpha_relocate_section_r): Likewise. |
| 465 | (elf64_alpha_relocate_section): Likewise. |
| 466 | * elf64-mmix.c (mmix_elf_relocate_section): Likewise. |
| 467 | * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. |
| 468 | * elf64-s390.c (elf_s390_relocate_section): Likewise. |
| 469 | * elf64-sh64.c (sh_elf64_relocate_section): Likewise. |
| 470 | * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. |
| 471 | * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. |
| 472 | * elfxx-mips.c (_bfd_mips_elf_relocate_section): Likewise. |
| 473 | * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise. |
| 474 | |
| 475 | * elf32-arm.c (elf32_arm_relocate_section): Always adjust section |
| 476 | symbols for relocatable link. Don't use always-zero st_value. |
| 477 | (elf_backend_rela_normal): Don't define. |
| 478 | * elf32-bfin.c (bfinfdpic_relocate_section): Use |
| 479 | RELOC_FOR_GLOBAL_SYMBOL. |
| 480 | * elf32-frv.c (elf32_frv_relocate_section): Likewise. |
| 481 | * elf32-d10v.c (elf32_d10v_relocate_section): Combine SEC_MERGE |
| 482 | section symbol adjustments with same for relocatable link. |
| 483 | * elf32-i386.c (elf_i386_relocate_section): Likewise. |
| 484 | * elf32-m68hc1x.c (m68hc11_get_relocation_value): Move.. |
| 485 | (elf32_m68hc11_check_relocs): ..to here. |
| 486 | * elf32-score.c (score_elf_final_link_relocate): Remove zero |
| 487 | r_symndx code. |
| 488 | * elfxx-mips.c (mips_elf_calculate_relocation): Likewise. |
| 489 | |
| 490 | 2007-03-07 Alan Modra <amodra@bigpond.net.au> |
| 491 | |
| 492 | PR 4144 |
| 493 | * elf.c (assign_file_positions_for_load_sections): Don't |
| 494 | adjust p_memsz for !SEC_LOAD section vma modulo page size. |
| 495 | Instead, use the same lma based adjustment for SEC_LOAD |
| 496 | sections. |
| 497 | |
| 498 | 2007-03-01 Bob Wilson <bob.wilson@acm.org> |
| 499 | |
| 500 | * elf32-xtensa.c (analyze_relocations): Zero src_count if not relaxing. |
| 501 | (find_relaxable_sections): Do not increment src_count for unknown |
| 502 | opcodes. Decode only once instead of calling is_l32r_relocation. |
| 503 | (compute_text_actions): Remove unused no_insn_move flag. Assert that |
| 504 | src_next matches src_count in relax_info. |
| 505 | |
| 506 | 2007-03-01 Joseph Myers <joseph@codesourcery.com> |
| 507 | |
| 508 | * Makefile.am (bfdver.h): Use "." not " " between version number |
| 509 | and date. |
| 510 | * Makefile.in: Regenerate. |
| 511 | * configure.in (PKGVERSION): Default to "(GNU Binutils) ". |
| 512 | * configure: Regenerate. |
| 513 | |
| 514 | 2007-02-28 Nathan Sidwell <nathan@codesourcery.com> |
| 515 | |
| 516 | * config.bfd (sh-*-uclinux, sh[12]-*-uclinux): New stanza. |
| 517 | |
| 518 | 2007-02-27 Alan Modra <amodra@bigpond.net.au> |
| 519 | |
| 520 | * elf32-spu.h (struct _ovl_stream): Make "start" and "end" const. |
| 521 | * elf32-spu.c (ovl_mgr_pread): Add const to casts. |
| 522 | |
| 523 | 2007-02-23 Carlos O'Donell <carlos@codesourcery.com> |
| 524 | |
| 525 | * dwarf2.c (_bfd_dwarf2_find_nearest_line): Assume 32-bit |
| 526 | DWARF even with 64-bit addresses. |
| 527 | (_bfd_dwarf2_find_nearest_line): Likewise. |
| 528 | |
| 529 | 2007-02-23 Nick Clifton <nickc@redhat.com> |
| 530 | |
| 531 | PR binutils/3535 |
| 532 | * elf.c (copy_private_bfd_data): Always rewrite the program |
| 533 | headers when a Solaris interpreter segment is involved. |
| 534 | |
| 535 | 2007-02-22 Paul Brook <paul@codesourcery.com> |
| 536 | |
| 537 | * elflink.c (gc_mark_hook_fn): Remove. |
| 538 | (_bfd_elf_gc_mark): Rename gc_mark_hook_fn to elf_gc_mark_hook_fn. |
| 539 | (bfd_elf_gc_sections): Ditto. Call gc_mark_extra_sections. |
| 540 | * elf-bfd.h (elf_gc_mark_hook_fn): Define. |
| 541 | (elf_backend_data): Add gc_mark_extra_sections. |
| 542 | * elfxx-target.h (elf_backend_gc_mark_extra_sections): Provide default |
| 543 | definition. |
| 544 | (elfNN_bed): Add elf_backend_gc_mark_extra_sections. |
| 545 | * elf32-arm.c (elf32_arm_gc_mark_extra_sections): New function. |
| 546 | (elf_backend_gc_mark_extra_sections): Define. |
| 547 | |
| 548 | 2007-02-21 Nick Clifton <nickc@redhat.com> |
| 549 | |
| 550 | * elf.c (_bfd_elf_map_sections_to_segments): If the |
| 551 | override_segment_assignment callback is defined then call it. |
| 552 | |
| 553 | 2007-02-21 Alan Modra <amodra@bigpond.net.au> |
| 554 | |
| 555 | * elf32-spu.c (spu_elf_size_stubs): Correct order of warning args. |
| 556 | |
| 557 | 2007-02-19 Thiemo Seufer <ths@mips.com> |
| 558 | |
| 559 | * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): Remove |
| 560 | translation marker from untranslatable strings. |
| 561 | |
| 562 | 2007-02-19 Alan Modra <amodra@bigpond.net.au> |
| 563 | |
| 564 | * elf-bfd.h (struct elf_backend_data): Add default_execstack. |
| 565 | * elflink.c (bfd_elf_size_dynamic_sections): Heed default_execstack. |
| 566 | * elfxx-target.h (elf_backend_default_execstack): Define to 1. |
| 567 | (elfNN_bed): Init new field. |
| 568 | * elf64-ppc.c (elf_backend_default_execstack): Define to 0. |
| 569 | |
| 570 | 2007-02-17 Mark Mitchell <mark@codesourcery.com> |
| 571 | Nathan Sidwell <nathan@codesourcery.com> |
| 572 | Vladimir Prus <vladimir@codesourcery.com |
| 573 | Joseph Myers <joseph@codesourcery.com> |
| 574 | |
| 575 | * configure.in (--with-pkgversion): New option. |
| 576 | * configure: Regenerate. |
| 577 | * Makefile.am (bfdver.h): Substitute for @bfd_version_package@. |
| 578 | * Makefile.in: Regenerate. |
| 579 | * version.h (BFD_VERSION_STRING): Define using |
| 580 | @bfd_version_package@. |
| 581 | |
| 582 | 2007-02-16 Carlos O'Donell <carlos@codesourcery.com> |
| 583 | |
| 584 | * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): |
| 585 | Print EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT |
| 586 | and EF_MIPS_UCODE. |
| 587 | |
| 588 | 2007-02-15 Alan Modra <amodra@bigpond.net.au> |
| 589 | |
| 590 | * libbfd-in.h (_bfd_norelocs_get_reloc_upper_bound): Don't define, |
| 591 | declare. |
| 592 | (_bfd_norelocs_canonicalize_reloc): Likewise. |
| 593 | * libbfd.h: Regenerate. |
| 594 | * libbfd.c (_bfd_norelocs_get_reloc_upper_bound): New function. |
| 595 | (_bfd_norelocs_canonicalize_reloc): Likewise. |
| 596 | * binary.c (binary_bfd_reloc_type_lookup): Don't define. |
| 597 | (binary_get_reloc_upper_bound, binary_canonicalize_reloc): Likewise. |
| 598 | (binary_vec): Use _bfd_norelocs in BFD_JUMP_TABLE_RELOCS. |
| 599 | * ihex.c: Similarly. |
| 600 | * mach-o-target.c: Similarly. |
| 601 | * mach-o.c: Similarly. |
| 602 | * mmo.c: Similarly. |
| 603 | * pef.c: Similarly. |
| 604 | * ppcboot.c: Similarly. |
| 605 | * srec.c: Similarly. |
| 606 | * xsym.c: Similarly. |
| 607 | |
| 608 | 2007-02-14 H.J. Lu <hongjiu.lu@intel.com> |
| 609 | |
| 610 | PR ld/3953 |
| 611 | * elflink.c (_bfd_elf_add_default_symbol): Check warning symbol |
| 612 | when adding default symbol. |
| 613 | |
| 614 | 2007-02-13 Alan Modra <amodra@bigpond.net.au> |
| 615 | |
| 616 | * elf64-ppc.c (create_linkage_sections): Use section ".branch_lt" |
| 617 | for branch lookup table. |
| 618 | |
| 619 | 2007-02-12 Alan Modra <amodra@bigpond.net.au> |
| 620 | |
| 621 | * elf64-ppc.c (create_linkage_sections): Don't create |
| 622 | .rela.rodata.brlt for --emit-relocs. |
| 623 | (ppc_build_one_stub): Create relocs for brlt --emit-relocs here. |
| 624 | (ppc_size_one_stub): Count them. Simplify test of stub type |
| 625 | when counting stub relocs. Set SEC_RELOC too. |
| 626 | (ppc64_elf_size_stubs): Clear reloc_count and SEC_RELOC. |
| 627 | (ppc64_elf_finish_dynamic_sections): Output brlt relocs. |
| 628 | |
| 629 | 2007-02-12 Alan Modra <amodra@bigpond.net.au> |
| 630 | |
| 631 | * elflink.c (evaluate_complex_relocation_symbols): Ignore relocs |
| 632 | with a zero symbol index. |
| 633 | |
| 634 | 2007-02-12 Alan Modra <amodra@bigpond.net.au> |
| 635 | |
| 636 | * elflink.c (bfd_elf_discard_info): Tidy setting of "eh". |
| 637 | |
| 638 | 2007-02-05 Dave Brolley <brolley@redhat.com> |
| 639 | Stan Cox <scox@redhat.com> |
| 640 | |
| 641 | PR ld/3972 |
| 642 | * elflink.c (elf_link_input_bfd): Always setup finfo->internal_syms. |
| 643 | |
| 644 | 2007-02-05 Dave Brolley <brolley@redhat.com> |
| 645 | Richard Sandiford <rsandifo@redhat.com> |
| 646 | Stan Cox <scox@redhat.com> |
| 647 | Nick Clifton <nickc@redhat.com> |
| 648 | DJ Delorie <dj@redhat.com> |
| 649 | Frank Ch. Eigler <fche@redhat.com> |
| 650 | Ben Elliston <bje@redhat.com> |
| 651 | Richard Henderson <rth@redhat.com> |
| 652 | |
| 653 | * Makefile.am (ALL_MACHINES): Add cpu-mep.lo. |
| 654 | (ALL_MACHINES_CFILES): Add CPU_MEP.c. |
| 655 | (BFD32_BACKENDS): Add elf32-mep.lo. |
| 656 | (BFD32_BACKENDS_CFILES): Add elf32-mep.c. |
| 657 | (cpu-mep.lo,elf32-mep.lo): New targets. |
| 658 | * archures.c (bfd_arch_mep): New enumerator. |
| 659 | (bfd_mach_mep, bfd_mach_mep_h1): New macros. |
| 660 | (bfd_mep_arch): New external variable. |
| 661 | (bfd_archures_list): Add bfd_mep_arch. |
| 662 | * config.bfd: Support mep-*-elf. |
| 663 | * configure.in: Support bfd_elf32_mep_vec and bfd_elf32_mep_little_vec. |
| 664 | * reloc.c (BFD_RELOC_MEP_*): New relocation numbers. |
| 665 | * targets.c (bfd_elf32_mep_vec,bfd_elf32_mep_little_vec): New extern |
| 666 | declarations. |
| 667 | (_bfd_target_vector): Add bfd_elf32_mep_vec and |
| 668 | bfd_elf32_mep_little_vec. |
| 669 | * mep-relocs.pl: New file. |
| 670 | * cpu-mep.c: New file. |
| 671 | * elf32-mep.c: New file. |
| 672 | * bfd-in2.h: Regenerate. |
| 673 | * po/POTFILES.in: Regenerate. |
| 674 | * libbfd.h: Regenerate. |
| 675 | * Makefile.in: Regenerate. |
| 676 | * configure: Regenerate. |
| 677 | |
| 678 | 2007-02-05 Dave Brolley <brolley@redhat.com> |
| 679 | |
| 680 | * elflink.c (evaluate_complex_relocation_symbols): Check for |
| 681 | STT_SRELC for global symbols. |
| 682 | (perform_complex_relocations): Renamed to |
| 683 | perform_complex_relocation and now examines only one relocation. |
| 684 | (elf_link_input_bfd): Don't call perform_complex_relocations. |
| 685 | * elf-bfd.h (bfd_elf_perform_complex_relocation_: New prototype. |
| 686 | * elf32-mep.c (mep_elf_howto_table): Add R_RELC. |
| 687 | (OD,OS,OU): #undefs corrected to N, S and U repectively. |
| 688 | (mep_reloc_type_lookup): Handle BFD_RELOC_RELC. |
| 689 | (complex_reloc_installation_howto): Removed. |
| 690 | (mep_info_to_howto_rela): Remove special case for r_type==0xff. |
| 691 | (mep_elf_relocate_section): Call bfd_elf_perform_complex_relocation. |
| 692 | |
| 693 | 2007-02-05 Dave Brolley <brolley@redhat.com> |
| 694 | Richard Sandiford <rsandifo@redhat.com> |
| 695 | DJ Delorie <dj@redhat.com> |
| 696 | Graydon Hoare <graydon@redhat.com> |
| 697 | Nick Clifton <nickc@cambridge.redhat.com> |
| 698 | Jeff Holcomb <jeffh@redhat.com> |
| 699 | Frank Ch. Eigler <fche@redhat.com> |
| 700 | |
| 701 | * elf-bfd.h (bfd_elf_perform_complex_relocations): New prototype. |
| 702 | * elf.c (swap_out_syms): Handle BSF_RELC and BSF_SRELC. |
| 703 | * elfcode.h (elf_slurp_symbol_table): Handle STT_RELC and STT_SRELC. |
| 704 | * elflink.c (set_symbolValue): New static function. |
| 705 | (resolve_symbol): Likewise. |
| 706 | (resolve_section): Likewise. |
| 707 | (undefined_reference): Likewise. |
| 708 | (eval_symbol): Likewise. |
| 709 | (evaluate_complex_relocation_symbols): Likewise. |
| 710 | (put_value): Likewise. |
| 711 | (get_value): Likewise. |
| 712 | (decode_complex_addend): |
| 713 | (bfd_elf_perform_complex_relocation): New function. |
| 714 | (elf_link_input_bfd): Call evaluate_complex_relocation_symbols. |
| 715 | * reloc.c (BFD_RELOC_RELC): New relocation number. |
| 716 | * syms.c (BSF_RELC,BSF_SRELC): New macros. |
| 717 | |
| 718 | 2007-02-05 Bob Wilson <bob.wilson@acm.org> |
| 719 | |
| 720 | * elf32-xtensa.c (elf_xtensa_make_sym_local): Delete. |
| 721 | (elf_xtensa_hide_symbol, elf_backend_hide_symbol): Delete. |
| 722 | (elf_xtensa_fix_refcounts, elf_xtensa_allocate_plt_size) |
| 723 | (elf_xtensa_allocate_got_size): Replace these with... |
| 724 | (elf_xtensa_allocate_dynrelocs): ...this new function. |
| 725 | (elf_xtensa_size_dynamic_sections): Use it. |
| 726 | |
| 727 | 2007-02-05 Bob Wilson <bob.wilson@acm.org> |
| 728 | |
| 729 | * elf32-xtensa.c (elf_howto_table) <R_XTENSA_GLOB_DAT> |
| 730 | <R_XTENSA_JMP_SLOT, R_XTENSA_RELATIVE, R_XTENSA_PLT, R_XTENSA_DIFF32>: |
| 731 | Set src_mask to zero. |
| 732 | <R_XTENSA_DIFF8, R_XTENSA_DIFF16>: Likewise. Also fix dst_mask. |
| 733 | <R_XTENSA_ASM_EXPAND>: Set pcrel_offset to TRUE. |
| 734 | |
| 735 | 2007-02-02 Bob Wilson <bob.wilson@acm.org> |
| 736 | |
| 737 | * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Renamed to... |
| 738 | (elf_xtensa_dynamic_symbol_p): ...this. |
| 739 | |
| 740 | 2007-02-02 Bob Wilson <bob.wilson@acm.org> |
| 741 | |
| 742 | * elf32-xtensa.c (plt_reloc_count): Move into link hash table. |
| 743 | (struct elf_xtensa_link_hash_table): New. |
| 744 | (elf_xtensa_hash_table): New. |
| 745 | (elf_xtensa_link_hash_table_create): New. |
| 746 | (elf_xtensa_check_relocs): Update plt_reloc_count references. |
| 747 | Update arguments to add_extra_plt_sections. |
| 748 | (elf_xtensa_create_dynamic_sections): Record new sections in the hash |
| 749 | table. Update for plt_reloc_count and add_extra_plt_sections. |
| 750 | (add_extra_plt_sections, elf_xtensa_create_plt_entry): Replace dynobj |
| 751 | argument with link info. Update calls to elf_xtensa_get_plt_section |
| 752 | and elf_xtensa_get_gotplt_section. |
| 753 | (elf_xtensa_allocate_local_got_size, elf_xtensa_size_dynamic_sections) |
| 754 | (elf_xtensa_relocate_section, elf_xtensa_finish_dynamic_sections) |
| 755 | (elf_xtensa_discard_info_for_section, shrink_dynamic_reloc_sections) |
| 756 | (relax_property_section): Get sections from the hash table and update |
| 757 | function calls. |
| 758 | (elf_xtensa_get_plt_section, elf_xtensa_get_gotplt_section): Replace |
| 759 | dynobj argument with link info. Get sections for first plt chunk from |
| 760 | the hash table. |
| 761 | (bfd_elf32_bfd_link_hash_table_create): Define. |
| 762 | |
| 763 | 2007-02-02 Jakub Jelinek <jakub@redhat.com> |
| 764 | |
| 765 | * elf-bfd.h (struct elf_obj_tdata): Change symbuf type to void *. |
| 766 | * elf.c (struct elf_symbuf_symbol, struct elf_symbuf_head): New types. |
| 767 | (struct elf_symbol): Change first member into union. |
| 768 | (elf_sort_elf_symbol): Compare pointers to internal syms rather than |
| 769 | internal syms. Only compare st_shndx fields. |
| 770 | (elf_create_symbuf): New function. |
| 771 | (bfd_elf_match_symbols_in_sections): Use it. If symbufs are available |
| 772 | for bfds, use a binary search, otherwise don't qsort symbols |
| 773 | unnecessarily only to select which symbols are for the particular |
| 774 | shndx. |
| 775 | |
| 776 | 2007-02-01 Nick Clifton <nickc@redhat.com> |
| 777 | |
| 778 | PR ld/3852 |
| 779 | * elf.c (_bfd_elf_link_hash_table_init): Initialize all the fields |
| 780 | in the elf_link_hash_table structure. |
| 781 | |
| 782 | 2007-02-01 Alan Modra <amodra@bigpond.net.au> |
| 783 | |
| 784 | * elf-bfd.h (struct elf_backend_data): Add elf_backend_write_core_note. |
| 785 | * elfxx-target.h (elf_backend_write_core_note): Define and use. |
| 786 | * elf.c (elfcore_write_prpsinfo): Call the above. Add support for |
| 787 | 32-bit core note on 64-bit target. |
| 788 | (elfcore_write_prstatus): Likewise. |
| 789 | (elfcore_write_lwpstatus): Make note_name const. |
| 790 | (elfcore_write_prfpreg): Likewise. |
| 791 | (elfcore_write_pstatus): Add support for 32-bit core note on 64-bit |
| 792 | target. |
| 793 | * elf32-ppc.c (ppc_elf_write_core_note): New function. |
| 794 | (elf_backend_write_core_note): Define. |
| 795 | * elf64-ppc.c (ppc64_elf_write_core_note): New function. |
| 796 | (elf_backend_write_core_note): Define. |
| 797 | |
| 798 | 2007-01-31 H.J. Lu <hongjiu.lu@intel.com> |
| 799 | |
| 800 | * elf32-cris.c (INCLUDED_TARGET_FILE): Removed. |
| 801 | (elf32_bed): Defined for elf32-us-cris. |
| 802 | |
| 803 | * elf64-sh64.c (elf64_bed): Defined for Linux. |
| 804 | (INCLUDED_TARGET_FILE): Removed. |
| 805 | |
| 806 | * elfxx-target.h (elfNN_bed): Always define. Don't check |
| 807 | INCLUDED_TARGET_FILE. |
| 808 | |
| 809 | 2007-01-31 DJ Delorie <dj@redhat.com> |
| 810 | |
| 811 | * elf-m10300.c (mn10300_elf_relocate_section): Clarify the warning |
| 812 | message for dangerous relocs, special case the common user error. |
| 813 | |
| 814 | 2007-01-30 H.J. Lu <hongjiu.lu@intel.com> |
| 815 | |
| 816 | * elf.c (copy_elf_program_header): Start from the first section |
| 817 | in a segment and stop when all sections in a segment are |
| 818 | accounted for. |
| 819 | |
| 820 | 2007-01-29 Julian Brown <julian@codesourcery.com> |
| 821 | |
| 822 | * bfd-in2.h: Regenerate. |
| 823 | * bfd-in.h (bfd_arm_vfp11_fix): New enum. Specify how VFP11 |
| 824 | instruction scanning should be done. |
| 825 | (bfd_elf32_arm_init_maps, bfd_elf32_arm_vfp11_erratum_scan) |
| 826 | (bfd_elf32_arm_vfp11_fix_veneer_locations): Add prototypes. |
| 827 | (bfd_elf32_arm_set_target_relocs): Add vfp11 fix type argument to |
| 828 | prototype. |
| 829 | * elf-bfd.h (elf_backend_write_section): Add struct bfd_link_info |
| 830 | argument. |
| 831 | * elf32-arm.c (VFP11_ERRATUM_VENEER_SECTION_NAME) |
| 832 | (VFP11_ERRATUM_VENEER_ENTRY_NAME): Define macros. |
| 833 | (elf32_vfp11_erratum_type): New enum. |
| 834 | (elf32_vfp11_erratum_list): New struct. List of veneers or jumps to |
| 835 | veneers. |
| 836 | (_arm_elf_section_data): Add mapsize, erratumcount, erratumlist. |
| 837 | (elf32_arm_link_hash_table): Add vfp11_erratum_glue_size, |
| 838 | vfp11_fix and num_vfp11_fixes fields. |
| 839 | (elf32_arm_link_hash_table_create): Initialise vfp11_fix, |
| 840 | vfp11_erratum_glue_size, num_vfp11_fixes fields. |
| 841 | (VFP11_ERRATUM_VENEER_SIZE): Define. Size of an (ARM) veneer. |
| 842 | (bfd_elf32_arm_allocate_interworking_sections): Initialise erratum |
| 843 | glue section. |
| 844 | (elf32_arm_section_map_add): Add an code/data mapping symbol entry |
| 845 | to a section's map. |
| 846 | (record_vfp11_erratum_veneer): Create a single veneer, and its |
| 847 | associated symbols. |
| 848 | (bfd_elf32_arm_add_glue_sections_to_bfd): Add vfp11 erratum glue. |
| 849 | (bfd_elf32_arm_init_maps): Initialise mapping symbol table for input |
| 850 | BFDs. |
| 851 | (bfd_elf32_arm_set_vfp11_fix): Set the type of erratum workaround |
| 852 | required. |
| 853 | (bfd_arm_vfp11_pipe): Define VFP11 instruction pipes. |
| 854 | (bfd_arm_vfp11_regno): Recode a register number from a VFP11 insn. |
| 855 | (bfd_arm_vfp11_write_mask): Update write mask according to coded |
| 856 | register number. |
| 857 | (bfd_arm_vfp11_antidependency): New function. |
| 858 | (bfd_arm_vfp11_insn_decode): Decode a VFP11 insn. |
| 859 | (elf32_arm_compare_mapping): Declare. |
| 860 | (bfd_elf32_arm_vfp11_erratum_scan): Scan the sections of an input |
| 861 | BFD for potential erratum-triggering insns. Record results. |
| 862 | (bfd_elf32_arm_vfp11_fix_veneer_locations): Find out where veneers |
| 863 | and branches to veneers have been placed in virtual memory after |
| 864 | layout. |
| 865 | (bfd_elf32_arm_set_target_relocs): Set vfp11_fix field in global |
| 866 | hash table. |
| 867 | (elf32_arm_output_symbol_hook): Remove. |
| 868 | (elf32_arm_write_section): Output veneers, and branches to veneers. |
| 869 | Use maps from input sections, not output sections, for code |
| 870 | byte-swapping. |
| 871 | * elf32-ppc.c (ppc_elf_write_section): Add dummy link_info argument. |
| 872 | * elf32-score.c (_bfd_score_elf_write_section): Likewise. |
| 873 | * elfxx-mips.c (_bfd_mips_elf_write_section): Likewise. |
| 874 | * elfxx-mips.h (_bfd_mips_elf_write_section): Likewise. |
| 875 | |
| 876 | 2007-01-27 H.J. Lu <hongjiu.lu@intel.com> |
| 877 | |
| 878 | * elf64-hppa.c (elf64_bed): Defined for HPUX and Linux. |
| 879 | (INCLUDED_TARGET_FILE): Removed. |
| 880 | |
| 881 | 2007-01-27 Mike Frysinger <vapier@gentoo.org> |
| 882 | |
| 883 | * elf32-hppa.c (elf32_bed): Define for hpux, linux and netbsd. |
| 884 | (INCLUDED_TARGET_FILE): Remove. |
| 885 | |
| 886 | 2007-01-25 DJ Delorie <dj@redhat.com> |
| 887 | |
| 888 | * elf32-m32c.c (m32c_elf_howto_table): Don't complain about |
| 889 | R_M32C_16 or R_M32C_24 relocs. |
| 890 | |
| 891 | 2007-01-25 Nick Clifton <nickc@redhat.com> |
| 892 | |
| 893 | PR binutils/3874 |
| 894 | * elf32-avr.c (avr_link_hash_table): Check to make sure that the |
| 895 | hash table was created by elf32_avr_link_hash_table_create before |
| 896 | using it. |
| 897 | (elf32_avr_link_hash_newfunc): New function. Just pass the call |
| 898 | through to _bfd_elf_link_hash_newfunc. |
| 899 | (elf32_avr_link_hash_table_create): Use |
| 900 | elf32_avr_link_hash_newfunc instead of |
| 901 | _bfd_elf_link_hash_newfunc. |
| 902 | (elf32_avr_relocate_section): Check for the hash table pointer |
| 903 | being NULL. |
| 904 | (elf32_avr_relax_section, avr_build_one_stub, |
| 905 | elf32_avr_setup_params, get_local_syms, elf32_avr_size_stubs, |
| 906 | elf32_avr_build_stubs): Likewise. |
| 907 | |
| 908 | 2007-01-16 H.J. Lu <hongjiu.lu@intel.com> |
| 909 | |
| 910 | PR ld/3831 |
| 911 | * elf-bfd.h (bfd_elf_link_mark_dynamic_symbol): Add an |
| 912 | argument, Elf_Internal_Sym *. |
| 913 | |
| 914 | * elflink.c (bfd_elf_link_mark_dynamic_symbol): Mark a data |
| 915 | symbol dynamic if info->dynamic_data is TRUE. |
| 916 | (bfd_elf_record_link_assignment): Updated call to |
| 917 | bfd_elf_record_link_assignment. |
| 918 | (_bfd_elf_merge_symbol): Likewise. Always call |
| 919 | bfd_elf_link_mark_dynamic_symbol. |
| 920 | |
| 921 | 2007-01-12 H.J. Lu <hongjiu.lu@intel.com> |
| 922 | |
| 923 | * Makefile.am (BFD_LIBS): Removed. |
| 924 | * Makefile.in: Regenerated. |
| 925 | |
| 926 | 2007-01-11 H.J. Lu <hongjiu.lu@intel.com> |
| 927 | |
| 928 | PR binutils/3631 |
| 929 | * Makefile.am (OFILES): Add @bfd64_libs@. |
| 930 | (libbfd_la_SOURCES): Remove $(BFD64_LIBS_CFILES). |
| 931 | * Makefile.in: Regenerated. |
| 932 | |
| 933 | * configure.in (bfd_libs): Replaced by ... |
| 934 | (bfd64_libs): This. |
| 935 | * configure: Regenerated. |
| 936 | |
| 937 | 2007-01-11 Nathan Sidwell <nathan@codesourcery.com> |
| 938 | |
| 939 | * elf.c (assign_file_positions_for_load_sections): We can |
| 940 | require fewer phdrs than expected. |
| 941 | |
| 942 | 2007-01-08 Kazu Hirata <kazu@codesourcery.com> |
| 943 | |
| 944 | * archures.c (bfd_mach_cpu32_fido): Rename to bfd_mach_fido. |
| 945 | * bfd-in2.h: Regenerate. |
| 946 | * cpu-m68k.c (arch_info_struct): Use bfd_mach_fido instead of |
| 947 | bfd_mach_cpu32_fido. |
| 948 | (m68k_arch_features): Use fido_a instead of cpu32. |
| 949 | (bfd_m68k_compatible): Reject the combination of Fido and |
| 950 | ColdFire. Accept the combination of CPU32 and Fido with a |
| 951 | warning. |
| 952 | * elf32-m68k.c (elf32_m68k_object_p, |
| 953 | elf32_m68k_merge_private_bfd_data, |
| 954 | elf32_m68k_print_private_bfd_data): Treat Fido as an |
| 955 | architecture by itself. |
| 956 | |
| 957 | 2007-01-08 Kai Tietz <kai.tietz@onevision.com> |
| 958 | |
| 959 | * config.bfd: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*. |
| 960 | |
| 961 | 2007-01-05 Jakub Jelinek <jakub@redhat.com> |
| 962 | |
| 963 | * texhex.c (first_phase): Don't fall through into the default |
| 964 | case. |
| 965 | (pass_over): Replace abort () calls with return FALSE. Fix |
| 966 | buffer overflow. |
| 967 | |
| 968 | 2007-01-04 Jie Zhang <jie.zhang@analog.com> |
| 969 | |
| 970 | * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't set |
| 971 | SEC_EXCLUDE on zero size .eh_frame. |
| 972 | |
| 973 | For older changes see ChangeLog-2006 |
| 974 | \f |
| 975 | Local Variables: |
| 976 | mode: change-log |
| 977 | left-margin: 8 |
| 978 | fill-column: 74 |
| 979 | version-control: never |
| 980 | End: |