1 1.1 skrll 2003-12-19 Kazuhiro Inaoka <inaoka.kazuhiro (a] renesas.com> 2 1.1 skrll 3 1.1 skrll Adfd m32r-linux and PIC support. Add new ABI that uses RELA. 4 1.1 skrll * config.bfd (m32r*-*-linux*, m32r*le-*-linux*, m32r*le-*-*): Added. 5 1.1 skrll * configure.in (bfd_elf32_m32rlin_vec, bfd_elf32_m32rlelin_vec, 6 1.1 skrll bfd_elf32_m32rle_vec): Added 7 1.1 skrll * configure: Regenerated. 8 1.1 skrll * elf32-m32r.c (m32r_info_to_howto, m32r_elf_adjust_dynamic_symbol, 9 1.1 skrll m32r_elf_size_dynamic_sections, m32r_elf_create_dynamic_sections, 10 1.1 skrll m32r_elf_finish_dynamic_sections, m32r_elf_finish_dynamic_symbol, 11 1.1 skrll allocate_dynrelocs, readonly_dynrelocs, m32r_elf_reloc_type_class, 12 1.1 skrll m32r_elf_fake_sections): Added. 13 1.1 skrll (m32r_elf_howto_table): Added 14 1.1 skrll R_M32R_16_RELA, R_M32R_32_RELA, R_M32R_24_RELA, 15 1.1 skrll R_M32R_10_PCREL_RELA, R_M32R_18_PCREL_RELA, 16 1.1 skrll R_M32R_26_PCREL_RELA, R_M32R_HI16_ULO_RELA, 17 1.1 skrll R_M32R_HI16_SLO_RELA, R_M32R_LO16_RELA, 18 1.1 skrll R_M32R_SDA16_RELA, R_M32R_RELA_GNU_VTINHERIT, 19 1.1 skrll R_M32R_RELA_GNU_VTENTRY, R_M32R_GOT24, 20 1.1 skrll R_M32R_26_PLTREL, R_M32R_COPY, R_M32R_GLOB_DAT, 21 1.1 skrll R_M32R_JMP_SLOT, R_M32R_RELATIVE, R_M32R_GOTOFF, 22 1.1 skrll R_M32R_GOTPC24, R_M32R_GOT16_HI_ULO, 23 1.1 skrll R_M32R_GOT16_HI_SLO, R_M32R_GOT16_LO, 24 1.1 skrll R_M32R_GOTPC_HI_ULO, R_M32R_GOTPC_HI_SLO, 25 1.1 skrll R_M32R_GOTPC_LO. 26 1.1 skrll (m32r_elf_relocate_section, m32r_elf_check_relocs): Changed for 27 1.1 skrll New ABI. 28 1.1 skrll * reloc.c: Add BFD_RELOC_M32R_GOT24, BFD_RELOC_M32R_26_PLTREL, 29 1.1 skrll BFD_RELOC_M32R_COPY, BFD_RELOC_M32R_GLOB_DAT, 30 1.1 skrll BFD_RELOC_M32R_JMP_SLOT, BFD_RELOC_M32R_RELATIVE, 31 1.1 skrll BFD_RELOC_M32R_GOTOFF, BFD_RELOC_M32R_GOTPC24, 32 1.1 skrll BFD_RELOC_M32R_GOT16_HI_ULO, BFD_RELOC_M32R_GOT16_HI_SLO, 33 1.1 skrll BFD_RELOC_M32R_GOT16_LO, BFD_RELOC_M32R_GOTPC_HI_ULO, 34 1.1 skrll BFD_RELOC_M32R_GOTPC_HI_SLO, BFD_RELOC_M32R_GOTPC_LO. 35 1.1 skrll * targets.c (bfd_elf32_m32rlin_vec, bfd_elf32_m32rlelin_vec, 36 1.1 skrll bfd_elf32_m32rle_vec): Added. 37 1.1 skrll * bfd-in2.h: Regenerated. 38 1.1 skrll * libbfd.h: Regenerated. 39 1.1 skrll 40 1.1 skrll 2003-12-19 Danny Smith <dannysmith (a] users.sourceforge.net> 41 1.1 skrll 42 1.1 skrll * coffcode.h (styp_to_sec_flags): Don't treat .reloc section 43 1.1 skrll as SEC_DEBUGGING. 44 1.1 skrll 45 1.1 skrll 2003-12-18 Richard Sandiford <rsandifo (a] redhat.com> 46 1.1 skrll 47 1.1 skrll * elf32-mips.c (elf_mips_howto_table_rel): Replace all uses of 48 1.1 skrll mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. Use 49 1.1 skrll _bfd_mips_elf_hi16_reloc for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16, 50 1.1 skrll _bfd_mips_elf_lo16_reloc for R_MIPS_LO16 and R_MIPS_GNU_REL_LO16, 51 1.1 skrll and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16. Change rightshift 52 1.1 skrll to 16 for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16. 53 1.1 skrll (mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc) 54 1.1 skrll (mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete. 55 1.1 skrll (_bfd_mips_elf32_gprel16_reloc): Remove special case. 56 1.1 skrll (mips_elf_gprel32_reloc, mips32_64bit_reloc): Likewise. 57 1.1 skrll 58 1.1 skrll * elf64-mips.c (mips_elf64_howto_table_rel): Replace all uses of 59 1.1 skrll mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. Use 60 1.1 skrll _bfd_mips_elf_hi16_reloc for R_MIPS_HI16, _bfd_mips_elf_lo16_reloc 61 1.1 skrll for R_MIPS_LO16 and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16. 62 1.1 skrll Change R_MIPS_HI16's rightshift to 16. 63 1.1 skrll (mips_elf64_howto_table_rela): Replace all uses of 64 1.1 skrll mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. 65 1.1 skrll Use _bfd_mips_elf_generic_reloc for R_MIPS_GOT16 as well. 66 1.1 skrll (mips_elf64_hi16_reloc, mips_elf64_got16_reloc): Delete. 67 1.1 skrll (mips_elf64_shift6_reloc): Remove special case. Use 68 1.1 skrll _bfd_mips_elf_generic_reloc instead of returning bfd_reloc_continue. 69 1.1 skrll 70 1.1 skrll * elfn32-mips.c (prev_reloc_section): Delete. 71 1.1 skrll (prev_reloc_address, prev_reloc_addend): Delete. 72 1.1 skrll (elf_mips_howto_table_rel, elf_mips_howto_table_rela): As for 73 1.1 skrll elf64-mips.c 74 1.1 skrll (GET_RELOC_ADDEND, SET_RELOC_ADDEND): Delete. 75 1.1 skrll (mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc) 76 1.1 skrll (mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete. 77 1.1 skrll (mips_elf_gprel16_reloc): Delete use of GET_RELOC_ADDEND. 78 1.1 skrll (mips_elf_literal_reloc, mips_elf_gprel32_reloc): Likewise. 79 1.1 skrll (mips16_jump_reloc, mips16_gprel_reloc): Likewise. 80 1.1 skrll (mips_elf_shift6_reloc): Likewise. Delete use of SET_RELOC_ADDEND. 81 1.1 skrll 82 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp): Use 83 1.1 skrll _bfd_relocate_contents to install an in-place addend. 84 1.1 skrll (mips_hi16): New structure. 85 1.1 skrll (mips_hi16_list): Moved from elf32-mips.c. 86 1.1 skrll (_bfd_mips_elf_hi16_reloc, _bfd_mips_elf_got16_reloc): New functions. 87 1.1 skrll (_bfd_mips_elf_lo16_reloc, _bfd_mips_elf_generic_reloc): New functions. 88 1.1 skrll (mips_elf_calculate_relocation): Assume addend is unshifted. 89 1.1 skrll (_bfd_mips_elf_relocate_section): Don't apply the howto rightshift 90 1.1 skrll on top of the usual high-part shift. Don't shift the addend right 91 1.1 skrll before calling mips_elf_calculate_relocation. 92 1.1 skrll 93 1.1 skrll * elfxx-mips.h (_bfd_mips_elf_hi16_reloc): Declare. 94 1.1 skrll (_bfd_mips_elf_got16_reloc, _bfd_mips_elf_lo16_reloc): Declare. 95 1.1 skrll (_bfd_mips_elf_generic_reloc): Declare. 96 1.1 skrll 97 1.1 skrll 2003-12-16 Eric Youngdale <eric (a] mkssoftware.com> 98 1.1 skrll Nick Clifton <nickc (a] redhat.com> 99 1.1 skrll 100 1.1 skrll * peicode.h (pe_ILF_build_a_bfd): Only skip one instance of each 101 1.1 skrll prefix character, if they are present. 102 1.1 skrll 103 1.1 skrll 2003-12-15 Dmitry Semyonov <Dmitry.Semyonov (a] oktet.ru> 104 1.1 skrll Nick Clifton <nickc (a] redhat.com> 105 1.1 skrll 106 1.1 skrll * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Ensure that correct flags 107 1.1 skrll are set on known section types. 108 1.1 skrll 109 1.1 skrll 2003-12-12 Nick Clifton <nickc (a] redhat.com> 110 1.1 skrll 111 1.1 skrll * po/ro.po: Updated translation. 112 1.1 skrll 113 1.1 skrll 2003-12-12 Alan Modra <amodra (a] bigpond.net.au> 114 1.1 skrll 115 1.1 skrll * elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Check for 116 1.1 skrll NULL dyn_h. 117 1.1 skrll 118 1.1 skrll 2003-12-11 Nick Clifton <nickc (a] redhat.com> 119 1.1 skrll 120 1.1 skrll * elf.c (INCLUDE_SECTION_IN_SEGMENT): Skip PT_GNU_STACK segments. 121 1.1 skrll 122 1.1 skrll 2003-12-08 Richard Sandiford <rsandifo (a] redhat.com> 123 1.1 skrll 124 1.1 skrll * elfxx-mips.h, elfxx-mips.c, cpu-mips.c: Convert prototypes. 125 1.1 skrll Remove casts that were only needed for K&R compatibility. 126 1.1 skrll 127 1.1 skrll 2003-12-08 Alan Modra <amodra (a] bigpond.net.au> 128 1.1 skrll 129 1.1 skrll * elf-bfd.h (struct elf_backend_data): Remove "bfd *" and add 130 1.1 skrll "elflink_hash_entry *" param to elf_backend_link_output_symbol_hook. 131 1.1 skrll Add "elflink_hash_entry *" param to elf_backend_output_arch_syms. 132 1.1 skrll * elflink.h (elf_link_output_sym): Add "elflink_hash_entry *" param, 133 1.1 skrll and pass to output_symbol_hook. 134 1.1 skrll (elf_bfd_final_link): Adjust elf_link_output_sym calls. 135 1.1 skrll (elf_link_output_extsym): Likewise. 136 1.1 skrll (elf_link_input_bfd): Likewise. 137 1.1 skrll * elf32-sh64.c (sh64_elf_link_output_symbol_hook): Adjust. 138 1.1 skrll * elf32-v850.c (v850_elf_link_output_symbol_hook): Likewise. 139 1.1 skrll * elf64-mmix.c (mmix_elf_link_output_symbol_hook): Likewise. 140 1.1 skrll * elf64-sh64.c (sh64_elf64_link_output_symbol_hook): Likewise. 141 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_link_output_symbol_hook): Likewise. 142 1.1 skrll * elfxx-mips.h (_bfd_mips_elf_link_output_symbol_hook): Likewise. 143 1.1 skrll * elf64-sparc.c (sparc64_elf_output_arch_syms): Likewise. 144 1.1 skrll * elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Likewise. 145 1.1 skrll Validate dynh->h against h. 146 1.1 skrll * elf64-ppc.c (struct ppc_link_hash_entry): Add adjust_done bitfield. 147 1.1 skrll (link_hash_newfunc): Init it. 148 1.1 skrll (adjust_opd_syms): New function. 149 1.1 skrll (ppc64_elf_edit_opd): Set adjust_done when global .opd sym adjusted. 150 1.1 skrll Set opd.adjust for all .opd relocs. Call adjust_opd_syms. 151 1.1 skrll (ppc64_elf_tls_optimize): Adjust possible .opd sym values here. 152 1.1 skrll (ppc64_elf_relocate_section): Also adjust syms not a multiple of 24. 153 1.1 skrll (ppc64_elf_output_symbol_hook): New function. 154 1.1 skrll (elf_backend_link_output_symbol_hook): Define. 155 1.1 skrll 156 1.1 skrll 2003-12-07 Richard Sandiford <rsandifo (a] redhat.com> 157 1.1 skrll 158 1.1 skrll * elf32-mips.c, elfn32-mips.c, elf64-mips.c: Convert prototypes. 159 1.1 skrll Remove casts that were only needed for K&R compatibility. 160 1.1 skrll 161 1.1 skrll 2003-12-05 Dmitry Semyonov <Dmitry.Semyonov (a] oktet.ru> 162 1.1 skrll 163 1.1 skrll * coff-arm.c (aoutarm_std_reloc_howto [ARM_WINCE]): Set 164 1.1 skrll partial_inplace for these relocs to FALSE for comptability with 165 1.1 skrll the MS linker. 166 1.1 skrll Remap ARM_26D relocation from 5 to 0. This fixes "bad fixup" error 167 1.1 skrll generated by MS linker, and brings the relocation in line the MS 168 1.1 skrll PE documentation. 169 1.1 skrll 170 1.1 skrll 2003-12-04 H.J. Lu <hongjiu.lu (a] intel.com> 171 1.1 skrll 172 1.1 skrll * elf32-ppc.c (ppc_elf_relax_section): Don't check relax_finalizing. 173 1.1 skrll 174 1.1 skrll 2003-12-04 H.J. Lu <hongjiu.lu (a] intel.com> 175 1.1 skrll 176 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relax_section): Use the 177 1.1 skrll need_relax_finalize field in link_info instead of 178 1.1 skrll relax_finalizing to check if the relax finalize pass is being 179 1.1 skrll done. 180 1.1 skrll 181 1.1 skrll 2003-12-04 Dmitry Semyonov <Dmitry.Semyonov (a] oktet.ru> 182 1.1 skrll 183 1.1 skrll * coff-arm.c (coff_arm_relocate_section, bfd_arm_process_before_allocation): 184 1.1 skrll Change ARM26* to ARM_26* in comments to match definitions. 185 1.1 skrll (coff_arm_adjust_symndx): Replace hard-coded constants with 186 1.1 skrll appropriate definitions (ARM_26*). 187 1.1 skrll 188 1.1 skrll 2003-12-04 Alan Modra <amodra (a] bigpond.net.au> 189 1.1 skrll 190 1.1 skrll * coff-i860.c (coff_i860_reloc_nyi): Return bfd_reloc_not_supported. 191 1.1 skrll * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Warning fixes. 192 1.1 skrll (mn10300_elf_relax_section): Likewise. 193 1.1 skrll * nlm32-alpha.c (ONES): Define. 194 1.1 skrll (nlm32_alpha_howto_table): Use it to avoid warnings. 195 1.1 skrll 196 1.1 skrll 2003-12-04 Alan Modra <amodra (a] bigpond.net.au> 197 1.1 skrll 198 1.1 skrll * elf32-i386.c (elf_i386_object_p): Delete. 199 1.1 skrll (elf_backend_object_p): Don't define. 200 1.1 skrll * elf32-s390.c (elf_s390_object_p): No need to alloc tdata here. 201 1.1 skrll * elf32-sh.c (sh_elf_object_p): Likewise. 202 1.1 skrll * elf32-sparc.c (elf32_sparc_object_p): Likewise. 203 1.1 skrll * elf64-alpha.c (elf64_alpha_object_p): Likewise. 204 1.1 skrll * elf64-s390.c (elf_s390_object_p): Likewise. 205 1.1 skrll * elf64-x86-64.c (elf64_x86_64_elf_object_p): Likewise. 206 1.1 skrll 207 1.1 skrll 2003-12-03 Kazuhiro Inaoka <inaoka.kazuhiro (a] renesas.com> 208 1.1 skrll 209 1.1 skrll * archures.c (bfd_mach_m32r2): Add new machine type. 210 1.1 skrll * bfd-in2.h: Regenerate. 211 1.1 skrll * cpu-m32r.c : Add new machine type. 212 1.1 skrll * elf32-m32r.c (m32r_elf_object_p, m32r_elf_final_write_processing, 213 1.1 skrll m32r_elf_merge_private_bfd_data): Add support for new machine 214 1.1 skrll type. 215 1.1 skrll 216 1.1 skrll 2003-12-03 Dave Airlie <airlied (a] linux.ie> 217 1.1 skrll 218 1.1 skrll * config.bfd: Add vax-linux-gnu target. 219 1.1 skrll * configure.in: Likewise. 220 1.1 skrll * configure: Regenerate. 221 1.1 skrll 222 1.1 skrll 2003-12-03 Alan Modra <amodra (a] bigpond.net.au> 223 1.1 skrll 224 1.1 skrll * ecoff.c (ecoff_link_add_archive_symbols): Update for renamed 225 1.1 skrll bfd_link_hash_entry field "next" -> "und_next". 226 1.1 skrll * linker.c (_bfd_link_hash_newfunc): Likewise. 227 1.1 skrll (bfd_link_add_undef): Likewise. 228 1.1 skrll (_bfd_generic_link_add_archive_symbols): Likewise. 229 1.1 skrll (_bfd_generic_link_add_one_symbol): Likewise. 230 1.1 skrll * xcofflink.c (xcoff_link_add_symbols): Likewise. 231 1.1 skrll 232 1.1 skrll 2003-12-02 Nick Clifton <nickc (a] redhat.com> 233 1.1 skrll 234 1.1 skrll * configure.in (ALL_LINGUAS): Add ro. 235 1.1 skrll * po/ro.po: New Romanian translation. 236 1.1 skrll 237 1.1 skrll 2003-12-02 Alan Modra <amodra (a] bigpond.net.au> 238 1.1 skrll 239 1.1 skrll * Makefile.am: Run "make dep-am". 240 1.1 skrll * Makefile.in: Regenerate. 241 1.1 skrll 242 1.1 skrll 2003-12-01 Dmitry Semyonov <Dmitry.Semyonov (a] oktet.ru> 243 1.1 skrll 244 1.1 skrll * coffcode.h (coff_compute_section_file_positions): Set page_size 245 1.1 skrll to 1 instead of 0 in the case file alignment value is zero. 246 1.1 skrll 247 1.1 skrll 2003-12-01 Kazu Hirata <kazu (a] cs.umass.edu> 248 1.1 skrll 249 1.1 skrll * coff-rs6000.c: Remove ARGSUSED and VARARGS. 250 1.1 skrll * coff64-rs6000.c: Likewise. 251 1.1 skrll * coffcode.h: Likewise. 252 1.1 skrll * elf32-vax.c: Likewise. 253 1.1 skrll * hash.c: Likewise. 254 1.1 skrll * hppabsd-core.c: Likewise. 255 1.1 skrll * hpux-core.c: Likewise. 256 1.1 skrll * ihex.c: Likewise. 257 1.1 skrll * netbsd-core.c: Likewise. 258 1.1 skrll * osf-core.c: Likewise. 259 1.1 skrll * pdp11.c: Likewise. 260 1.1 skrll * ptrace-core.c: Likewise. 261 1.1 skrll * sco5-core.c: Likewise. 262 1.1 skrll * section.c: Likewise. 263 1.1 skrll * sunos.c: Likewise. 264 1.1 skrll * trad-core.c: Likewise. 265 1.1 skrll 266 1.1 skrll 2003-12-01 Alan Modra <amodra (a] bigpond.net.au> 267 1.1 skrll 268 1.1 skrll * elf-bfd.h (is_elf_hash_table): Take hash tab rather than info arg. 269 1.1 skrll * elf.c (_bfd_elf_merge_sections): Adjust to suit. 270 1.1 skrll (_bfd_elf_link_just_syms): Likewise. 271 1.1 skrll (bfd_elf_get_needed_list): Likewise. 272 1.1 skrll (bfd_elf_get_runpath_list): Likewise. 273 1.1 skrll (_bfd_elf_link_hash_copy_indirect): Remove unneeded parens. 274 1.1 skrll * elf32-hppa.c (elf32_hppa_setup_section_lists): Don't check hash tab 275 1.1 skrll creator flavour. 276 1.1 skrll (elf32_hppa_set_gp): Look up output sections rather than using htab. 277 1.1 skrll * elf32-i960.c: Comment fix. Formatting. 278 1.1 skrll * elf32-m32r.c (m32r_elf_add_symbol_hook): Use is_elf_hash_table 279 1.1 skrll rather than testing creator flavour. 280 1.1 skrll * elf32-sh64.c (sh64_elf_add_symbol_hook): Likewise. 281 1.1 skrll * elf64-sh64.c (sh64_elf64_add_symbol_hook): Likewise. 282 1.1 skrll * elflink.c (_bfd_elf_link_create_dynamic_sections): Adjust for 283 1.1 skrll is_elf_hash_table change. Remove redundant test. 284 1.1 skrll (bfd_elf_record_link_assignment): Use is_elf_hash_table rather than 285 1.1 skrll testing creator flavour. 286 1.1 skrll (elf_link_record_local_dynamic_symbol): Adjust for is_elf_hash_table. 287 1.1 skrll (_bfd_elf_fix_symbol_flags): Likewise. 288 1.1 skrll (_bfd_elf_adjust_dynamic_symbol): Likewise. 289 1.1 skrll * elflink.h (elf_link_add_object_symbols): Likewise. Remove redundant 290 1.1 skrll checks. Use is_elf_hash_table rather than testing creator flavour. 291 1.1 skrll Use hash_table throughout in place of info->hash. 292 1.1 skrll (elf_add_dynamic_entry): Adjust for is_elf_hash_table change. 293 1.1 skrll (NAME(bfd_elf,size_dynamic_sections)): Likewise. Remove redundant 294 1.1 skrll check. 295 1.1 skrll (elf_bfd_final_link): Adjust for is_elf_hash_table change. 296 1.1 skrll (elf_link_check_versioned_symbol): Use is_elf_hash_table rather than 297 1.1 skrll testing creator flavour. 298 1.1 skrll (elf_gc_sections): Add is_elf_hash_table check. 299 1.1 skrll (elf_gc_common_finalize_got_offsets): Likewise. 300 1.1 skrll (elf_bfd_discard_info): Adjust for is_elf_hash_table change. Remove 301 1.1 skrll redundant check. 302 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relax_section): Use is_elf_hash_table 303 1.1 skrll rather than testing creator flavour. 304 1.1 skrll 305 1.1 skrll 2003-11-28 Christian Groessler <chris (a] groessler.org> 306 1.1 skrll 307 1.1 skrll * cpu-z8k.c: Convert to ISO C90. 308 1.1 skrll * coff-z8k.c: Likewise. 309 1.1 skrll 310 1.1 skrll 2003-11-27 Alexandre Oliva <aoliva (a] redhat.com> 311 1.1 skrll 312 1.1 skrll * elf-bfd.h (elf_backend_data::elf_backend_modify_segment_map): 313 1.1 skrll Add link info argument. 314 1.1 skrll * elf32-i370.c (elf_backend_modify_segment_map): Likewise. 315 1.1 skrll * elf32-ppc.c (ppc_elf_modify_segment_map): Likewise. 316 1.1 skrll * elf32-xtensa.c (elf_xtensa_modify_segment_map): Likewise. 317 1.1 skrll * elf64-hppa.c (elf64_hppa_modify_segment_map): Likewise. 318 1.1 skrll * elfxx-ia64.c (elfNN_ia64_modify_segment_map): Likewise. 319 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Likewise. 320 1.1 skrll * elfxx-mips.h (_bfd_mips_elf_modify_segment_map): Likewise. 321 1.1 skrll * elf.c (assign_file_positions_except_relocs, 322 1.1 skrll assign_file_positions_for_segments): Likewise. Adjust calls. 323 1.1 skrll 324 1.1 skrll 2003-11-27 Mark Kettenis <kettenis (a] gnu.org> 325 1.1 skrll 326 1.1 skrll * elf.c (elfcore_grok_netbsd_procinfo): Make a pseudosection out 327 1.1 skrll of the note. 328 1.1 skrll 329 1.1 skrll 2003-11-26 Daniel Jacobowitz <drow (a] mvista.com> 330 1.1 skrll Richard Sandiford <rsandifo (a] redhat.com> 331 1.1 skrll 332 1.1 skrll * elfxx-mips.c (mips_elf_set_global_got_offset): Don't set no_fn_stub. 333 1.1 skrll (mips_elf_set_no_stub): New function. 334 1.1 skrll (mips_elf_multi_got): Call it. 335 1.1 skrll (_bfd_mips_elf_finish_dynamic_symbol): If a relocation is needed for 336 1.1 skrll a secondary GOT entry, create an R_MIPS_32 or R_MIPS_64 relocation and 337 1.1 skrll use mips_elf_create_dynamic_relocation to deal with any compatibility 338 1.1 skrll issues. Store the adjusted addend in the GOT slot. 339 1.1 skrll 340 1.1 skrll 2003-11-25 Mattias Engdegrd <mattias (a] virtutech.se> 341 1.1 skrll 342 1.1 skrll * stabs.c (_bfd_link_section_stabs): Skip N_EXCL stabs when 343 1.1 skrll procesing N_BINCL stabs. 344 1.1 skrll 345 1.1 skrll 2003-11-25 Alan Modra <amodra (a] bigpond.net.au> 346 1.1 skrll 347 1.1 skrll * elf64-ppc.c (ppc_type_of_stub): Disallow stubs other than 348 1.1 skrll ppc_stub_plt_call to symbols defined in shared libs. 349 1.1 skrll 350 1.1 skrll 2003-11-22 Jakub Jelinek <jakub (a] redhat.com> 351 1.1 skrll 352 1.1 skrll * elf-bfd.h (ELF_LINK_POINTER_EQUALITY_NEEDED): Define new flag. 353 1.1 skrll * elf.c (_bfd_elf_link_hash_copy_indirect): Copy it. 354 1.1 skrll * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise. 355 1.1 skrll (elf_i386_check_relocs): Set it. 356 1.1 skrll (elf_i386_finish_dynamic_symbol): If it is not set, 357 1.1 skrll clear st_value of SHN_UNDEF symbol. 358 1.1 skrll 359 1.1 skrll 2003-11-20 Jim Blandy <jimb (a] redhat.com> 360 1.1 skrll 361 1.1 skrll * cpu-powerpc.c (powerpc_compatible): Any ISA in the PowerPC 362 1.1 skrll family is a superset of <bfd_arch_rs6000,bfd_mach_rs6k>. 363 1.1 skrll 364 1.1 skrll 2003-11-20 Martin Schwidefsky <schwidefsky (a] de.ibm.com> 365 1.1 skrll 366 1.1 skrll * elf32-s390.c (elf_s390_relocate_section): Don't recalculate symbol 367 1.1 skrll section for reloc output and subtract the output section's address 368 1.1 skrll from the addend when converting a relocation into one against a 369 1.1 skrll section symbol. 370 1.1 skrll * elf64-s390.c (elf_s390_relocate_section): Likewise. 371 1.1 skrll 372 1.1 skrll 2003-11-18 James E Wilson <wilson (a] specifixinc.com> 373 1.1 skrll 374 1.1 skrll * elfxx-ia64.c (get_fptr): For fptr_rel, use dynobj not abfd. 375 1.1 skrll (elfNN_ia64_size_dynamic_sections): When stripping sections, check 376 1.1 skrll for ia64_info->rel_fptr_sec. 377 1.1 skrll 378 1.1 skrll 2003-11-18 Alan Modra <amodra (a] bigpond.net.au> 379 1.1 skrll 380 1.1 skrll * elf64-ppc.c (toc_adjusting_stub_needed): Exit early if section 381 1.1 skrll size is zero. 382 1.1 skrll 383 1.1 skrll 2003-11-17 Daniel Jacobowitz <drow (a] mvista.com> 384 1.1 skrll 385 1.1 skrll * elf.c (_bfd_elf_link_hash_copy_indirect): Copy 386 1.1 skrll ELF_LINK_HASH_NEEDS_PLT. Fix formatting. 387 1.1 skrll * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise. 388 1.1 skrll * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise. 389 1.1 skrll * elf32-ppc.c (ppc_elf_copy_indirect_symbol): Likewise. 390 1.1 skrll * elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise. 391 1.1 skrll * elf32-sh.c (sh_elf_copy_indirect_symbol): Likewise. 392 1.1 skrll * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. 393 1.1 skrll * elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise. 394 1.1 skrll * elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Likewise. 395 1.1 skrll * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise. 396 1.1 skrll * elf32-xtensa.c (elf_xtensa_copy_indirect_symbol): Remove. 397 1.1 skrll (elf_backend_copy_indirect_symbol): Don't define. 398 1.1 skrll 399 1.1 skrll 2003-11-14 Daniel Jacobowitz <drow (a] mvista.com> 400 1.1 skrll 401 1.1 skrll * elfxx-mips.c (mips_elf_merge_gots): Weaken assert for local 402 1.1 skrll GOT entries. 403 1.1 skrll 404 1.1 skrll 2003-11-13 Martin Schwidefsky <schwidefsky (a] de.ibm.com> 405 1.1 skrll 406 1.1 skrll * elf32-s390.c (elf_s390_relocate_section): Only convert R_390_32 407 1.1 skrll to R_390_RELATIVE. Convert the other relocations against local 408 1.1 skrll symbols to relocations against the start of the section. 409 1.1 skrll * elf64-s390.c (elf_s390_relocate_section): Only convert R_390_64 410 1.1 skrll to R_390_RELATIVE. Convert the other relocations against local 411 1.1 skrll symbols to relocations against the start of the section. 412 1.1 skrll 413 1.1 skrll 2003-11-11 Nick Clifton <nickc (a] redhat.com> 414 1.1 skrll 415 1.1 skrll * elf-m10300.c (bfd_mn10300_elf_size_dynamic_sections): Use 416 1.1 skrll info->executable not info->shared to decide if a .interp section 417 1.1 skrll should be present. 418 1.1 skrll * elf32-arm.h (elf32_arm_size_dynamic_sections): Likewise. 419 1.1 skrll * elf32-cris.c (elf_cris_size_dynamic_sections): Likewise. 420 1.1 skrll * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Likewise. 421 1.1 skrll * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise. 422 1.1 skrll * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise. 423 1.1 skrll * elf32-vax.c (elf_vax_size_dynamic_sections): Likewise. 424 1.1 skrll * elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Likewise. 425 1.1 skrll * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise. 426 1.1 skrll * elfxx-mips.c (_bfd_mips_size_dynamic_sections): Likewise. 427 1.1 skrll * elflink.h (size_dynamic_sections): Likewise. 428 1.1 skrll 429 1.1 skrll 2003-11-10 Jonathan Wilson <jonwil (a] tpgi.com.au> 430 1.1 skrll 431 1.1 skrll * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Swap out tls pointer. 432 1.1 skrll (_bfd_XXi_final_link_postscript): Look for __tks_used symbol. If 433 1.1 skrll found initialise the tls data directory entry. 434 1.1 skrll 435 1.1 skrll 2003-11-07 Alan Modra <amodra (a] bigpond.net.au> 436 1.1 skrll 437 1.1 skrll * elf32-ppc.c (ppc_elf_install_value): Delete. 438 1.1 skrll (shared_stub_entry, stub_entry): Make them arrays of ints. 439 1.1 skrll Remove initial branch. 440 1.1 skrll (ppc_elf_relax_section): Write one branch around all trampolines 441 1.1 skrll instead. Correct bogus R_PPC_PLTREL24 handling. Correct 442 1.1 skrll branch range check. Only use shared_stub_entry when shared. 443 1.1 skrll Test that branches can reach stubs. Write trampolines out at 444 1.1 skrll end so that just one realloc is used. Handle little-endian 445 1.1 skrll mode. Move relevant code from ppc_elf_install_value to here. 446 1.1 skrll (ppc_elf_relocate_section): Move code handling RELAX32 from 447 1.1 skrll ppc_elf_install_value to here. 448 1.1 skrll 449 1.1 skrll 2003-11-06 Alan Modra <amodra (a] bigpond.net.au> 450 1.1 skrll 451 1.1 skrll * elf32-ppc.c (ppc_elf_howto_raw); Add entry for R_PPC_RELAX32PC. 452 1.1 skrll (ppc_elf_install_value): Handle R_PPC_RELAX32PC. Merge duplicate 453 1.1 skrll cases. 454 1.1 skrll (shared_stub_entry): Correct opcode. 455 1.1 skrll (ppc_elf_relax_section): Generate R_PPC_RELAX32PC relocs. 456 1.1 skrll (ppc_elf_relocate_section): Handle them. 457 1.1 skrll 458 1.1 skrll 2003-11-05 Alan Modra <amodra (a] bigpond.net.au> 459 1.1 skrll 460 1.1 skrll * elf.c (_bfd_elf_rela_local_sym): Accept asection **, and return 461 1.1 skrll updated section in case of merged section. 462 1.1 skrll * elf-bfd.h (_bfd_elf_rela_local_sym): Update declaration. 463 1.1 skrll * elf-hppa.h (elf_hppa_relocate_section): Adjust call. 464 1.1 skrll * elf-m10200.c (mn10200_elf_relocate_section): Likewise. 465 1.1 skrll * elf-m10300.c (mn10300_elf_relocate_section): Likewise. 466 1.1 skrll * elf32-arm.h (elf32_arm_relocate_section): Likewise. 467 1.1 skrll * elf32-avr.c (elf32_avr_relocate_section): Likewise. 468 1.1 skrll * elf32-cris.c (cris_elf_relocate_section): Likewise. 469 1.1 skrll * elf32-fr30.c (fr30_elf_relocate_section): Likewise. 470 1.1 skrll * elf32-frv.c (elf32_frv_relocate_section): Likewise. 471 1.1 skrll * elf32-h8300.c (elf32_h8_relocate_section): Likewise. 472 1.1 skrll * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. 473 1.1 skrll * elf32-i370.c (i370_elf_relocate_section): Likewise. 474 1.1 skrll * elf32-i860.c (elf32_i860_relocate_section): Likewise. 475 1.1 skrll * elf32-m32r.c (m32r_elf_relocate_section): Likewise. 476 1.1 skrll * elf32-m68k.c (elf_m68k_relocate_section): Likewise. 477 1.1 skrll * elf32-mcore.c (mcore_elf_relocate_section): Likewise. 478 1.1 skrll * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. 479 1.1 skrll * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. 480 1.1 skrll * elf32-ppc.c (ppc_elf_relocate_section): Likewise. 481 1.1 skrll * elf32-s390.c (elf_s390_relocate_section): Likewise. 482 1.1 skrll * elf32-sh.c (sh_elf_relocate_section): Likewise. 483 1.1 skrll * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. 484 1.1 skrll * elf32-v850.c (v850_elf_relocate_section) Likewise. 485 1.1 skrll * elf32-vax.c (elf_vax_relocate_section): Likewise. 486 1.1 skrll * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. 487 1.1 skrll * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. 488 1.1 skrll * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. 489 1.1 skrll * elf64-mmix.c (mmix_elf_relocate_section): Likewise. 490 1.1 skrll * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. 491 1.1 skrll * elf64-s390.c (elf_s390_relocate_section): Likewise. 492 1.1 skrll * elf64-sh64.c (sh_elf64_relocate_section): Likewise. 493 1.1 skrll * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. 494 1.1 skrll * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. 495 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. 496 1.1 skrll 497 1.1 skrll * elf32-cris.c (cris_elf_relocate_section): Don't recalculate symbol 498 1.1 skrll section for reloc output. 499 1.1 skrll * elf32-i370.c (i370_elf_relocate_section): Likewise. 500 1.1 skrll * elf32-m68k.c (elf_m68k_relocate_section): Likewise. 501 1.1 skrll * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. 502 1.1 skrll * elf32-vax.c (elf_vax_relocate_section): Likewise. 503 1.1 skrll * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. 504 1.1 skrll * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. 505 1.1 skrll 506 1.1 skrll * elf32-ppc.c (ppc_elf_relocate_section): Don't recalculate everything 507 1.1 skrll for R_PPC_RELAX32 reloc. Don't bother checking ppc_elf_install_value 508 1.1 skrll return value. 509 1.1 skrll * elf64-ppc.c (ppc64_elf_relocate_section <R_PPC64_TOC>): Sanity check 510 1.1 skrll sec->id. 511 1.1 skrll 512 1.1 skrll 2003-11-05 Alan Modra <amodra (a] bigpond.net.au> 513 1.1 skrll 514 1.1 skrll * elf32-d10v.c (extract_rel_addend, insert_rel_addend): New functions. 515 1.1 skrll (elf32_d10v_relocate_section): Use them to handle -r reloc 516 1.1 skrll adjustments, and in place of _bfd_elf_rela_local_sym. 517 1.1 skrll 518 1.1 skrll * cpu-iq2000.c (arch_info_struct): Warning fix. 519 1.1 skrll 520 1.1 skrll 2003-11-05 Alan Modra <amodra (a] bigpond.net.au> 521 1.1 skrll 522 1.1 skrll * elf32-hppa.c (ELIMINATE_COPY_RELOCS): Define. 523 1.1 skrll (elf32_hppa_copy_indirect_symbol): Don't copy NON_GOT_REF on 524 1.1 skrll weakdefs. 525 1.1 skrll (elf32_hppa_check_relocs): Use ELIMINATE_COPY_RELOCS. 526 1.1 skrll (elf32_hppa_adjust_dynamic_symbol): Likewise. Copy weakdef 527 1.1 skrll NON_GOT_REF. 528 1.1 skrll (allocate_dynrelocs): Use ELIMINATE_COPY_RELOCS and 529 1.1 skrll SYMBOL_CALLS_LOCAL. Discard relocs for undef weak syms with 530 1.1 skrll non-default visibility. 531 1.1 skrll (elf32_hppa_relocate_section): Use ELIMINATE_COPY_RELOCS and 532 1.1 skrll SYMBOL_CALLS_LOCAL. 533 1.1 skrll 534 1.1 skrll 2003-11-04 Alan Modra <amodra (a] bigpond.net.au> 535 1.1 skrll 536 1.1 skrll * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date. 537 1.1 skrll * coff-apollo.c, coff-sparc.c, coff-w65.c, coff-we32k.c: Ditto. 538 1.1 skrll * coff-z8k.c, coffgen.c, cpu-frv.c, cpu-h8500.c, cpu-hppa.c: Ditto. 539 1.1 skrll * cpu-ia64-opc.c, cpu-m10300.c, cpu-mips.c, cpu-msp430.c: Ditto. 540 1.1 skrll * cpu-rs6000.c, cpu-z8k.c, efi-app-ia32.c, elf32-am33lin.c: Ditto. 541 1.1 skrll * gen-aout.c, hash.c, hp300hpux.c, init.c, mach-o.c: Ditto. 542 1.1 skrll * nlm-target.h, nlm.c, som.h, stabs.c, sysdep.h, xsym.h: Ditto. 543 1.1 skrll 544 1.1 skrll * elf-m10300.c (_bfd_mn10300_elf_create_got_section): Fix 545 1.1 skrll "dereferencing type-punned pointer" warnings. 546 1.1 skrll 547 1.1 skrll * aout-adobe.c (aout_adobe_set_section_contents): Constify location. 548 1.1 skrll * aoutx.h (NAME(aout,set_section_contents)): Ditto. 549 1.1 skrll * bfd-in2.h: Regenerate. 550 1.1 skrll * binary.c (binary_set_section_contents): Ditto. 551 1.1 skrll * bout.c (b_out_set_section_contents): Ditto. 552 1.1 skrll * coff-tic54x.c (tic54x_set_section_contents): Ditto. 553 1.1 skrll * coffcode.h (coff_set_section_contents): Ditto. 554 1.1 skrll * ecoff.c (_bfd_ecoff_set_section_contents): Ditto. 555 1.1 skrll * elf-bfd.h (_bfd_elf_set_section_contents): Ditto. 556 1.1 skrll * elf.c (_bfd_elf_set_section_contents): Ditto. 557 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_set_section_contents): Ditto. 558 1.1 skrll * elfxx-mips.h (_bfd_mips_elf_set_section_contents): Ditto. 559 1.1 skrll * i386msdos.c (msdos_set_section_contents): Ditto. 560 1.1 skrll * ieee.c (ieee_set_section_contents): Ditto. 561 1.1 skrll * ihex.c (ihex_set_section_contents): Ditto. 562 1.1 skrll * libaout.h (NAME(aout,set_section_contents)): Ditto. 563 1.1 skrll * libbfd-in.h (_bfd_nowrite_set_section_contents): Ditto. 564 1.1 skrll (_bfd_generic_set_section_contents): Ditto. 565 1.1 skrll * libbfd.h: Regenerate. 566 1.1 skrll * libbfd.c (_bfd_generic_set_section_contents): Ditto. 567 1.1 skrll * libecoff.h (_bfd_ecoff_set_section_contents): Ditto. 568 1.1 skrll * libnlm.h (nlmNAME(set_section_contents)): Ditto. 569 1.1 skrll (struct nlm_backend_data <nlm_mangle_relocs>): Ditto. 570 1.1 skrll * mmo.c (mmo_set_section_contents): Ditto. 571 1.1 skrll * nlm32-alpha.c (nlm_alpha_mangle_relocs): Ditto. 572 1.1 skrll * nlm32-i386.c (nlm_i386_mangle_relocs): Ditto. 573 1.1 skrll * nlm32-ppc.c (nlm_powerpc_mangle_relocs): Ditto. 574 1.1 skrll * nlm32-sparc.c (nlm_sparc_mangle_relocs): Ditto. 575 1.1 skrll * nlmcode.h (nlm_set_section_contents): Ditto. 576 1.1 skrll * oasys.c (oasys_set_section_contents): Ditto. 577 1.1 skrll * pdp11.c (NAME(aout,set_section_contents)): Ditto. 578 1.1 skrll * ppcboot.c (ppcboot_set_section_contents): Ditto. 579 1.1 skrll * srec.c (srec_set_section_contents): Ditto. 580 1.1 skrll * targets.c (BFD_JUMP_TABLE_WRITE <_bfd_set_section_contents>): Ditto. 581 1.1 skrll * tekhex.c (tekhex_set_section_contents): Ditto. 582 1.1 skrll (move_section_contents): Ditto. 583 1.1 skrll * versados.c (versados_set_section_contents): Ditto. 584 1.1 skrll * vms-misc.c (_bfd_save_vms_section): Ditto. 585 1.1 skrll * vms.c (vms_set_section_contents): Ditto. 586 1.1 skrll * vms.h (_bfd_save_vms_section): Ditto. 587 1.1 skrll 588 1.1 skrll 2003-11-04 Alan Modra <amodra (a] bigpond.net.au> 589 1.1 skrll 590 1.1 skrll * elf64-ppc.c (ppc_size_one_stub): Size relbrlt. Accept info arg 591 1.1 skrll rather than htab. 592 1.1 skrll (ppc64_elf_size_stubs): Adjust ppc_size_one_stub traversal. Zero 593 1.1 skrll relbrlt size. 594 1.1 skrll (ppc64_elf_build_stubs): Allocate space for relbrlt. 595 1.1 skrll 596 1.1 skrll 2003-11-04 Alan Modra <amodra (a] bigpond.net.au> 597 1.1 skrll 598 1.1 skrll * bfd-in.h (_bfd_elf_tls_setup): Declare. 599 1.1 skrll * bfd-in2.h: Regenerate. 600 1.1 skrll * elf-bfd.h (struct elf_link_tls_segment): Delete. 601 1.1 skrll (struct elf_link_hash_table): Add tls_sec and tls_size. 602 1.1 skrll * elf.c (_bfd_elf_link_hash_table_init): Init tls_sec and tls_size. 603 1.1 skrll * elflink.c (_bfd_elf_tls_setup): New function. 604 1.1 skrll * elflink.h (struct elf_final_link_info): Remove first_tls_sec. 605 1.1 skrll (elf_bfd_final_link): Don't set first_tls_sec here. Update code 606 1.1 skrll saving tls segment info, round segment size up. 607 1.1 skrll (elf_link_output_extsym): Adjust code using tls segment info. 608 1.1 skrll (elf_link_input_bfd): Likewise. 609 1.1 skrll * elf32-i386.c (dtpoff_base, tpoff): Likewise. 610 1.1 skrll * elf32-s390.c (dtpoff_base, tpoff): Likewise. 611 1.1 skrll * elf32-sh.c (dtpoff_base, tpoff): Likewise. 612 1.1 skrll * elf32-sparc.c (dtpoff_base, tpoff): Likewise. 613 1.1 skrll * elf64-s390.c (dtpoff_base, tpoff): Likewise. 614 1.1 skrll * elf64-x86-64.c (dtpoff_base, tpoff): Likewise. 615 1.1 skrll * elfxx-ia64.c (elfNN_ia64_tprel_base): Likewise. 616 1.1 skrll (elfNN_ia64_dtprel_base): Likewise. 617 1.1 skrll * elf64-alpha.c (alpha_get_dtprel_base): Likewise. 618 1.1 skrll (alpha_get_tprel_base): Likewise. 619 1.1 skrll (struct alpha_relax_info): Remove tls_segment. 620 1.1 skrll (elf64_alpha_relax_got_load): Adjust invocation of 621 1.1 skrll alpha_get_dtprel_base and alpha_get_tprel_base. 622 1.1 skrll (elf64_alpha_relax_tls_get_addr): Likewise. 623 1.1 skrll (elf64_alpha_relax_section): Likewise. 624 1.1 skrll (elf64_alpha_relocate_section): Likewise. 625 1.1 skrll (elf64_alpha_relax_find_tls_segment): Delete. 626 1.1 skrll * elf32-ppc.c (struct ppc_elf_link_hash_table): Remove tls_sec. 627 1.1 skrll (ppc_elf_tls_setup): Call _bfd_elf_tls_setup. Return section. 628 1.1 skrll (ppc_elf_relocate_section): Adjust to use elf.tls_sec. 629 1.1 skrll * elf32-ppc.h (ppc_elf_tls_setup): Update. 630 1.1 skrll * elf64-ppc.c (struct ppc_link_hash_table): Remove tls_sec. 631 1.1 skrll (ppc64_elf_tls_setup): Call _bfd_elf_tls_setup. Return section. 632 1.1 skrll (ppc64_elf_tls_optimize): Adjust to use elf.tls_sec. 633 1.1 skrll (ppc64_elf_relocate_section): Likewise. 634 1.1 skrll * elf64-ppc.h (ppc64_elf_tls_setup): Update. 635 1.1 skrll 636 1.1 skrll 2003-11-03 Daniel Jacobowitz <drow (a] mvista.com> 637 1.1 skrll 638 1.1 skrll * elf-bfd.h (struct elf_backend_data): Remove plt_header_size. 639 1.1 skrll * elf-m10300.c (elf_backend_plt_header_size): Don't define. 640 1.1 skrll * elf32-arm.h (elf_backend_plt_header_size): Don't define. 641 1.1 skrll * elf32-cris.c (elf_backend_plt_header_size): Don't define. 642 1.1 skrll * elf32-i386.c (elf_backend_plt_header_size): Don't define. 643 1.1 skrll * elf32-mips.c (elf_backend_plt_header_size): Don't define. 644 1.1 skrll * elf32-ppc.c (elf_backend_plt_header_size): Don't define. 645 1.1 skrll * elf32-s390.c (elf_backend_plt_header_size): Don't define. 646 1.1 skrll * elf32-sh.c (elf_backend_plt_header_size): Don't define. 647 1.1 skrll * elf32-sparc.c (elf_backend_plt_header_size): Don't define. 648 1.1 skrll * elf64-alpha.c (elf_backend_plt_header_size): Don't define. 649 1.1 skrll * elf64-hppa.c (elf_backend_plt_header_size): Don't define. 650 1.1 skrll * elf64-mips.c (elf_backend_plt_header_size): Don't define. 651 1.1 skrll * elf64-ppc.c (elf_backend_plt_header_size): Don't define. 652 1.1 skrll * elf64-s390.c (elf_backend_plt_header_size): Don't define. 653 1.1 skrll * elf64-sh64.c (elf_backend_plt_header_size): Don't define. 654 1.1 skrll * elf64-sparc.c (elf_backend_plt_header_size): Don't define. 655 1.1 skrll * elf64-x86-64.c (elf_backend_plt_header_size): Don't define. 656 1.1 skrll * elfn32-mips.c (elf_backend_plt_header_size): Don't define. 657 1.1 skrll * elfxx-ia64.c (elf_backend_plt_header_size): Don't define. 658 1.1 skrll * elfxx-target.h (elf_backend_plt_header_size): Don't define 659 1.1 skrll or include in target initializer. 660 1.1 skrll 661 1.1 skrll 2003-11-03 Andrew Cagney <cagney (a] redhat.com> 662 1.1 skrll 663 1.1 skrll * section.c (bfd_set_section_contents): Make the "location" buffer 664 1.1 skrll constant. 665 1.1 skrll * bfd-in2.h: Re-generate. 666 1.1 skrll 667 1.1 skrll 2003-10-30 Andrew Cagney <cagney (a] redhat.com> 668 1.1 skrll 669 1.1 skrll * syms.c: Replace "struct symbol_cache_entry" with "struct 670 1.1 skrll bfd_symbol". 671 1.1 skrll * vms.h, targets.c, section.c, reloc.c, peicode.h: Ditto. 672 1.1 skrll * mipsbsd.c, elf.c, linker.c, elf-bfd.h, ecoff.c: Ditto. 673 1.1 skrll * cpu-z8k.c, cpu-ns32k.c, cpu-h8500.c, bfd.c, bfd-in.h: Ditto. 674 1.1 skrll * bfd-in2.h: Re-generate. 675 1.1 skrll 676 1.1 skrll 2003-10-30 Jakub Jelinek <jakub (a] redhat.com> 677 1.1 skrll 678 1.1 skrll * elfxx-ia64.c: Include objalloc.h, hashtab.h. 679 1.1 skrll (struct elfNN_ia64_local_hash_entry): Remove root. Add id and r_sym 680 1.1 skrll fields. 681 1.1 skrll (struct elfNN_ia64_local_hash_table): Remove. 682 1.1 skrll (struct elfNN_ia64_link_hash_table): Change loc_hash_table's type 683 1.1 skrll to htab_t. Add loc_hash_memory field. 684 1.1 skrll (elfNN_ia64_local_hash_table_init, elfNN_ia64_new_loc_hash_entry): 685 1.1 skrll Removed. 686 1.1 skrll (elfNN_ia64_local_htab_hash, elfNN_ia64_local_htab_eq): New 687 1.1 skrll functions. 688 1.1 skrll (elfNN_ia64_hash_table_create): Use hashtab.h hashtable for 689 1.1 skrll loc_hash_table. Initialize loc_hash_memory. 690 1.1 skrll (elfNN_ia64_hash_table_free): New function. 691 1.1 skrll (elfNN_ia64_local_hash_lookup): Remove. 692 1.1 skrll (elfNN_ia64_local_dyn_sym_thunk): Change into htab_traverse 693 1.1 skrll callback. 694 1.1 skrll (elfNN_ia64_dyn_sym_traverse): Use htab_traverse. 695 1.1 skrll (get_local_sym_hash): Use hashtab.h hashtable for loc_hash_table. 696 1.1 skrll (bfd_elfNN_bfd_link_hash_table_free): Define. 697 1.1 skrll 698 1.1 skrll 2003-10-30 Alan Modra <amodra (a] bigpond.net.au> 699 1.1 skrll 700 1.1 skrll * elflink.c (_bfd_elf_link_record_dynamic_symbol): Modify versioned 701 1.1 skrll symbol string in place. 702 1.1 skrll 703 1.1 skrll 2003-10-30 Jim Blandy <jimb (a] redhat.com> 704 1.1 skrll 705 1.1 skrll * cpu-rs6000.c (rs6000_compatible): Check the correct arch_info 706 1.1 skrll object's mach field: all PowerPC machines are supersets of the 707 1.1 skrll original rs6000, but not later rs6000 machines. 708 1.1 skrll 709 1.1 skrll 2003-10-30 Alan Modra <amodra (a] bigpond.net.au> 710 1.1 skrll 711 1.1 skrll * dwarf2.c (struct attribute): Delete "unsnd", "snd" and "addr". 712 1.1 skrll Add "val" and "sval" fields. 713 1.1 skrll (DW_STRING, DW_UNSND, DW_BLOCK, DW_SND, DW_ADDR): Delete. 714 1.1 skrll (read_attribute_value): Expand and adjust DW_* occurrences. 715 1.1 skrll (scan_unit_for_functions, parse_comp_unit): Likewise. 716 1.1 skrll 717 1.1 skrll 2003-10-30 Phil Edwards <phil (a] codesourcery.com> 718 1.1 skrll 719 1.1 skrll * config.bfd (arm-*-vxworks): Remove separate stanza; merge with 720 1.1 skrll other common ELF triples. 721 1.1 skrll (i[3-7]86-*-vxworks): Change to ELF format. 722 1.1 skrll (mips*-*-windiss): New triple, add to common MIPS/ELF stanza. 723 1.1 skrll (sh-*-vxworks): New stanza. 724 1.1 skrll 725 1.1 skrll 2003-10-30 Lars Knoll <lars (a] trolltech.com> 726 1.1 skrll Michael Matz <matz (a] suse.de> 727 1.1 skrll Jakub Jelinek <jakub (a] redhat.com> 728 1.1 skrll Alan Modra <amodra (a] bigpond.net.au> 729 1.1 skrll 730 1.1 skrll * merge.c (struct sec_merge_sec_info): Update comment. 731 1.1 skrll (struct sec_merge_hash_entry): Remove entsize. 732 1.1 skrll (sec_merge_hash_lookup): Only adjust alignment when creating. 733 1.1 skrll (sec_merge_emit): Remove register keyword. 734 1.1 skrll (cmplengthentry, last4_eq, last_eq): Delete. 735 1.1 skrll (strrevcmp, strrevcmp_align, is_suffix): New. 736 1.1 skrll (merge_strings): Use them to implement fast suffix merging. 737 1.1 skrll * elf-strtab.c (struct elf_strtab_hash_entry): Update comments. 738 1.1 skrll Make "len" signed. 739 1.1 skrll (_bfd_elf_strtab_add): Lose on >2G strings. 740 1.1 skrll (_bfd_elf_strtab_emit): Don't emit strings with len < 0. 741 1.1 skrll (cmplengthentry, last4_eq): Delete. 742 1.1 skrll (strrevcmp, is_suffix): New. 743 1.1 skrll (_bfd_elf_strtab_finalize): Rework to implement fast suffix merging. 744 1.1 skrll 745 1.1 skrll 2003-10-29 Daniel Jacobowitz <drow (a] mvista.com> 746 1.1 skrll 747 1.1 skrll * elf32-arm.h (elf32_arm_final_link_relocate): Move check for 748 1.1 skrll SEC_ALLOC. 749 1.1 skrll 750 1.1 skrll 2003-10-29 Philip Blundell <philb (a] gnu.org> 751 1.1 skrll 752 1.1 skrll * elf32-arm.h (elf32_arm_plt0_entry, elf32_arm_plt_entry): New 753 1.1 skrll code sequence. 754 1.1 skrll (PLT_HEADER_SIZE): New. 755 1.1 skrll (struct elf32_arm_pcrel_relocs_copied): Rename to ... 756 1.1 skrll (struct elf32_arm_relocs_copied): ... this. Count both 757 1.1 skrll pcrel and non-pcrel relocs. All uses updated. 758 1.1 skrll (struct elf32_arm_link_hash_table): Add pointers to dynamic linker 759 1.1 skrll sections and symbol/section mapping cache. 760 1.1 skrll (create_got_section): New. 761 1.1 skrll (elf32_arm_create_dynamic_sections): New. 762 1.1 skrll (elf_backend_create_dynamic_sections): Use it. 763 1.1 skrll (elf32_arm_final_link_relocate): Support garbage collection of relocs. 764 1.1 skrll (elf32_arm_check_relocs): Likewise. 765 1.1 skrll (elf32_arm_adjust_dynamic_symbol): Likewise. 766 1.1 skrll (elf32_arm_copy_indirect_symbol): New. 767 1.1 skrll (elf32_arm_link_hash_table_create): Initialise new fields. 768 1.1 skrll (elf32_arm_gc_sweep_hook): Implement. 769 1.1 skrll (elf32_arm_discard_copies): Delete. 770 1.1 skrll (elf32_arm_finish_dynamic_symbol): Use new PLT code. 771 1.1 skrll (elf32_arm_finish_dynamic_sections): Likewise. 772 1.1 skrll (elf_backend_can_refcount): Define. 773 1.1 skrll (elf_backend_copy_indirect_symbol): Likewise. 774 1.1 skrll (elf_backend_plt_header_size): Set to PLT_HEADER_SIZE. 775 1.1 skrll 776 1.1 skrll 2003-10-29 Alan Modra <amodra (a] bigpond.net.au> 777 1.1 skrll 778 1.1 skrll * elf64-ppc.c (elf_backend_grok_prstatus): Define. 779 1.1 skrll (elf_backend_grok_psinfo): Define. 780 1.1 skrll (ppc64_elf_grok_prstatus, ppc64_elf_grok_psinfo): New functions. 781 1.1 skrll 782 1.1 skrll * elf.c (_bfd_elfcore_make_pseudosection): Allow multiple 783 1.1 skrll sections with the same name. 784 1.1 skrll (elfcore_grok_lwpstatus): Likewise. 785 1.1 skrll (elfcore_grok_win32pstatus): Likewise. 786 1.1 skrll (elfcore_grok_note): Likewise. 787 1.1 skrll (elfcore_grok_nto_status): Likewise. 788 1.1 skrll (elfcore_grok_nto_gregs): Likewise. 789 1.1 skrll 790 1.1 skrll 2003-10-27 Daniel Jacobowitz <drow (a] mvista.com> 791 1.1 skrll 792 1.1 skrll * elf32-arm.h (elf32_arm_merge_private_bfd_data): Never skip dynamic 793 1.1 skrll objects. 794 1.1 skrll 795 1.1 skrll 2003-10-14 Richard Sandiford <rsandifo (a] redhat.com> 796 1.1 skrll 797 1.1 skrll * elfxx-mips.c (mips_elf_create_got_section): Initialize global_gotno. 798 1.1 skrll 799 1.1 skrll 2003-10-24 H.J. Lu <hongjiu.lu (a] intel.com> 800 1.1 skrll 801 1.1 skrll * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Look up 802 1.1 skrll hash table for real symbols. 803 1.1 skrll 804 1.1 skrll 2003-10-23 Michael Snyder <msnyder (a] redhat.com> 805 1.1 skrll 806 1.1 skrll * section.c (asection): Fix typo in comment. 807 1.1 skrll 808 1.1 skrll 2003-10-23 Alan Modra <amodra (a] bigpond.net.au> 809 1.1 skrll 810 1.1 skrll * elf64-ppc.c (get_tls_mask): Add toc_symndx param, save toc 811 1.1 skrll reloc symbol index to it. Don't allow gd syms in shared libs 812 1.1 skrll to be optimized. 813 1.1 skrll (ppc64_elf_tls_optimize): Adjust get_tls_mask call. 814 1.1 skrll (ppc64_elf_size_stubs): Likewise. 815 1.1 skrll (ppc64_elf_relocate_section): Check that tls relocs are only used 816 1.1 skrll with tls syms, and similarly for non-tls. Correct symbol used 817 1.1 skrll when optimizing toc tls code. 818 1.1 skrll 819 1.1 skrll 2003-10-22 Nick Clifton <nickc (a] redhat.com> 820 1.1 skrll 821 1.1 skrll * peicode.h (coff_swap_scnhdr_in): Only remove padding when 822 1.1 skrll processing an executable. 823 1.1 skrll 824 1.1 skrll 2003-10-22 Jakub Jelinek <jakub (a] redhat.com> 825 1.1 skrll 826 1.1 skrll * elflink.c (_bfd_elf_export_symbol): Adjust for globals and locals 827 1.1 skrll field changes. 828 1.1 skrll (_bfd_elf_link_assign_sym_version): Likewise. 829 1.1 skrll * elflink.h (size_dynamic_sections): Likewise. 830 1.1 skrll 831 1.1 skrll 2003-10-21 Alexandre Oliva <aoliva (a] redhat.com>, 832 1.1 skrll Michael Snyder <msnyder (a] redhat.com> 833 1.1 skrll 834 1.1 skrll * archures.c (bfd_mach_sh4a, bfd_mach_sh4al_dsp, bfd_mach_sh4_nofpu, 835 1.1 skrll bfd_mach_sh4a_nofpu): New machine types. 836 1.1 skrll * bfd-in2.h: Rebuilt. 837 1.1 skrll * cpu-sh.c (compatible): Remove unused function. 838 1.1 skrll (SH4A_NEXT, SH4AL_DSP_NEXT, SH4_NOFPU_NEXT, SH4A_NOFPU_NEXT): New. 839 1.1 skrll (arch_info_struct): Add sh4a, sh4al_dsp, sh4-nofpu and sh4a-nofpu. 840 1.1 skrll * elf32-sh.c (sh_elf_set_mach_from_flags): Handle them. 841 1.1 skrll 842 1.1 skrll 2003-10-21 Wouter van Heyst <wouter (a] vidicode.nl> 843 1.1 skrll 844 1.1 skrll * elf32-arm.h (elf32_arm_merge_private_bfd_data): Correct text 845 1.1 skrll describing mismatched formats involving the Maverick FP type. 846 1.1 skrll 847 1.1 skrll 2003-10-21 Anil Paranjpe <anilp1 (a] KPITCummins.com> 848 1.1 skrll 849 1.1 skrll * binary.c (binary_object_p): Pass machine flag along with 850 1.1 skrll architecture. 851 1.1 skrll 852 1.1 skrll 2003-10-21 Thorsten Brehm <brehm (a] gmx.net> 853 1.1 skrll 854 1.1 skrll * archures.c (bfd_default_scan): Add support for mcf528x. 855 1.1 skrll * ieee.c (ieee_write_processor): Likewise. 856 1.1 skrll 857 1.1 skrll 2003-10-21 Peter Barada <pbarada (a] mail.wm.sps.mot.com> 858 1.1 skrll Bernardo Innocenti <bernie (a] develer.com> 859 1.1 skrll 860 1.1 skrll * archures.c: Add MCF528x (MCFv4) support. 861 1.1 skrll * cpu-m68k.c (arch_info_struct): Likewise. 862 1.1 skrll * bfd-in2.h: Regenerate. 863 1.1 skrll 864 1.1 skrll 2003-10-20 Andrew Cagney <cagney (a] redhat.com> 865 1.1 skrll 866 1.1 skrll * targets.c: Replace "struct sec" with "struct bfd_section" 867 1.1 skrll * syms.c, sparclynx.c, section.c, opncls.c: Ditto. 868 1.1 skrll * libcoff-in.h, libbfd-in.h, elfxx-target.h: Ditto. 869 1.1 skrll * elf.c, coffgen.c, bfd.c, bfd-in.h, aoutf1.h: Ditto. 870 1.1 skrll * aout-tic30.c, aout-target.h: 871 1.1 skrll * bfd-in2.h, libcoff.h, libbfd.h: Regenerate. 872 1.1 skrll 873 1.1 skrll 2003-10-18 Hans-Peter Nilsson <hp (a] bitrange.com> 874 1.1 skrll 875 1.1 skrll Support linker relaxation of new R_MMIX_PUSHJ_STUBBABLE relocs. 876 1.1 skrll * elf64-mmix.c (MAX_PUSHJ_STUB_SIZE): New macro. 877 1.1 skrll (struct _mmix_elf_section_data): New member pjs. 878 1.1 skrll (mmix_set_relaxable_size, mmix_elf_get_section_contents): New 879 1.1 skrll functions. 880 1.1 skrll (elf_mmix_howto_table): New entry for R_MMIX_PUSHJ_STUBBABLE. 881 1.1 skrll (mmix_reloc_map): Ditto. 882 1.1 skrll (mmix_elf_relocate_section): Handle R_MMIX_PUSHJ_STUBBABLE. 883 1.1 skrll (mmix_final_link_relocate, mmix_elf_check_common_relocs): Ditto. 884 1.1 skrll (mmix_elf_perform_relocation): Ditto. Don't mark parameter addr 885 1.1 skrll unused. 886 1.1 skrll (mmix_elf_check_relocs): Move early return to after 887 1.1 skrll mmix_elf_check_common_relocs call. 888 1.1 skrll (mmix_elf_symbol_processing): Fix cut-and-pasto in head comment. 889 1.1 skrll (_bfd_mmix_before_linker_allocation): Rename from 890 1.1 skrll _bfd_mmix_prepare_linker_allocated_gregs. All referers changed. 891 1.1 skrll Arrange to set the initial relaxable size of sections. 892 1.1 skrll (_bfd_mmix_after_linker_allocation): Rename from 893 1.1 skrll _bfd_mmix_finalize_linker_allocated_gregs. 894 1.1 skrll (mmix_elf_relax_section): Relax a R_MMIX_PUSHJ_STUBBABLE reloc. 895 1.1 skrll (bfd_elf64_get_section_contents): Define. 896 1.1 skrll * reloc.c: Add ENUMX for BFD_RELOC_MMIX_PUSHJ_STUBBABLE. 897 1.1 skrll * libbfd.h, bfd-in2.h: Regenerate. 898 1.1 skrll 899 1.1 skrll * reloc.c (bfd_generic_relax_section): Default-set 900 1.1 skrll section->_cooked_size here. 901 1.1 skrll (bfd_generic_get_relocated_section_contents): Don't set it here. 902 1.1 skrll Explain why. 903 1.1 skrll 904 1.1 skrll 2003-10-17 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca> 905 1.1 skrll 906 1.1 skrll * elf32-hppa.c (elf32_hppa_relocate_section): Skip relocation if 907 1.1 skrll output section has been discarded. 908 1.1 skrll 909 1.1 skrll 2003-10-17 Shrinivas Atre <shrinivasa (a] KPITCummins.com> 910 1.1 skrll 911 1.1 skrll * coff-h8300.c (funcvec_hash_newfunc): Handle normal mode. 912 1.1 skrll (h8300_reloc16_extra_cases): Likewise. 913 1.1 skrll (h8300_bfd_link_add_symbols): Likewise. 914 1.1 skrll 915 1.1 skrll 2003-10-17 Dhananjay Deshpande <dhananjayd (a] kpitcummins.com> 916 1.1 skrll 917 1.1 skrll * cpu-h8300.c (h8300sxn_info_struct): Correct address size. 918 1.1 skrll (h8300sn_info_struct): Likewise. 919 1.1 skrll (h8300hn_info_struct): Likewise. 920 1.1 skrll 921 1.1 skrll 2003-10-16 Pavel Roskin <proski (a] gnu.org> 922 1.1 skrll 923 1.1 skrll * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't calculate image size 924 1.1 skrll for sections which lack size info. 925 1.1 skrll 926 1.1 skrll 2003-10-17 Danny Smith <dannysmith (a] users.sourceforge.net> 927 1.1 skrll 928 1.1 skrll * configure.host: Add __USE_MINGW_FSEEK to HDEFINES for 929 1.1 skrll mingw32. 930 1.1 skrll 931 1.1 skrll 2003-10-16 H.J. Lu <hongjiu.lu (a] intel.com> 932 1.1 skrll 933 1.1 skrll * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also warn 934 1.1 skrll undefined patterns with '*'. 935 1.1 skrll 936 1.1 skrll 2003-10-16 H.J. Lu <hongjiu.lu (a] intel.com> 937 1.1 skrll 938 1.1 skrll * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't 939 1.1 skrll use the last CIE from a different section. 940 1.1 skrll (_bfd_elf_write_section_eh_frame): Don't pad beyond the raw 941 1.1 skrll size of the output section. 942 1.1 skrll 943 1.1 skrll 2003-10-07 Roland McGrath <roland (a] redhat.com> 944 1.1 skrll 945 1.1 skrll * elf.c (_bfd_elf_make_section_from_phdr): Set alignment_power of 946 1.1 skrll new section from p_align header field. 947 1.1 skrll 948 1.1 skrll 2003-10-16 H.J. Lu <hongjiu.lu (a] intel.com> 949 1.1 skrll 950 1.1 skrll * elf32-xtensa.c (xtensa_read_table_entries): The external size 951 1.1 skrll of entry is 8 bytes. 952 1.1 skrll 953 1.1 skrll 2003-10-15 Andrew Cagney <cagney (a] redhat.com> 954 1.1 skrll 955 1.1 skrll * targets.c (BFD_JUMP_TABLE_SYMBOLS): Replace NAME##_get_symtab 956 1.1 skrll with NAME##_canonicalize_symtab. 957 1.1 skrll * libcoff-in.h (coff_canonicalize_symtab): Update. 958 1.1 skrll * xsym.h (bfd_sym_canonicalize_symtab): Update. 959 1.1 skrll * elf-bfd.h (_bfd_elf_canonicalize_symtab): Update. 960 1.1 skrll * coffgen.c (coff_canonicalize_symtab): Update. 961 1.1 skrll * libbfd-in.h (_bfd_nosymbols_canonicalize_symtab): Update. 962 1.1 skrll * libnlm.h (nlmNAME(canonicalize_symtab)): Update. 963 1.1 skrll * ieee.c (ieee_vec): Update comment. 964 1.1 skrll * libecoff.h (_bfd_ecoff_canonicalize_symtab): Update. 965 1.1 skrll * mmo.c (mmo_canonicalize_symtab): Update. 966 1.1 skrll * nlm-target.h (nlm_canonicalize_symtab): Update. 967 1.1 skrll * nlmcode.h (nlm_canonicalize_symtab): Update. 968 1.1 skrll * i386msdos.c (msdos_canonicalize_symtab): Update. 969 1.1 skrll * hp300hpux.c (MY (canonicalize_symtab)): Update. 970 1.1 skrll * oasys.c (oasys_canonicalize_symtab): Update. 971 1.1 skrll * som.c (som_canonicalize_symtab): Update. 972 1.1 skrll * pef.c (bfd_pef_canonicalize_symtab): Update. 973 1.1 skrll * nlmcode.h (nlm_canonicalize_symtab): Update. 974 1.1 skrll * xsym.c (bfd_sym_canonicalize_symtab): Update. 975 1.1 skrll * vms.c (vms_canonicalize_symtab): Update. 976 1.1 skrll * versados.c (versados_canonicalize_symtab): Update. 977 1.1 skrll * mach-o.c (bfd_mach_o_canonicalize_symtab): Update. 978 1.1 skrll * ieee.c (ieee_canonicalize_symtab): Update. 979 1.1 skrll * pdp11.c (NAME(aout,canonicalize_symtab)): Update. 980 1.1 skrll * reloc.c: Update comment. 981 1.1 skrll * libaout.h (NAME(aout,canonicalize_symtab)): Update. 982 1.1 skrll * coff64-rs6000.c (aix5coff64_vec): Update. 983 1.1 skrll * coff64-rs6000.c (bfd_xcoff_aix5_backend_data): Update. 984 1.1 skrll * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Update. 985 1.1 skrll * aoutx.h (NAME(aout,canonicalize_symtab)): Update. 986 1.1 skrll * elfxx-target.h (bfd_elfNN_canonicalize_symtab): Update. 987 1.1 skrll * hp300hpux.c (MY_canonicalize_symtab): Update. 988 1.1 skrll * ecoff.c (_bfd_ecoff_canonicalize_symtab): Update. 989 1.1 skrll * aout-tic30.c (MY_canonicalize_symtab): Update. 990 1.1 skrll * aout-target.h (MY_canonicalize_symtab): Update. 991 1.1 skrll * ppcboot.c (ppcboot_canonicalize_symtab): Update. 992 1.1 skrll * elf.c (_bfd_elf_canonicalize_symtab): Update. 993 1.1 skrll * elfcode.h (elf_canonicalize_symtab): Update. 994 1.1 skrll * ihex.c (ihex_canonicalize_symtab): Update. 995 1.1 skrll * tekhex.c (tekhex_canonicalize_symtab): Update. 996 1.1 skrll * binary.c (binary_canonicalize_symtab): Update. 997 1.1 skrll * srec.c (srec_canonicalize_symtab): Update. 998 1.1 skrll 999 1.1 skrll 2003-10-15 Kazu Hirata <kazu (a] cs.umass.edu> 1000 1.1 skrll 1001 1.1 skrll * elf32-h8300.c (elf_reloc_map): Fix a comment typo. 1002 1.1 skrll 1003 1.1 skrll 2003-10-15 Kaz Kojima <kkojima (a] rr.iij4u.or.jp> 1004 1.1 skrll 1005 1.1 skrll * elf32-sh.c (sh_elf_relocate_section): Handle R_SH_IMM_*_PCREL 1006 1.1 skrll relocations. 1007 1.1 skrll (sh_elf_check_relocs): Likewise. 1008 1.1 skrll 1009 1.1 skrll * elf32-sh64.c (elf_backend_merge_symbol_attribute): Define. 1010 1.1 skrll (sh64_elf_merge_symbol_attribute): New. 1011 1.1 skrll * elf64-sh64.c (elf_backend_merge_symbol_attribute): Define. 1012 1.1 skrll (sh64_elf64_merge_symbol_attribute): New. 1013 1.1 skrll 1014 1.1 skrll 2003-10-14 Kaz Kojima <kkojima (a] rr.iij4u.or.jp> 1015 1.1 skrll 1016 1.1 skrll * elf-bfd.h (struct elf_backend_data): New function pointer member 1017 1.1 skrll elf_backend_merge_symbol_attribute. 1018 1.1 skrll * elflink.h (elf_link_add_object_symbols): Adjust call to 1019 1.1 skrll elf_backend_merge_symbol_attribute if the backend defined it. 1020 1.1 skrll * elfxx-target.h (elf_backend_merge_symbol_attribute): New macro. 1021 1.1 skrll (elfNN_bed): Add that to the initializer. 1022 1.1 skrll 1023 1.1 skrll 2003-10-14 Bob Wilson <bob.wilson (a] acm.org> 1024 1.1 skrll 1025 1.1 skrll * elf32-xtensa.c (get_is_linkonce_section): Delete. 1026 1.1 skrll (xtensa_is_property_section, xtensa_is_littable_section): Use 1027 1.1 skrll XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros. Do not recognize 1028 1.1 skrll linkonce sections containing ".xt.insn" and ".xt.lit" substrings. 1029 1.1 skrll (xtensa_get_property_section_name): Check section name instead of 1030 1.1 skrll calling get_is_linkonce_section. Remove unused bfd parameter. Use 1031 1.1 skrll XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros. Never generate 1032 1.1 skrll linkonce section names by appending ".xt.insn" or ".xt.lit". 1033 1.1 skrll (xtensa_read_table_entries): Remove bfd argument in call to 1034 1.1 skrll xtensa_get_property_section_name. Free section name when done. 1035 1.1 skrll (elf_xtensa_combine_prop_entries): Free leaking table. 1036 1.1 skrll 1037 1.1 skrll 2003-10-13 Richard Sandiford <rsandifo (a] redht.com> 1038 1.1 skrll 1039 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Don't add 1040 1.1 skrll DT_MIPS_LIBLIST or DT_MIPS_CONFLICT entries. 1041 1.1 skrll (_bfd_mips_elf_finish_dynamic_symbol): Don't handle them. Don't 1042 1.1 skrll handle DT_MIPS_MSYM. Set DT_RELSZ based on the number of relocations 1043 1.1 skrll that were needed. 1044 1.1 skrll (_bfd_mips_elf_modify_segment_map): Fix placement of PT_MIPS_OPTIONS. 1045 1.1 skrll (_bfd_mips_elf_merge_private_bfd_data): Ignore EF_MIPS_UCODE. 1046 1.1 skrll 1047 1.1 skrll 2003-10-13 H.J. Lu <hongjiu.lu (a] intel.com> 1048 1.1 skrll 1049 1.1 skrll * bfd-in.h (bfd_elf32_ia64_after_parse): New prototype. 1050 1.1 skrll (bfd_elf64_ia64_after_parse): Likewise. 1051 1.1 skrll * bfd-in2.h: Regenerated. 1052 1.1 skrll 1053 1.1 skrll * elfxx-ia64.c (oor_ip): New. 1054 1.1 skrll (oor_branch_size): Likewise. 1055 1.1 skrll (bfd_elfNN_ia64_after_parse): Likewise. 1056 1.1 skrll (elfNN_ia64_relax_section): Use oor_ip if oor_branch_size 1057 1.1 skrll equals sizeof (oor_ip). 1058 1.1 skrll 1059 1.1 skrll 2003-10-12 Kaz Kojima <kkojima (a] rr.iij4u.or.jp> 1060 1.1 skrll 1061 1.1 skrll * elf64-sh64.c (sh_elf64_relocate_section): Tidy up for the 1062 1.1 skrll renumbering of some relocation numbers. 1063 1.1 skrll 1064 1.1 skrll 2003-10-11 Alan Modra <amodra (a] bigpond.net.au> 1065 1.1 skrll 1066 1.1 skrll * coff-sh.c: Move definition of MAP and guard more code with 1067 1.1 skrll COFF_IMAGE_WITH_PE. 1068 1.1 skrll 1069 1.1 skrll * section.c (bfd_get_section_size_before_reloc): Ignore reloc_done. 1070 1.1 skrll * bfd-in2.h: Regenerate. 1071 1.1 skrll 1072 1.1 skrll 2003-10-10 H.J. Lu <hongjiu.lu (a] intel.com> 1073 1.1 skrll 1074 1.1 skrll * Makefile.am: Run "make dep-am". 1075 1.1 skrll * Makefile.in: Regenerate. 1076 1.1 skrll * doc/Makefile.in: Likewise. 1077 1.1 skrll 1078 1.1 skrll 2003-10-09 H.J. Lu <hongjiu.lu (a] intel.com> 1079 1.1 skrll 1080 1.1 skrll * cofflink.c: Include "safe-ctype.h". 1081 1.1 skrll (coff_link_add_symbols): Use ISDIGIT instead of isdigit. 1082 1.1 skrll 1083 1.1 skrll 2003-10-08 Dave Brolley <brolley (a] redhat.com> 1084 1.1 skrll On behalf of Michael Snyder <msnyder (a] redhat.com> 1085 1.1 skrll 1086 1.1 skrll * archures.c: Add FRV fr550 machine. 1087 1.1 skrll * cpu-frv.c: Ditto. 1088 1.1 skrll * elf32-frv.c: Ditto. 1089 1.1 skrll * bfd-in2.h: Regenerate. 1090 1.1 skrll 1091 1.1 skrll 2003-10-08 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 1092 1.1 skrll 1093 1.1 skrll * elfxx-mips.c (STUB_MOVE,STUB_LI16): Fix stub code 1094 1.1 skrll for non-SGI N64 ABI. Improve code consitency. 1095 1.1 skrll 1096 1.1 skrll 2003-10-07 Alexandre Oliva <aoliva (a] redhat.com> 1097 1.1 skrll 1098 1.1 skrll * elf32-frv.c (elf32_frv_howto_table): Set R_FRV_LABEL16's 1099 1.1 skrll rightshift to 2. 1100 1.1 skrll 1101 1.1 skrll 2003-10-07 Nathan Sidwell <nathan (a] codesourcery.com> 1102 1.1 skrll 1103 1.1 skrll * libbfd-in.h (_bfd_link_section_stabs): Add string offset 1104 1.1 skrll parameter. 1105 1.1 skrll * cofflink.c (coff_link_add_symbols): Deal with split stab 1106 1.1 skrll sections. 1107 1.1 skrll * elflink.h (elf_link_add_object_symbols): Deal with split stab 1108 1.1 skrll sections. 1109 1.1 skrll * stabs.c (_bfd_link_section_stabs): Add string offset parameter. 1110 1.1 skrll * libbfd.h: Regenerated. 1111 1.1 skrll 1112 1.1 skrll * coffcode.h (coff_set_alignment_hook): With PE_COFF reloc 1113 1.1 skrll overflow, set reloc start position to after the count 1114 1.1 skrll reloc. Subtract one from num relocs. Give error on 0xffff relocs 1115 1.1 skrll and no overflow. 1116 1.1 skrll * cofflink.c (_bfd_coff_final_link): Deal with PE_COFF reloc 1117 1.1 skrll overflow. 1118 1.1 skrll * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Do overflow if >= 1119 1.1 skrll 0xffff. 1120 1.1 skrll 1121 1.1 skrll 2003-10-06 H.J. Lu <hongjiu.lu (a] intel.com> 1122 1.1 skrll 1123 1.1 skrll * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Pad the 1124 1.1 skrll last CIE/FDE if needed. 1125 1.1 skrll 1126 1.1 skrll 2003-10-06 Nick Clifton <nickc (a] redhat.com> 1127 1.1 skrll 1128 1.1 skrll * targets.c (_bfd_target_vector): Include bfd_elf64_sparc_vec if 1129 1.1 skrll BFD64 is enabled. 1130 1.1 skrll 1131 1.1 skrll 2003-10-06 Matt Thomas <matt (a] 3am-software.com> 1132 1.1 skrll 1133 1.1 skrll * config.bfd: Move the hppa*-*-netbsd* case to the hppa*-*-linux* case. 1134 1.1 skrll 1135 1.1 skrll 2003-10-06 Robert Millan <robertmh (a] gnu.org> 1136 1.1 skrll 1137 1.1 skrll * configure.in: Match GNU/KNetBSD with new knetbsd*-gnu triplet. 1138 1.1 skrll * config.bfd: Likewise. 1139 1.1 skrll * configure: Regenerate. 1140 1.1 skrll 1141 1.1 skrll 2003-10-04 Christian Groessler <chris (a] groessler.org> 1142 1.1 skrll 1143 1.1 skrll * coff-z8k.c (extra_case): Fix displacement length check for R_JR 1144 1.1 skrll and R_CALLR. 1145 1.1 skrll 1146 1.1 skrll 2003-10-04 Stephane Carrez <stcarrez (a] nerim.fr> 1147 1.1 skrll 1148 1.1 skrll * elf32-m68hc1x.c: Update to ISO C90; replace PTR with void*. 1149 1.1 skrll * elf32-m68hc11.c: Likewise. 1150 1.1 skrll * elf32-m68hc12.c: Likewise. 1151 1.1 skrll * elf32-m68hc1x.h: Likewise. 1152 1.1 skrll 1153 1.1 skrll 2003-10-04 Stephane Carrez <stcarrez (a] nerim.fr> 1154 1.1 skrll 1155 1.1 skrll * elf32-m68hc1x.c (_bfd_m68hc11_elf_merge_private_bfd_data): Fix merge 1156 1.1 skrll of flags between HC12 and HCS12. 1157 1.1 skrll 1158 1.1 skrll 2003-10-04 Bryce McKinlay <bryce (a] mckinlay.net.nz> 1159 1.1 skrll 1160 1.1 skrll * merge.c (_bfd_merge_sections): Set SEC_EXCLUDE flag on sections 1161 1.1 skrll which become empty after merging. 1162 1.1 skrll 1163 1.1 skrll 2003-09-30 Jakub Jelinek <jakub (a] redhat.com> 1164 1.1 skrll 1165 1.1 skrll * elfxx-ia64.c (ia64_howto_table): Fix size of R_IA64_TPREL64[LM]SB, 1166 1.1 skrll R_IA64_DTPREL{32,64}[LM]SB and R_IA64_DTPMOD64[LM]SB. 1167 1.1 skrll 1168 1.1 skrll 2003-09-30 Chris Demetriou <cgd (a] broadcom.com> 1169 1.1 skrll 1170 1.1 skrll * archures.c (bfd_mach_mipsisa64r2): New define. 1171 1.1 skrll * bfd-in2.h: Regenerate. 1172 1.1 skrll * aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_mipsisa64r2. 1173 1.1 skrll * cpu-mips.c (I_mipsisa64r2): New enum value. 1174 1.1 skrll (arch_info_struct): Add entry for I_mipsisa64r2. 1175 1.1 skrll * elfxx-mips.c (_bfd_elf_mips_mach) 1176 1.1 skrll (_bfd_mips_elf_print_private_bfd_data): Handle E_MIPS_ARCH_64R2. 1177 1.1 skrll (mips_set_isa_flags): Add bfd_mach_mipsisa64r2 case. 1178 1.1 skrll (mips_mach_extensions): Add entry for bfd_mach_mipsisa64r2. 1179 1.1 skrll 1180 1.1 skrll 2003-09-29 H.J. Lu <hongjiu.lu (a] intel.com> 1181 1.1 skrll 1182 1.1 skrll * elfxx-ia64.c (elfNN_hpux_backend_symbol_processing): New. 1183 1.1 skrll Handle SHN_IA_64_ANSI_COMMON. 1184 1.1 skrll (elf_backend_section_from_bfd_section): Defined. 1185 1.1 skrll 1186 1.1 skrll 2003-09-26 H.J. Lu <hongjiu.lu (a] intel.com> 1187 1.1 skrll 1188 1.1 skrll * elflink.c (elf_link_read_relocs_from_section): Add an argument 1189 1.1 skrll of a pointer to section. Check bad symbol index. 1190 1.1 skrll (_bfd_elf_link_read_relocs): Modify calls to 1191 1.1 skrll elf_link_read_relocs_from_section. 1192 1.1 skrll 1193 1.1 skrll 2003-09-23 DJ Delorie <dj (a] redhat.com> 1194 1.1 skrll 1195 1.1 skrll * elf32-sh.c (sh_elf_howto_table): R_SH_SWITCH8, 1196 1.1 skrll R_SH_GNU_VTINHERIT, R_SH_GNU_VTENTRY, 1197 1.1 skrll R_SH_LOOP_START,R_SH_LOOP_END moved to "reserved" spaces, 1198 1.1 skrll R_SH_DIR16, R_SH_DIR8, R_SH_DIR8UL, R_SH_DIR8UW, R_SH_DIR8U, 1199 1.1 skrll R_SH_DIR8SW, R_SH_DIR8S, R_SH_DIR4UL, R_SH_DIR4UW, R_SH_DIR4U, 1200 1.1 skrll R_SH_PSHA, R_SH_PSHL added. 1201 1.1 skrll (sh_reloc_map): Add R_SH_DIR16 and R_SH_DIR8. 1202 1.1 skrll (sh_elf_relocate_section): Support new relocs. 1203 1.1 skrll 1204 1.1 skrll 2003-09-23 Bob Wilson <bob.wilson (a] acm.org> 1205 1.1 skrll 1206 1.1 skrll * elf32-xtensa.c (elf_xtensa_relocate_section): Fix typo that clobbered 1207 1.1 skrll dynamic relocation offsets. 1208 1.1 skrll 1209 1.1 skrll 2003-09-23 Alan Modra <amodra (a] bigpond.net.au> 1210 1.1 skrll 1211 1.1 skrll * simple.c (bfd_simple_get_relocated_section_contents): Free the 1212 1.1 skrll hash table using _bfd_generic_link_hash_table_free. 1213 1.1 skrll 1214 1.1 skrll 2003-09-23 Alan Modra <amodra (a] bigpond.net.au> 1215 1.1 skrll 1216 1.1 skrll * elf-bfd.h (struct bfd_elf_special_section): Remove "suffix". Change 1217 1.1 skrll type of prefix_length and suffix_length to int. Rename "attributes" 1218 1.1 skrll to "attr". Comment. 1219 1.1 skrll (_bfd_elf_get_sec_type_attr): Update prototype. 1220 1.1 skrll * elf.c (get_special_section): Rewrite. 1221 1.1 skrll (_bfd_elf_get_sec_type_attr): Return struct rather than passing in 1222 1.1 skrll attr and type pointers. 1223 1.1 skrll (_bfd_elf_new_section_hook): Adjust for above. 1224 1.1 skrll (special_sections): Merge suffix with prefix. Set 1225 1.1 skrll prefix_length for all entries. Set suffix_length appropriately. 1226 1.1 skrll * elf32-m32r.c (m32r_elf_special_sections): Likewise. 1227 1.1 skrll * elf32-m68hc11.c (elf32_m68hc11_special_sections): Likewise. 1228 1.1 skrll * elf32-m68hc12.c (elf32_m68hc12_special_sections): Likewise. 1229 1.1 skrll * elf32-mcore.c (mcore_elf_special_sections): Likewise. 1230 1.1 skrll * elf32-sh64.c (sh64_elf_special_sections): Likewise. 1231 1.1 skrll * elf32-v850.c (v850_elf_special_sections): Likewise. 1232 1.1 skrll * elf32-xtensa.c (elf_xtensa_special_sections): Likewise. 1233 1.1 skrll * elf64-alpha.c (elf64_alpha_special_sections): Likewise. 1234 1.1 skrll * elf64-hppa.c (elf64_hppa_special_sections): Likewise. 1235 1.1 skrll * elf64-ppc.c (ppc64_elf_special_sections): Likewise. 1236 1.1 skrll * elf64-sh64.c (sh64_elf64_special_sections): Likewise. 1237 1.1 skrll * elfxx-ia64.c (elfNN_ia64_special_sections): Likewise. 1238 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_special_sections): Likewise. 1239 1.1 skrll * elf32-ppc.c (ppc_elf_special_sections): Likewise. Fix .plt flags. 1240 1.1 skrll 1241 1.1 skrll 2003-09-21 Daniel Jacobowitz <drow (a] mvista.com> 1242 1.1 skrll 1243 1.1 skrll * elf64-alpha.c (elf64_alpha_create_got_section): Initialize 1244 1.1 skrll ->got if the section already exists. 1245 1.1 skrll 1246 1.1 skrll 2003-09-19 Nathan Sidwell <nathan (a] codesourcery.com> 1247 1.1 skrll 1248 1.1 skrll * dwarf2.c (decode_line_info): Cope with an initially empty 1249 1.1 skrll filename table. 1250 1.1 skrll 1251 1.1 skrll 2003-09-18 H.J. Lu <hongjiu.lu (a] intel.com> 1252 1.1 skrll 1253 1.1 skrll * acinclude.m4: Include ../config/accross.m4. 1254 1.1 skrll * aclocal.m4: Regenerated. 1255 1.1 skrll 1256 1.1 skrll * configure.host (HOST_64BIT_TYPE): Remove if it is set to long 1257 1.1 skrll or long long. 1258 1.1 skrll (HOST_U_64BIT_TYPE): Remove if it is set to unsigned long long. 1259 1.1 skrll (host64): Remove if HOST_64BIT_TYPE is set to long. 1260 1.1 skrll 1261 1.1 skrll * configure.in (HOST_64BIT_TYPE): Set according to the size of 1262 1.1 skrll long and long long. 1263 1.1 skrll (HOST_U_64BIT_TYPE): Likewise. 1264 1.1 skrll (host64): Likewise. 1265 1.1 skrll * configure: Regenerated. 1266 1.1 skrll 1267 1.1 skrll 2003-09-19 Alan Modra <amodra (a] bigpond.net.au> 1268 1.1 skrll 1269 1.1 skrll * elf.c (elfcore_write_note): Don't use sizeof(Elf_External_note) 1270 1.1 skrll since some ABIs round up the size of the struct. 1271 1.1 skrll 1272 1.1 skrll 2003-09-18 H.J. Lu <hongjiu.lu (a] intel.com> 1273 1.1 skrll 1274 1.1 skrll * elflink.c (_bfd_elf_merge_symbol): Allow type change if 1275 1.1 skrll the old symbol is undefined and the new symbol is defined. 1276 1.1 skrll 1277 1.1 skrll 2003-09-18 Andreas Schwab <schwab (a] suse.de> 1278 1.1 skrll 1279 1.1 skrll * simple.c (bfd_simple_get_relocated_section_contents): Use 1280 1.1 skrll _bfd_generic_link_hash_table_create instead of 1281 1.1 skrll bfd_link_hash_table_create. 1282 1.1 skrll 1283 1.1 skrll 2003-09-10 H.J. Lu <hongjiu.lu (a] intel.com> 1284 1.1 skrll 1285 1.1 skrll * elfxx-ia64.c (elfNN_ia64_special_sections): Mark all sections 1286 1.1 skrll started with ".sbss" or "".sdata" as SHF_IA_64_SHORT. 1287 1.1 skrll 1288 1.1 skrll 2003-09-10 John David Anglin <dave.anglin (a] nrc-cnrc.nrc.ca> 1289 1.1 skrll Randolph Chung <randolph (a] tausq.org> 1290 1.1 skrll 1291 1.1 skrll * elf32-hppa.c (struct elf32_hppa_link_hash_entry, 1292 1.1 skrll hppa_link_hash_newfunc, hppa_build_one_stub, 1293 1.1 skrll elf32_hppa_adjust_dynamic_symbol, mark_PIC_calls, allocate_plt_static, 1294 1.1 skrll allocate_dynrelocs, elf32_hppa_size_dynamic_sections, 1295 1.1 skrll elf32_hppa_finish_dynamic_symbol): Remove pic_call field and all code 1296 1.1 skrll for generating import stubs for calls to statically linked PIC 1297 1.1 skrll functions. 1298 1.1 skrll (hppa_type_of_stub): Don't generate an import stub for calls to 1299 1.1 skrll statically linked pic functions. Generate import stubs for calls 1300 1.1 skrll in a shared object, to functions not in a regular file, and to 1301 1.1 skrll defined weak functions. Add new argument INFO. 1302 1.1 skrll (hppa_build_one_stub): Don't undef ADDIL_DP. 1303 1.1 skrll (elf32_hppa_check_relocs): Don't set SEC_HAS_GOT_REF flag. 1304 1.1 skrll (elf32_hppa_size_stubs): Pass info to hppa_type_of_stub. 1305 1.1 skrll (final_link_relocate): Change all DLTIND relocs to DPREL relocs in a 1306 1.1.1.2 christos non-shared link. Convert instructions that use the linkage table 1307 1.1 skrll pointer, or a facsimile thereof, to use the global data pointer when 1308 1.1 skrll the reloc has been changed. 1309 1.1 skrll 1310 1.1 skrll 2003-09-08 Joel Brobecker <brobecker (a] gnat.com> 1311 1.1 skrll 1312 1.1 skrll * archures.c: Add new machine names for hppa. 1313 1.1 skrll * bfd-in2.h: Regenerate. 1314 1.1 skrll * cpu-hppa.c: Use the new machine names. 1315 1.1 skrll 1316 1.1 skrll 2003-09-06 Stephane Carrez <stcarrez (a] nerim.fr> 1317 1.1 skrll 1318 1.1 skrll * elf32-m68hc1x.h (struct m68hc11_elf_link_hash_table): Remove 1319 1.1 skrll all_local_syms member. 1320 1.1 skrll * elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Use bfd_elf_get_elf_syms 1321 1.1 skrll to get the local symbols. 1322 1.1 skrll 1323 1.1 skrll 2003-09-06 Stephane Carrez <stcarrez (a] nerim.fr> 1324 1.1 skrll 1325 1.1 skrll * elf32-m68hc12.c (elf32_m68hc12_special_sections): New for hc11. 1326 1.1 skrll (elf_backend_special_sections): Define.a 1327 1.1 skrll 1328 1.1 skrll PR savannah/4950: 1329 1.1 skrll * elf32-m68hc11.c (elf32_m68hc11_special_sections): The .vectors 1330 1.1 skrll section is read-only. 1331 1.1 skrll 1332 1.1 skrll 2003-09-04 Nick Clifton <nickc (a] redhat.com> 1333 1.1 skrll 1334 1.1 skrll * archures.c (bfd_mach_v850e1): Define. 1335 1.1 skrll * bfd-in2.h: Regenerate. 1336 1.1 skrll * cpu-v850.h (scan): Accept bfd_mach_v850e1. 1337 1.1 skrll (arch_info_struct): Include an entry for bfd_mach_v850e1. 1338 1.1 skrll * elf32-v850.c (v850_elf_object_p): Accept E_V850E1_ARCH flag. 1339 1.1 skrll (v850_elf_final_write_processing): Accept bfd_mach_v850e1. 1340 1.1 skrll (v850_elf_print_private_bfd_data): Interpret E_V850E1_ARCH flag. 1341 1.1 skrll (v850_elf_merge_private_bfd_data): Allow v850e1 binaries to be 1342 1.1 skrll linked with v850e binaries. Mark the output as v850e. 1343 1.1 skrll 1344 1.1 skrll 2003-09-03 Nick Clifton <nickc (a] redhat.com> 1345 1.1 skrll 1346 1.1 skrll * cofflink.c (_bfd_coff_link_input_bfd): Do not skip section 1347 1.1 skrll symbols that are used in relocs. 1348 1.1 skrll 1349 1.1 skrll 2003-08-30 Robert Millan <robertmh (a] gnu.org> 1350 1.1 skrll 1351 1.1 skrll * configure.in: Match GNU/KFreeBSD with new kfreebsd*-gnu triplet. 1352 1.1 skrll * config.bfd: Likewise. 1353 1.1 skrll * configure: Regenerate. 1354 1.1 skrll 1355 1.1 skrll 2003-08-31 Christian Groessler <chris (a] groessler.org> 1356 1.1 skrll 1357 1.1 skrll * elf32-i860.c (i860_howto_pc26_reloc): Finish relocation here 1358 1.1 skrll instead of returning bfd_reloc_continue. 1359 1.1 skrll 1360 1.1 skrll 2003-08-31 Andreas Jaeger <aj (a] suse.de> 1361 1.1 skrll 1362 1.1 skrll * merge.c: Update to ISO C90. 1363 1.1 skrll 1364 1.1 skrll 2003-08-27 Ian Lance Taylor <ian (a] airs.com> 1365 1.1 skrll 1366 1.1 skrll * configure.in: Check for strtoull. 1367 1.1 skrll * bfd.c (bfd_scan_vma): Use strtoull when available. 1368 1.1 skrll * configure, config.in: Regenerate. 1369 1.1 skrll 1370 1.1 skrll * configure.in: Define and substitute BFD_HOST_LONG_LONG. 1371 1.1 skrll * bfd-in.h: Define BFD_HOST_LONG_LONG. Test it rather than 1372 1.1 skrll __GNUC__ when deciding whether to use long long for 1373 1.1 skrll BFD_HOST_64_BIT. 1374 1.1 skrll * configure, Makefile.in, doc/Makefile.in, bfd-in2.h: Regenerate. 1375 1.1 skrll 1376 1.1 skrll 2003-08-27 Christian Groessler <chris (a] groessler.org> 1377 1.1 skrll 1378 1.1 skrll * elf32-i860.c (i860_howto_pc26_reloc, i860_howto_pc16_reloc, 1379 1.1 skrll i860_howto_splitn_reloc, i860_howto_highadj_reloc): New 1380 1.1 skrll functions. 1381 1.1 skrll (elf32_i860_howto_table): Insert the new functions as 1382 1.1 skrll 'special_function's in the proper reloc type entries. 1383 1.1 skrll 1384 1.1 skrll 2003-08-27 Richard Sandiford <rsandifo (a] redhat.com> 1385 1.1 skrll 1386 1.1 skrll * elf32-frv.c (elf32_frv_relocate_section): Use 1387 1.1 skrll _bfd_elf_rela_local_sym. 1388 1.1 skrll 1389 1.1 skrll 2003-08-26 Michael Snyder <msnyder (a] redhat.com> 1390 1.1 skrll 1391 1.1 skrll * cpu-frv.c: Remove unused enum. 1392 1.1 skrll 1393 1.1 skrll 2003-08-25 Maciej W. Rozycki <macro (a] ds2.pg.gda.pl> 1394 1.1 skrll 1395 1.1 skrll * reloc.c: Fix documentation for MIPS ELF relocations. 1396 1.1 skrll libbfd.h: Regenerate. 1397 1.1 skrll bfd-in2.h: Regenerate. 1398 1.1 skrll 1399 1.1 skrll 2003-08-24 Jason Eckhardt <jle (a] rice.edu> 1400 1.1 skrll 1401 1.1 skrll * coff-i860.c (CALC_ADDEND): Define to be a no-op. 1402 1.1 skrll 1403 1.1 skrll 2003-08-24 Jason Eckhardt <jle (a] rice.edu> 1404 1.1 skrll 1405 1.1 skrll * elf32-i860.c (elf32_i860_relocate_pc16): Subtract 4 and 1406 1.1 skrll shift by 2 before storing the relocated value. 1407 1.1 skrll 1408 1.1 skrll 2003-08-23 Jason Eckhardt <jle (a] rice.edu> 1409 1.1 skrll 1410 1.1 skrll * coff-i860.c (coff_i860_reloc_nyi): New function. 1411 1.1 skrll (howto_table): Add entries for relocations PAIR, HIGHADJ, HIGH, 1412 1.1 skrll LOWn, SPLITn, and BRADDR. 1413 1.1 skrll (RTYPE2HOWTO): Check that the r_type is within the howto_table 1414 1.1 skrll before trying to access the entry. 1415 1.1 skrll (coff_i860_rtype_to_howto): Likewise. 1416 1.1 skrll (coff_i860_reloc_type_lookup): New function. 1417 1.1 skrll (i860_reloc_processing): New function. 1418 1.1 skrll (coff_bfd_reloc_type_lookup): Define macro. 1419 1.1 skrll (RELOC_PROCESSING): Define macro. 1420 1.1 skrll Minor formatting adjustments. 1421 1.1 skrll 1422 1.1 skrll 2003-08-23 Alan Modra <amodra (a] bigpond.net.au> 1423 1.1 skrll 1424 1.1 skrll * elflink.h (elf_link_add_object_symbols): Don't crash on NULL owner. 1425 1.1 skrll 1426 1.1 skrll 2003-08-22 H.J. Lu <hongjiu.lu (a] intel.com> 1427 1.1 skrll 1428 1.1 skrll * elfxx-ia64.c (elfNN_ia64_create_dynamic_sections): Align the 1429 1.1 skrll .got section at 8 bytes. 1430 1.1 skrll 1431 1.1 skrll 2003-08-21 Nick Clifton <nickc (a] redhat.com> 1432 1.1 skrll 1433 1.1 skrll * cofflink.c: Update to ISO C90 and tidy up formatting. 1434 1.1 skrll 1435 1.1 skrll 2003-08-21 Randolph Chung <tausq (a] debian.org> 1436 1.1 skrll 1437 1.1 skrll * elf32-hppa.c (elf32_hppa_object_p): For elf32-hppa-linux, objects 1438 1.1 skrll can have OSABI=Linux or OSABI=SysV. Check for both. 1439 1.1 skrll * elf64-hppa.c (elf64_hppa_object_p): Likewise. 1440 1.1 skrll 1441 1.1 skrll 2003-08-21 Nick Clifton <nickc (a] redhat.com> 1442 1.1 skrll 1443 1.1 skrll * po/sv.po: Updated Swedish translation. 1444 1.1 skrll 1445 1.1 skrll 2003-08-20 Richard Sandiford <rsandifo (a] redhat.com> 1446 1.1 skrll 1447 1.1 skrll * elf64-mips.c (elf_backend_copy_indirect_symbol): Define. 1448 1.1 skrll 1449 1.1 skrll 2003-08-20 Nick Clifton <nickc (a] redhat.com> 1450 1.1 skrll 1451 1.1 skrll * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): New macro used to 1452 1.1 skrll replace some duplicated code in most elfxx-xxxx.c files. This 1453 1.1 skrll version uses the new fields in bfd_link_info. 1454 1.1 skrll 1455 1.1 skrll * elf-m10300.c (mn10300_elf_relocate_section): Use new macro. 1456 1.1 skrll * elf32-arm.h (elf32_arm_relocate_section): Likewise. 1457 1.1 skrll * elf32-cris.c (cris_elf_relocate_section): Likewise. 1458 1.1 skrll * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. 1459 1.1 skrll * elf32-i386.c (elf_i386_relocate_section): Likewise. 1460 1.1 skrll * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. 1461 1.1 skrll * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise. 1462 1.1 skrll * elf32-m68k.c (elf_m68k_relocate_section): Likewise. 1463 1.1 skrll * elf32-ppc.c (ppc_elf_relocate_section): Likewise. 1464 1.1 skrll * elf32-s390.c (elf_s390_relocate_section): Likewise. 1465 1.1 skrll * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. 1466 1.1 skrll * elf32-vax.c (elf_vax_relocate_section): Likewise. 1467 1.1 skrll * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. 1468 1.1 skrll * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. 1469 1.1 skrll * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. 1470 1.1 skrll * elf64-s390.c (elf_s390_relocate_section): Likewise. 1471 1.1 skrll * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. 1472 1.1 skrll * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. 1473 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. 1474 1.1 skrll 1475 1.1 skrll * elf-hppa.h (elf_hppa_unmark_useless_dynamic_symbols, 1476 1.1 skrll elf_hppa_remark_useless_dynamic_symbols, 1477 1.1 skrll elf_hppa_relocate_section): Use the new fields in 1478 1.1 skrll bfd_link_info structure. 1479 1.1 skrll * elf32-sh.c (sh_elf_relocate_section): Likewise. 1480 1.1 skrll * elf64-alpha.c (elf64_alpha_check_relocs): Likewise. 1481 1.1 skrll * elf64-hppa.c (elf64_hppa_check_relocs): Likewise. 1482 1.1 skrll * elf64-sh64.c (sh_elf64_relocate_section): Likewise. 1483 1.1 skrll * elfxx-ia64.c (elfNN_ia64_check_relocs): Likewise. 1484 1.1 skrll * elfxx-mips.c (mips_elf_calculate_relocation): Likewise. 1485 1.1 skrll 1486 1.1 skrll * elflink.h (elf_link_output_extsym): Fix test for reporting 1487 1.1 skrll undefined symbols in shared libraries. Remove redundant test 1488 1.1 skrll of shlib_undefined when reporting references to forced local 1489 1.1 skrll symbols. 1490 1.1 skrll 1491 1.1 skrll 2003-08-18 Andreas Schwab <schwab (a] suse.de> 1492 1.1 skrll 1493 1.1 skrll * libpei.h (bfd_pe_executable_p): Also recognize efi-app 1494 1.1 skrll executables. 1495 1.1 skrll 1496 1.1 skrll 2003-08-17 Hans-Peter Nilsson <hp (a] bitrange.com> 1497 1.1 skrll 1498 1.1 skrll * simple.c (bfd_simple_get_relocated_section_contents): Move 1499 1.1 skrll reloc_done hack to before first bfd_section_size call. Change all 1500 1.1 skrll returns to use new wrapper macro RETURN, restoring sec->reloc_done. 1501 1.1 skrll 1502 1.1 skrll 2003-08-16 Alan Modra <amodra (a] bigpond.net.au> 1503 1.1 skrll 1504 1.1 skrll * elf64-ppc.c: Don't include elf/ppc.h. 1505 1.1 skrll 1506 1.1 skrll 2003-08-14 Richard Sandiford <rsandifo (a] redhat.com> 1507 1.1 skrll 1508 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Fix PT_DYNAMIC 1509 1.1 skrll code to work with 64-bit bfds. 1510 1.1 skrll 1511 1.1 skrll 2003-08-14 Alan Modra <amodra (a] bigpond.net.au> 1512 1.1 skrll 1513 1.1 skrll * dep-in.sed: Remove libintl.h. 1514 1.1 skrll * Makefile.am (SRC-POTFILES.in, BLD-POTFILES.in): Unset LC_COLLATE. 1515 1.1 skrll (POTFILES.in): Remove target. 1516 1.1 skrll * Makefile.in: Regenerate. 1517 1.1 skrll 1518 1.1 skrll 2003-08-12 Alan Modra <amodra (a] bigpond.net.au> 1519 1.1 skrll 1520 1.1 skrll * elf64-ppc.c (ppc64_elf_next_input_section): Update comment. 1521 1.1 skrll (ppc64_elf_relocate_section): For zero sym R_PPC64_TOC relocs, 1522 1.1 skrll use the function sym from the previous reloc. 1523 1.1 skrll 1524 1.1 skrll 2003-08-11 Jakub Jelinek <jakub (a] redhat.com> 1525 1.1 skrll 1526 1.1 skrll * elf32-i386.c (elf_i386_relocate_section): Make undefined symbols 1527 1.1 skrll fatal if -pie. 1528 1.1 skrll * elf32-s390.c (elf_s390_relocate_section): Likewise. 1529 1.1 skrll * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. 1530 1.1 skrll * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. 1531 1.1 skrll * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. 1532 1.1 skrll * elf64-s390.c (elf_s390_relocate_section): Likewise. 1533 1.1 skrll * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. 1534 1.1 skrll * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. 1535 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. 1536 1.1 skrll * elf32-ppc.c (ppc_elf_relocate_section): Likewise. 1537 1.1 skrll (ppc_elf_relocate_section) <case R_PPC_RELAX32>: Issue fatal error 1538 1.1 skrll on undefined symbols if -pie. 1539 1.1 skrll * elf32-sh.c (sh_elf_relocate_section): Likewise. 1540 1.1 skrll 1541 1.1 skrll 2003-08-11 Alan Modra <amodra (a] bigpond.net.au> 1542 1.1 skrll 1543 1.1 skrll * elf64-ppc.c (ppc64_elf_relocate_section): Add special case for crt1.o 1544 1.1 skrll branch to __libc_start_main. 1545 1.1 skrll 1546 1.1 skrll 2003-08-08 Dmitry Diky <diwil (a] mail.ru> 1547 1.1 skrll 1548 1.1 skrll * archures.c: Add xW42 and xE42 parts. Sort MPU list according to 1549 1.1 skrll gcc order. 1550 1.1 skrll * cpu-msp430.c: Likewise. 1551 1.1 skrll * elf32-msp430.c: Likewise. 1552 1.1 skrll * bfd-in2.h: Regenerate. 1553 1.1 skrll 1554 1.1 skrll 2003-08-07 Alan Modra <amodra (a] bigpond.net.au> 1555 1.1 skrll 1556 1.1 skrll * elfxx-target.h: Remove PTR cast. 1557 1.1 skrll * targets.c (bfd_target): Make backend_data const void *. 1558 1.1 skrll * elf-bfd.h: Constify all occurrences of struct elf_backend_data. 1559 1.1 skrll * elf-m10300.c: Likewise. 1560 1.1 skrll * elf.c: Likewise. 1561 1.1 skrll * elf32-hppa.c: Likewise. 1562 1.1 skrll * elf32-i386.c: Likewise. 1563 1.1 skrll * elf32-m68hc1x.c: Likewise. 1564 1.1 skrll * elf32-ppc.c: Likewise. 1565 1.1 skrll * elf32-s390.c: Likewise. 1566 1.1 skrll * elf32-sh.c: Likewise. 1567 1.1 skrll * elf32-sh64.c: Likewise. 1568 1.1 skrll * elf32-sparc.c: Likewise. 1569 1.1 skrll * elf32-xtensa.c: Likewise. 1570 1.1 skrll * elf64-mips.c: Likewise. 1571 1.1 skrll * elf64-ppc.c: Likewise. 1572 1.1 skrll * elf64-s390.c: Likewise. 1573 1.1 skrll * elf64-sh64.c: Likewise. 1574 1.1 skrll * elf64-sparc.c: Likewise. 1575 1.1 skrll * elf64-x86-64.c: Likewise. 1576 1.1 skrll * elfcode.h: Likewise. 1577 1.1 skrll * elfcore.h: Likewise. 1578 1.1 skrll * elflink.c: Likewise. 1579 1.1 skrll * elflink.h: Likewise. 1580 1.1 skrll * elfxx-ia64.c: Likewise. 1581 1.1 skrll * elfxx-mips.c: Likewise. 1582 1.1 skrll * elfxx-mips.h: Likewise. 1583 1.1 skrll * elf.c (prep_headers): Remove useless check for null backend_data. 1584 1.1 skrll * bfd-in2.h: Regenerate. 1585 1.1 skrll 1586 1.1 skrll * elf-bfd.h: Remove PARAMS macro. Replace PTR with void *. 1587 1.1 skrll (NAME): Use ## rather than CONCAT4 macro. 1588 1.1 skrll * elfcode.h: Remove one remaining PARAMS macro. 1589 1.1 skrll * elf-eh-frame.c: Convert to C90, remove unneeded casts and prototypes. 1590 1.1 skrll * elf-strtab.c: Likewise. 1591 1.1 skrll * elf-hppa.h: Likewise. 1592 1.1 skrll * elf32-hppa.h: Likewise. 1593 1.1 skrll * elf32-hppa.c: Likewise. 1594 1.1 skrll (elf32_hppa_add_symbol_hook): Delete. 1595 1.1 skrll (elf_backend_add_symbol_hook): Don't define. 1596 1.1 skrll * libhppa.h: Convert to C90. Replace INLINE with inline. 1597 1.1 skrll 1598 1.1 skrll 2003-08-06 Alan Modra <amodra (a] bigpond.net.au> 1599 1.1 skrll 1600 1.1 skrll * elf64-ppc.c (ppc_stub_name): Tweak names for better readability. 1601 1.1 skrll (ppc64_elf_adjust_dynamic_symbol): Allow copy relocs against 1602 1.1 skrll function descriptors, but warn. 1603 1.1 skrll (ppc_build_one_stub): Remove a couple of vars. Move code creating 1604 1.1 skrll stub syms so that we can avoid a stub sym if we already have a 1605 1.1 skrll plt sym. Do not redefine an existing symbol. 1606 1.1 skrll (ppc64_elf_build_stubs): When --emit-stub-syms, print a symbol for 1607 1.1 skrll glink. 1608 1.1 skrll 1609 1.1 skrll 2003-08-06 Nick Clifton <nickc (a] redhat.com> 1610 1.1 skrll 1611 1.1 skrll * po/fr.po: Updated French translation. 1612 1.1 skrll 1613 1.1 skrll 2003-08-06 Alan Modra <amodra (a] bigpond.net.au> 1614 1.1 skrll 1615 1.1 skrll * elflink.c (_bfd_elf_create_dynamic_sections): Mark .dynbss with 1616 1.1 skrll SEC_LINKER_CREATED. 1617 1.1 skrll 1618 1.1 skrll 2003-08-05 Daniel Jacobowitz <drow (a] mvista.com> 1619 1.1 skrll 1620 1.1 skrll * elf32-arm.h (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define. 1621 1.1 skrll (elf32_arm_final_link_relocate, elf32_arm_relocate_section): Use it. 1622 1.1 skrll 1623 1.1 skrll 2003-08-03 Jeff Muizelaar <muizelaar (a] rogers.com> 1624 1.1 skrll 1625 1.1 skrll * coffcode.h (coff_slurp_line_table): Return with a warning 1626 1.1 skrll message if the line number table could not be read. 1627 1.1 skrll 1628 1.1 skrll 2003-08-04 Nick Clifton <nickc (a] redhat.com> 1629 1.1 skrll 1630 1.1 skrll * elflink.h (elf_link_add_object_symbols): Prepend "warning: " 1631 1.1 skrll to messages produced for .gnu.warning.SYMBOL sections. 1632 1.1 skrll 1633 1.1 skrll 2003-08-04 Alan Modra <amodra (a] bigpond.net.au> 1634 1.1 skrll 1635 1.1 skrll * elfcode.h: Convert to C90, remove unneeded casts and prototypes. 1636 1.1 skrll * elfcore.h: Likewise. 1637 1.1 skrll * elflink.c: Likewise. 1638 1.1 skrll * elflink.h: Likewise. 1639 1.1 skrll * elf.c (sym_is_global): Remove INLINE. 1640 1.1 skrll (align_file_position): Replace INLINE with inline. 1641 1.1 skrll * elfcode.h (elf_swap_dyn_in, elf_swap_dyn_out): Remove INLINE. 1642 1.1 skrll (elf_file_p): Replace INLINE with inline. 1643 1.1 skrll 1644 1.1 skrll 2003-08-02 Kaz Kojima <kkojima (a] rr.iij4u.or.jp> 1645 1.1 skrll 1646 1.1 skrll * elf32-sh.c (sh_elf_check_relocs): Don't set DF_TEXTREL here. 1647 1.1 skrll 1648 1.1 skrll 2003-08-01 H.J. Lu <hongjiu.lu (a] intel.com> 1649 1.1 skrll 1650 1.1 skrll * elfxx-ia64.c (get_got): Align the .got section at 8 bytes. 1651 1.1 skrll 1652 1.1 skrll 2003-08-01 H.J. Lu <hongjiu.lu (a] intel.com> 1653 1.1 skrll 1654 1.1 skrll * elfxx-ia64.c (elfNN_ia64_finish_dynamic_symbol): Use 1655 1.1 skrll ElfNN_External_Rela instead of Elf64_External_Rela. 1656 1.1 skrll 1657 1.1 skrll 2003-08-01 Nick Clifton <nickc (a] redhat.com> 1658 1.1 skrll 1659 1.1 skrll * config.bfd: Add code to catch obsolete configurations and warn 1660 1.1 skrll about them unless --enable-obsolete is used. Use this to mark 1661 1.1 skrll vax-vms port as obsolete. 1662 1.1 skrll 1663 1.1 skrll 2003-07-30 Alan Modra <amodra (a] bigpond.net.au> 1664 1.1 skrll 1665 1.1 skrll * elf32-ppc.c (ppc_elf_install_value): Tidy. 1666 1.1 skrll (ppc_elf_relax_section): Remove dead code. Remove unnecessary casts. 1667 1.1 skrll Formatting. 1668 1.1 skrll * elfxx-target.h: Remove PARAMS macro. Formatting. 1669 1.1 skrll 1670 1.1 skrll 2003-07-30 Alan Modra <amodra (a] bigpond.net.au> 1671 1.1 skrll 1672 1.1 skrll * elf.c (bfd_section_from_r_symndx): Test for SHN_UNDEF. 1673 1.1 skrll * elf64-ppc.c (get_fdh): New function, split out from 1674 1.1 skrll ppc64_elf_edit_opd. 1675 1.1 skrll (ppc64_elf_check_relocs): Use get_fdh. 1676 1.1 skrll (func_desc_adjust): Likewise. Tidy. 1677 1.1 skrll (ppc64_elf_edit_opd): Tighten reloc checks. Free local_syms on error 1678 1.1 skrll exit. Use get_fdh. Account for superfluous dynamic relocs. 1679 1.1 skrll (ppc64_elf_relocate_section): Warning fix. 1680 1.1 skrll 1681 1.1 skrll 2003-07-30 Jason Eckhardt <jle (a] rice.edu> 1682 1.1 skrll 1683 1.1 skrll * coff-i860.c: Convert to ISO C90. Remove superflous prototypes. 1684 1.1 skrll 1685 1.1 skrll 2003-07-30 Jason Eckhardt <jle (a] rice.edu> 1686 1.1 skrll 1687 1.1 skrll * elf32-i860.c: Convert to ISO C90. Remove superflous prototypes. 1688 1.1 skrll 1689 1.1 skrll 2003-07-30 Randolph Chung <tausq (a] debian.org> 1690 1.1 skrll 1691 1.1 skrll * elf-hppa.h (elf_hppa_relocate_section): Look up dyn_h for undefweak. 1692 1.1 skrll * elf64-hppa.c (elf64_hppa_finalize_dlt): Check h->root.type. 1693 1.1 skrll 1694 1.1 skrll 2003-07-30 Alan Modra <amodra (a] bigpond.net.au> 1695 1.1 skrll 1696 1.1 skrll * elf.c: Convert to C90, remove unnecessary prototypes and casts. 1697 1.1 skrll Replace PTR with void *. Formatting. 1698 1.1 skrll (_bfd_elf_assign_file_position_for_section): Remove INLINE. 1699 1.1 skrll (make_mapping): Likewise. 1700 1.1 skrll 1701 1.1 skrll 2003-07-29 Alan Modra <amodra (a] bigpond.net.au> 1702 1.1 skrll 1703 1.1 skrll * elf64-ppc.c (func_desc_adjust): Give linker created function 1704 1.1 skrll descriptor symbols a size and type. 1705 1.1 skrll (ppc64_elf_relocate_section): Correct lq insn test. 1706 1.1 skrll 1707 1.1 skrll 2003-07-28 Eric Christopher <echristo (a] redhat.com> 1708 1.1 skrll 1709 1.1 skrll * elf32-ppc.c (R_PPC_RELAX32): New relocation. 1710 1.1 skrll (ppc_elf_install_value): New function. 1711 1.1 skrll (ppc_elf_sort_rela): Remove. 1712 1.1 skrll (ppc_elf_relax_section): Rewrite. Remove old relaxation 1713 1.1 skrll and replace with out of range branch stubs. 1714 1.1 skrll (ppc_elf_relocate_section): Handle R_PPC_RELAX32. 1715 1.1 skrll 1716 1.1 skrll 2003-07-29 Alexandre Oliva <aoliva (a] redhat.com> 1717 1.1 skrll 1718 1.1 skrll * elf-m10300.c (mn10300_elf_relax_section): Take symbol hash table 1719 1.1 skrll from input_bfd. 1720 1.1 skrll 1721 1.1 skrll 2003-07-28 Alan Modra <amodra (a] bigpond.net.au> 1722 1.1 skrll 1723 1.1 skrll * elf.c (special_sections): Set attributes for .got and .plt. 1724 1.1 skrll 1725 1.1 skrll 2003-07-27 Alan Modra <amodra (a] bigpond.net.au> 1726 1.1 skrll 1727 1.1 skrll * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Ensure no copy relocs 1728 1.1 skrll on function descriptors. 1729 1.1 skrll (ELIMINATE_COPY_RELOCS): Expand comment. 1730 1.1 skrll (ppc64_elf_special_sections): Move. Don't include non-ppc64 sections. 1731 1.1 skrll Do include ".toc1". 1732 1.1 skrll 1733 1.1 skrll 2003-07-25 H.J. Lu <hongjiu.lu (a] intel.com> 1734 1.1 skrll 1735 1.1 skrll * elf.c (_bfd_elf_new_section_hook): Set the default section 1736 1.1 skrll type to SHT_NULL. 1737 1.1 skrll (elf_fake_sections): Set the section type based on asect->flags 1738 1.1 skrll if it is SHT_NULL. Don't abort on processor specific section 1739 1.1 skrll types. 1740 1.1 skrll 1741 1.1 skrll 2003-07-25 H.J. Lu <hongjiu.lu (a] intel.com> 1742 1.1 skrll 1743 1.1 skrll * bfd-in2.h: Regenerated. 1744 1.1 skrll 1745 1.1 skrll 2003-07-25 H.J. Lu <hongjiu.lu (a] intel.com> 1746 1.1 skrll 1747 1.1 skrll * elf-bfd.h (bfd_elf_special_section): New. 1748 1.1 skrll (elf_backend_data): Add special_sections, a pointer to 1749 1.1 skrll bfd_elf_special_section. 1750 1.1 skrll (elf_section_type). New. 1751 1.1 skrll (elf_section_flags): New. 1752 1.1 skrll (_bfd_elf_get_sec_type_attr): New. 1753 1.1 skrll 1754 1.1 skrll * elf.c (_bfd_elf_make_section_from_shdr): Always use the 1755 1.1 skrll real section type/flags. 1756 1.1 skrll (special_sections): New. 1757 1.1 skrll (get_special_section): New. 1758 1.1 skrll (_bfd_elf_get_sec_type_attr): New. 1759 1.1 skrll (_bfd_elf_new_section_hook): Check special_section to set 1760 1.1 skrll elf_section_type and elf_section_flags. 1761 1.1 skrll (elf_fake_sections): Don't use section name to set ELF section 1762 1.1 skrll data. 1763 1.1 skrll 1764 1.1 skrll * elf32-m32r.c (m32r_elf_special_sections): New. 1765 1.1 skrll (elf_backend_special_sections): Defined. 1766 1.1 skrll 1767 1.1 skrll * elf32-m68hc11.c (elf32_m68hc11_special_sections): New. 1768 1.1 skrll (elf_backend_special_sections): Defined. 1769 1.1 skrll 1770 1.1 skrll * elf32-mcore.c (mcore_elf_special_sections): New. 1771 1.1 skrll (elf_backend_special_sections): Defined. 1772 1.1 skrll 1773 1.1 skrll * elf32-ppc.c (ppc_elf_special_sections): New. 1774 1.1 skrll (elf_backend_special_sections): Defined. 1775 1.1 skrll 1776 1.1 skrll * elf32-sh64.c (sh64_elf_special_sections): New. 1777 1.1 skrll (elf_backend_special_sections): Defined. 1778 1.1 skrll 1779 1.1 skrll * elf32-v850.c (v850_elf_special_sections): New. 1780 1.1 skrll (elf_backend_special_sections): Defined. 1781 1.1 skrll 1782 1.1 skrll * elf32-xtensa.c (elf_xtensa_special_sections): New. 1783 1.1 skrll (elf_backend_special_sections): Defined. 1784 1.1 skrll 1785 1.1 skrll * elf64-alpha.c (elf64_alpha_special_sections): New. 1786 1.1 skrll (elf_backend_special_sections): Defined. 1787 1.1 skrll 1788 1.1 skrll * elf64-hppa.c (elf64_hppa_special_sections): New. 1789 1.1 skrll (elf_backend_special_sections): Defined. 1790 1.1 skrll 1791 1.1 skrll * elf64-ppc.c (ppc64_elf_special_sections): New. 1792 1.1 skrll (elf_backend_special_sections): Defined. 1793 1.1 skrll 1794 1.1 skrll * elf64-sh64.c (sh64_elf64_special_sections): New. 1795 1.1 skrll (elf_backend_special_sections): Defined. 1796 1.1 skrll 1797 1.1 skrll * elfxx-ia64.c (elfNN_ia64_special_sections): New. 1798 1.1 skrll (elf_backend_special_sections): Defined. 1799 1.1 skrll 1800 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_special_sections): New. 1801 1.1 skrll 1802 1.1 skrll * elfxx-mips.h (_bfd_mips_elf_special_sections): New. 1803 1.1 skrll (elf_backend_special_sections): Defined. 1804 1.1 skrll 1805 1.1 skrll * elfxx-target.h (elf_backend_special_sections): New. Default 1806 1.1 skrll to NULL. 1807 1.1 skrll (elfNN_bed): Initialize special_sections. 1808 1.1 skrll 1809 1.1 skrll * section.c (bfd_abs_section): Remove const. 1810 1.1 skrll (bfd_und_section): Likewise. 1811 1.1 skrll (bfd_com_section): Likewise. 1812 1.1 skrll (bfd_ind_section): Likewise. 1813 1.1 skrll 1814 1.1 skrll 2003-07-24 Nick Clifton <nickc (a] redhat.com> 1815 1.1 skrll 1816 1.1 skrll * coff-arm.c (EXTRA_S_FLAGS): Include SEC_CODE so that code 1817 1.1 skrll sections are assigned the LOAD attribute. 1818 1.1 skrll 1819 1.1 skrll 2003-07-25 Kaz Kojima <kkojima (a] rr.iij4u.or.jp> 1820 1.1 skrll 1821 1.1 skrll * elf32-sh.c: Convert to C90. Replace PTR with void *. 1822 1.1 skrll * elf32-sh64-com.c: Likewise. 1823 1.1 skrll * elf32-sh64.c: Likewise. 1824 1.1 skrll * elf32-sh64.h: Likewise. 1825 1.1 skrll * elf64-sh64.c: Likewise. 1826 1.1 skrll 1827 1.1 skrll 2003-07-24 Kaz Kojima <kkojima (a] rr.iij4u.or.jp> 1828 1.1 skrll 1829 1.1 skrll * elf32-sh.c (sh_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL. 1830 1.1 skrll (allocate_dynrelocs): Likewise. 1831 1.1 skrll (sh_elf_relocate_section): Likewise. Use SYMBOL_REFERENCES_LOCAL. 1832 1.1 skrll (sh_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL. 1833 1.1 skrll 1834 1.1 skrll 2003-07-24 Nick Clifton <nickc (a] redhat.com> 1835 1.1 skrll 1836 1.1 skrll * po/fr.po: Updated French translation. 1837 1.1 skrll 1838 1.1 skrll 2003-07-23 Bob Wilson <bob.wilson (a] acm.org> 1839 1.1 skrll 1840 1.1 skrll * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Make inline and move 1841 1.1 skrll near the beginning of the file. Swap order of arguments. Call 1842 1.1 skrll _bfd_elf_dynamic_symbol_p with "ignore_protected" set to 0. 1843 1.1 skrll (elf_xtensa_fix_refcounts): Adjust xtensa_elf_dynamic_symbol_p call. 1844 1.1 skrll (elf_xtensa_relocate_section): Likewise. 1845 1.1 skrll (shrink_dynamic_reloc_sections): Likewise. 1846 1.1 skrll 1847 1.1 skrll 2003-07-23 Bob Wilson <bob.wilson (a] acm.org> 1848 1.1 skrll 1849 1.1 skrll * elf32-xtensa.c (plt_reloc_count): Fix typo in comment. 1850 1.1 skrll (elf_xtensa_size_dynamic_sections): Use elf_discarded_section. 1851 1.1 skrll (elf_xtensa_combine_prop_entries): Avoid returning non-zero without 1852 1.1 skrll first printing an error message. 1853 1.1 skrll (elf_xtensa_finish_dynamic_sections): Likewise. 1854 1.1 skrll (elf_xtensa_discard_info_for_section): Adjust size of .got.loc when 1855 1.1 skrll discarding literal table entries. 1856 1.1 skrll (elf_xtensa_merge_private_bfd_data): Remove newline from error message. 1857 1.1 skrll (elf_xtensa_do_asm_simplify): Likewise. 1858 1.1 skrll 1859 1.1 skrll 2003-07-23 Stephane Carrez <stcarrez (a] nerim.fr> 1860 1.1 skrll 1861 1.1 skrll * elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Avoid crash when 1862 1.1 skrll we have a local symbol in common section. 1863 1.1 skrll 1864 1.1 skrll 2003-07-22 H.J. Lu <hongjiu.lu (a] intel.com> 1865 1.1 skrll 1866 1.1 skrll * elflink.c (_bfd_elf_dynamic_symbol_p): Don't return TRUE for 1867 1.1 skrll weak symbols. 1868 1.1 skrll 1869 1.1 skrll 2003-07-22 Nick Clifton <nickc (a] redhat.com> 1870 1.1 skrll 1871 1.1 skrll * coffcode.h (coff_slurp_symbol_table): Add C_TCSYM and C_ECOML to 1872 1.1 skrll expected RS6000 storage classes. 1873 1.1 skrll 1874 1.1 skrll 2003-07-21 H.J. Lu <hongjiu.lu (a] intel.com> 1875 1.1 skrll 1876 1.1 skrll * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Mark 1877 1.1 skrll output_bfd unused to silence gcc. 1878 1.1 skrll 1879 1.1 skrll 2003-07-21 Nick Clifton <nickc (a] redhat.com> 1880 1.1 skrll 1881 1.1 skrll * po/sv.po: Updated Swedish translation. 1882 1.1 skrll 1883 1.1 skrll 2003-07-21 Alan Modra <amodra (a] bigpond.net.au> 1884 1.1 skrll 1885 1.1 skrll * elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Use.. 1886 1.1 skrll (_bfd_elf_symbol_refs_local_p): ..this. Declare. 1887 1.1 skrll * elflink.c (_bfd_elf_symbol_refs_local_p): New function. 1888 1.1 skrll * elf32-i386.c (elf_i386_relocate_section): Remove h NULL test 1889 1.1 skrll now done in _bfd_elf_symbol_refs_local_p. 1890 1.1 skrll * elf32-ppc.c (ppc_elf_relocate_section): Likewise. 1891 1.1 skrll * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. 1892 1.1 skrll * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. 1893 1.1 skrll 1894 1.1 skrll 2003-07-18 H.J. Lu <hongjiu.lu (a] intel.com> 1895 1.1 skrll 1896 1.1 skrll * elflink.c (_bfd_elf_dynamic_symbol_p): Undo the last change. 1897 1.1 skrll 1898 1.1 skrll 2003-07-18 H.J. Lu <hongjiu.lu (a] intel.com> 1899 1.1 skrll 1900 1.1 skrll * elf-bfd.h (SYMBOL_REFERENCES_LOCAL): Fix a typo. 1901 1.1 skrll (SYMBOL_CALLS_LOCAL): Likewise. 1902 1.1 skrll 1903 1.1 skrll * elflink.c (_bfd_elf_dynamic_symbol_p): Return TRUE 1904 1.1 skrll immediately if symbol isn't defined locally. 1905 1.1 skrll 1906 1.1 skrll 2003-07-18 Richard Henderson <rth (a] redhat.com> 1907 1.1 skrll 1908 1.1 skrll * elflink.c (_bfd_elf_dynamic_symbol_p): New. 1909 1.1 skrll * elf-bfd.h (_bfd_elf_dynamic_symbol_p): Declare it. 1910 1.1 skrll (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Use it. 1911 1.1 skrll * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Likewise. 1912 1.1 skrll * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise. 1913 1.1 skrll * elf64-hppa.c (elf64_hppa_dynamic_symbol_p): Likewise. 1914 1.1 skrll * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Likewise. 1915 1.1 skrll Update all callers to provide the relocation being resolved. 1916 1.1 skrll 1917 1.1 skrll 2003-07-17 Shaun Jackman <sjackman (a] pathwayconnect.com> 1918 1.1 skrll 1919 1.1 skrll * config.bfd (arm-wince-pe): Add -DARM_COFF_BUGFIX to 1920 1.1 skrll targ_cflags. 1921 1.1 skrll 1922 1.1 skrll 2003-07-17 Nick Clifton <nickc (a] redhat.com> 1923 1.1 skrll 1924 1.1 skrll * po/es.po: New Spanish translation. 1925 1.1 skrll * po/sv.po: New Swedish translation. 1926 1.1 skrll * po/opcodes.pot: Regenerate. 1927 1.1 skrll 1928 1.1 skrll 2003-07-16 Richard Henderson <rth (a] redhat.com> 1929 1.1 skrll 1930 1.1 skrll * config.bfd, configure.host, configure.in: Remove ia64-aix support. 1931 1.1 skrll * elfxx-ia64.c, targets.c: Likewise. 1932 1.1 skrll 1933 1.1 skrll 2003-07-16 Richard Henderson <rth (a] redhat.com> 1934 1.1 skrll 1935 1.1 skrll * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Properly return false 1936 1.1 skrll for symbols defined locally plus -Bsymbolic. Tidy logic. 1937 1.1 skrll 1938 1.1 skrll 2003-07-15 Richard Sandiford <rsandifo (a] redhat.com> 1939 1.1 skrll 1940 1.1 skrll * archures.c (bfd_mach_mips7000): New. 1941 1.1 skrll * bfd-in2.h: Regenerated. 1942 1.1 skrll * cpu-mips.c (arch_info_struct): Add an entry for mips:7000. 1943 1.1 skrll * elfxx-mips.c (mips_set_isa_flags): Handle bfd_mach_mips7000. 1944 1.1 skrll (mips_mach_extensions): Add an entry for it. 1945 1.1 skrll 1946 1.1 skrll 2003-07-14 Nick Clifton <nickc (a] redhat.com> 1947 1.1 skrll 1948 1.1 skrll * po/tr.po: Update with latest version. 1949 1.1 skrll * po/SRC-POTFILES.in: Regenerate. 1950 1.1 skrll * po/bfd.pot: Regenerate. 1951 1.1 skrll * Makfile.in: Regenerate. 1952 1.1 skrll * configure: Regenerate. 1953 1.1 skrll 1954 1.1 skrll 2003-07-12 Jeff Baker <jbaker (a] qnx.com> 1955 1.1 skrll 1956 1.1 skrll * config.bfd (__QNXTARGET__): Define for Neutrino architectures. 1957 1.1 skrll * elf32-arm.h (ELF_MAXPAGESIZE): Set to 4k for Neutrino. 1958 1.1 skrll * elf32-sh.c (ELF_MAXPAGESIZE): Set to 4k for Neutrino. 1959 1.1 skrll * elf32-ppc.c (ELF_MAXPAGESIZE): Set to 4k for Neutrino. 1960 1.1 skrll 1961 1.1 skrll 2003-07-12 Jeff Muizelaar <muizelaar (a] rogers.com> 1962 1.1 skrll 1963 1.1 skrll * coffcode.h (coff_set_section_contents): Set the 1964 1.1 skrll IMAGE_FILE_32BIT_MACHINE flag for PE targets. 1965 1.1 skrll 1966 1.1 skrll 2003-07-11 Richard Sandiford <rsandifo (a] redhat.com> 1967 1.1 skrll 1968 1.1 skrll * bfd-in.h (bfd_h8300_pad_address): Declare. 1969 1.1 skrll * bfd-in2.h: Regenerate. 1970 1.1 skrll * cpu-h8300.c (bfd_h8300_pad_address): New function. 1971 1.1 skrll * coff-h8300.c (h8300_reloc16_estimate): Use it to canonicalize 1972 1.1 skrll addresses before checking whether they can be relaxed. 1973 1.1 skrll (h8300_reloc16_extra_cases): Likewise for the R_MOVL2 sanity check. 1974 1.1 skrll Don't complain about overflows in general 8-bit relocations. 1975 1.1 skrll * elf32-h8300.c (elf32_h8_relax_section): Use bfd_h8300_pad_address. 1976 1.1 skrll Fix handling of R_H8_DIR24A8. 1977 1.1 skrll 1978 1.1 skrll 2003-07-11 Richard Sandiford <rsandifo (a] redhat.com> 1979 1.1 skrll 1980 1.1 skrll * elf32-h8300.c: Convert function prototypes and definitions 1981 1.1 skrll to C90 syntax. 1982 1.1 skrll * coff-h8300.c: Likewise. 1983 1.1 skrll * cpu-h8300.c: Likewise. 1984 1.1 skrll 1985 1.1 skrll 2003-07-11 Alan Modra <amodra (a] bigpond.net.au> 1986 1.1 skrll 1987 1.1 skrll * po/SRC-POTFILES.in: Regenerate. 1988 1.1 skrll * po/bfd.pot: Likewise. 1989 1.1 skrll 1990 1.1 skrll 2003-07-10 Bob Wilson <bob.wilson (a] acm.org> 1991 1.1 skrll 1992 1.1 skrll * elf32-xtensa.c (elf_xtensa_create_dynamic_sections): Create new 1993 1.1 skrll .got.loc section. Do not set SEC_ALLOC or SEC_LOAD flags for the 1994 1.1 skrll .xt.lit.plt section. 1995 1.1 skrll (elf_xtensa_size_dynamic_sections): Set size of the .got.loc section 1996 1.1 skrll and allocate memory for it. 1997 1.1 skrll (elf_xtensa_combine_prop_entries): Copy contents of .xt.lit output 1998 1.1 skrll section to the .got.loc section. 1999 1.1 skrll (elf_xtensa_finish_dynamic_sections): Fix up call to 2000 1.1 skrll elf_xtensa_combine_prop_entries and set DT_XTENSA_GOT_LOC_OFF to 2001 1.1 skrll the address of .got.loc. 2002 1.1 skrll (relax_property_section): Shrink .got.loc to match changes in any 2003 1.1 skrll literal table section. 2004 1.1 skrll (xtensa_is_property_section): Change to match 2005 1.1 skrll xtensa_get_property_section_name. 2006 1.1 skrll (xtensa_is_littable_section): New. 2007 1.1 skrll 2008 1.1 skrll 2003-07-10 H.J. Lu <hongjiu.lu (a] intel.com> 2009 1.1 skrll 2010 1.1 skrll * elfxx-ia64.c (IA64_HOWTO): Set dst_mask to -1 instead of 2011 1.1 skrll -1LL. 2012 1.1 skrll 2013 1.1 skrll 2003-07-10 Alan Modra <amodra (a] bigpond.net.au> 2014 1.1 skrll 2015 1.1 skrll * Makefile.am (BFD32_BACKENDS): Add elf32-am33lin.lo. 2016 1.1 skrll (BFD32_BACKENDS_CFILES): elf32-am33lin.c not elf32-am33lin.lo. 2017 1.1 skrll Run "make dep-am". 2018 1.1 skrll * Makefile.in: Regenerate. 2019 1.1 skrll 2020 1.1 skrll 2003-07-10 Alexandre Oliva <aoliva (a] redhat.com> 2021 1.1 skrll 2022 1.1 skrll 2001-09-12 Alexandre Oliva <aoliva (a] redhat.com> 2023 1.1 skrll * elf32-am33lin.c (ELF_MACHINE_CODE): Redefine to EM_MN10300. 2024 1.1 skrll (ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10300. 2025 1.1 skrll 2001-06-02 Nick Clifton <nickc (a] cambridge.redhat.com> 2026 1.1 skrll * elf32-am33lin.c: Rename global functions. 2027 1.1 skrll 2001-05-09 Alexandre Oliva <aoliva (a] redhat.com> 2028 1.1 skrll * config.bfd (am33_2.0, am33_2.0-*-linux*): Added. 2029 1.1 skrll * configure.in (bfd_elf32_am33lin_vec): Added. 2030 1.1 skrll * Makefile.am (BFD32_BACKENDS): Added elf32-am33lin.lo. 2031 1.1 skrll (elf32-am33lin.lo): List dependencies. 2032 1.1 skrll * aclocal.m4, configure, Makefile.in: Rebuilt. 2033 1.1 skrll * elf-m10300.c (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, 2034 1.1 skrll ELF_ARCH, ELF_MACHINE_CODE, ELF_MAXPAGESIZE): Define only if 2035 1.1 skrll ELF_ARCH was not defined before. 2036 1.1 skrll (elf_symbol_leading_char): Define if not defined. 2037 1.1 skrll * elf32-am33lin.c: Override the definitions above. 2038 1.1 skrll * targets.c (bfd_elf32_am33lin_vec): New. 2039 1.1 skrll 2040 1.1 skrll 2003-07-09 Alexandre Oliva <aoliva (a] redhat.com> 2041 1.1 skrll 2042 1.1 skrll 2002-12-12 Alexandre Oliva <aoliva (a] redhat.com> 2043 1.1 skrll * elf-m10300.c (elf32_mn10300_link_hash_newfunc): Initialize 2044 1.1 skrll pcrel_relocs_copied. 2045 1.1 skrll 2001-12-13 Alexandre Oliva <aoliva (a] redhat.com> 2046 1.1 skrll * elf-m10300.c (ELF_DYNAMIC_INTERPRETER): Renamed from 2047 1.1 skrll ld-linux.so.2 to ld.so.1. 2048 1.1 skrll 2001-10-10 Alexandre Oliva <aoliva (a] redhat.com> 2049 1.1 skrll * elf-m10300.c (elf_mn10300_sizeof_plt0): New macro. 2050 1.1 skrll (_bfd_mn10300_elf_adjust_dynamic_symbol): Use it. 2051 1.1 skrll (_bfd_mn10300_elf_finish_dynamic_symbol): Likewise. 2052 1.1 skrll * elf-m10300.c (_bfd_mn10300_elf_size_dynamic_sections): Allocate 2053 1.1 skrll .rela.* section contents with bfd_zalloc. 2054 1.1 skrll 2001-09-25 Alexandre Oliva <aoliva (a] redhat.com> 2055 1.1 skrll * elf-m10300.c: Added declarations for functions missing them. 2056 1.1 skrll Merge some shared-library changes from the i386 back-end. Use 2057 1.1 skrll R_MN10300_RELATIVE instead of R_MN10300_PCREL32 and 2058 1.1 skrll R_MN10300_GLOB_DAT instead of R_MN10300_32 where appropriate. 2059 1.1 skrll (struct elf32_mn10300_link_hash_entry): Remove duplicates of 2060 1.1 skrll members of elf_link_hash_entry. Adjusted references. 2061 1.1 skrll (mn10300_elf_final_link_relocate): dynobj was already loaded 2062 1.1 skrll into a local variable, use it. 2063 1.1 skrll 2001-09-21 Nick Clifton <nickc (a] cambridge.redhat.com> 2064 1.1 skrll * elf-m10300.c: Add missing function prototypes. 2065 1.1 skrll 2001-08-24 Alexandre Oliva <aoliva (a] redhat.com> 2066 1.1 skrll * elf-m10300.c (mn10300_elf_relocate_section): Don't compute 2067 1.1 skrll relocation for dynamic relocations. 2068 1.1 skrll 2001-05-16 Alexandre Oliva <aoliva (a] redhat.com> 2069 1.1 skrll * reloc.c (BFD_RELOC_MN10300_GOTOFF24): New. 2070 1.1 skrll * elf-m10300.c: Introduce GOTPC16, GOTOFF24, GOTOFF16 and 2071 1.1 skrll PLT16, and rename GOTPC to GOTPC32 and GOTOFF to GOTOFF32. 2072 1.1 skrll (_bfd_mn10300_elf_create_dynamic_sections): Move creation ot PLT... 2073 1.1 skrll (_bfd_mn10300_elf_create_got_section): ... here, so that its 2074 1.1 skrll adress is already known at the time we compute relaxations. 2075 1.1 skrll (mn10300_elf_relax_section): Relax GOTPC32, GOTOFF32, GOT32 2076 1.1 skrll and PLT32 to narrower relocations. 2077 1.1 skrll * libbfd.h, bfd-in2.h: Rebuilt. 2078 1.1 skrll 2001-04-12 Alexandre Oliva <aoliva (a] redhat.com> 2079 1.1 skrll * reloc.c (BFD_RELOC_MN10300_GOT32, BFD_RELOC_MN10300_GOT24, 2080 1.1 skrll BFD_RELOC_MN10300_GOT16, BFD_RELOC_MN10300_COPY, 2081 1.1 skrll BFD_RELOC_MN10300_GLOB_DAT, BFD_RELOC_MN10300_JMP_SLOT, 2082 1.1 skrll BFD_RELOC_MN10300_RELATIVE): New relocs. 2083 1.1 skrll * libbfd.h, bfd-in2.h: Rebuilt. 2084 1.1 skrll * elf-m10300.c (struct elf_mn10300_pcrel_relocs_copied): New. 2085 1.1 skrll (struct elf32_mn10300_link_hash_entry): Added DSO-related 2086 1.1 skrll fields. 2087 1.1 skrll (elf_mn10300_howto): Defined new relocation types. 2088 1.1 skrll (mn10300_reloc_map): Map them. 2089 1.1 skrll (_bfd_mn10300_elf_create_got_section): New fn. 2090 1.1 skrll (mn10300_elf_check_relocs): Handle PIC relocs. 2091 1.1 skrll (mn10300_elf_final_link_relocate): Likewise. 2092 1.1 skrll (mn10300_elf_relocate_section): Handle DSOs. 2093 1.1 skrll (PLT0_ENTRY_SIZE, PLT_ENTRY_SIZE, PIC_PLT_ENTRY_SIZE): New macros. 2094 1.1 skrll (elf_mn10300_plt0_entry, elf_mn10300_plt_entry, 2095 1.1 skrll elf_mn10300_pic_plt_entry): New. 2096 1.1 skrll (elf_mn10300_sizeof_plt, elf_mn10300_plt_plt0_offset, 2097 1.1 skrll elf_mn10300_plt0_linker_offset, elf_mn10300_plt0_gotid_offset, 2098 1.1 skrll elf_mn10300_plt_temp_offset, elf_mn10300_plt_symbol_offset, 2099 1.1 skrll elf_mn10300_plt_reloc_offset: New macros. 2100 1.1 skrll (ELF_DYNAMIC_INTERPRETER): Likewise. 2101 1.1 skrll (_bfd_mn10300_elf_create_dynamic_sections): New function. 2102 1.1 skrll (_bfd_mn10300_elf_adjust_dynamic_symbol): Likewise. 2103 1.1 skrll (_bfd_mn10300_elf_discard_copies): Likewise. 2104 1.1 skrll (_bfd_mn10300_elf_size_dynamic_sections): Likewise. 2105 1.1 skrll (_bfd_mn10300_elf_finish_dynamic_symbol): Likewise. 2106 1.1 skrll (_bfd_mn10300_elf_finish_dynamic_sections): Likewise. 2107 1.1 skrll (elf_backend_can_gc_sections, 2108 1.1 skrll elf_backend_create_dynamic_sections, 2109 1.1 skrll elf_backend_adjust_dynamic_sections, 2110 1.1 skrll elf_backend_size_dynamic_sections, 2111 1.1 skrll elf_backend_finish_dynamic_symbol, 2112 1.1 skrll elf_backend_finish_dynamic_sections, elf_backend_want_got_plt, 2113 1.1 skrll elf_backend_plt_readonly, elf_backend_want_plt_sym, 2114 1.1 skrll elf_backend_got_header_size, elf_backend_plt_header_size): New 2115 1.1 skrll macros. 2116 1.1 skrll 2117 1.1 skrll 2003-07-09 Alexandre Oliva <aoliva (a] redhat.com> 2118 1.1 skrll 2119 1.1 skrll 2001-05-06 Alexandre Oliva <aoliva (a] redhat.com> 2120 1.1 skrll * elf-m10300.c (compute_function_info): Account for AM33 2121 1.1 skrll registers in `movm' when computing stack space for `call' when 2122 1.1 skrll linking for AM33/2.0 link. 2123 1.1 skrll 2000-04-01 Alexandre Oliva <aoliva (a] cygnus.com> 2124 1.1 skrll * archures.c (bfd_mach_am33_2): Renamed from bfd_mach_am332. 2125 1.1 skrll * bfd-in2.h: Rebuilt. 2126 1.1 skrll * cpu-m10300.c (bfd_am33_2_arch): Renamed from bfd_am332_arch. 2127 1.1 skrll * elf-m10300.c: Updated. 2128 1.1 skrll 2000-03-31 Alexandre Oliva <aoliva (a] cygnus.com> 2129 1.1 skrll * archures.c (bfd_mach_am332): Defined. 2130 1.1 skrll * bfd-in2.h: Rebuilt. 2131 1.1 skrll * cpu-m10300.c (bfd_am332_arch): Defined. 2132 1.1 skrll (bfd_am33_arch): Chained with am33-2. 2133 1.1 skrll * elf-m10300.c (elf_mn10300_mach): Handle am332. 2134 1.1 skrll (_bfd_mn10300_elf_final_write_processing): Likewise. 2135 1.1 skrll 2136 1.1 skrll 2003-07-09 H.J. Lu <hongjiu.lu (a] intel.com> 2137 1.1 skrll 2138 1.1 skrll * elfxx-ia64.c (IA64_HOWTO): Set dst_mask to -1LL. 2139 1.1 skrll 2140 1.1 skrll 2003-07-10 Alan Modra <amodra (a] bigpond.net.au> 2141 1.1 skrll 2142 1.1 skrll * elf64-ppc.c (bfd_elf64_mkobject): Define. 2143 1.1 skrll (struct ppc64_elf_obj_tdata): New. 2144 1.1 skrll (ppc64_elf_tdata, ppc64_tlsld_got): Define. 2145 1.1 skrll (ppc64_elf_mkobject): New function. 2146 1.1 skrll (struct got_entry): Add "owner". Move "tls_type". 2147 1.1 skrll (struct ppc_link_hash_table): Delete "relgot", "tlsld_got". 2148 1.1 skrll (ppc64_elf_init_stub_bfd): New function. 2149 1.1 skrll (create_got_section): Create header .got in dynobj. Create .got 2150 1.1 skrll and .rela.got in each bfd. Stash pointers in ppc64_elf_obj_tdata. 2151 1.1 skrll (ppc64_elf_create_dynamic_sections): Don't call create_got_section. 2152 1.1 skrll Look for dynobj .got, and test it. 2153 1.1 skrll (ppc64_elf_copy_indirect_symbol): Adjust for changed got. 2154 1.1 skrll (update_local_sym_info): Likewise. 2155 1.1 skrll (ppc64_elf_check_relocs): Likewise. 2156 1.1 skrll (ppc64_elf_gc_sweep_hook): Likewise. 2157 1.1 skrll (ppc64_elf_tls_optimize): Likewise. 2158 1.1 skrll (allocate_dynrelocs): Likewise. 2159 1.1 skrll (ppc64_elf_size_dynamic_sections): Likewise. 2160 1.1 skrll (ppc64_elf_relocate_section): Likewise. 2161 1.1 skrll (ppc64_elf_next_toc_section): Update comment. 2162 1.1 skrll (toc_adjusting_stub_needed): Remove unneeded cast. 2163 1.1 skrll (ppc64_elf_build_stubs): Check for stub sections in stub bfd by 2164 1.1 skrll testing section flags. 2165 1.1 skrll (ppc64_elf_build_stubs): Likewise. 2166 1.1 skrll (ppc64_elf_size_stubs): Likewise. Remove stub_bfd param. 2167 1.1 skrll (ppc64_elf_finish_dynamic_sections): Write out got sections. 2168 1.1 skrll (func_desc_adjust): Copy over dynamic info for undef weaks. 2169 1.1 skrll * elf64-ppc.h (ppc64_elf_init_stub_bfd): Declare. 2170 1.1 skrll (ppc64_elf_size_stubs): Update prototype. 2171 1.1 skrll * elflink.h (elf_link_sort_relocs): Use link_orders to find reldyn 2172 1.1 skrll input sections rather than scanning dynobj. 2173 1.1 skrll 2174 1.1 skrll 2003-07-09 Richard Sandiford <rsandifo (a] redhat.com> 2175 1.1 skrll 2176 1.1 skrll * elfxx-mips.c (mips_elf_link_hash_entry): Remove min_dyn_reloc_index. 2177 1.1 skrll (bfd_mips_elf_swap_msym_in, bfd_mips_elf_swap_msym_out): Delete. 2178 1.1 skrll (mips_elf_create_msym_section): Delete. 2179 1.1 skrll (mips_elf_create_dynamic_relocation): Don't set min_dyn_reloc_index. 2180 1.1 skrll (_bfd_mips_elf_copy_indirect_symbol): Likewise. 2181 1.1 skrll (_bfd_mips_elf_create_dynamic_sections): Don't create .msym. 2182 1.1 skrll (_bfd_mips_elf_size_dynamic_sections): Don't calculate its size. 2183 1.1 skrll (_bfd_mips_elf_size_dynamic_sections): Don't add DT_MIPS_MSYM. 2184 1.1 skrll (_bfd_mips_elf_finish_dynamic_symbol): Don't add symbols to .msym. 2185 1.1 skrll (_bfd_mips_elf_finish_dynamic_sections): Likewise. 2186 1.1 skrll 2187 1.1 skrll 2003-07-09 Richard Sandiford <rsandifo (a] redhat.com> 2188 1.1 skrll 2189 1.1 skrll * elfxx-mips.c (mips_elf_irix6_finish_dynamic_symbol): Make the 2190 1.1 skrll symbols protected. 2191 1.1 skrll 2192 1.1 skrll 2003-07-09 Richard Sandiford <rsandifo (a] redhat.com> 2193 1.1 skrll 2194 1.1 skrll * elfxx-mips.c (mips_elf_create_dynamic_relocation): Fix handling 2195 1.1 skrll of relocations whose offset is -2. 2196 1.1 skrll 2197 1.1 skrll 2003-07-09 Richard Sandiford <rsandifo (a] redhat.com> 2198 1.1 skrll 2199 1.1 skrll * elfxx-mips.c (mips_elf_create_dynamic_relocation): Treat 2200 1.1 skrll forced-local symbols like other locals. Don't create relocations 2201 1.1 skrll against STN_UNDEF in irix objects. 2202 1.1 skrll 2203 1.1 skrll 2003-07-09 Richard Sandiford <rsandifo (a] redhat.com> 2204 1.1 skrll 2205 1.1 skrll * elfxx-mips.c (mips_elf_create_dynamic_relocation): In SGI- 2206 1.1 skrll compatible objects, add the values of defined external symbols 2207 1.1 skrll to the addend. 2208 1.1 skrll 2209 1.1 skrll 2003-07-09 Richard Sandiford <rsandifo (a] redhat.com> 2210 1.1 skrll 2211 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Always 2212 1.1 skrll initialize a GOT entry to the symbol's st_value. 2213 1.1 skrll 2214 1.1 skrll 2003-07-08 Alan Modra <amodra (a] bigpond.net.au> 2215 1.1 skrll 2216 1.1 skrll * elf-bfd.h (struct elf_obj_tdata): Move linker_section_pointers.. 2217 1.1 skrll * elf32-ppc.c (struct ppc_elf_obj_tdata): ..to here. New. 2218 1.1 skrll (ppc_elf_tdata): Define. 2219 1.1 skrll (elf_local_ptr_offsets): Adjust. 2220 1.1 skrll (ppc_elf_mkobject): New function. 2221 1.1 skrll (bfd_elf32_mkobject): Define. 2222 1.1 skrll 2223 1.1 skrll * elfcode.h (elf_object_p): Allocate tdata via _bfd_set_format. 2224 1.1 skrll * elfcore.h (elf_core_file_p): Likewise. 2225 1.1 skrll * section.c (bfd_section_init): Remove prototype. 2226 1.1 skrll 2227 1.1 skrll 2003-07-08 Alan Modra <amodra (a] bigpond.net.au> 2228 1.1 skrll 2229 1.1 skrll * elf-bfd.h (struct elf_link_hash_entry): Remove linker_section_pointer 2230 1.1 skrll field. 2231 1.1 skrll (enum elf_linker_section_enum): Delete. 2232 1.1 skrll (struct elf_linker_section): Delete. 2233 1.1 skrll (struct elf_linker_section_pointers): Delete. 2234 1.1 skrll (struct elf_obj_tdata): Remove #if 0 chunk. Remove linker_section. 2235 1.1 skrll Make linker_section_pointers a void**. 2236 1.1 skrll (elf_local_ptr_offsets, elf_linker_section): Don't define. 2237 1.1 skrll * elf32-ppc.c (enum elf_linker_section_enum): New, cut-down version 2238 1.1 skrll of old item in elf-bfd.h. 2239 1.1 skrll (struct elf_linker_section): Likewise. 2240 1.1 skrll (struct elf_linker_section_pointers): Likewise. 2241 1.1 skrll (elf_local_ptr_offsets): Define. 2242 1.1 skrll (struct ppc_elf_link_hash_entry): Add linker_section_pointer. 2243 1.1 skrll (ppc_elf_link_hash_newfunc): Init it. 2244 1.1 skrll (struct ppc_elf_link_hash_table): Add sbss. 2245 1.1 skrll (ppc_elf_link_hash_table_create): zmalloc rather than clearing 2246 1.1 skrll individual fields. 2247 1.1 skrll (elf_create_linker_section): Fold into.. 2248 1.1 skrll (ppc_elf_create_linker_section): ..here. Remove hole_size code. 2249 1.1 skrll Make rela section here if shared. 2250 1.1 skrll (elf_find_pointer_linker_section): Pass lsect rather than enum. 2251 1.1 skrll (elf_create_pointer_linker_section): Adjust. zalloc rather than 2252 1.1 skrll clearing in a loop. 2253 1.1 skrll (elf_finish_pointer_linker_section): Adjust. Don't make rela 2254 1.1 skrll section here. 2255 1.1 skrll (ppc_elf_check_relocs): Adjust. 2256 1.1 skrll (ppc_elf_add_symbol_hook): Tighten hash creator test. Remove code 2257 1.1 skrll creating .sbss by hand. 2258 1.1 skrll * elf.c (_bfd_elf_link_hash_newfunc): Adjust. 2259 1.1 skrll 2260 1.1 skrll 2003-07-04 Jakub Jelinek <jakub (a] redhat.com> 2261 1.1 skrll 2262 1.1 skrll * elf32-s390.c (elf_howto_table): Change R_390_GOT12 to 2263 1.1 skrll complain_overflow_bitfield. 2264 1.1 skrll * elf64-s390.c (elf_howto_table): Change R_390_GOT12 to 2265 1.1 skrll complain_overflow_bitfield. 2266 1.1 skrll 2267 1.1 skrll 2003-07-04 Jakub Jelinek <jakub (a] redhat.com> 2268 1.1 skrll 2269 1.1 skrll * elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Return 2270 1.1 skrll true even if -pie. 2271 1.1 skrll 2272 1.1 skrll 2003-07-04 Jakub Jelinek <jakub (a] redhat.com> 2273 1.1 skrll 2274 1.1 skrll * elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add rel_fptr_sec. 2275 1.1 skrll (elfNN_ia64_dynamic_symbol_p): Change info->shared into 2276 1.1 skrll !info->executable. 2277 1.1 skrll (get_fptr): For -pie create .opd as writable section and create 2278 1.1 skrll .rela.opd as well. 2279 1.1 skrll (elfNN_ia64_check_relocs): Change info->shared into 2280 1.1 skrll !info->executable. 2281 1.1 skrll (allocate_fptr): Likewise. 2282 1.1 skrll (allocate_dynrel_entries): Account for a relative reloc for -pie 2283 1.1 skrll @fptr(). Don't account for a relative reloc if -pie want_ltoff_fptr 2284 1.1 skrll for undefweak symbol. Account for an IPLT reloc in .rela.opd 2285 1.1 skrll section if -pie. 2286 1.1 skrll (set_got_entry): Don't create a relative reloc if -pie 2287 1.1 skrll want_ltoff_fptr for undefweak symbol. 2288 1.1 skrll (set_fptr_entry): Emit an IPLT reloc in .rela.opd for -pie. 2289 1.1 skrll (elfNN_ia64_relocate_section): Emit a relative reloc for -pie 2290 1.1 skrll @fptr(). 2291 1.1 skrll 2292 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relocate_section): Issue undefined_symbol 2293 1.1 skrll even if -pie. 2294 1.1 skrll * elf32-i386.c (elf_i386_relocate_section): Likewise. 2295 1.1 skrll * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. 2296 1.1 skrll * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. 2297 1.1 skrll * elf64-s390.c (elf_s390_relocate_section): Likewise. 2298 1.1 skrll * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. 2299 1.1 skrll * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. 2300 1.1 skrll * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. 2301 1.1 skrll * elf32-s390.c (elf_s390_relocate_section): Likewise. 2302 1.1 skrll * elf32-ppc.c (ppc_elf_relocate_section): Likewise. 2303 1.1 skrll 2304 1.1 skrll 2003-07-04 Paul Clarke <paulc (a] senet.com.au> 2305 1.1 skrll 2306 1.1 skrll * elf32-h8300.c (R_H8_DIR32A16): Fix name field. 2307 1.1 skrll (elf32_h8_relax_section) <R_H8_DIR16A8>: Adjust position of relocation. 2308 1.1 skrll <R_H8_DIR32A16>: Fix type of relocation. 2309 1.1 skrll 2310 1.1 skrll 2003-07-04 Kaz Kojima <kkojima (a] rr.iij4u.or.jp> 2311 1.1 skrll 2312 1.1 skrll * elf32-sh.c (sh_elf_create_dynamic_sections): Return if dynamic 2313 1.1 skrll sections were created already. Remove unnecessary tests of 2314 1.1 skrll the previous change. 2315 1.1 skrll 2316 1.1 skrll 2003-07-04 Kaz Kojima <kkojima (a] rr.iij4u.or.jp> 2317 1.1 skrll 2318 1.1 skrll * elf32-sh.c (sh_elf_create_dynamic_sections): Don't call 2319 1.1 skrll bfd_make_section for existing sections. 2320 1.1 skrll 2321 1.1 skrll 2003-07-04 Alan Modra <amodra (a] bigpond.net.au> 2322 1.1 skrll 2323 1.1 skrll * elf32-sparc.c (elf32_sparc_check_relocs): Don't call 2324 1.1 skrll create_got_section if we already have done so. 2325 1.1 skrll * elf32-sh.c (sh_elf_create_dynamic_sections): Likewise. 2326 1.1 skrll (sh_elf_check_relocs): Likewise. 2327 1.1 skrll (sh_elf_adjust_dynamic_symbol): Delete "dynobj" var. Use 2328 1.1 skrll htab->root.dynobj instead. 2329 1.1 skrll (sh_elf_check_relocs): Likewise. 2330 1.1 skrll (sh_elf_finish_dynamic_sections): Likewise. 2331 1.1 skrll 2332 1.1 skrll * section.c (bfd_make_section): Return NULL for existing section. 2333 1.1 skrll 2334 1.1 skrll 2003-07-04 Alan Modra <amodra (a] bigpond.net.au> 2335 1.1 skrll 2336 1.1 skrll * elf32-ppc.c (ppc_elf_create_dynamic_sections): Don't call 2337 1.1 skrll ppc_elf_create_got if we've already done so. 2338 1.1 skrll 2339 1.1 skrll * elf-bfd.h (_bfd_elf_create_linker_section) Don't declare. 2340 1.1 skrll (_bfd_elf_find_pointer_linker_section): Likewise. 2341 1.1 skrll (bfd_elf32_create_pointer_linker_section): Likewise. 2342 1.1 skrll (bfd_elf32_finish_pointer_linker_section): Likewise. 2343 1.1 skrll (bfd_elf64_create_pointer_linker_section): Likewise. 2344 1.1 skrll (bfd_elf64_finish_pointer_linker_section): Likewise. 2345 1.1 skrll (_bfd_elf_make_linker_section_rela): Likewise. 2346 1.1 skrll * elfcode.h (elf_create_pointer_linker_section): Don't define. 2347 1.1 skrll (elf_finish_pointer_linker_section): Likewise. 2348 1.1 skrll * elflink.c (_bfd_elf_make_linker_section_rela): Delete. 2349 1.1 skrll (_bfd_elf_create_linker_section): Move this function.. 2350 1.1 skrll (_bfd_elf_find_pointer_linker_section): ..and this.. 2351 1.1 skrll * elflink.h (elf_create_pointer_linker_section): ..and this.. 2352 1.1 skrll (elf_finish_pointer_linker_section): ..and this.. 2353 1.1 skrll * elf32-ppc.c: ..to here, renaming to the following, and adjusting 2354 1.1 skrll calls. 2355 1.1 skrll (elf_create_linker_section): Convert to C90, tidy. 2356 1.1 skrll (elf_find_pointer_linker_section): Likewise. 2357 1.1 skrll (elf_create_pointer_linker_section): Likewise. 2358 1.1 skrll (elf_finish_pointer_linker_section): Likewise. 2359 1.1 skrll * elf32-i370.c: Delete #if 0 code. 2360 1.1 skrll 2361 1.1 skrll 2003-07-02 Alan Modra <amodra (a] bigpond.net.au> 2362 1.1 skrll 2363 1.1 skrll * elf64-ppc.c (ppc64_elf_func_desc_adjust): Don't allow _savef* and 2364 1.1 skrll _restf* to be satisfied by shared libs, and always force them local. 2365 1.1 skrll (toc_adjusting_stub_needed): Avoid scanning linker created sections. 2366 1.1 skrll Correct test for "bl". 2367 1.1 skrll (ppc64_elf_relocate_section <R_PPC64_TLS>): Correct test for 2368 1.1 skrll primary opcode 31. 2369 1.1 skrll 2370 1.1 skrll 2003-07-01 Martin Schwidefsky <schwidefsky (a] de.ibm.com> 2371 1.1 skrll 2372 1.1 skrll * elf32-s390.c (s390_elf_ldisp_reloc): New prototype. 2373 1.1 skrll (s390_tls_reloc): New function. 2374 1.1 skrll (elf_howto_table): Add long displacement relocations R_390_20, 2375 1.1 skrll R_390_GOT20, R_390_GOTPLT20 and R_390_TLS_GOTIE20. 2376 1.1 skrll (elf_s390_reloc_type_lookup): Likewise. 2377 1.1 skrll (elf_s390_check_relocs): Likewise. 2378 1.1 skrll (elf_s390_gc_sweep_hook): Likewise. 2379 1.1 skrll (elf_s390_relocate_section): Likewise. 2380 1.1 skrll * elf64-s390.c: Same changes as for elf32-s390.c. 2381 1.1 skrll * reloc.c: Add long displacement relocations BFD_RELOC_390_20, 2382 1.1 skrll BFD_RELOC_390_GOT20, BFD_RELOC_390_GOTPLT20 and 2383 1.1 skrll BFD_RELOC_390_TLS_GOTIE20. 2384 1.1 skrll * bfd-in2.h: Regenerate. 2385 1.1 skrll * libbfd.h: Likewise. 2386 1.1 skrll 2387 1.1 skrll 2003-06-30 Alan Modra <amodra (a] bigpond.net.au> 2388 1.1 skrll 2389 1.1 skrll * cpu-ia64-opc.c (ext_imms_scaled): Don't sign extend using shifts. 2390 1.1 skrll (ins_imms, ins_immsm1u4): Likewise. Warning fix. 2391 1.1 skrll 2392 1.1 skrll 2003-06-29 Alan Modra <amodra (a] bigpond.net.au> 2393 1.1 skrll 2394 1.1 skrll * archive.c: Convert to C90, remove unnecessary prototypes and casts. 2395 1.1 skrll Replace PTR with void *. Formatting. 2396 1.1 skrll * archive64.c: Likewise. 2397 1.1 skrll * archures.c: Likewise. 2398 1.1 skrll * bfd-in.h: Likewise. 2399 1.1 skrll * bfd.c: Likewise. 2400 1.1 skrll * bfdio.c: Likewise. 2401 1.1 skrll * bfdwin.c: Likewise. 2402 1.1 skrll * cache.c: Likewise. 2403 1.1 skrll * corefile.c: Likewise. 2404 1.1 skrll * format.c: Likewise. 2405 1.1 skrll * init.c: Likewise. 2406 1.1 skrll * libbfd-in.h: Likewise. 2407 1.1 skrll * libbfd.c: Likewise. 2408 1.1 skrll * linker.c: Likewise. 2409 1.1 skrll * opncls.c: Likewise. 2410 1.1 skrll * reloc.c: Likewise. 2411 1.1 skrll * section.c: Likewise. 2412 1.1 skrll * simple.c: Likewise. 2413 1.1 skrll * syms.c: Likewise. 2414 1.1 skrll * targets.c: Likewise. 2415 1.1 skrll * bfd-in2.h: Regenerate. 2416 1.1 skrll * libbfd.h: Regenerate. 2417 1.1 skrll 2418 1.1 skrll * ecoff.c (bfd_debug_section): Add missing kept_section initialization. 2419 1.1 skrll * libbfd-in.h (_bfd_sh_align_load_span): Don't declare if defined. 2420 1.1 skrll * libbfd.c (COERCE32, EIGHT_GAZILLION): Simplify. 2421 1.1 skrll (bfd_getb64): Rewrite without parens. 2422 1.1 skrll (bfd_getl64, bfd_getb_signed_64, bfd_getl_signed_64): Likewise. 2423 1.1 skrll * cache.c (insert, snip): Remove INLINE. 2424 1.1 skrll * linker.c (bfd_link_add_undef): Likewise. 2425 1.1 skrll 2426 1.1 skrll 2003-06-29 Andreas Jaeger <aj (a] suse.de> 2427 1.1 skrll 2428 1.1 skrll * elf64-x86-64.c: Convert to ISO C90 prototypes, remove 2429 1.1 skrll unnecessary prototypes. Replace PTR with void *. 2430 1.1 skrll (elf64_x86_64_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL to 2431 1.1 skrll trim plt entries. Move undefweak non-default visibility test ... 2432 1.1 skrll (allocate_dynrelocs): ... from here. 2433 1.1 skrll (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO. 2434 1.1 skrll Change all callers. 2435 1.1 skrll (allocate_dynrelocs): Use SYMBOL_CALLS_LOCAL. Use 2436 1.1 skrll SYMBOL_REFERENCES_LOCAL for dynreloc check. 2437 1.1 skrll (elf64_x86_64_relocate_section): Use SYMBOL_CALLS_LOCAL for 2438 1.1 skrll dynreloc and .got relocs. 2439 1.1 skrll (elf64_x86_64_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL 2440 1.1 skrll for .got relocs. 2441 1.1 skrll 2442 1.1 skrll 2003-06-29 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 2443 1.1 skrll 2444 1.1 skrll * elfxx-mips.c: Allow lazy binding for R_MIPS_JALR. 2445 1.1 skrll 2446 1.1 skrll 2003-06-27 Nick Clifton <nickc (a] redhat.com> 2447 1.1 skrll 2448 1.1 skrll * opncls.c (bfd_add_gnu_debuglink_section): Rename to 2449 1.1 skrll bfd_add_gnu_debuglink_section and only create the section, do not 2450 1.1 skrll fill in its contents. 2451 1.1 skrll (bfd_fill_in_gnu_debuglink_section): New function. Fill in the 2452 1.1 skrll contents of a .gnu-debuglink section. 2453 1.1 skrll * bfd-in2.h: Regenerate. 2454 1.1 skrll 2455 1.1 skrll 2003-06-27 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 2456 1.1 skrll 2457 1.1 skrll * elfxx-mips.c: Revert .got alignment to 2**4. 2458 1.1 skrll 2459 1.1 skrll 2003-06-27 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 2460 1.1 skrll 2461 1.1 skrll * elf32-mips.c: Fix addend for _gp_disp special symbol. 2462 1.1 skrll 2463 1.1 skrll 2003-06-27 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 2464 1.1 skrll 2465 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_fake_sections): Remove non-default 2466 1.1 skrll relocation header setup. 2467 1.1 skrll 2468 1.1 skrll 2003-06-25 Alan Modra <amodra (a] bigpond.net.au> 2469 1.1 skrll 2470 1.1 skrll * elf32-ppc.c (ppc_elf_howto_table): Remove unnecessary cast. 2471 1.1 skrll (ppc_elf_reloc_type_lookup): Modify comment. 2472 1.1 skrll (ppc_elf_info_to_howto): Ditto. 2473 1.1 skrll (ppc_elf_relocate_section): Ditto. 2474 1.1 skrll (ppc_elf_check_relocs): Call ppc_elf_howto_init. 2475 1.1 skrll 2476 1.1 skrll 2003-06-25 Alan Modra <amodra (a] bigpond.net.au> 2477 1.1 skrll 2478 1.1 skrll * aout-ns32k.c: Correct spelling of "relocatable". 2479 1.1 skrll * aoutx.h: Likewise. 2480 1.1 skrll * bfd-in.h: Likewise. 2481 1.1 skrll * bfd.c: Likewise. 2482 1.1 skrll * bout.c: Likewise. 2483 1.1 skrll * coff-a29k.c: Likewise. 2484 1.1 skrll * coff-alpha.c: Likewise. 2485 1.1 skrll * coff-arm.c: Likewise. 2486 1.1 skrll * coff-i386.c: Likewise. 2487 1.1 skrll * coff-i860.c: Likewise. 2488 1.1 skrll * coff-i960.c: Likewise. 2489 1.1 skrll * coff-m68k.c: Likewise. 2490 1.1 skrll * coff-m88k.c: Likewise. 2491 1.1 skrll * coff-mcore.c: Likewise. 2492 1.1 skrll * coff-mips.c: Likewise. 2493 1.1 skrll * coff-or32.c: Likewise. 2494 1.1 skrll * coff-ppc.c: Likewise. 2495 1.1 skrll * coff-rs6000.c: Likewise. 2496 1.1 skrll * coff-sh.c: Likewise. 2497 1.1 skrll * coff-tic80.c: Likewise. 2498 1.1 skrll * coff64-rs6000.c: Likewise. 2499 1.1 skrll * cofflink.c: Likewise. 2500 1.1 skrll * cpu-ns32k.c: Likewise. 2501 1.1 skrll * ecoff.c: Likewise. 2502 1.1 skrll * ecofflink.c: Likewise. 2503 1.1 skrll * elf-bfd.h: Likewise. 2504 1.1 skrll * elf-eh-frame.c: Likewise. 2505 1.1 skrll * elf-hppa.h: Likewise. 2506 1.1 skrll * elf-m10200.c: Likewise. 2507 1.1 skrll * elf-m10300.c: Likewise. 2508 1.1 skrll * elf.c: Likewise. 2509 1.1 skrll * elf32-arm.h: Likewise. 2510 1.1 skrll * elf32-avr.c: Likewise. 2511 1.1 skrll * elf32-cris.c: Likewise. 2512 1.1 skrll * elf32-d10v.c: Likewise. 2513 1.1 skrll * elf32-dlx.c: Likewise. 2514 1.1 skrll * elf32-fr30.c: Likewise. 2515 1.1 skrll * elf32-frv.c: Likewise. 2516 1.1 skrll * elf32-h8300.c: Likewise. 2517 1.1 skrll * elf32-hppa.c: Likewise. 2518 1.1 skrll * elf32-i370.c: Likewise. 2519 1.1 skrll * elf32-i386.c: Likewise. 2520 1.1 skrll * elf32-i860.c: Likewise. 2521 1.1 skrll * elf32-i960.c: Likewise. 2522 1.1 skrll * elf32-ip2k.c: Likewise. 2523 1.1 skrll * elf32-iq2000.c: Likewise. 2524 1.1 skrll * elf32-m32r.c: Likewise. 2525 1.1 skrll * elf32-m68hc11.c: Likewise. 2526 1.1 skrll * elf32-m68hc1x.c: Likewise. 2527 1.1 skrll * elf32-m68k.c: Likewise. 2528 1.1 skrll * elf32-mcore.c: Likewise. 2529 1.1 skrll * elf32-mips.c: Likewise. 2530 1.1 skrll * elf32-msp430.c: Likewise. 2531 1.1 skrll * elf32-openrisc.c: Likewise. 2532 1.1 skrll * elf32-ppc.c: Likewise. 2533 1.1 skrll * elf32-s390.c: Likewise. 2534 1.1 skrll * elf32-sh.c: Likewise. 2535 1.1 skrll * elf32-sh64.c: Likewise. 2536 1.1 skrll * elf32-sparc.c: Likewise. 2537 1.1 skrll * elf32-v850.c: Likewise. 2538 1.1 skrll * elf32-vax.c: Likewise. 2539 1.1 skrll * elf32-xstormy16.c: Likewise. 2540 1.1 skrll * elf32-xtensa.c: Likewise. 2541 1.1 skrll * elf64-alpha.c: Likewise. 2542 1.1 skrll * elf64-hppa.c: Likewise. 2543 1.1 skrll * elf64-mips.c: Likewise. 2544 1.1 skrll * elf64-mmix.c: Likewise. 2545 1.1 skrll * elf64-ppc.c: Likewise. 2546 1.1 skrll * elf64-s390.c: Likewise. 2547 1.1 skrll * elf64-sh64.c: Likewise. 2548 1.1 skrll * elf64-sparc.c: Likewise. 2549 1.1 skrll * elf64-x86-64.c: Likewise. 2550 1.1 skrll * elfcode.h: Likewise. 2551 1.1 skrll * elflink.h: Likewise. 2552 1.1 skrll * elfn32-mips.c: Likewise. 2553 1.1 skrll * elfxx-ia64.c: Likewise. 2554 1.1 skrll * elfxx-mips.c: Likewise. 2555 1.1 skrll * i386linux.c: Likewise. 2556 1.1 skrll * ieee.c: Likewise. 2557 1.1 skrll * libcoff-in.h: Likewise. 2558 1.1 skrll * linker.c: Likewise. 2559 1.1 skrll * m68klinux.c: Likewise. 2560 1.1 skrll * pdp11.c: Likewise. 2561 1.1 skrll * pe-mips.c: Likewise. 2562 1.1 skrll * peXXigen.c: Likewise. 2563 1.1 skrll * reloc.c: Likewise. 2564 1.1 skrll * reloc16.c: Likewise. 2565 1.1 skrll * sparclinux.c: Likewise. 2566 1.1 skrll * sunos.c: Likewise. 2567 1.1 skrll * syms.c: Likewise. 2568 1.1 skrll * versados.c: Likewise. 2569 1.1 skrll * vms.c: Likewise. 2570 1.1 skrll * xcofflink.c: Likewise. 2571 1.1 skrll * bfd-in2.h: Regenerate. 2572 1.1 skrll * libcoff.h: Regenerate. 2573 1.1 skrll * libbfd.h: Regenerate. 2574 1.1 skrll 2575 1.1 skrll 2003-06-24 Alan Modra <amodra (a] bigpond.net.au> 2576 1.1 skrll 2577 1.1 skrll * elf32-ppc.c (ppc_elf_check_relocs): Report plt reloc against 2578 1.1 skrll local sym errors. 2579 1.1 skrll 2580 1.1 skrll * elf32-i386.c: Convert to C90 function definitions, remove unnecessary 2581 1.1 skrll prototypes and casts. Replace PTR with void *. Formatting. 2582 1.1 skrll * elf32-ppc.c: Likewise. Break long strings too. 2583 1.1 skrll (ppc_elf_relax_section): Use enum elf_ppc_reloc_type for r_type. 2584 1.1 skrll (ppc_elf_unhandled_reloc): Internationalize error message. 2585 1.1 skrll * elf32-ppc.h: Remove PARAMS. 2586 1.1 skrll 2587 1.1 skrll 2003-06-23 Mark Mitchell <mark (a] codesourcery.com> 2588 1.1 skrll 2589 1.1 skrll * elf32-ppc.c (ppc_elf_begin_write_processing): Use bytes to count 2590 1.1 skrll APUinfo slots. 2591 1.1 skrll (ppc_elf_final_write_processing): Likewise. 2592 1.1 skrll 2593 1.1 skrll 2003-06-23 H.J. Lu <hongjiu.lu (a] intel.com> 2594 1.1 skrll 2595 1.1 skrll * elflink.h (elf_link_input_bfd): Check raw size when using 2596 1.1 skrll kept_section to preserve debug information discarded by 2597 1.1 skrll linkonce. 2598 1.1 skrll 2599 1.1 skrll 2003-06-20 Alan Modra <amodra (a] bigpond.net.au> 2600 1.1 skrll 2601 1.1 skrll * elf64-ppc.c (struct ppc_link_hash_table): Add top_id. 2602 1.1 skrll (ppc64_elf_setup_section_lists): Set it. 2603 1.1 skrll (ppc64_elf_relocate_section): Check sym section id against top_id. 2604 1.1 skrll (ppc_build_one_stub): Comment on top_id. 2605 1.1 skrll 2606 1.1 skrll 2003-06-20 Ralf Corsepius <corsepiu (a] faw.uni-ulm.de> 2607 1.1 skrll 2608 1.1 skrll * config.bfd: Add tic4x-*-rtems*. 2609 1.1 skrll 2610 1.1 skrll 2003-06-20 Alan Modra <amodra (a] bigpond.net.au> 2611 1.1 skrll 2612 1.1 skrll * elf64-ppc.c: Convert to C90 function definitions, remove unnecessary 2613 1.1 skrll prototypes and casts. Replace PTR with void *. Format copyright. 2614 1.1 skrll Mention ABI links. 2615 1.1 skrll (struct ppc_link_hash_table): Rename sgot, srelgot, splt, srelplt, 2616 1.1 skrll sdynbss, srelbss, sglink, sbrlt and srelbrlt to got, relgot .. relbrlt. 2617 1.1 skrll (ppc_type_of_stub): Make r_type an enum. 2618 1.1 skrll (ppc64_elf_size_stubs): Likewise. 2619 1.1 skrll * elf64-ppc.h: Remove PARAMS macro. 2620 1.1 skrll 2621 1.1 skrll 2003-06-19 Alan Modra <amodra (a] bigpond.net.au> 2622 1.1 skrll 2623 1.1 skrll * elf64-ppc.c (ppc64_elf_link_hash_table_create): Reinstate init of 2624 1.1 skrll elf hash tab fields. 2625 1.1 skrll 2626 1.1 skrll * elf64-ppc.c (ppc64_elf_reloc_type_lookup): Tidy prototype. 2627 1.1 skrll (ppc64_elf_info_to_howto): Likewise. 2628 1.1 skrll (ppc64_elf_build_stubs): Add "stats" param, and print statistics. 2629 1.1 skrll * elf64-ppc.h (ppc64_elf_build_stubs): Adjust prototype. 2630 1.1 skrll 2631 1.1 skrll 2003-06-19 Alan Modra <amodra (a] bigpond.net.au> 2632 1.1 skrll 2633 1.1 skrll * elf64-sparc.c (sparc64_elf_relocate_section): Ignore R_SPARC_DISP32 2634 1.1 skrll reloc overflow on discarded eh_frame entries. 2635 1.1 skrll 2636 1.1 skrll 2003-06-19 Alan Modra <amodra (a] bigpond.net.au> 2637 1.1 skrll 2638 1.1 skrll * elf64-ppc.c (toc_adjusting_stub_needed): New function. 2639 1.1 skrll (ppc64_elf_next_input_section): Use it here to set has_gp_reloc. 2640 1.1 skrll Return error condition. 2641 1.1 skrll (ppc64_elf_size_stubs): Restrict toc adjusting stubs to sections 2642 1.1 skrll that have has_gp_reloc set. 2643 1.1 skrll (struct ppc_link_hash_table): Add stub_count. 2644 1.1 skrll (ppc_build_one_stub): Increment it. 2645 1.1 skrll (ppc64_elf_link_hash_table_create): zmalloc rather than clearing 2646 1.1 skrll individual fields. 2647 1.1 skrll * elf64-ppc.h (ppc64_elf_next_input_section): Update prototype. 2648 1.1 skrll 2649 1.1 skrll 2003-06-18 Alan Modra <amodra (a] bigpond.net.au> 2650 1.1 skrll 2651 1.1 skrll * elflink.h (elf_gc_record_vtentry): Revert last change. Correct 2652 1.1 skrll size calculation from addend. Round size up. 2653 1.1 skrll 2654 1.1 skrll 2003-06-18 Hans-Peter Nilsson <hp (a] axis.com> 2655 1.1 skrll 2656 1.1 skrll * elf32-cris.c (cris_elf_relocate_section) <case 2657 1.1 skrll R_CRIS_32_GOTREL>: When linking a program, don't complain about a 2658 1.1 skrll symbol from a normal object or an undefined weak symbol. 2659 1.1 skrll 2660 1.1 skrll 2003-06-18 Alan Modra <amodra (a] bigpond.net.au> 2661 1.1 skrll 2662 1.1 skrll * elf64-ppc.c (ppc64_elf_relocate_section): Accept a symbol on 2663 1.1 skrll R_PPC64_TOC relocs. 2664 1.1 skrll 2665 1.1 skrll 2003-06-17 H.J. Lu <hongjiu.lu (a] intel.com> 2666 1.1 skrll 2667 1.1 skrll * section.c (struct sec): Put back kept_section. 2668 1.1 skrll (STD_SECTION): Put back kept_section initialization. 2669 1.1 skrll * bfd-in2.h: Regenerate. 2670 1.1 skrll 2671 1.1 skrll * elflink.h (elf_link_input_bfd): Also check discarded linkonce 2672 1.1 skrll sections for relocateable output. Use kept_section to preserve 2673 1.1 skrll debug information discarded by linkonce. 2674 1.1 skrll 2675 1.1 skrll 2003-06-17 Roland McGrath <roland (a] redhat.com> 2676 1.1 skrll 2677 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relocate_section): Support 2678 1.1 skrll segment-relative relocation between different segments. 2679 1.1 skrll 2680 1.1 skrll 2003-06-17 Alan Modra <amodra (a] bigpond.net.au> 2681 1.1 skrll 2682 1.1 skrll * elf64-ppc.c (ppc64_elf_relocate_section): Do unaligned reloc 2683 1.1 skrll optimizations earlier. 2684 1.1 skrll 2685 1.1 skrll * elf64-ppc.c (struct ppc_link_hash_table): Reinstate top_index. 2686 1.1 skrll Restore previous input_list type. 2687 1.1 skrll (ppc64_elf_link_hash_table_create): Undo last change. 2688 1.1 skrll (ppc64_elf_setup_section_lists): Reinstate code setting up input lists 2689 1.1 skrll per output section, but don't bother with bfd_abs_section marker. 2690 1.1 skrll (ppc64_elf_next_input_section): Adjust for multiple input section 2691 1.1 skrll lists. 2692 1.1 skrll (group_sections): Likewise. 2693 1.1 skrll 2694 1.1 skrll 2003-06-17 Jakub Jelinek <jakub (a] redhat.com> 2695 1.1 skrll 2696 1.1 skrll * elf64-ppc.c (ppc64_elf_relocation_section): Ensure 2697 1.1 skrll *r_offset == r_addend for RELATIVE relocs against .got. 2698 1.1 skrll 2699 1.1 skrll 2003-06-17 Alan Modra <amodra (a] bigpond.net.au> 2700 1.1 skrll 2701 1.1 skrll * elf64-ppc.c (ppc64_elf_relocate_section): Optimize unaligned relocs. 2702 1.1 skrll 2703 1.1 skrll 2003-06-17 Nick Clifton <nickc (a] redhat.com> 2704 1.1 skrll 2705 1.1 skrll * elflink.h (elf_gc_record_vtentry): Allocate an extra element 2706 1.1 skrll in the vtable_entries_used array to allow for the accessing 2707 1.1 skrll the largest element. 2708 1.1 skrll 2709 1.1 skrll 2003-06-17 Alan Modra <amodra (a] bigpond.net.au> 2710 1.1 skrll 2711 1.1 skrll * elf64-ppc.c (struct ppc_link_hash_table): Remove top_index. Modify 2712 1.1 skrll input_list. 2713 1.1 skrll (ppc64_elf_link_hash_table_create): Init input_list here. 2714 1.1 skrll (ppc64_elf_setup_section_lists): Remove code setting up input lists 2715 1.1 skrll per output section. Set toc_off for abs and other standard sections. 2716 1.1 skrll (ppc64_elf_reinit_toc): Don't set elf_gp on input bfds lacking a toc. 2717 1.1 skrll (ppc64_elf_next_input_section): Adjust for single input section list. 2718 1.1 skrll Don't set toc_curr from input bfds that haven't set elf_gp. 2719 1.1 skrll (group_sections): Adjust for single input section list. 2720 1.1 skrll 2721 1.1 skrll * elf64-ppc.c (ppc64_elf_relocate_section): Correct pcrel section zero. 2722 1.1 skrll 2723 1.1 skrll 2003-06-16 Alan Modra <amodra (a] bigpond.net.au> 2724 1.1 skrll 2725 1.1 skrll * elf64-ppc.c (ppc64_elf_relocate_section): When optimizing toctprel 2726 1.1 skrll tls, check that a TOC16_DS or TOC16_LO_DS reloc isn't pointing to a 2727 1.1 skrll dtprel entry. Ensure TLS_LD DTPMOD reloc has a zero addend. Write 2728 1.1 skrll got section for RELATIVE relocs. Fix wrong comment. Change condition 2729 1.1 skrll under which dynamic relocs update the section contents. 2730 1.1 skrll 2731 1.1 skrll 2003-06-13 Robert Millan <zeratul2 (a] wanadoo.es> 2732 1.1 skrll 2733 1.1 skrll * config.bfd: Add i386-netbsd-gnu target. 2734 1.1 skrll 2735 1.1 skrll 2003-06-12 Nick Clifton <nickc (a] redhat.com> 2736 1.1 skrll 2737 1.1 skrll * opncls.c (calc_crc32): Rename to 2738 1.1 skrll bfd_calc_gnu_debuglink_crc32 and export. 2739 1.1 skrll (GNU_DEBUGLINK): Define and use to replace occurrences of 2740 1.1 skrll hard-coded ".gnu_debuglink" in the code. 2741 1.1 skrll (get_debug_link_info): Prevent aborts by replacing call to 2742 1.1 skrll xmalloc with a call to malloc. 2743 1.1 skrll (find_separate_debug_file): Prevent aborts by replacing calls 2744 1.1 skrll to xmalloc and xstrdup with calls to malloc and strdup. 2745 1.1 skrll (bfd_add_gnu_debuglink): New function. Add a .gnu_debuglink 2746 1.1 skrll section to a bfd. 2747 1.1 skrll * bfd-in2.h: Regenerate. 2748 1.1 skrll 2749 1.1 skrll 2003-06-12 Federico G. Schwindt <fgsch (a] lodoss.net> 2750 1.1 skrll 2751 1.1 skrll * config.bfd (i[3-7]86-*-openbsd[0-2].* | i[3-7]86-*-openbsd3.[0-3]): 2752 1.1 skrll New target (was i[3-7]86-*-openbsd* before). 2753 1.1 skrll (i[3-7]86-*-openbsd*): Change to use bfd_elf32_i386_vec. 2754 1.1 skrll (vax-*-openbsd*): New target. 2755 1.1 skrll 2756 1.1 skrll 2003-06-11 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 2757 1.1 skrll 2758 1.1 skrll * elfxx-mips.c (MIPS_ELF_OPTIONS_SECTION_NAME): Use .MIPS.options 2759 1.1 skrll for n32, too. 2760 1.1 skrll (MIPS_ELF_STUB_SECTION_NAME): Use .MIPS.stubs for n32, too. 2761 1.1 skrll (mips_elf_rel_dyn_section): Use appropriate section alignment. 2762 1.1 skrll (mips_elf_create_got_section): Likewise. 2763 1.1 skrll (_bfd_mips_elf_create_dynamic_sections): Likewise. 2764 1.1 skrll 2765 1.1 skrll 2003-06-11 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 2766 1.1 skrll 2767 1.1 skrll * elf32-mips.c (mips_elf_generic_reloc): New Function. 2768 1.1 skrll (elf_mips_howto_table_rel): Use it. 2769 1.1 skrll (gprel32_with_gp): Move prototype. 2770 1.1 skrll (mips_elf_hi16_reloc): Check for ! BSF_LOCAL instead of zero addend. 2771 1.1 skrll Use mips_elf_generic_reloc. 2772 1.1 skrll (mips_elf_got16_reloc): Check for ! BSF_LOCAL instead of zero addend. 2773 1.1 skrll Code cleanup. 2774 1.1 skrll (_bfd_mips_elf32_gprel16_reloc): Check for ! BSF_LOCAL instead of 2775 1.1 skrll zero addend. 2776 1.1 skrll (mips_elf_gprel32_reloc): Likewise. Use the same GP assignment logic 2777 1.1 skrll as in the other *_gprel*_reloc functions. 2778 1.1 skrll (gprel32_with_gp): Handle partial_inplace properly. 2779 1.1 skrll (mips32_64bit_reloc): Use mips_elf_generic_reloc. 2780 1.1 skrll (mips16_gprel_reloc): Check for ! BSF_LOCAL instead of zero addend. 2781 1.1 skrll Do addend handling directly instead of calling 2782 1.1 skrll _bfd_mips_elf_gprel16_with_gp. Handle partial_inplace properly. 2783 1.1 skrll * elf64-mips.c (mips_elf64_hi16_reloc): Check for ! BSF_LOCAL instead 2784 1.1 skrll of zero addend. Handle partial_inplace properly. 2785 1.1 skrll (mips_elf64_got16_reloc): Check for ! BSF_LOCAL instead of zero 2786 1.1 skrll addend. 2787 1.1 skrll (mips_elf64_gprel16_reloc): Likewise. 2788 1.1 skrll (mips_elf64_literal_reloc): Likewise. 2789 1.1 skrll (mips_elf64_gprel32_reloc): Likewise. Use the same GP assignment 2790 1.1 skrll logic as in the other *_gprel*_reloc functions. Handle 2791 1.1 skrll partial_inplace properly. 2792 1.1 skrll (mips_elf64_shift6_reloc): Check for ! BSF_LOCAL instead of zero 2793 1.1 skrll addend. Handle partial_inplace properly. 2794 1.1 skrll (mips16_gprel_reloc): Likewise. Do addend handling directly instead 2795 1.1 skrll of calling _bfd_mips_elf_gprel16_with_gp. 2796 1.1 skrll * elfn32-mips.c (mips_elf_got16_reloc): Check for BSF_LOCAL. 2797 1.1 skrll (mips_elf_gprel32_reloc): Check for ! BSF_LOCAL instead 2798 1.1 skrll of zero addend. 2799 1.1 skrll (mips_elf_shift6_reloc): Handle partial_inplace properly. 2800 1.1 skrll (mips16_gprel_reloc): Likewise. Do addend handling directly instead 2801 1.1 skrll of calling _bfd_mips_elf_gprel16_with_gp. 2802 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp): Handle 2803 1.1 skrll partial_inplace properly. Fix wrong addend handling. Fix overflow 2804 1.1 skrll check. 2805 1.1 skrll (_bfd_mips_elf_sign_extend): Renamed from mips_elf_sign_extend and 2806 1.1 skrll exported. 2807 1.1 skrll (mips_elf_calculate_relocation): Use _bfd_mips_elf_sign_extend. 2808 1.1 skrll (_bfd_mips_elf_relocate_section): Likewise. 2809 1.1 skrll (mips_elf_create_dynamic_relocation): Update sec_info_type access. 2810 1.1 skrll * elfxx-mips.h (_bfd_mips_relax_section): Fix prototype declaration. 2811 1.1 skrll (_bfd_mips_elf_sign_extend): New prototype. 2812 1.1 skrll 2813 1.1 skrll 2003-06-11 Federico G. Schwindt <fgsch (a] lodoss.net> 2814 1.1 skrll 2815 1.1 skrll * config.bfd (sparc-*-openbsd[0-2].* | sparc-*-openbsd3.[0-1]): 2816 1.1 skrll New target (was sparc-*-openbsd* before). 2817 1.1 skrll (sparc-*-openbsd*): Change to use bfd_elf32_sparc_vec. 2818 1.1 skrll 2819 1.1 skrll * configure.in (vax-*-openbsd*): Set COREFILE to netbsd-core.lo. 2820 1.1 skrll * configure: Regenerate. 2821 1.1 skrll 2822 1.1 skrll 2003-06-11 H.J. Lu <hongjiu.lu (a] intel.com> 2823 1.1 skrll 2824 1.1 skrll * po/Make-in (DESTDIR): New. 2825 1.1 skrll (install-data-yes): Support $(DESTDIR). 2826 1.1 skrll (uninstall): Likewise. 2827 1.1 skrll 2828 1.1 skrll 2003-06-11 Alan Modra <amodra (a] bigpond.net.au> 2829 1.1 skrll 2830 1.1 skrll * Makefile.am (config.status): Depend on version.h. 2831 1.1 skrll Run "make dep-am". 2832 1.1 skrll * Makefile.in: Regenerate. 2833 1.1 skrll * po/SRC-POTFILES.in: Regenerate. 2834 1.1 skrll 2835 1.1 skrll 2003-06-10 Alan Modra <amodra (a] bigpond.net.au> 2836 1.1 skrll Gary Hade <garyhade (a] us.ibm.com> 2837 1.1 skrll 2838 1.1 skrll * elf64-ppc.c (ppc64_elf_relocate_section <*_DS>): Special case lq. 2839 1.1 skrll 2840 1.1 skrll 2003-06-10 Richard Sandiford <rsandifo (a] redhat.com> 2841 1.1 skrll 2842 1.1 skrll * archures.c (bfd_mach_h8300sxn): New architecture. 2843 1.1 skrll * bfd-in2.h: Regenerate. 2844 1.1 skrll * cpu-h8300.c (h8300_scan): Check for 'sxn'. 2845 1.1 skrll (h8300sxn_info_struct): New. 2846 1.1 skrll (h8300sx_info_struct): Link to it. 2847 1.1 skrll * elf32-h8300.c (elf32_h8_mach): Add h8300sxn case. 2848 1.1 skrll (elf32_h8_final_write_processing): Likewise. 2849 1.1 skrll 2850 1.1 skrll 2003-06-08 Alan Modra <amodra (a] bigpond.net.au> 2851 1.1 skrll 2852 1.1 skrll * elf64-ppc.c: Move TARGET_LITTLE_SYM and other macros used by 2853 1.1 skrll elfxx-target.h so that we can use elf_backend_got_header_size. 2854 1.1 skrll (ELF_MACHINE_ALT1, ELF_MACHINE_ALT2): Delete. 2855 1.1 skrll (GLINK_CALL_STUB_SIZE): Modify. Define new glink call stub and 2856 1.1 skrll associated macros. 2857 1.1 skrll (ppc64_elf_howto_raw <GOT_TPREL16_DS, GOT_TPREL16_LO_DS>): Correct 2858 1.1 skrll dst_mask. 2859 1.1 skrll (enum ppc_stub_type): Add ppc_stub_long_branch_r2off and 2860 1.1 skrll ppc_stub_plt_branch_r2off. 2861 1.1 skrll (struct ppc_stub_hash_entry): Reorganize. 2862 1.1 skrll (struct ppc_link_hash_table): Add no_multi_toc, multi_toc_needed, 2863 1.1 skrll toc_curr, toc_off and emit_stub_syms. 2864 1.1 skrll (ppc64_elf_link_hash_table_create): Init them. 2865 1.1 skrll (ppc_stub_name): Correct string size. 2866 1.1 skrll (ppc64_elf_check_relocs): Set has_gp_reloc on GOT and TOC relocs. 2867 1.1 skrll (ppc64_elf_size_dynamic_sections): Set no_multi_toc if GOT entries 2868 1.1 skrll used. 2869 1.1 skrll (ppc_type_of_stub): Tweak root.type test. 2870 1.1 skrll (build_plt_stub): Remove glink code. Adjust for insn macro changes. 2871 1.1 skrll (ppc_size_one_stub): Handle ppc_stub_long_branch_r2off and 2872 1.1 skrll ppc_stub_plt_branch_r2off. 2873 1.1 skrll (ppc_build_one_stub): Likewise. Fix var shadowing. Correct addis,addi 2874 1.1 skrll range test. Use toc_off to calculte r2 values. Handle emit_stub_syms. 2875 1.1 skrll (ppc64_elf_setup_section_lists): Remove htab creator flavour test. 2876 1.1 skrll Initialize elf_gp and toc_curr. 2877 1.1 skrll (ppc64_elf_next_toc_section, ppc64_elf_reinit_toc): New functions. 2878 1.1 skrll (ppc64_elf_next_input_section): Set toc_off. 2879 1.1 skrll (group_sections): Ensure groups have the same TOC. 2880 1.1 skrll (ppc64_elf_size_stubs): Check whether we need a TOC adjusting stub. 2881 1.1 skrll (ppc64_elf_build_stubs): Add emit_stub_syms param, and stash in htab. 2882 1.1 skrll Build new glink stub. 2883 1.1 skrll (ppc64_elf_relocate_section): Handle multiple TOCs. Fix comments. 2884 1.1 skrll (ppc64_elf_finish_dynamic_sections): Adjust DT_PPC64_GLINK. 2885 1.1 skrll * elf64-ppc.h (ppc64_elf_build_stubs): Update prototype. 2886 1.1 skrll (ppc64_elf_next_toc_section, ppc64_elf_reinit_toc): Declare. 2887 1.1 skrll * section.c (struct sec): Rename flag12 to has_gp_reloc. 2888 1.1 skrll (STD_SECTION): Update. 2889 1.1 skrll * ecoff.c (bfd_debug_section): Update comment. 2890 1.1 skrll * bfd-in2.h: Regenerate. 2891 1.1 skrll 2892 1.1 skrll 2003-06-05 Daniel Jacobowitz <drow (a] mvista.com> 2893 1.1 skrll 2894 1.1 skrll * elfcode.h (elf_slurp_reloc_table_from_section): Don't dereference 2895 1.1 skrll NULL function pointers. 2896 1.1 skrll 2897 1.1 skrll 2003-06-05 Daniel Jacobowitz <drow (a] mvista.com> 2898 1.1 skrll 2899 1.1 skrll * simple.c (bfd_simple_get_relocated_section_contents): Call 2900 1.1 skrll _bfd_generic_link_add_symbols instead of bfd_link_add_symbols. 2901 1.1 skrll 2902 1.1 skrll 2003-06-04 Svein E. Seldal <Svein.Seldal (a] solidas.com> 2903 1.1 skrll 2904 1.1 skrll * coff-tic54x.c: Removed the ticoff0_bad_format_hook() and 2905 1.1 skrll ticoff1_bad_format_hook() functions. Removed the coff0 and coff1 2906 1.1 skrll swaptables. 2907 1.1 skrll * coff-tic4x.c: Ditto 2908 1.1 skrll * coffcode.h: Added extra arguments to CREATE_BIG_COFF_TARGET_VEC 2909 1.1 skrll and CREATE_LITTLE_COFF_TARGET_VEC. Created the macro 2910 1.1 skrll CREATE_BIGHDR_COFF_TARGET_VEC. Created the ticoff0_bad_format_hook(), 2911 1.1 skrll ticoff1_bad_format_hook() functions. Created the coff0 and coff1 2912 1.1 skrll swap tables. 2913 1.1 skrll * coff-tic4x.c: Adopted new CREATE_xxx_COFF_TARGET_VEC macros. 2914 1.1 skrll * coff-a29k.c: Append COFF_SWAP_TABLE argument 2915 1.1 skrll * coff-apollo.c: Ditto 2916 1.1 skrll * coff-arm.c: Ditto 2917 1.1 skrll * coff-h8300.c: Ditto 2918 1.1 skrll * coff-h8500.c: Ditto 2919 1.1 skrll * coff-i960.c: Ditto 2920 1.1 skrll * coff-m68k.c: Ditto 2921 1.1 skrll * coff-m88k.c: Ditto 2922 1.1 skrll * coff-mcore.c: Ditto 2923 1.1 skrll * coff-sh.c: Ditto 2924 1.1 skrll * coff-sparc.c: Ditto 2925 1.1 skrll * coff-tic80.c: Ditto 2926 1.1 skrll * coff-we32k.c: Ditto 2927 1.1 skrll * coff-z8k.c: Ditto 2928 1.1 skrll * coff-w65.c: Ditto 2929 1.1 skrll 2930 1.1 skrll 2003-06-04 Svein E. Seldal <Svein.Seldal (a] solidas.com> 2931 1.1 skrll 2932 1.1 skrll * coff-tic4x.c (ticoff0_swap_table, ticoff1_swap_table): Fixed 2933 1.1 skrll initialization bug 2934 1.1 skrll 2935 1.1 skrll 2003-06-03 Jakub Jelinek <jakub (a] redhat.com> 2936 1.1 skrll 2937 1.1 skrll * elf.c (_bfd_elf_print_private_bfd_data): Handle PT_GNU_STACK. 2938 1.1 skrll (bfd_section_from_phdr): Likewise. 2939 1.1 skrll (map_sections_to_segments): Create PT_GNU_STACK segment header. 2940 1.1 skrll (get_program_header_size): Count with PT_GNU_STACK. 2941 1.1 skrll * elf-bfd.h (struct elf_obj_tdata): Add stack_flags. 2942 1.1 skrll * elflink.h (bfd_elfNN_size_dynamic_sections): Set stack_flags. 2943 1.1 skrll 2944 1.1 skrll 2003-06-03 H.J. Lu <hongjiu.lu (a] intel.com> 2945 1.1 skrll 2946 1.1 skrll * elflink.h (elf_link_input_bfd): Call linker error_handler 2947 1.1 skrll for discarded definitions. 2948 1.1 skrll 2949 1.1 skrll 2003-06-03 Elias Athanasopoulos <elathan (a] phys.uoa.gr> 2950 1.1 skrll 2951 1.1 skrll * syms.c (decode_section_type): Return 'n' if section flags are 2952 1.1 skrll SEC_HAS_CONTENTS && SEC_READONLY. 2953 1.1 skrll 2954 1.1 skrll 2003-06-03 Nick Clifton <nickc (a] redhat.com> 2955 1.1 skrll 2956 1.1 skrll * elf32-v850.c (v850_elf_howto_t): Rename R_V850_32to 2957 1.1 skrll R_V850_ABS32. Add entry for R_V850_REL32. 2958 1.1 skrll (v850_elf_reloc_map): Likewise. 2959 1.1 skrll (v850_elf_check_relocs): Likewise. 2960 1.1 skrll (v850_elf_perform_relocation): Likewise. 2961 1.1 skrll (v850_elf_final_link_relocate): Likewise. Include computation 2962 1.1 skrll to make R_V850_REl32 pc-relative. 2963 1.1 skrll 2964 1.1 skrll 2003-06-03 Kaz Kojima <kkojima (a] rr.iij4u.or.jp> 2965 1.1 skrll 2966 1.1 skrll * elf32-sh.c (sh_elf_size_dynamic_sections): Create .interp section 2967 1.1 skrll and DT_DEBUG dynamic tag even for position independent executables. 2968 1.1 skrll * elf64-sh64.c (sh64_elf64_size_dynamic_sections): Likewize. 2969 1.1 skrll 2970 1.1 skrll 2003-06-02 Daniel Jacobowitz <drow (a] mvista.com> 2971 1.1 skrll 2972 1.1 skrll * config.bfd: Move obsolete entries out of the range of the 2973 1.1 skrll targmatch sed script. 2974 1.1 skrll 2975 1.1 skrll 2003-06-02 Daniel Jacobowitz <drow (a] mvista.com> 2976 1.1 skrll 2977 1.1 skrll * config.bfd (mips*-dec-bsd*, mips*-*-pe*): Mark as obsolete. 2978 1.1 skrll 2979 1.1 skrll 2003-05-31 Jakub Jelinek <jakub (a] redhat.com> 2980 1.1 skrll 2981 1.1 skrll * elf32-ppc.c (allocate_dynrelocs): Use single slot for first 8192 2982 1.1 skrll plt entries, not just 8191. 2983 1.1 skrll 2984 1.1 skrll 2003-05-30 Daniel Jacobowitz <drow (a] mvista.com> 2985 1.1 skrll 2986 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_discard_info): Correct loop index. 2987 1.1 skrll Reported by Ken Faiczak <kfaiczak (a] SANDVINE.com>. 2988 1.1 skrll 2989 1.1 skrll 2003-05-30 Ulrich Drepper <drepper (a] redhat.com> 2990 1.1 skrll Jakub Jelinek <jakub (a] redhat.com> 2991 1.1 skrll 2992 1.1 skrll * elflink.h (elf_link_add_object_symbols): Use !info->executable 2993 1.1 skrll instead of info->shared where appropriate. 2994 1.1 skrll (bfd_elfNN_size_dynamic_sections, elf_link_output_extsym): Likewise. 2995 1.1 skrll * elflink.c (_bfd_elf_create_got_section): Likewise. 2996 1.1 skrll (_bfd_elf_link_create_dynamic_sections): Likewise. 2997 1.1 skrll (_bfd_elf_link_assign_sym_version): Likewise. 2998 1.1 skrll * elf32-i386.c (elf_i386_size_dynamic_sections): Create .interp section 2999 1.1 skrll and DT_DEBUG dynamic tag even for position independent executables. 3000 1.1 skrll * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise. 3001 1.1 skrll * elf32-s390.c (elf_s390_size_dynamic_sections: Likewise. 3002 1.1 skrll * elf64-ppc.c (ppc64_elf_size_dynamic_sections: Likewise. 3003 1.1 skrll * elf64-s390.c (elf_s390_size_dynamic_sections: Likewise. 3004 1.1 skrll * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections: Likewise. 3005 1.1 skrll * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections: Likewise. 3006 1.1 skrll * elf32-sparc.c (elf32_sparc_size_dynamic_sections: Likewise. 3007 1.1 skrll * elf64-alpha.c (elf64_alpha_size_dynamic_sections: Likewise. 3008 1.1 skrll * elf64-sparc.c (sparc64_elf_size_dynamic_sections: Likewise. 3009 1.1 skrll 3010 1.1 skrll 2003-05-30 Kris Warkentin <kewarken (a] qnx.com> 3011 1.1 skrll 3012 1.1 skrll * elf.c (elfcore_grok_nto_status): Only set lwpid for the active or 3013 1.1 skrll signalled thread. 3014 1.1 skrll (elfcore_grok_nto_gregs): Only make .reg section for the active thread. 3015 1.1 skrll 3016 1.1 skrll 2003-05-29 Nick Clifton <nickc (a] redhat.com> 3017 1.1 skrll 3018 1.1 skrll * pef.c: Include "safe-ctype.h" instead of <ctype.h>. 3019 1.1 skrll Tidy up formatting. 3020 1.1 skrll * Makefile.am: Add dependency on safe-ctype.h. 3021 1.1 skrll * Makefile.in: Regenerate. 3022 1.1 skrll 3023 1.1 skrll 2003-05-29 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 3024 1.1 skrll 3025 1.1 skrll * elfxx-mips.c: Don't force symbols local unconditionally. 3026 1.1 skrll 3027 1.1 skrll 2003-05-28 Alan Modra <amodra (a] bigpond.net.au> 3028 1.1 skrll 3029 1.1 skrll * elf32-hppa.c (elf32_hppa_relocate_section): Delete bogus 3030 1.1 skrll undefined_symbol call. 3031 1.1 skrll 3032 1.1 skrll 2003-05-27 Richard Sandiford <rsandifo (a] redhat.com> 3033 1.1 skrll 3034 1.1 skrll * elfxx-mips.c (mips_elf_hash_sort_data): Fix formattting. 3035 1.1 skrll (mips_elf_link_hash_table): Likewise. 3036 1.1 skrll 3037 1.1 skrll 2003-05-22 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 3038 1.1 skrll 3039 1.1 skrll * elf64-mips.c (elf_mips_gnu_rel16_s2): Add internally used 3040 1.1 skrll R_MIPS_GNU_REL16_S2 support. 3041 1.1 skrll (bfd_elf64_bfd_reloc_type_lookup): Use it. 3042 1.1 skrll (mips_elf64_rtype_to_howto): Use it. 3043 1.1 skrll * elfn32-mips.c (elf_mips_gnu_rel16_s2): Add internally used 3044 1.1 skrll R_MIPS_GNU_REL16_S2 support. 3045 1.1 skrll (bfd_elf32_bfd_reloc_type_lookup): Use it. 3046 1.1 skrll (mips_elf_n32_rtype_to_howto): Use it. 3047 1.1 skrll 3048 1.1 skrll 2003-05-21 Stuart F. Downing <sdowning (a] fame.com> 3049 1.1 skrll 3050 1.1 skrll * som.h: Define PA_2_0 before including a.out.h 3051 1.1 skrll 3052 1.1 skrll 2003-05-07 Eric Christopher <echristo (a] redhat.com> 3053 1.1 skrll Alexandre Oliva <aoliva (a] redhat.com> 3054 1.1 skrll 3055 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Adjust 3056 1.1 skrll pic tests, change to warning. 3057 1.1 skrll (_bfd_mips_elf_final_link): Remove EF_MIPS_CPIC flag setting. 3058 1.1 skrll 3059 1.1 skrll 2003-05-21 Marcus Comstedt <marcus (a] mc.pp.se> 3060 1.1 skrll 3061 1.1 skrll * config.bfd: Check for a target triplet of shl-...-netbsdelf as 3062 1.1 skrll well as shle-...-netbsdelf. Remove duplicate entry. 3063 1.1 skrll 3064 1.1 skrll 2003-05-21 Nick Clifton <nickc (a] redhat.com> 3065 1.1 skrll 3066 1.1 skrll * elf32-xstormy16.c (xstormy16_elf_howto_table): Fix dst_mask 3067 1.1 skrll for X_STORMY16_REL_12 reloc. 3068 1.1 skrll 3069 1.1 skrll * elf.c (bfd_elf_get_needed_list): Use is_elf_hash_table to check 3070 1.1 skrll the type of the hash table in the bfd_link_info structure. 3071 1.1 skrll (bfd_elf_get_runpath_list): Likewise. 3072 1.1 skrll 3073 1.1 skrll 2003-05-19 Roland McGrath <roland (a] redhat.com> 3074 1.1 skrll 3075 1.1 skrll * elf.c (bfd_elf_bfd_from_remote_memory): New function. 3076 1.1 skrll * bfd-in.h: Declare it. 3077 1.1 skrll * bfd-in2.h: Regenerated. 3078 1.1 skrll * elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): New function. 3079 1.1 skrll * elf-bfd.h (struct elf_backend_data): New function pointer member 3080 1.1 skrll elf_backend_bfd_from_remote_memory. 3081 1.1 skrll (_bfd_elf32_bfd_from_remote_memory, _bfd_elf64_bfd_from_remote_memory): 3082 1.1 skrll Declare them. 3083 1.1 skrll * elfxx-target.h (elf_backend_bfd_from_remote_memory): New macro. 3084 1.1 skrll (elfNN_bed): Add that to the initializer. 3085 1.1 skrll 3086 1.1 skrll 2003-05-15 Roland McGrath <roland (a] redhat.com> 3087 1.1 skrll 3088 1.1 skrll * elf.c (elfcore_grok_note): Grok NT_AUXV note, make ".auxv" section. 3089 1.1 skrll 3090 1.1 skrll 2003-05-20 Jakub Jelinek <jakub (a] redhat.com> 3091 1.1 skrll 3092 1.1 skrll * elflink.h (elf_link_output_extsym): Only issue error about != 3093 1.1 skrll STV_DEFAULT symbols if they are bfd_link_hash_undefined. 3094 1.1 skrll 3095 1.1 skrll 2003-05-20 H.J. Lu <hongjiu.lu (a] intel.com> 3096 1.1 skrll 3097 1.1 skrll * elflink.c (_bfd_elf_merge_symbol): Check ELF_LINK_DYNAMIC_DEF 3098 1.1 skrll when removing the old definition for symbols with non-default 3099 1.1 skrll visibility. 3100 1.1 skrll 3101 1.1 skrll 2003-05-18 Jason Eckhardt <jle (a] rice.edu> 3102 1.1 skrll 3103 1.1 skrll * elf32-i860.c (elf32_i860_relocate_highadj): Simplify calculation. 3104 1.1 skrll 3105 1.1 skrll 2003-05-17 Andreas Schwab <schwab (a] suse.de> 3106 1.1 skrll 3107 1.1 skrll * elf32-m68k.c (elf_m68k_check_relocs): Cache reloc section in 3108 1.1 skrll elf_section_data during processing of pc-relative and absolute 3109 1.1 skrll relocations. 3110 1.1 skrll (elf_m68k_relocate_section): Use the cached reloc section instead 3111 1.1 skrll of computing it again. Fix handling of visibility. Don't modify 3112 1.1 skrll addend when copying over a relocation into the output. 3113 1.1 skrll 3114 1.1 skrll 2003-05-17 Alan Modra <amodra (a] bigpond.net.au> 3115 1.1 skrll 3116 1.1 skrll * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL 3117 1.1 skrll to trim plt entries. Move undefweak non-default visibility test.. 3118 1.1 skrll (allocate_dynrelocs): ..from here. 3119 1.1 skrll * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Don't test 3120 1.1 skrll dynamic_sections_created here. Update comment. Move undefweak 3121 1.1 skrll non-default visibility test.. 3122 1.1 skrll (allocate_dynrelocs): ..from here. Fix comment. 3123 1.1 skrll * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL 3124 1.1 skrll to trim plt entries. Move undefweak non-default visibility test.. 3125 1.1 skrll (allocate_dynrelocs): ..from here. Fix comment. 3126 1.1 skrll * elflink.h (elf_link_output_extsym): Compare ELF_ST_VISIBILITY with 3127 1.1 skrll STV_DEFAULT rather than comparing with zero. 3128 1.1 skrll * elflink.c (_bfd_elf_merge_symbol): Likewise. 3129 1.1 skrll (_bfd_elf_fix_symbol_flags): Likewise. Format comment. 3130 1.1 skrll 3131 1.1 skrll 2003-05-17 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 3132 1.1 skrll 3133 1.1 skrll * bfd.c (_bfd_get_gp_value): Prevent illegal access for abfd null 3134 1.1 skrll pointers. 3135 1.1 skrll (_bfd_set_gp_value): Likewise. 3136 1.1 skrll 3137 1.1 skrll 2003-05-16 Michael Snyder <msnyder (a] redhat.com> 3138 1.1 skrll From Bernd Schmidt <bernds (a] redhat.com> 3139 1.1 skrll * archures.c (bfd_mach_h8300sx): New. 3140 1.1 skrll * bfd-in2.h: Regenerate. 3141 1.1 skrll * cpu-h8300.c (h8300_scan)): Add support for h8300sx. 3142 1.1 skrll (h8300sx_info_struct): New. 3143 1.1 skrll (h8300s_info_struct): Link to it. 3144 1.1 skrll * elf32-h8300.c (elf32_h8_mach): Add support for h8300sx. 3145 1.1 skrll (elf32_h8_final_write_processing): Likewise. 3146 1.1 skrll (elf32_h8_relax_section): Likewise. 3147 1.1 skrll 3148 1.1 skrll 2003-05-16 Kelley Cook <kelleycook (a] wideopenwest.com> 3149 1.1 skrll 3150 1.1 skrll * config.bfd: Accept i[3-7]86 variants. 3151 1.1 skrll * configure.host: Likewise. 3152 1.1 skrll * configure.in: Likewise. 3153 1.1 skrll * configure: Regenerate. 3154 1.1 skrll 3155 1.1 skrll 2003-05-15 H.J. Lu <hongjiu.lu (a] intel.com> 3156 1.1 skrll 3157 1.1 skrll * elflink.c (_bfd_elf_fix_symbol_flags): Also hide protected 3158 1.1 skrll symbol. 3159 1.1 skrll 3160 1.1 skrll 2003-05-15 H.J. Lu <hongjiu.lu (a] intel.com> 3161 1.1 skrll 3162 1.1 skrll * elflink.h (elf_link_check_versioned_symbol): Also allow 3163 1.1 skrll the base version. 3164 1.1 skrll 3165 1.1 skrll 2003-05-15 Alan Modra <amodra (a] bigpond.net.au> 3166 1.1 skrll H.J. Lu <hongjiu.lu (a] intel.com> 3167 1.1 skrll 3168 1.1 skrll * elf32-i386.c (allocate_dynrelocs): Use SYMBOL_CALLS_LOCAL. 3169 1.1 skrll (elf_i386_relocate_section): Likewise. 3170 1.1 skrll * elf32-ppc.c (allocate_dynrelocs): Likewise. 3171 1.1 skrll (ppc_elf_relocate_section): Likewise. 3172 1.1 skrll * elf64-ppc.c (allocate_dynrelocs): Likewise. 3173 1.1 skrll (ppc64_elf_relocate_section): Likewise. 3174 1.1 skrll 3175 1.1 skrll 2003-05-15 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 3176 1.1 skrll 3177 1.1 skrll * elf32-mips.c (gprel32_with_gp): Remove useless N64 ABI case. 3178 1.1 skrll 3179 1.1 skrll 2003-05-13 Stephane Carrez <stcarrez (a] nerim.fr> 3180 1.1 skrll 3181 1.1 skrll * elf32-m68hc1x.c (_bfd_m68hc11_elf_merge_private_bfd_data): Check for 3182 1.1 skrll processor capability, allow merge of HC12 and HCS12 in some cases. 3183 1.1 skrll (m68hc11_elf_hash_table_create): Use bfd_malloc instead of bfd_zalloc. 3184 1.1 skrll * cpu-m68hc12.c (bfd_m68hc12s_arch): New struct. 3185 1.1 skrll (bfd_m68hc12_arch): Link it. 3186 1.1 skrll (scan_mach): New function. 3187 1.1 skrll 3188 1.1 skrll 2003-05-13 Andrew Haley <aph (a] redhat.com> 3189 1.1 skrll 3190 1.1 skrll * elf.c (bfd_elf_hash): Mask lower 32 bits of hash. 3191 1.1 skrll 3192 1.1 skrll 2003-05-13 Alan Modra <amodra (a] bigpond.net.au> 3193 1.1 skrll H.J. Lu <hongjiu.lu (a] intel.com> 3194 1.1 skrll 3195 1.1 skrll * elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Move from 3196 1.1 skrll elf32-ppc.c. Add ELF_LINK_FORCED_LOCAL check. 3197 1.1 skrll * elf32-ppc.c: (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Delete. 3198 1.1 skrll (allocate_dynrelocs): Use SYMBOL_REFERENCES_LOCAL for dynreloc check. 3199 1.1 skrll (ppc_elf_relocate_section): Likewise. 3200 1.1 skrll * elf64-ppc.c (allocate_dynrelocs): Likewise. 3201 1.1 skrll (ppc64_elf_relocate_section): Likewise. Use for .got relocs too. 3202 1.1 skrll (ppc64_elf_adjust_dynamic_symbol): Don't assume symbols with .plt 3203 1.1 skrll relocs need no other types. 3204 1.1 skrll * elf32-i386.c (allocate_dynrelocs): Use SYMBOL_REFERENCES_LOCAL for 3205 1.1 skrll dynreloc check. 3206 1.1 skrll (elf_i386_relocate_section): Likewise. Use for .got relocs too. 3207 1.1 skrll (elf_i386_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL for 3208 1.1 skrll .got relocs. 3209 1.1 skrll 3210 1.1 skrll 2003-05-13 Kaz Kojima <kkojima (a] rr.iij4u.or.jp> 3211 1.1 skrll 3212 1.1 skrll * elf32-sh.c (sh_elf_adjust_dynamic_symbol): For weak symbols, 3213 1.1 skrll copy ELF_LINK_NON_GOT_REF from weakdef. 3214 1.1 skrll (allocate_dynrelocs): For undef weak syms with non-default 3215 1.1 skrll visibility, a) don't allocate plt entries, b) don't allocate 3216 1.1 skrll .got relocs, c) discard dyn rel space 3217 1.1 skrll (sh_elf_relocate_section): d) don't generate .got relocs, e) 3218 1.1 skrll don't generate dynamic relocs. 3219 1.1 skrll (sh_elf_copy_indirect_symbol): Don't copy ELF_LINK_NON_GOT_REF 3220 1.1 skrll for weakdefs when symbol already adjusted. 3221 1.1 skrll 3222 1.1 skrll 2003-05-12 Nick Clifton <nickc (a] redhat.com> 3223 1.1 skrll 3224 1.1 skrll * elf32-xstormy16.c (xstormy16_elf_howto_table): use 'bitfield' 3225 1.1 skrll overflow detection for R_XSTORMY16_16 reloc. 3226 1.1 skrll 3227 1.1 skrll 2003-05-12 Paul Clarke <paulc (a] senet.com.au> 3228 1.1 skrll 3229 1.1 skrll * elf32-h8300.c: Fix typo in name of R_H8_DIR8 reloc. 3230 1.1 skrll 3231 1.1 skrll 2003-05-11 Jason Eckhardt <jle (a] rice.edu> 3232 1.1 skrll 3233 1.1 skrll * elf32-i860.c (elf32_i860_relocate_highadj): Properly 3234 1.1 skrll adjust upper bits. 3235 1.1 skrll (elf32_i860_relocate_splitn): Obtain upper 5 bits from the 3236 1.1 skrll proper place. 3237 1.1 skrll (elf32_i860_relocate_pc16): Obtain upper 5 bits from the 3238 1.1 skrll proper place. 3239 1.1 skrll 3240 1.1 skrll 2003-05-11 Andreas Schwab <schwab (a] suse.de> 3241 1.1 skrll 3242 1.1 skrll * elf32-m68k.c (elf_m68k_relocate_section): Replace ugly 3243 1.1 skrll complicated tests for unresolvable relocs with a simple direct 3244 1.1 skrll scheme using "unresolved_reloc" var. Report some detail on 3245 1.1 skrll bfd_reloc_outofrange and similar errors. 3246 1.1 skrll 3247 1.1 skrll 2003-05-09 Martin Schwidefsky <schwidefsky (a] de.ibm.com> 3248 1.1 skrll 3249 1.1 skrll * elf32-s390.c (allocate_dynrelocs, elf_s390_relocate_section): 3250 1.1 skrll Fix WILL_CALL_FINISH_DYNAMIC_SYMBOL call. 3251 1.1 skrll (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO. 3252 1.1 skrll * elf64-s390.c: Likewise. 3253 1.1 skrll 3254 1.1 skrll 2003-05-09 Martin Schwidefsky <schwidefsky (a] de.ibm.com> 3255 1.1 skrll 3256 1.1 skrll * elf32-s390.c (ELIMINATE_COPY_RELOCS): Define as one. 3257 1.1 skrll (elf_s390_adjust_dynamic_symbol): For weak symbols, copy 3258 1.1 skrll ELF_LINK_NON_GOT_REF from weakdef. 3259 1.1 skrll (elf_s390_copy_indirect_symbol): Test whether the weakdef sym has 3260 1.1 skrll already been adjusted before treating it specially. 3261 1.1 skrll * el64-s390.c: Likwise. 3262 1.1 skrll 3263 1.1 skrll 2003-05-09 Martin Schwidefsky <schwidefsky (a] de.ibm.com> 3264 1.1 skrll 3265 1.1 skrll * elf32-s390.c (allocate_dynrelocs): For undef weak syms with 3266 1.1 skrll non-default visibility, a) don't make them dynamic, b) discard 3267 1.1 skrll space for dynamic relocs. 3268 1.1 skrll (elf_s390_relocate_section): Initialize the GOT entries and skip 3269 1.1 skrll R_390_{8,16,32}/R_390_PC{16,16DBL,32DBL,32} for weak undefined 3270 1.1 skrll symbols with non-default visibility. 3271 1.1 skrll * elf64-s390.c: Likewise. 3272 1.1 skrll 3273 1.1 skrll 2003-05-09 Alan Modra <amodra (a] bigpond.net.au> 3274 1.1 skrll 3275 1.1 skrll * cpu-arm.c (arm_check_note): Warning fix. 3276 1.1 skrll * elf32-iq2000.c (iq2000_elf_check_relocs): Warning fixes. Arrange 3277 1.1 skrll to keep relocs if edited. 3278 1.1 skrll (iq2000_elf_print_private_bfd_data): Return TRUE. 3279 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relax_section): Use ELFNN_R_SYM, not 3280 1.1 skrll ELF64_R_SYM. 3281 1.1 skrll (elfNN_ia64_relax_ldxmov): Warning fix. 3282 1.1 skrll * xtensa-isa.c (xtensa_add_isa): Warning fix. 3283 1.1 skrll * xtensa-modules.c (get_num_opcodes): Warning fix. 3284 1.1 skrll 3285 1.1 skrll 2003-05-09 Andrey Petrov <petrov (a] netbsd.org> 3286 1.1 skrll 3287 1.1 skrll * elf.c (elf_fake_sections): Use correct cast for sh_name. 3288 1.1 skrll 3289 1.1 skrll 2003-05-09 Alan Modra <amodra (a] bigpond.net.au> 3290 1.1 skrll 3291 1.1 skrll * elflink.c (_bfd_elf_link_create_dynamic_sections): Move from 3292 1.1 skrll elflink.h. Replace LOG_FILE_ALIGN with bed->s->log_file_align. 3293 1.1 skrll (_bfd_elf_create_dynamic_sections): Use bed->s->log_file_align. 3294 1.1 skrll (bfd_elf_record_link_assignment): Move from elflink.h. 3295 1.1 skrll (_bfd_elf_merge_symbol): Likewise. 3296 1.1 skrll (_bfd_elf_add_default_symbol): Likewise. 3297 1.1 skrll (_bfd_elf_export_symbol): Likewise. 3298 1.1 skrll (_bfd_elf_link_find_version_dependencies): Likewise. 3299 1.1 skrll (_bfd_elf_link_assign_sym_version): Likewise. 3300 1.1 skrll (_bfd_elf_link_read_relocs): Likewise. 3301 1.1 skrll (_bfd_elf_link_size_reloc_section): Likewise. 3302 1.1 skrll (_bfd_elf_fix_symbol_flags): Likewise. 3303 1.1 skrll (_bfd_elf_adjust_dynamic_symbol): Likewise. 3304 1.1 skrll (_bfd_elf_link_sec_merge_syms): Likewise. 3305 1.1 skrll (elf_link_read_relocs_from_section): Likewise. Use bed->s->sizeof_rel 3306 1.1 skrll and bed->s->sizeof_rela. 3307 1.1 skrll (_bfd_elf_link_output_relocs): Likewise. 3308 1.1 skrll * elf-bfd.h (struct elf_size_info): Rename file_align to 3309 1.1 skrll log_file_align. 3310 1.1 skrll (struct elf_info_failed): Move from elflink.h. 3311 1.1 skrll (struct elf_assign_sym_version_info): Likewise. 3312 1.1 skrll (struct elf_find_verdep_info): Likewise. 3313 1.1 skrll (_bfd_elf_create_dynamic_sections): Delete duplicate declaration. 3314 1.1 skrll (_bfd_elf_merge_symbol, _bfd_elf_add_default_symbol, 3315 1.1 skrll _bfd_elf_export_symbol, _bfd_elf_link_find_version_dependencies, 3316 1.1 skrll _bfd_elf_link_assign_sym_version, 3317 1.1 skrll _bfd_elf_link_create_dynamic_sections, _bfd_elf_link_read_relocs, 3318 1.1 skrll _bfd_elf_link_size_reloc_section, _bfd_elf_link_output_relocs, 3319 1.1 skrll _bfd_elf_fix_symbol_flags, _bfd_elf_adjust_dynamic_symbol, 3320 1.1 skrll _bfd_elf_link_sec_merge_syms): Declare. 3321 1.1 skrll (bfd_elf32_link_create_dynamic_sections): Don't declare. 3322 1.1 skrll (_bfd_elf32_link_read_relocs): Likewise. 3323 1.1 skrll (bfd_elf64_link_create_dynamic_sections): Likewise. 3324 1.1 skrll (_bfd_elf64_link_read_relocs): Likewise. 3325 1.1 skrll * elflink.h: Move lots o' stuff elsewhere. 3326 1.1 skrll * bfd-in.h (bfd_elf32_record_link_assignment): Don't declare. 3327 1.1 skrll (bfd_elf64_record_link_assignment): Likewise. 3328 1.1 skrll (bfd_elf_record_link_assignment): Declare. 3329 1.1 skrll * bfd-in2.h: Regenerate. 3330 1.1 skrll * elfcode.h (elf_link_create_dynamic_sections): Don't declare. 3331 1.1 skrll (NAME(_bfd_elf,size_info)): Adjust for log_file_align. 3332 1.1 skrll * elf.c (_bfd_elf_init_reloc_shdr): Adjust for bed->s->log_file_align. 3333 1.1 skrll (assign_file_positions_for_segments): Likewise. 3334 1.1 skrll (assign_file_positions_except_relocs): Likewise. 3335 1.1 skrll (swap_out_syms, elfcore_write_note): Likewise. 3336 1.1 skrll * elf-m10200.c: Adjust for changed function names. 3337 1.1 skrll * elf-m10300.c: Likewise. 3338 1.1 skrll * elf32-arm.h: Likewise. 3339 1.1 skrll * elf32-h8300.c: Likewise. 3340 1.1 skrll * elf32-hppa.c: Likewise. 3341 1.1 skrll * elf32-ip2k.c: Likewise. 3342 1.1 skrll * elf32-m32r.c: Likewise. 3343 1.1 skrll * elf32-m68hc11.c: Likewise. 3344 1.1 skrll * elf32-m68hc1x.c: Likewise. 3345 1.1 skrll * elf32-m68k.c: Likewise. 3346 1.1 skrll * elf32-mips.c: Likewise. 3347 1.1 skrll * elf32-ppc.c: Likewise. 3348 1.1 skrll * elf32-sh.c: Likewise. 3349 1.1 skrll * elf32-v850.c: Likewise. 3350 1.1 skrll * elf32-xtensa.c: Likewise. 3351 1.1 skrll * elf64-alpha.c: Likewise. 3352 1.1 skrll * elf64-hppa.c: Likewise. 3353 1.1 skrll * elf64-mmix.c: Likewise. 3354 1.1 skrll * elf64-ppc.c: Likewise. 3355 1.1 skrll * elf64-sh64.c: Likewise. 3356 1.1 skrll * elfxx-ia64.c: Likewise. 3357 1.1 skrll * elfxx-mips.c: Likewise. 3358 1.1 skrll (MIPS_ELF_LOG_FILE_ALIGN): Use log_file_align. 3359 1.1 skrll * elf64-alpha.c (alpha_elf_size_info): Adjust for log_file_align. 3360 1.1 skrll * elf64-hppa.c (hppa64_elf_size_info): Likewise. 3361 1.1 skrll * elf64-mips.c (mips_elf64_size_info): Likewise. 3362 1.1 skrll * elf64-s390.c (s390_elf64_size_info): Likewise. 3363 1.1 skrll * elf64-sparc.c (sparc64_elf_size_info): Likewise. 3364 1.1 skrll 3365 1.1 skrll 2003-05-08 H.J. Lu <hongjiu.lu (a] intel.com> 3366 1.1 skrll 3367 1.1 skrll * elflink.h (elf_add_default_symbol): After skipping the 3368 1.1 skrll unversioned symbol, go to non-default one. 3369 1.1 skrll 3370 1.1 skrll 2003-05-07 H.J. Lu <hongjiu.lu (a] intel.com> 3371 1.1 skrll 3372 1.1 skrll * elfxx-ia64.c (_bfd_elf_link_hash_hide_symbol): Also clear the 3373 1.1 skrll want_plt field. 3374 1.1 skrll (elfNN_ia64_relocate_section): Don't do dynamic symbol lookup 3375 1.1 skrll for symbols with non-default visibility. 3376 1.1 skrll 3377 1.1 skrll 2003-05-07 H.J. Lu <hongjiu.lu (a] intel.com> 3378 1.1 skrll 3379 1.1 skrll * elflink.h (elf_link_check_versioned_symbol): Also handle the 3380 1.1 skrll case that a DSO references a hidden symbol which may be 3381 1.1 skrll satisfied by a versioned symbol in another DSO. 3382 1.1 skrll (elf_link_output_extsym): Check versioned definition for hidden 3383 1.1 skrll symbol referenced by a DSO. 3384 1.1 skrll 3385 1.1 skrll 2003-05-07 Nick Clifton <nickc (a] redhat.com> 3386 1.1 skrll 3387 1.1 skrll * elf32-xstormy16.c (xstormy16_elf_howto_table): Reset 3388 1.1 skrll R_XSTORMY16_16 reloc to ignore overflows. 3389 1.1 skrll 3390 1.1 skrll 2003-05-06 Alexandre Oliva <aoliva (a] redhat.com> 3391 1.1 skrll 3392 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Improve 3393 1.1 skrll error message for mixing different-endian files. Check for ABI 3394 1.1 skrll compatibility of input files with the selected emulation. 3395 1.1 skrll 3396 1.1 skrll 2003-05-05 Alan Modra <amodra (a] bigpond.net.au> 3397 1.1 skrll 3398 1.1 skrll * elf32-i386.c (allocate_dynrelocs): For undef weak syms with 3399 1.1 skrll non-default visibility, a) don't make them dynamic, b) discard 3400 1.1 skrll space for dynamic relocs. 3401 1.1 skrll * elf64-x86-64.c (allocate_dynrelocs): Likewise. 3402 1.1 skrll 3403 1.1 skrll * elf32-ppc.c (allocate_dynrelocs): For undef weak syms with 3404 1.1 skrll non-default visibility, a) don't allocate plt entries, b) don't 3405 1.1 skrll allocate .got relocs, c) discard dyn rel space, 3406 1.1 skrll (ppc_elf_relocate_section): d) don't generate .got relocs, e) 3407 1.1 skrll don't generate dynamic relocs. 3408 1.1 skrll * elf64-ppc.c (allocate_dynrelocs): As above. 3409 1.1 skrll (ppc64_elf_relocate_section): As above. 3410 1.1 skrll 3411 1.1 skrll 2003-05-05 Andreas Jaeger <aj (a] suse.de> 3412 1.1 skrll 3413 1.1 skrll * elf64-x86-64.c (allocate_dynrelocs): Don't allocate dynamic 3414 1.1 skrll relocation entries for weak undefined symbols with non-default 3415 1.1 skrll visibility. 3416 1.1 skrll (elf64_x86_64_relocate_section): Initialize the GOT entries and 3417 1.1 skrll skip R_386_32/R_386_PC32 for weak undefined symbols with 3418 1.1 skrll non-default visibility. 3419 1.1 skrll 3420 1.1 skrll 2003-05-04 H.J. Lu <hjl (a] gnu.org> 3421 1.1 skrll 3422 1.1 skrll * elf32-i386.c (allocate_dynrelocs): Don't allocate dynamic 3423 1.1 skrll relocation entries for weak undefined symbols with non-default 3424 1.1 skrll visibility. 3425 1.1 skrll (elf_i386_relocate_section): Initialize the GOT entries and 3426 1.1 skrll skip R_386_32/R_386_PC32 for weak undefined symbols with 3427 1.1 skrll non-default visibility. 3428 1.1 skrll 3429 1.1 skrll * elfxx-ia64.c (allocate_fptr): Don't allocate function 3430 1.1 skrll descriptors for weak undefined symbols with non-default 3431 1.1 skrll visibility. 3432 1.1 skrll (allocate_dynrel_entries): Don't allocate relocation entries 3433 1.1 skrll for symbols resolved to 0. 3434 1.1 skrll (set_got_entry): Don't install dynamic relocation for weak 3435 1.1 skrll undefined symbols with non-default visibility. 3436 1.1 skrll (set_pltoff_entry): Likewise. 3437 1.1 skrll 3438 1.1 skrll * elflink.h (elf_fix_symbol_flags): Hide weak undefined symbols 3439 1.1 skrll with non-default visibility. 3440 1.1 skrll (elf_link_output_extsym): Don't make weak undefined symbols 3441 1.1 skrll with non-default visibility dynamic. 3442 1.1 skrll 3443 1.1 skrll 2003-05-04 H.J. Lu <hjl (a] gnu.org> 3444 1.1 skrll 3445 1.1 skrll * elflink.h (elf_merge_symbol): Correctly handle weak definition. 3446 1.1 skrll 3447 1.1 skrll 2003-05-04 H.J. Lu <hjl (a] gnu.org> 3448 1.1 skrll 3449 1.1 skrll * elflink.h (elf_merge_symbol): Don't record a hidden/internal 3450 1.1 skrll symbol dynamic. Check indirection when removing the old 3451 1.1 skrll definition for symbols with non-default visibility. 3452 1.1 skrll (elf_add_default_symbol): Skip when told by elf_merge_symbol. 3453 1.1 skrll 3454 1.1 skrll 2003-05-02 Nick Clifton <nickc (a] redhat.com> 3455 1.1 skrll 3456 1.1 skrll * elf32-xstormy16.c (xstormy16_elf_howto_table): Make the 3457 1.1 skrll R_XSTORMY16_8 and R_XSTORMY16_16 relocs detect and complain about 3458 1.1 skrll unsigned overflow. 3459 1.1 skrll 3460 1.1 skrll 2003-05-02 Andreas Jaeger <aj (a] suse.de> 3461 1.1 skrll 3462 1.1 skrll * elf64-x86-64.c (elf_x86_64_copy_indirect_symbol): Don't copy 3463 1.1 skrll ELF_LINK_NON_GOT_REF for weakdefs when symbol already adjusted. 3464 1.1 skrll (ELIMINATE_COPY_RELOCS): Define as one. Use throughout. 3465 1.1 skrll (elf_x86_64_adjust_dynamic_symbol): For weak symbols, copy 3466 1.1 skrll ELF_LINK_NON_GOT_REF from weakdef. 3467 1.1 skrll 3468 1.1 skrll 2003-05-02 Charles Lepple <clepple (a] ghz.cc> 3469 1.1 skrll Nick Clifton <nickc (a] redhat.com> 3470 1.1 skrll 3471 1.1 skrll * acinclude.m4: Fix name of --enable-install-libbfd switch. 3472 1.1 skrll * aclocal.m4: Regenerate. 3473 1.1 skrll * configure: Regenerate. 3474 1.1 skrll * Makefile.in: Regenerate. 3475 1.1 skrll 3476 1.1 skrll 2003-05-01 Alan Modra <amodra (a] bigpond.net.au> 3477 1.1 skrll 3478 1.1 skrll * elf32-ppc.c (ppc_elf_copy_indirect_symbol): Test whether the 3479 1.1 skrll weakdef sym has already been adjusted before treating it specially. 3480 1.1 skrll * elf32-i386.c (elf_i386_copy_indirect_symbol): Don't copy 3481 1.1 skrll ELF_LINK_NON_GOT_REF for weakdefs when symbol already adjusted. 3482 1.1 skrll * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. 3483 1.1 skrll (ppc64_elf_check_relocs): Set ELF_LINK_NON_GOT_REF. 3484 1.1 skrll 3485 1.1 skrll 2003-04-28 H.J. Lu <hjl (a] gnu.org> 3486 1.1 skrll 3487 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relax_section): Relax ldxmov during 3488 1.1 skrll the relax finalize pass. 3489 1.1 skrll 3490 1.1 skrll * section.c (struct sec): Add need_finalize_relax and remove 3491 1.1 skrll flag11. 3492 1.1 skrll (STD_SECTION): Update struct sec initializer. 3493 1.1 skrll * bfd-in2.h: Regenerated. 3494 1.1 skrll 3495 1.1 skrll 2003-04-28 H.J. Lu <hjl (a] gnu.org> 3496 1.1 skrll 3497 1.1 skrll * elflink.h (elf_merge_symbol): Call elf_backend_copy_indirect_symbol 3498 1.1 skrll to copy any information related to dynamic linking when we flip 3499 1.1 skrll the indirection. 3500 1.1 skrll 3501 1.1 skrll 2003-04-27 H.J. Lu <hjl (a] gnu.org> 3502 1.1 skrll 3503 1.1 skrll * elf-bfd.h (ELF_LINK_DYNAMIC_DEF): New. 3504 1.1 skrll (ELF_LINK_DYNAMIC_WEAK): New. 3505 1.1 skrll 3506 1.1 skrll * elflink.h (elf_merge_symbol): Add one argument to indicate if 3507 1.1 skrll a symbol should be skipped. Ignore definitions in dynamic 3508 1.1 skrll objects for symbols with non-default visibility. 3509 1.1 skrll (elf_add_default_symbol): Adjusted. 3510 1.1 skrll (elf_link_add_object_symbols): Check if a symbol should be 3511 1.1 skrll skipped. Don't merge the visibility field with the one from 3512 1.1 skrll a dynamic object. 3513 1.1 skrll (elf_link_check_versioned_symbol): Use undef_bfd. 3514 1.1 skrll (elf_link_output_extsym): Warn if a forced local symbol is 3515 1.1 skrll referenced from dynamic objects. Make non-weak undefined symbol 3516 1.1 skrll with non-default visibility a fatal error. 3517 1.1 skrll 3518 1.1 skrll 2003-04-27 Daniel Jacobowitz <drow (a] mvista.com> 3519 1.1 skrll 3520 1.1 skrll * configure.in: Bump version on HEAD to 2.14.90. 3521 1.1 skrll * configure: Regenerated. 3522 1.1 skrll 3523 1.1 skrll 2003-04-26 Stephane Carrez <stcarrez (a] nerim.fr> 3524 1.1 skrll 3525 1.1 skrll PR savannah/3331: 3526 1.1 skrll * elf32-m68hc11.c (m68hc11_elf_relax_section): Clear prev_insn_group 3527 1.1 skrll when we couldn't relax something. 3528 1.1 skrll 3529 1.1 skrll 2003-04-25 Alan Modra <amodra (a] bigpond.net.au> 3530 1.1 skrll 3531 1.1 skrll * elflink.h (elf_merge_symbol): When we find a regular definition 3532 1.1 skrll for an indirect symbol, flip the indirection so that the old 3533 1.1 skrll direct symbol now points to the new definition. 3534 1.1 skrll 3535 1.1 skrll 2003-04-24 Roland McGrath <roland (a] redhat.com> 3536 1.1 skrll 3537 1.1 skrll * elf.c (bfd_section_from_phdr): Map PT_GNU_EH_FRAME to "eh_frame_hdr". 3538 1.1 skrll 3539 1.1 skrll 2003-04-24 Alan Modra <amodra (a] bigpond.net.au> 3540 1.1 skrll 3541 1.1 skrll * elf32-ppc.c: Formatting and comment fixes. 3542 1.1 skrll (ELIMINATE_COPY_RELOCS): Move before ppc_elf_copy_indirect_symbol. 3543 1.1 skrll (ppc_elf_copy_indirect_symbol): Copy flags here for weakdefs. 3544 1.1 skrll 3545 1.1 skrll 2003-04-24 Dhananjay Deshpande <dhananjayd (a] kpitcummins.com> 3546 1.1 skrll 3547 1.1 skrll * archures.c (bfd_mach_h8300hn, bfd_mach_h8300sn): Added. 3548 1.1 skrll * bfd-in2.h: Rebuilt. 3549 1.1 skrll * coff-h8300.c (BADMAG): Add check for H8300HNBADMAG & H8300SNBADMAG. 3550 1.1 skrll * coffcode.h (coff_set_arch_mach_hook): Add case for H8300HNMAGIC 3551 1.1 skrll & H8300SNMAGIC. 3552 1.1 skrll (coff_set_flags): Add case for bfd_mach_h8300hn & bfd_mach_h8300sn. 3553 1.1 skrll * cpu-h8300.c (h8300_scan): Handle h8300hn, h8300sn. 3554 1.1 skrll (h8300sn_info_struct, h8300hn_info_struct): New. 3555 1.1 skrll * elf32-h8300.c (elf32_h8_mach): Handle case for h8300hn & h8300sn 3556 1.1 skrll (elf32_h8_final_write_processing): Likewise. 3557 1.1 skrll 3558 1.1 skrll 2003-04-23 Kaz Kojima <kkojima (a] rr.iij4u.or.jp> 3559 1.1 skrll 3560 1.1 skrll * elf32-sh.c (tpoff): New. 3561 1.1 skrll (struct elf_sh_dyn_relocs): Remove tls_tpoff32. 3562 1.1 skrll (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO. 3563 1.1 skrll (allocate_dynrelocs): Don't make unnecessary dynamic TLS 3564 1.1 skrll relocations. Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL uses. 3565 1.1 skrll (sh_elf_relocate_section): Likewise. Remove unnecessary tests. 3566 1.1 skrll (dtpoff_base): Fix wrong indentation. 3567 1.1 skrll (sh_elf_check_relocs): Don't set DF_STATIC_TLS flag with non-TLS 3568 1.1 skrll relocations. Don't set tls_tpoff32 flag. Don't make unnecessary 3569 1.1 skrll R_SH_TLS_TPOFF32 relocations. 3570 1.1 skrll 3571 1.1 skrll 2003-04-23 J"orn Rennecke <joern.rennecke (a] superh.com> 3572 1.1 skrll 3573 1.1 skrll * archures.c (enum bfd_architecture): Amend comment to refer to SuperH. 3574 1.1 skrll * cpu-sh.c: Likewise. 3575 1.1 skrll * elf32-sh.c: Likewise. 3576 1.1 skrll * reloc.c (bfd_reloc_code_real): Likewise. 3577 1.1 skrll * elf32-sh64-com.c: Change comment to refer to SuperH. 3578 1.1 skrll * elf32-sh64.c: Likewise. 3579 1.1 skrll * elf64-sh64.c: Likewise. 3580 1.1 skrll * bfd-in2.h (enum bfd_architecture): Regenerate. 3581 1.1 skrll 3582 1.1 skrll 2003-04-23 Alan Modra <amodra (a] bigpond.net.au> 3583 1.1 skrll 3584 1.1 skrll From Julien LEMOINE <speedblue (a] debian.org> 3585 1.1 skrll * elf32-i386.c (elf_i386_info_to_howto): Delete. 3586 1.1 skrll (elf_info_to_howto): Define as elf_i386_info_to_howto_rel. 3587 1.1 skrll 3588 1.1 skrll 2003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro (a] renesas.com> 3589 1.1 skrll 3590 1.1 skrll * archures.c: Replace references to Mitsubishi M32R with references 3591 1.1 skrll to Renesas M32R. 3592 1.1 skrll * relocs.c: Likewise. 3593 1.1 skrll * bfd-in2.h: Regenerate. 3594 1.1 skrll 3595 1.1 skrll 2003-04-21 Richard Henderson <rth (a] redhat.com> 3596 1.1 skrll 3597 1.1 skrll * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Return false for an 3598 1.1 skrll executable when a symbol is defined both regular and dynamic. 3599 1.1 skrll 3600 1.1 skrll 2003-04-21 Stephane Carrez <stcarrez (a] nerim.fr> 3601 1.1 skrll 3602 1.1 skrll * Makefile.am (BFD32_BACKENDS): Add elf32-m68hc1x.lo. 3603 1.1 skrll (elf32-m68hc1x.lo): Update dependencies 3604 1.1 skrll * configure.in: Add elf32-m68hc1x.lo. 3605 1.1 skrll * configure: Rebuild. 3606 1.1 skrll * Makefile.in: Rebuild. 3607 1.1 skrll 3608 1.1 skrll 2003-04-21 Stephane Carrez <stcarrez (a] nerim.fr> 3609 1.1 skrll 3610 1.1 skrll * elf32-m68hc1x.c: New file (from elf32-m68hc11.c and elf32-m68hc12.c) 3611 1.1 skrll (m68hc11_elf_hash_table_create): New function. 3612 1.1 skrll (elf32_m68hc11_link_hash_table_free): New function. 3613 1.1 skrll (stub_hash_newfunc): New function. 3614 1.1 skrll (m68hc11_add_stub): New function. 3615 1.1 skrll (elf32_m68hc11_add_symbol_hook): New function. 3616 1.1 skrll (elf32_m68hc11_setup_section_lists): New function. 3617 1.1 skrll (elf32_m68hc11_next_input_section): New function. 3618 1.1 skrll (elf32_m68hc11_size_stubs): New function. 3619 1.1 skrll (elf32_m68hc11_build_stubs): New function. 3620 1.1 skrll (m68hc11_get_relocation_value): New function. 3621 1.1 skrll (elf32_m68hc11_relocate_section): Call the above to redirect 3622 1.1 skrll some relocations to the trampoline code. 3623 1.1 skrll (m68hc11_elf_export_one_stub): New function. 3624 1.1 skrll (m68hc11_elf_set_symbol): New function. 3625 1.1 skrll (elf32_m68hc11_build_stubs): Call it via bfd_hash_traverse. 3626 1.1 skrll (m68hc11_elf_get_bank_parameters): Get parameters only when the info 3627 1.1 skrll is not yet initialized. 3628 1.1 skrll 3629 1.1 skrll * elf32-m68hc1x.h: New file (from elf32-m68hc11.c and elf32-m68hc12.c) 3630 1.1 skrll (elf32_m68hc11_stub_hash_entry): New struct. 3631 1.1 skrll (m68hc11_page_info): Add trampoline handler address. 3632 1.1 skrll (m68hc11_elf_link_hash_table): Add stubs generation members. 3633 1.1 skrll (elf32_m68hc11_add_symbol_hook): Declare. 3634 1.1 skrll (elf32_m68hc11_setup_section_lists): Declare. 3635 1.1 skrll (elf32_m68hc11_size_stubs): Declare. 3636 1.1 skrll (elf32_m68hc11_build_stubs): Declare. 3637 1.1 skrll 3638 1.1 skrll * elf32-m68hc11.c (m68hc11_elf_ignore_reloc): Move to elf32-m68hc1x.c. 3639 1.1 skrll (elf32_m68hc11_gc_mark_hook, elf32_m68hc11_gc_sweep_hook): Likewise. 3640 1.1 skrll (elf32_m68hc11_check_relocs, elf32_m68hc11_relocate_section): Ditto. 3641 1.1 skrll (_bfd_m68hc11_elf_set_private_flags): Ditto. 3642 1.1 skrll (_bfd_m68hc11_elf_merge_private_bfd_data): Ditto. 3643 1.1 skrll (_bfd_m68hc11_elf_print_private_bfd_data): Ditto. 3644 1.1 skrll (bfd_elf32_bfd_link_hash_table_create): Define. 3645 1.1 skrll (elf_backend_add_symbol_hook): Define. 3646 1.1 skrll (m68hc11_elf_bfd_link_hash_table_create): New function. 3647 1.1 skrll (m68hc11_elf_build_one_stub): New function. 3648 1.1 skrll (m68hc11_elf_size_one_stub): New function. 3649 1.1 skrll (m68hc11_elf_bfd_link_hash_table_create): Install the above. 3650 1.1 skrll (bfd_elf32_bfd_link_hash_table_create): Define. 3651 1.1 skrll 3652 1.1 skrll * elf32-m68hc12.c (m68hc11_elf_ignore_reloc): Remove. 3653 1.1 skrll (m68hc12_addr_is_banked): Remove, use m68hc11_addr_is_banked. 3654 1.1 skrll (m68hc12_phys_addr): Ditto. 3655 1.1 skrll (m68hc12_phys_page): Ditto. 3656 1.1 skrll (m68hc12_elf_special_reloc): Move to elf32-m68hc1x.c. 3657 1.1 skrll (elf32_m68hc11_gc_mark_hook): Likewise. 3658 1.1 skrll (elf32_m68hc11_gc_sweep_hook): Likewise. 3659 1.1 skrll (elf32_m68hc11_check_relocs): Likewise. 3660 1.1 skrll (elf32_m68hc11_relocate_section): Likewise. 3661 1.1 skrll (_bfd_m68hc12_elf_set_private_flags): Likewise. 3662 1.1 skrll (_bfd_m68hc12_elf_merge_private_bfd_data): Likewise. 3663 1.1 skrll (_bfd_m68hc12_elf_print_private_bfd_data): Likewise. 3664 1.1 skrll (m68hc12_elf_build_one_stub): New function. 3665 1.1 skrll (m68hc12_elf_size_one_stub): New function. 3666 1.1 skrll (m68hc12_elf_bfd_link_hash_table_create): New function, use the above. 3667 1.1 skrll (elf_backend_add_symbol_hook): Define. 3668 1.1 skrll (elf_m68hc11_howto_table): Use TRUE for pcrel relocs; fix masks. 3669 1.1 skrll 3670 1.1 skrll 2003-04-18 Nick Clifton <nickc (a] redhat.com> 3671 1.1 skrll 3672 1.1 skrll * format.c (bfd_check_format_matches): Only check associated 3673 1.1 skrll vector if the matching_vector has been created. 3674 1.1 skrll 3675 1.1 skrll 2003-04-15 Alexandre Oliva <aoliva (a] redhat.com> 3676 1.1 skrll 3677 1.1 skrll * dwarf2.c (_bfd_dwarf2_find_nearest_line): Fix typo in 3678 1.1 skrll 2003-04-09's change. 3679 1.1 skrll 3680 1.1 skrll 2003-04-15 Brian Ford <ford (a] vss.fsi.com> 3681 1.1 skrll 3682 1.1 skrll * peicode.h (coff_swap_scnhdr_in): If a section holds 3683 1.1 skrll uninitialized data and is from an object file or from an 3684 1.1 skrll executable image that has not initialized the s_size field, or if 3685 1.1 skrll the physical size is padded, use the virtual size (stored in 3686 1.1 skrll s_paddr) instead. 3687 1.1 skrll 3688 1.1 skrll 2003-04-15 H.J. Lu <hjl (a] gnu.org> 3689 1.1 skrll 3690 1.1 skrll * elflink.h (elf_link_add_object_symbols): Properly report 3691 1.1 skrll filename for alignment reduction. 3692 1.1 skrll 3693 1.1 skrll 2003-04-15 Rohit Kumar Srivastava <rohits (a] kpitcummins.com> 3694 1.1 skrll 3695 1.1 skrll * archures.c: Replace occurrances of 'Hitachi' with 'Renesas'. 3696 1.1 skrll * reloc.c: Likewise. 3697 1.1 skrll * coff-h8300.c: Likewise. 3698 1.1 skrll * coff-h8500.c: Likewise. 3699 1.1 skrll * coff-sh.c: Likewise. 3700 1.1 skrll * cpu-h8300.c: Likewise. 3701 1.1 skrll * cpu-sh.c: Likewise. 3702 1.1 skrll * elf32-h8300.c: Likewise. 3703 1.1 skrll * elf32-sh.c: Likewise. 3704 1.1 skrll * elf32-sh64-com.c: Likewise. 3705 1.1 skrll * elf32-sh64.c: Likewise. 3706 1.1 skrll * elf64-sh64.c: Likewise. 3707 1.1 skrll * bfd-in2.h: Regenerate. 3708 1.1 skrll 3709 1.1 skrll 2003-04-14 H.J. Lu <hjl (a] gnu.org> 3710 1.1 skrll 3711 1.1 skrll * elflink.h (elf_link_add_object_symbols): Maintain maximum 3712 1.1 skrll alignment for common symbols. Warn reducing alignment for 3713 1.1 skrll common symbols. Report old filename when symbol size changes. 3714 1.1 skrll 3715 1.1 skrll 2003-04-12 Alexandre Oliva <aoliva (a] redhat.com> 3716 1.1 skrll 3717 1.1 skrll * elfxx-mips.c (mips_elf_calculate_relocation): Adjust two other 3718 1.1 skrll occurrences of the same test changed in the previous patch. 3719 1.1 skrll Optimize. 3720 1.1 skrll 3721 1.1 skrll 2003-04-11 Alexandre Oliva <aoliva (a] redhat.com> 3722 1.1 skrll 3723 1.1 skrll * elfxx-mips.c (mips_elf_get_global_gotsym_index): New. 3724 1.1 skrll (mips_elf_calculate_relocation): Decay GOT_PAGE/GOT_OFST to 3725 1.1 skrll GOT_DISP/addend only if the symbol got a global GOT entry. 3726 1.1 skrll 3727 1.1 skrll 2003-04-10 Alexandre Oliva <aoliva (a] redhat.com> 3728 1.1 skrll 3729 1.1 skrll * elfxx-mips.c (mips_elf_calculate_relocation): Decay 3730 1.1 skrll GOT_PAGE/GOT_OFST referencing overridable symbol to 3731 1.1 skrll GOT_DISP/addend. 3732 1.1 skrll (_bfd_mips_elf_check_relocs): Handle GOT_PAGE referencing 3733 1.1 skrll global symbol as GOT_DISP. 3734 1.1 skrll 3735 1.1 skrll 2003-04-10 Bob Wilson <bob.wilson (a] acm.org> 3736 1.1 skrll 3737 1.1 skrll * elf32-xtensa.c (elf_xtensa_relocate_section): Don't continue to the 3738 1.1 skrll next relocation on an undefined symbol. 3739 1.1 skrll 3740 1.1 skrll 2003-04-09 Richard Henderson <rth (a] redhat.com> 3741 1.1 skrll 3742 1.1 skrll * elf64-alpha.c (elf64_alpha_relocate_section) <R_ALPHA_GPREL32>: 3743 1.1 skrll Ignore relocations against r_symndx == 0. 3744 1.1 skrll 3745 1.1 skrll 2003-04-09 H.J. Lu <hjl (a] gnu.org> 3746 1.1 skrll 3747 1.1 skrll * elf64-alpha.c (elf64_alpha_relocate_section): Don't return 3748 1.1 skrll FALSE for undefined symbols. 3749 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. 3750 1.1 skrll 3751 1.1 skrll 2003-04-09 Alexandre Oliva <aoliva (a] redhat.com> 3752 1.1 skrll 3753 1.1 skrll * dwarf2.c (_bfd_dwarf2_find_nearest_line): Try DWARF3-standard 3754 1.1 skrll and IRIX-specific shift-to-64-bit 4-byte lengths before following 3755 1.1 skrll addr_size. 3756 1.1 skrll 3757 1.1 skrll 2003-04-08 Alexandre Oliva <aoliva (a] redhat.com> 3758 1.1 skrll 3759 1.1 skrll * elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): Detect (ctor) 3760 1.1 skrll pointer size from ABI, not arch_bits_per_address. 3761 1.1 skrll 3762 1.1 skrll 2003-04-07 Kevin Buettner <kevinb (a] redhat.com> 3763 1.1 skrll 3764 1.1 skrll * elfn32-mips.c (elf32_mips_grok_prstatus): Adjust core file related 3765 1.1 skrll constants for n32 ABI. 3766 1.1 skrll 3767 1.1 skrll 2003-04-06 Andrew Cagney <cagney (a] redhat.com> 3768 1.1 skrll 3769 1.1 skrll * simple.c (bfd_simple_get_relocated_section_contents): Disable 3770 1.1 skrll free that leads to GDB vs BFD memory corruption. 3771 1.1 skrll 3772 1.1 skrll 2003-04-04 Stephane Carrez <stcarrez (a] nerim.fr> 3773 1.1 skrll 3774 1.1 skrll * elf32-m68hc11.c (m68hc11_elf_relax_delete_bytes): Also adjust 3775 1.1 skrll symbols that mark the end of the section. 3776 1.1 skrll (m68hc11_elf_relax_section): Use R_M68HC11_PCREL_8 relocs when 3777 1.1 skrll converting to a relative branch so that the offset is computed after 3778 1.1 skrll the relaxation; also relocate a jsr into a bsr if possible but don't 3779 1.1 skrll relax them if they are to a far symbol as we need to call the 3780 1.1 skrll trampoline code. 3781 1.1 skrll (elf_m68hc11_howto_table): Set pcrel_offset to true. 3782 1.1 skrll 3783 1.1 skrll 2003-04-04 Svein E. Seldal <Svein.Seldal (a] solidas.com> 3784 1.1 skrll 3785 1.1 skrll * archures.c: Namespace cleanup. Rename bfd_mach_c3x to 3786 1.1 skrll bfd_mach_tic3x and bfd_mach_c4x to bfd_mach_tic4x 3787 1.1 skrll * bfd-in2.h: Regenerate 3788 1.1 skrll * coff-tic4x.c: Namespace cleanup. Replace s/c4x/tic4x/ 3789 1.1 skrll * cpu-tic4x.c: Ditto 3790 1.1 skrll 3791 1.1 skrll 2003-04-03 Nick Clifton <nickc (a] redhat.com> 3792 1.1 skrll 3793 1.1 skrll * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Compute ps and ss 3794 1.1 skrll differently for object files and executables. 3795 1.1 skrll * peicode.h (coff_swap_scnhdr_in): Only set the s_size field 3796 1.1 skrll for object files or for executables who have not already 3797 1.1 skrll initialised the field. 3798 1.1 skrll * libpei.h (bfd_pe_executable_p): New macro. Return true if 3799 1.1 skrll the PE format bfd is an executable. 3800 1.1 skrll 3801 1.1 skrll 2003-04-03 Alan Modra <amodra (a] bigpond.net.au> 3802 1.1 skrll 3803 1.1 skrll * elf32-ppc.c (ppc_elf_check_relocs): Don't use SYMBOL_REFERENCES_LOCAL 3804 1.1 skrll here as it's too early to reliably determine locality. 3805 1.1 skrll (ppc_elf_gc_sweep_hook): Likewise. 3806 1.1 skrll (SYMBOL_REFERENCES_LOCAL): Expand comment. 3807 1.1 skrll 3808 1.1 skrll 2003-04-02 Bob Wilson <bob.wilson (a] acm.org> 3809 1.1 skrll 3810 1.1 skrll * xtensa-modules.c: Remove comment indicating that this is a 3811 1.1 skrll generated file. 3812 1.1 skrll 3813 1.1 skrll 2003-04-02 Alan Modra <amodra (a] bigpond.net.au> 3814 1.1 skrll 3815 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_hide_symbol): Test for NULL dynobj. 3816 1.1 skrll 3817 1.1 skrll 2003-04-01 Bob Wilson <bob.wilson (a] acm.org> 3818 1.1 skrll 3819 1.1 skrll * Makefile.am (ALL_MACHINES): Add cpu-xtensa.lo. 3820 1.1 skrll (ALL_MACHINES_CFILES): Add cpu-xtensa.c. 3821 1.1 skrll (BFD32_BACKENDS): Add elf32-xtensa.lo, xtensa-isa.lo, and 3822 1.1 skrll xtensa-modules.lo. 3823 1.1 skrll (BFD32_BACKENDS_CFILES): Add elf32-xtensa.c, xtensa-isa.c, and 3824 1.1 skrll xtensa-modules.c. 3825 1.1 skrll (cpu-xtensa.lo): New target. 3826 1.1 skrll (elf32-xtensa.lo): Likewise. 3827 1.1 skrll (xtensa-isa.lo): Likewise. 3828 1.1 skrll (xtensa-modules.lo): Likewise. 3829 1.1 skrll * Makefile.in: Regenerate. 3830 1.1 skrll * archures.c (bfd_architecture): Add bfd_{arch,mach}_xtensa. 3831 1.1 skrll (bfd_archures_list): Add bfd_xtensa_arch. 3832 1.1 skrll * config.bfd: Handle xtensa-*-*. 3833 1.1 skrll * configure.in: Handle bfd_elf32_xtensa_{le,be}_vec. 3834 1.1 skrll * configure: Regenerate. 3835 1.1 skrll * reloc.c: Add BFD_RELOC_XTENSA_{RTLD,GLOB_DAT,JMP_SLOT,RELATIVE, 3836 1.1 skrll PLT,OP0,OP1,OP2,ASM_EXPAND,ASM_SIMPLIFY}. 3837 1.1 skrll * targets.c (bfd_elf32_xtensa_be_vec): Declare. 3838 1.1 skrll (bfd_elf32_xtensa_le_vec): Likewise. 3839 1.1 skrll (bfd_target_vector): Add bfd_elf32_xtensa_{be,le}_vec. 3840 1.1 skrll * cpu-xtensa.c: New file. 3841 1.1 skrll * elf32-xtensa.c: Likewise. 3842 1.1 skrll * xtensa-isa.c: Likewise. 3843 1.1 skrll * xtensa-modules.c: Likewise. 3844 1.1 skrll * libbfd.h: Regenerate. 3845 1.1 skrll * bfd-in2.h: Likewise. 3846 1.1 skrll 3847 1.1 skrll 2003-04-01 Nick Clifton <nickc (a] redhat.com> 3848 1.1 skrll 3849 1.1 skrll * archures.c (bfd_mach_arm_unknown): Define. 3850 1.1 skrll * bfd-in.h (bfd_arm_merge_machines, bfd_arm+update_notes, 3851 1.1 skrll bfd_arm_get_mach_from_notes): Prototype. 3852 1.1 skrll * bfd-in2.h: Regenerate. 3853 1.1 skrll * coff-arm.c (coff_arm_merge_private_bfd_data): Call 3854 1.1 skrll bfd_arm_merge_machines. 3855 1.1 skrll (coff_arm_final_link_postscript): Call bfd_arm_update_notes. 3856 1.1 skrll * coffcode.h (coff_set_arch_mach_hook): Call 3857 1.1 skrll bfd_arm_get_mach_from_notes. 3858 1.1 skrll * coffgen.c (coff_real_object_p): Revert previous delta. 3859 1.1 skrll * cpu_arm.c (arm_check_note): New function. Examine a note in a 3860 1.1 skrll .note section. 3861 1.1 skrll (bfd_arm_merge_machines): New function: Handle the merging of ARM 3862 1.1 skrll binaries compiled for different architectures.. 3863 1.1 skrll (bfd_arm_update_notes): New function: Update an ARM note section. 3864 1.1 skrll (bfd_arm_get_mach_from_notes): New function: Extract a bfd machine 3865 1.1 skrll number from an ARM note section. 3866 1.1 skrll * elf32-arm.h (elf32_arm_object_p): Use 3867 1.1 skrll bfd_arm_get_mach_from_notes. 3868 1.1 skrll (elf32_arm_merge_private_bfd_data): Use bfd_arm_merge_machines. 3869 1.1 skrll (elf32_arm_final_write_processing): Use bfd_arm_update_notes. 3870 1.1 skrll 3871 1.1 skrll 2003-04-01 Ben Elliston <bje (a] wasabisystems.com> 3872 1.1 skrll 3873 1.1 skrll * dwarf2.c (read_attribute_value): Correct typo in comment. 3874 1.1 skrll 3875 1.1 skrll 2003-04-01 Nick Clifton <nickc (a] redhat.com> 3876 1.1 skrll 3877 1.1 skrll * dwarf2.c (concat_filename): Use bfd_malloc() and strdup() 3878 1.1 skrll instead of concat(). 3879 1.1 skrll (decode_line_info): Only free filename if it is not NULL. 3880 1.1 skrll (add_line_info): Make a copy of the filename when storing it into 3881 1.1 skrll the info structure. 3882 1.1 skrll 3883 1.1 skrll 2003-03-31 Andreas Schwab <schwab (a] suse.de> 3884 1.1 skrll Daniel Jacobowitz <drow (a] mvista.com> 3885 1.1 skrll 3886 1.1 skrll * simple.c (bfd_simple_get_relocated_section_contents): Add 3887 1.1 skrll parameter symbol_table. Optionally use it instead of the symbol 3888 1.1 skrll table from the bfd. Save and restore output offsets and output 3889 1.1 skrll sections around bfd_get_relocated_section_contents. Fix a memory 3890 1.1 skrll leak. 3891 1.1 skrll (simple_save_output_info, simple_restore_output_info): New 3892 1.1 skrll functions. 3893 1.1 skrll * bfd-in2.h: Regenerate. 3894 1.1 skrll * dwarf2.c (read_abbrevs): Use 3895 1.1 skrll bfd_simple_get_relocated_section_contents instead of 3896 1.1 skrll bfd_get_section_contents. 3897 1.1 skrll (decode_line_info): Likewise. 3898 1.1 skrll (_bfd_dwarf2_find_nearest_line): Likewise. Don't call 3899 1.1 skrll find_rela_addend. 3900 1.1 skrll (find_rela_addend): Remove. 3901 1.1 skrll * elfxx-ia64.c (elfNN_ia64_reloc): Weaken sanity check for 3902 1.1 skrll debugging sections. 3903 1.1 skrll (elfNN_ia64_hash_table_create): Create the hash table with malloc, 3904 1.1 skrll not bfd_zalloc. 3905 1.1 skrll 3906 1.1 skrll 2003-03-31 David Heine <dlheine (a] suif.stanford.edu> 3907 1.1 skrll 3908 1.1 skrll * aoutx.h (aout_link_hash_table_create): Use bfd_malloc instead of 3909 1.1 skrll bfd_alloc. 3910 1.1 skrll * dwarf2.c (concat_filename): Always allocate space for the 3911 1.1 skrll returned filename. 3912 1.1 skrll (decode_line_info): Free the allocated filename returned by 3913 1.1 skrll concat_filename. 3914 1.1 skrll * elf-eh-frame.c (bfd_elf_write_section_eh_frame): Fix memory leaks. 3915 1.1 skrll * elf.c (copy_private_bfd_data): Likewise. 3916 1.1 skrll (_bfd_elf_slurp_version_tables): Fix bug freeing contents pointer. 3917 1.1 skrll * elflink.h (elf_link_sort_relocs): Fix memory leak. 3918 1.1 skrll * format.c (bfd_check_format_matches): Likewise. 3919 1.1 skrll * linker.c (bfd_generic_final_link): Likewise. 3920 1.1 skrll * opncls.c (find_separate_debug_info): Likewise. 3921 1.1 skrll * simple.c (bfd_simple_get_relocated_section_contents): Likewise. 3922 1.1 skrll 3923 1.1 skrll 2003-03-28 H.J. Lu <hjl (a] gnu.org> 3924 1.1 skrll 3925 1.1 skrll * elflink.h (elf_link_add_object_symbols): Correctly combine 3926 1.1 skrll visibilities. 3927 1.1 skrll 3928 1.1 skrll 2003-03-27 Jakub Jelinek <jakub (a] redhat.com> 3929 1.1 skrll 3930 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relax_section): Reset self_dtpmod_offset 3931 1.1 skrll to -1 before recomputing got offsets. 3932 1.1 skrll 3933 1.1 skrll 2003-03-26 Andreas Schwab <schwab (a] suse.de> 3934 1.1 skrll 3935 1.1 skrll * elf32-m68k.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define. 3936 1.1 skrll (elf_m68k_relocate_section): Use it to correctly handle symbols 3937 1.1 skrll forced to be local. 3938 1.1 skrll (elf_m68k_finish_dynamic_symbol): Emit RELATIVE reloc for got 3939 1.1 skrll entries for symbols that are forced to be local. 3940 1.1 skrll 3941 1.1 skrll 2003-03-25 Alexandre Oliva <aoliva (a] redhat.com> 3942 1.1 skrll 3943 1.1 skrll * elfxx-mips.c (_bfd_mips_relax_section): New function. 3944 1.1 skrll * elfxx-mips.h (_bfd_mips_relax_section): Declare. 3945 1.1 skrll * elfn32-mips.c, elf64-mips.c: Use it. 3946 1.1 skrll 3947 1.1 skrll 2003-03-25 Stan Cox <scox (a] redhat.com> 3948 1.1 skrll Nick Clifton <nickc (a] redhat.com> 3949 1.1 skrll 3950 1.1 skrll Contribute support for Intel's iWMMXt chip - an ARM variant: 3951 1.1 skrll 3952 1.1 skrll * archures.c: Add bfd_mach_arm_iWMMXt. 3953 1.1 skrll * reloc.c: Add BFD_RELOC_ARM_CP_OFF_IMM_S2. 3954 1.1 skrll * bfd-in2.h: Regenerate. 3955 1.1 skrll * libbfd.h: Regenerate. 3956 1.1 skrll * coff-arm.c (coff_arm_merge_private_bfd_data): Allow iWMMXt 3957 1.1 skrll object files to be linked with XScale ones. 3958 1.1 skrll (coff_arm_final_link_postscript): Update note section. 3959 1.1 skrll * coffcode.h (coff_set_arch_mach_hook): Handle note section. 3960 1.1 skrll * coffgen.c (coff_real_object_p): Call bfd_coff_set_arch_mach_hook 3961 1.1 skrll after identifying a coff binary. 3962 1.1 skrll * cpu-arm.c (processors): Add iWMMXt. 3963 1.1 skrll (arch_inf): Likewise. 3964 1.1 skrll * elf32-arm.h (arm_object_p): Handle note section. 3965 1.1 skrll (elf32_arm_merge_private_bfd_data): Allow iWMMXt object files to 3966 1.1 skrll be linked with XScale ones. 3967 1.1 skrll (elf32_arm_section_flags): New function: Set flags on note section. 3968 1.1 skrll (elf32_arm_final_write_processing): Handle note section. 3969 1.1 skrll 3970 1.1 skrll 2003-03-21 DJ Delorie <dj (a] redhat.com> 3971 1.1 skrll 3972 1.1 skrll * elf32-xstormy16.c (elf32_xstormy16_relocate_section): Call 3973 1.1 skrll _bfd_elf_rela_local_sym. 3974 1.1 skrll 3975 1.1 skrll 2003-03-20 H.J. Lu <hjl (a] gnu.org> 3976 1.1 skrll 3977 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relax_section): Don't try relax for 3978 1.1 skrll non-ELF outputs. 3979 1.1 skrll 3980 1.1 skrll 2003-03-20 Nick Clifton <nickc (a] redhat.com> 3981 1.1 skrll 3982 1.1 skrll * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Initialise $idata2 and 3983 1.1 skrll $idata5 in case bfd_coff_final_link is not called. 3984 1.1 skrll 3985 1.1 skrll 2003-03-19 Jakub Jelinek <jakub (a] redhat.com> 3986 1.1 skrll 3987 1.1 skrll * elf64-sparc.c (struct sparc64_elf_section_data): Add reloc_count 3988 1.1 skrll field. 3989 1.1 skrll (canon_reloc_count): Define. 3990 1.1 skrll (sparc64_elf_slurp_one_reloc_table, sparc64_elf_slurp_reloc_table, 3991 1.1 skrll sparc64_elf_canonicalize_dynamic_reloc): Use it instead of 3992 1.1 skrll reloc_count. 3993 1.1 skrll (sparc64_elf_canonicalize_reloc): New routine. 3994 1.1 skrll (bfd_elf64_canonicalize_reloc): Define. 3995 1.1 skrll 3996 1.1 skrll 2003-03-18 Jakub Jelinek <jakub (a] redhat.com> 3997 1.1 skrll 3998 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relax_section): Handle relaxation 3999 1.1 skrll againt mergeable sections. Take r_addend into account when caching 4000 1.1 skrll trampolines. 4001 1.1 skrll 4002 1.1 skrll 2003-03-18 Richard Henderson <rth (a] redhat.com> 4003 1.1 skrll 4004 1.1 skrll * elfxx-ia64.c (get_dyn_sym_info): Return NULL gracefully for 4005 1.1 skrll local symbols that have no dyninfo. 4006 1.1 skrll 4007 1.1 skrll 2003-03-14 Gene Smith <gene.smith (a] siemens.com> 4008 1.1 skrll 4009 1.1 skrll * ieee.c (ieee_write_expression): Handle the case where symbol is 4010 1.1 skrll NULL. 4011 1.1 skrll General formatting improvements. 4012 1.1 skrll 4013 1.1 skrll 2003-03-13 Nick Clifton <nickc (a] redhat.com> 4014 1.1 skrll 4015 1.1 skrll * configure.in (LINGUAS): Add zh_CN. 4016 1.1 skrll * configure: Regenerate. 4017 1.1 skrll * po/zh_CN.po: New file. 4018 1.1 skrll 4019 1.1 skrll 2003-03-13 Elias Athanasopoulos <elathan (a] phys.uoa.gr> 4020 1.1 skrll 4021 1.1 skrll * aout-cris.c (BYTES_IN_WORD): Don't define. 4022 1.1 skrll aout-encap.c: Likewise. 4023 1.1 skrll aout-ns32k.c: Likewise. 4024 1.1 skrll aout-tic30.c: Likewise. 4025 1.1 skrll hp300bsd.c: Likewise. 4026 1.1 skrll i386aout.c: Likewise. 4027 1.1 skrll i386dynix.c: Likewise. 4028 1.1 skrll i386linux.c: Likewise. 4029 1.1 skrll i386lynx.c: Likewise. 4030 1.1 skrll i386mach3.c: Likewise. 4031 1.1 skrll m68k4knetbsd.c: Likewise. 4032 1.1 skrll m68klinux.c: Likewise. 4033 1.1 skrll m68klynx.c: Likewise. 4034 1.1 skrll m68knetbsd.c: Likewise. 4035 1.1 skrll m88kmach3.c: Likewise. 4036 1.1 skrll mipsbsd.c: Likewise. 4037 1.1 skrll newsos3.c: Likewise. 4038 1.1 skrll sparclinux.c: Likewise. 4039 1.1 skrll sparclynx.c: Likewise. 4040 1.1 skrll sparcnetbsd.c: Likewise. 4041 1.1 skrll vaxbsd.c: Likewise. Fix comment formatting. 4042 1.1 skrll 4043 1.1 skrll 2003-03-12 Alexandre Oliva <aoliva (a] redhat.com> 4044 1.1 skrll 4045 1.1 skrll * Reverted 2003-03-02's patch. 4046 1.1 skrll 4047 1.1 skrll * elfxx-target.h (bfd_elfNN_canonicalize_reloc): Make it 4048 1.1 skrll overridable. 4049 1.1 skrll * elf64-mips.c (mips_elf64_canonicalize_reloc, 4050 1.1 skrll mips_elf64_get_dynamic_reloc_upper_bound, 4051 1.1 skrll mips_elf64_canonicalize_dynamic_reloc): New, adapted from elf.c. 4052 1.1 skrll (bfd_elf64_get_canonicalize_reloc, 4053 1.1 skrll bfd_elf64_get_dynamic_reloc_upper_bound, 4054 1.1 skrll bfd_elf64_canonicalize_dynamic_reloc): Define. 4055 1.1 skrll (mips_elf64_slurp_reloc_table): Support dynamic. 4056 1.1 skrll (mips_elf64_slurp_one_reloc_table): Adjust. 4057 1.1 skrll 4058 1.1 skrll 2003-03-12 Nick Clifton <nickc (a] redhat.com> 4059 1.1 skrll 4060 1.1 skrll * xsym.c (bfd_sym_fetch_type_information_table_entry): Change 4061 1.1 skrll 'index' to 'offset' in test for zero value. 4062 1.1 skrll 4063 1.1 skrll 2003-03-11 Alexandre Oliva <aoliva (a] redhat.com> 4064 1.1 skrll 4065 1.1 skrll * elfxx-mips.c (mips_elf_create_dynamic_relocation): Do not create 4066 1.1 skrll dynamic relocations pointing to local or section symbols, use the 4067 1.1 skrll NULL symbol instead. Document the choice to not emit an 4068 1.1 skrll additional R_MIPS_64 relocation. 4069 1.1 skrll 4070 1.1 skrll 2003-03-11 Alan Modra <amodra (a] bigpond.net.au> 4071 1.1 skrll 4072 1.1 skrll * elf32-ppc.c (ppc_elf_relocate_section): Subtract tls seg vma from 4073 1.1 skrll zero index dynamic tls relocs generated for the GOT. Tidy code. 4074 1.1 skrll Set "relocation" to 1 on DTPMOD32 relocs. Optimize HA adjustment. 4075 1.1 skrll * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. 4076 1.1 skrll 4077 1.1 skrll 2003-03-07 Alan Modra <amodra (a] bigpond.net.au> 4078 1.1 skrll 4079 1.1 skrll * elf32-ppc.c (ppc_elf_relocate_section): Don't look for a nop after 4080 1.1 skrll a tls_get_addr call. 4081 1.1 skrll 4082 1.1 skrll * elf32-ppc.c (ELIMINATE_COPY_RELOCS): Define as one. 4083 1.1 skrll (ppc_elf_adjust_dynamic_symbol): For weak symbols, copy 4084 1.1 skrll ELF_LINK_NON_GOT_REF from weakdef. 4085 1.1 skrll * elf64-ppc.c (ELIMINATE_COPY_RELOCS): Define as one. 4086 1.1 skrll (ppc64_elf_adjust_dynamic_symbol): For weak symbols, copy 4087 1.1 skrll ELF_LINK_NON_GOT_REF from weakdef. 4088 1.1 skrll * elf32-i386.c (ELIMINATE_COPY_RELOCS): Define as one. Use throughout. 4089 1.1 skrll (elf_i386_adjust_dynamic_symbol): For weak symbols, copy 4090 1.1 skrll ELF_LINK_NON_GOT_REF from weakdef. 4091 1.1 skrll 4092 1.1 skrll 2003-03-06 Jakub Jelinek <jakub (a] redhat.com> 4093 1.1 skrll Andrew Haley <aph (a] redhat.com> 4094 1.1 skrll 4095 1.1 skrll * elflink.h (elf_bfd_discard_info): Don't process eh frames if 4096 1.1 skrll output is relocateable. 4097 1.1 skrll 4098 1.1 skrll 2003-03-06 Steven Konopa <skonopa (a] kgo.csc.com> 4099 1.1 skrll 4100 1.1 skrll * som.c (som_fixup_formats): Correct formats for R_AUX_UNWIND and 4101 1.1 skrll R_COMMENT. 4102 1.1 skrll 4103 1.1 skrll 2003-03-06 Alan Modra <amodra (a] bigpond.net.au> 4104 1.1 skrll 4105 1.1 skrll * elf32-ppc.c (ppc_elf_create_linker_section): Don't capitalize 4106 1.1 skrll error messages. 4107 1.1 skrll (ELIMINATE_COPY_RELOCS): Define to zero. 4108 1.1 skrll (ppc_elf_relocate_section): Don't deref htab->tls_sec when calculating 4109 1.1 skrll TLSLD relocs. Report reloc types on a number of errors. Optimize 4110 1.1 skrll LOCAL24PC check for non-local syms. Don't capitalize error messages. 4111 1.1 skrll * elf64-ppc.c (ELIMINATE_COPY_RELOCS): Define to zero. 4112 1.1 skrll (ppc64_elf_relocate_section): Don't deref htab->tls_sec when 4113 1.1 skrll calculating TLSLD relocs. Report reloc types on a number of errors. 4114 1.1 skrll Don't capitalize error messages. 4115 1.1 skrll 4116 1.1 skrll 2003-03-03 H.J. Lu <hjl (a] gnu.org> 4117 1.1 skrll 4118 1.1 skrll * elfxx-ia64.c (USE_BRL): Removed. 4119 1.1 skrll (oor_ip): Removed. 4120 1.1 skrll 4121 1.1 skrll 2003-03-03 J"orn Rennecke <joern.rennecke (a] superh.com> 4122 1.1 skrll 4123 1.1 skrll * elf32-sh.c (sh_elf_howto_tab): Make R_SH_IND12W into an ordinary 4124 1.1 skrll relocation (no special function), and make it non-partial_inplace. 4125 1.1 skrll (sh_elf_relax_section): When creating a bsr, use a consistent value 4126 1.1 skrll no matter if the symbol is extern or not; set addend to -4. 4127 1.1 skrll Don't swap load / non-load instructions for SH4. 4128 1.1 skrll (sh_elf_relax_delete_bytes): In R_SH_IND12W case, check the offset 4129 1.1 skrll rather than if the symbol is external to determine if adjusting the 4130 1.1 skrll offset makes sense. Adjust the addend too if appropriate. 4131 1.1 skrll (sh_elf_relocate_section): In R_SH_IND12W, don't fiddle with the 4132 1.1 skrll relocation. 4133 1.1 skrll 4134 1.1 skrll 2003-03-03 Nick Clifton <nickc (a] redhat.com> 4135 1.1 skrll 4136 1.1 skrll * po/da.po: Installed latest translation. 4137 1.1 skrll 4138 1.1 skrll 2003-03-02 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 4139 1.1 skrll 4140 1.1 skrll * elf32-mips.c (elf_mips_howto_table_rel): Change definition of 4141 1.1 skrll R_MIPS_PC16 to rightshift 2. 4142 1.1 skrll (elf_reloc_map mips_reloc_map): Map to rightshifted BFD reloc. 4143 1.1 skrll (bfd_elf32_bfd_reloc_type_lookup): Support 4144 1.1 skrll BFD_RELOC_MIPSEMB_16_PCREL_S2. 4145 1.1 skrll * elf64-mips.c (mips_elf64_howto_table_rel): Change definition of 4146 1.1 skrll R_MIPS_PC16 to rightshift 2. 4147 1.1 skrll (mips_elf64_howto_table_rela): Likewise. 4148 1.1 skrll (mips_reloc_map): Map to rightshifted BFD reloc. 4149 1.1 skrll * elfn32-mips.c: The same as in elf64-mips.c. 4150 1.1 skrll * elfxx-mips.c (mips_elf_got_for_ibfd): Typo in comment. 4151 1.1 skrll (mips_elf_calculate_relocation): Handle rightshifted addends for 4152 1.1 skrll R_MIPS_PC16. 4153 1.1 skrll * reloc.c (BFD_RELOC_MIPSEMB_16_PCREL_S2): New BFD relocation for 4154 1.1 skrll MIPS Embedded PIC. Remove superfluous empty COMMENT. 4155 1.1 skrll * libbfd.h: Regenerate. 4156 1.1 skrll * bfd-in2.h: Regenerate. 4157 1.1 skrll 4158 1.1 skrll 2003-02-28 Richard Henderson <rth (a] redhat.com> 4159 1.1 skrll 4160 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relax_section): Correct bounds 4161 1.1 skrll for ltoff22x relaxation. 4162 1.1 skrll 4163 1.1 skrll 2003-03-01 Alan Modra <amodra (a] bigpond.net.au> 4164 1.1 skrll 4165 1.1 skrll * bfd-in.h (_bfd): Don't define. 4166 1.1 skrll * bfd.c: Rename occurrences of "struct _bfd" to "struct bfd". 4167 1.1 skrll * syms.c: Likewise. 4168 1.1 skrll * bfd-in2.h: Regenerate. 4169 1.1 skrll 4170 1.1 skrll 2003-02-27 Richard Henderson <rth (a] redhat.com> 4171 1.1 skrll 4172 1.1 skrll * elfxx-ia64.c (struct elfNN_ia64_dyn_sym_info): Add want_gotx; 4173 1.1 skrll (elfNN_ia64_check_relocs): Set it. 4174 1.1 skrll (allocate_global_data_got): Check it. 4175 1.1 skrll (allocate_local_got): Likewise. 4176 1.1 skrll (allocate_dynrel_entries): Likewise. 4177 1.1 skrll (elfNN_ia64_relax_ldxmov): New. 4178 1.1 skrll (elfNN_ia64_relax_section): Handle LTOFF22X, LDXMOV. 4179 1.1 skrll (elfNN_ia64_choose_gp): Split out from ... 4180 1.1 skrll (elfNN_ia64_final_link): ... here. 4181 1.1 skrll 4182 1.1 skrll 2003-02-27 Andrew Cagney <cagney (a] redhat.com> 4183 1.1 skrll 4184 1.1 skrll * bfd.c (struct bfd): Rename "struct _bfd". 4185 1.1 skrll * bfd-in.h: Update copyright. 4186 1.1 skrll (struct bfd): Rename "struct _bfd". 4187 1.1 skrll (_bfd): Define for backward compatibility. 4188 1.1 skrll * bfd-in2.h: Regenerate. 4189 1.1 skrll 4190 1.1 skrll 2003-02-25 Alan Modra <amodra (a] bigpond.net.au> 4191 1.1 skrll 4192 1.1 skrll * elflink.h (elf_bfd_final_link): Apportion reloc counts to rel_hdr 4193 1.1 skrll and rel_hdr2 when initially counting input relocs rather than after 4194 1.1 skrll creating output reloc sections. 4195 1.1 skrll (elf_link_read_relocs_from_section): Don't abort with wrong reloc 4196 1.1 skrll sizes. 4197 1.1 skrll 4198 1.1 skrll * Makefile.am: Run "make dep-am". 4199 1.1 skrll * Makefile.in: Regenerate. 4200 1.1 skrll 4201 1.1 skrll 2003-02-24 Kris Warkentin <kewarken (a] qnx.com> 4202 1.1 skrll 4203 1.1 skrll * elf.c (elfcore_read_notes): Add check for QNX style core file. 4204 1.1 skrll (elfcore_grog_nto_note): New function. 4205 1.1 skrll (elfcore_grog_nto_gregs): New function. 4206 1.1 skrll (elfcore_grog_nto_status): New function. 4207 1.1 skrll 4208 1.1 skrll 2003-02-24 Alan Modra <amodra (a] bigpond.net.au> 4209 1.1 skrll 4210 1.1 skrll * elflink.c (_bfd_elf_create_got_section): Check existing .got 4211 1.1 skrll section flags before concluding that we've already been called. 4212 1.1 skrll Don't use register keyword. 4213 1.1 skrll (_bfd_elf_create_dynamic_sections): Don't use register keyword. 4214 1.1 skrll (_bfd_elf_create_linker_section): Formatting. 4215 1.1 skrll 4216 1.1 skrll 2003-02-20 jmc <jmc (a] prioris.mini.pw.edu.pl> 4217 1.1 skrll 4218 1.1 skrll * coff-h8300.c: Fix typo: intial -> initial. 4219 1.1 skrll * coff-ppc.c: Likewise. 4220 1.1 skrll 4221 1.1 skrll 2003-02-20 Alan Modra <amodra (a] bigpond.net.au> 4222 1.1 skrll 4223 1.1 skrll * elf32-ppc.c: Formatting. 4224 1.1 skrll (allocate_dynrelocs): LD and GD relocs against the same sym need 4225 1.1 skrll separate GOT entries. 4226 1.1 skrll (ppc_elf_relocate_section): Correct GOT handling for multiple GOT 4227 1.1 skrll entries per symbol. 4228 1.1 skrll 4229 1.1 skrll 2003-02-19 Alan Modra <amodra (a] bigpond.net.au> 4230 1.1 skrll 4231 1.1 skrll * elf32-hppa.c (elf32_hppa_gc_sweep_hook): Simplify dynamic reloc 4232 1.1 skrll removal. Localize vars. Remove unnecessary dynobj test. 4233 1.1 skrll * elf32-i386 (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead 4234 1.1 skrll of INFO. 4235 1.1 skrll (allocate_dynrelocs): Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL uses, 4236 1.1 skrll and optimize. 4237 1.1 skrll (elf_i386_relocate_section): Likewise. 4238 1.1 skrll (elf_i386_gc_sweep_hook): Simplify dyn reloc removal. Localize vars. 4239 1.1 skrll * elf32-s390.c (elf_s390_gc_sweep_hook): Likewise. 4240 1.1 skrll * elf32-sh.c (sh_elf_gc_sweep_hook): Likewise. 4241 1.1 skrll * elf64-s390.c (elf_s390_gc_sweep_hook): Likewise. 4242 1.1 skrll * elf64-x86-64.c (elf64_x86_64_gc_sweep_hook): Likewise. 4243 1.1 skrll * elf32-sparc.c (elf32_sparc_gc_sweep_hook): Likewise. Remove 4244 1.1 skrll local_dynrel for section too. Don't touch HIPLT22, LOPLT10, PCPLT32 4245 1.1 skrll or PCPLT10 relocs. Don't subtract twice on PLT32 relocs. 4246 1.1 skrll Formatting. 4247 1.1 skrll 4248 1.1 skrll * elf64-ppc.c (ELIMINATE_COPY_RELOCS): Define. 4249 1.1 skrll (ppc64_elf_check_relocs): Use it. Correct comment. Move SEC_ALLOC 4250 1.1 skrll test. 4251 1.1 skrll (ppc64_elf_adjust_dynamic_symbol): Use ELIMINATE_COPY_RELOCS. 4252 1.1 skrll (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO. 4253 1.1 skrll (allocate_dynrelocs): Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL uses, 4254 1.1 skrll and optimize. Use ELIMINATE_COPY_RELOCS. 4255 1.1 skrll (ppc64_elf_relocate_section): Likewise. 4256 1.1 skrll 4257 1.1 skrll * elf32-ppc.c (struct ppc_elf_dyn_relocs): Add pc_count field. 4258 1.1 skrll (ppc_elf_copy_indirect_symbol): Copy pc_count field. 4259 1.1 skrll (ELIMINATE_COPY_RELOCS): Define. 4260 1.1 skrll (ppc_elf_adjust_dynamic_symbol): Convert copy relocs to dynamic. 4261 1.1 skrll (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO. 4262 1.1 skrll (MUST_BE_DYN_RELOC): Define. 4263 1.1 skrll (allocate_dynrelocs): Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL uses, 4264 1.1 skrll and optimize. Trim dyn_relocs. 4265 1.1 skrll (ppc_elf_check_relocs): Don't generate dyn_relocs when we know they'll 4266 1.1 skrll not be used. Do generate dyn_relocs for copy reloc avoidance. Keep 4267 1.1 skrll track of pc_rel dyn relocs. 4268 1.1 skrll (ppc_elf_relocate_section): Remove "will_become_local". Adjust 4269 1.1 skrll WILL_CALL_FINISH_DYNAMIC_SYMBOL use. Trim dyn relocs as per 4270 1.1 skrll allocate_dynrelocs. Don't recalculate "sec". 4271 1.1 skrll 4272 1.1 skrll 2003-02-18 Alan Modra <amodra (a] bigpond.net.au> 4273 1.1 skrll 4274 1.1 skrll * elf32-ppc.c (ppc_elf_relocate_section): Remove unnecessary test. 4275 1.1 skrll * elf64-ppc.c (ppc64_elf_tls_optimize): Decrement tlsld_got.refcount 4276 1.1 skrll on invalid LD relocs. 4277 1.1 skrll (allocate_dynrelocs): Invalid LD relocs don't use tlsld_got entry. 4278 1.1 skrll (ppc64_elf_relocate_section): Unify new handling of LD relocs and 4279 1.1 skrll tlsld_got entry. Use IS_PPC64_TLS_RELOC. 4280 1.1 skrll 4281 1.1 skrll * elf32-ppc.h: New file. 4282 1.1 skrll * elf32-ppc.c: Include elf32-ppc.h. 4283 1.1 skrll (NOP, CROR_151515, CROR_313131, TP_OFFSET, DTP_OFFSET): Define. 4284 1.1 skrll (struct ppc_elf_link_hash_entry): Rename "root" to "elf". Adjust uses. 4285 1.1 skrll Add "tls_mask" field. 4286 1.1 skrll (TLS_GD, TLS_LD, TLS_TPREL, TLS_DTPREL, TLS_TLS, TLS_TPRELGD): Define. 4287 1.1 skrll (struct ppc_elf_link_hash_table): Rename "root" to "elf". Adjust uses. 4288 1.1 skrll Add got, relgot, plt, relplt, dynbss, relbss, dynsbss, relsbss, 4289 1.1 skrll sdata, sdata2, tls_sec, tls_get_addr, tlsld_got fields. 4290 1.1 skrll Make use of htab shortcuts throughout file. 4291 1.1 skrll (ppc_elf_link_hash_newfunc): Init tls_mask field. 4292 1.1 skrll (ppc_elf_link_hash_table_create): Init new fields. 4293 1.1 skrll (ppc_elf_copy_indirect_symbol): Copy tls_mask. 4294 1.1 skrll (ppc_elf_howto_raw): Add tls relocs. 4295 1.1 skrll (ppc_elf_reloc_type_lookup): Handle them. 4296 1.1 skrll (ppc_elf_unhandled_reloc): New function. 4297 1.1 skrll (ppc_elf_create_got): Stash got section pointer in hash table, 4298 1.1 skrll return status. Make .rela.got too. 4299 1.1 skrll (ppc_elf_create_dynamic_sections): Stash section pointers in htab. 4300 1.1 skrll (ppc_elf_adjust_dynamic_symbol): Only set up copy relocs when 4301 1.1 skrll NON_GOT_REF set. Don't allocate space in .plt here.. 4302 1.1 skrll (allocate_dynrelocs): ..do so here instead, properly ref-counting and 4303 1.1 skrll not allocating plt entries unnecessarily. Allocate got entries here. 4304 1.1 skrll (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define. 4305 1.1 skrll (ppc_elf_size_dynamic_sections): Allocate local got entries. Pass 4306 1.1 skrll "info" during allocate_dynrelocs hash traversal. Use htab section 4307 1.1 skrll shortcuts rather than searching for named sections. Get rid of 4308 1.1 skrll "plt" and "strip" booleans. 4309 1.1 skrll (update_local_sym_info, bad_shared_reloc): New functions. 4310 1.1 skrll (ppc_elf_check_relocs): Handle TLS relocs. Move .rela.got creation to 4311 1.1 skrll ppc_elf_create_got. Don't mark got or plt reloc syms dynamic, do so 4312 1.1 skrll in allocate_dynreloc. Use update_local_sym_info and bad_shared_reloc. 4313 1.1 skrll Disallow R_PPC_EMB_RELSDA, R_PPC_EMB_NADDR32, R_PPC_EMB_NADDR16, 4314 1.1 skrll R_PPC_EMB_NADDR16_LO, R_PPC_EMB_NADDR16_HI and R_PPC_EMB_NADDR16_HA 4315 1.1 skrll in shared libs. R_PPC_PLTREL32 is a plt reloc too. Refcount all 4316 1.1 skrll relocs that might use a plt entry. Set NON_GOT_REF too. 4317 1.1 skrll Enumerate all do-nothing relocs. 4318 1.1 skrll (ppc_elf_gc_sweep_hook): Simplify removal of dynrelocs. Handle 4319 1.1 skrll tls relocs and all plt relocs. 4320 1.1 skrll (ppc_elf_tls_setup, ppc_elf_tls_optimize): New functions. 4321 1.1 skrll (ppc_elf_finish_dynamic_symbol): Don't build got entries here. 4322 1.1 skrll (ppc_elf_finish_dynamic_sections): Rewrite tag code using htab 4323 1.1 skrll shortcuts. 4324 1.1 skrll (ppc_elf_relocate_section): Tidy. Handle TLS relocs. Use 4325 1.1 skrll bfd_elf_local_sym_name. Simplify unresolved reloc code. Build got 4326 1.1 skrll entries and got relocs here. Warn on non-zero got reloc addend. 4327 1.1 skrll Split out branch taken/not taken reloc code into a separate switch 4328 1.1 skrll and correct offset calculation. Allow BRTAKEN/BRNTAKEN dynamic relocs. 4329 1.1 skrll Split out HA reloc adjustments to separate switch statement. Don't 4330 1.1 skrll warn on reloc overflow if we've already warned about undefined. 4331 1.1 skrll Don't rebuild sym name when reporting errors. Report all possible 4332 1.1 skrll errors from _bfd_final_link_relocate. 4333 1.1 skrll (bfd_elf32_bfd_final_link): Don't define. 4334 1.1 skrll 4335 1.1 skrll 2003-02-18 Alan Modra <amodra (a] bigpond.net.au> 4336 1.1 skrll 4337 1.1 skrll * elf64-ppc.c (ppc64_elf_relocate_section): Don't init "r". Don't 4338 1.1 skrll rebuild sym name when reporting errors. 4339 1.1 skrll 4340 1.1 skrll 2003-02-17 Nick Clifton <nickc (a] redhat.com> 4341 1.1 skrll 4342 1.1 skrll * elflink.h (elf_link_output_extsym): Only check 4343 1.1 skrll allow_shlib_undefined for shared libraries. 4344 1.1 skrll * elf32-i386.c (elf_i386_relocate_section): Remove bogus check 4345 1.1 skrll of allow_shlib_undefined. 4346 1.1 skrll * elf32-cris.c (cris_elf_relocate_section): Likewise. 4347 1.1 skrll * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. 4348 1.1 skrll * elf32-m68k.c (elf_m68k_relocate_section): Likewise. 4349 1.1 skrll * elf32-ppc.c (ppc_elf_relocate_section): Likewise. 4350 1.1 skrll * elf32-s390.c (elf_s390_relocate_section): Likewise. 4351 1.1 skrll * elf32-sh.c (sh_elf_relocate_section): Likewise. 4352 1.1 skrll * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. 4353 1.1 skrll * elf32-vax.c (elf_vax_relocate_section): Likewise. 4354 1.1 skrll * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. 4355 1.1 skrll * elf64-hppa.c (elf64_hppa_relocate_section): Likewise. 4356 1.1 skrll * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. 4357 1.1 skrll * elf64-s390.c (elf_s390_relocate_section): Likewise. 4358 1.1 skrll * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. 4359 1.1 skrll * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. 4360 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. 4361 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_relocate_section): Likewise. 4362 1.1 skrll 4363 1.1 skrll 2003-02-17 Nick Clifton <nickc (a] redhat.com> 4364 1.1 skrll 4365 1.1 skrll * elf.c (SEGMENT_AFTER_SEGMENT): Add third parameter - the 4366 1.1 skrll address field to use in the comparison. 4367 1.1 skrll (SEGMENT_OVERLAPS): Check that LMAs overlap as well. 4368 1.1 skrll 4369 1.1 skrll 2003-02-14 Bob Wilson <bob.wilson (a] acm.org> 4370 1.1 skrll 4371 1.1 skrll * elfcore.h (elf_core_file_p): Compare alternate machine codes for ELF 4372 1.1 skrll backends when checking if the generic ELF target should be used. 4373 1.1 skrll 4374 1.1 skrll * syms.c (_bfd_stab_section_find_nearest_line): For line number stabs 4375 1.1 skrll outside of functions, treat values as absolute addresses. 4376 1.1 skrll 4377 1.1 skrll * bfd.c: Change embedded documentation to use consistent indentation 4378 1.1 skrll and to split up long lines. Change informal style of description 4379 1.1 skrll for functions lacking real documentation. 4380 1.1 skrll * coffcode.h: Break up long lines in embedded documentation. 4381 1.1 skrll * format.c: Likewise. 4382 1.1 skrll * targets.c: Likewise. 4383 1.1 skrll * libcoff.h: Regenerate. 4384 1.1 skrll * bfd-in2.h: Regenerate. 4385 1.1 skrll 4386 1.1 skrll 2003-02-14 Alan Modra <amodra (a] bigpond.net.au> 4387 1.1 skrll 4388 1.1 skrll * elf64-ppc.c (ppc64_elf_link_hash_table_create): Init tls_get_addr. 4389 1.1 skrll (ppc64_elf_copy_indirect_symbol): Merge tls_mask too. 4390 1.1 skrll (ppc64_elf_gc_sweep_hook): Simplify removal of dyn_relocs. 4391 1.1 skrll (allocate_dynrelocs): Don't treat undefined and undefweak specially. 4392 1.1 skrll (ppc_size_one_stub): Fix warning, and tighten plt entry check. 4393 1.1 skrll (group_sections): Don't share a stub section if stubs are for a large 4394 1.1 skrll section. Adjust comment. 4395 1.1 skrll (ppc64_elf_size_stubs): Roughly double the size left for stubs if 4396 1.1 skrll !stubs_always_before_branch. 4397 1.1 skrll (ppc64_elf_relocate_section): Initialize tlsld GOT entry once. Don't 4398 1.1 skrll treat undefined and undefweak specially when processing dyn relocs. 4399 1.1 skrll 4400 1.1 skrll 2003-02-13 Jakub Jelinek <jakub (a] redhat.com> 4401 1.1 skrll 4402 1.1 skrll * elflink.h (elf_link_add_object_symbols): Handle .symver x, x@FOO. 4403 1.1 skrll 4404 1.1 skrll 2003-02-13 Nick Clifton <nickc (a] redhat.com> 4405 1.1 skrll 4406 1.1 skrll * elf32-arm.h (elf32_thumb_to_arm_stub): Include section VMAs 4407 1.1 skrll in computation of offset to insert into BL instruction. 4408 1.1 skrll 4409 1.1 skrll 2003-02-11 Uwe Stieber <uwe (a] wwws.de> 4410 1.1 skrll 4411 1.1 skrll * config.bfd: Add support for kaOS as cross build target system. 4412 1.1 skrll 4413 1.1 skrll 2003-02-11 Alan Modra <amodra (a] bigpond.net.au> 4414 1.1 skrll 4415 1.1 skrll * elf64-ppc.c (ppc64_elf_check_relocs): Match versioned 4416 1.1 skrll .__tls_get_addr too. 4417 1.1 skrll (ppc64_elf_tls_setup): Ensure cached tls_get_addr is not indirect. 4418 1.1 skrll 4419 1.1 skrll 2003-02-10 Kaz kojima <kkojima (a] rr.iij4u.or.jp> 4420 1.1 skrll 4421 1.1 skrll * elf32-sh.c (elf_sh_dyn_relocs): Add tls_tpoff32 field. 4422 1.1 skrll (elf_sh_link_hash_entry): Remove tls_tpoff32 field. 4423 1.1 skrll (sh_elf_link_hash_newfunc): Remove the initialization of 4424 1.1 skrll tls_tpoff32 field. 4425 1.1 skrll (allocate_dynrelocs): Keep dyn_relocs if it includes the entry 4426 1.1 skrll for which tls_tpoff32 flag is set. 4427 1.1 skrll (sh_elf_relocate_section): Covert to LE only if the dyn_relocs 4428 1.1 skrll of the symbol includes the entry matched with the input_section 4429 1.1 skrll and having tls_tpoff32 flag on. When linking statically, set 4430 1.1 skrll symbol index of R_SH_TLS_TPOFF32 relocation to zero if the symbol 4431 1.1 skrll is defined in this executable. 4432 1.1 skrll (sh_elf_check_relocs): Set tls_tpoff32 flag appropriately. 4433 1.1 skrll 4434 1.1 skrll 2003-02-10 Jakub Jelinek <jakub (a] redhat.com> 4435 1.1 skrll 4436 1.1 skrll * elf32-s390.c (elf_s390_size_dynamic_sections): Set relocs to TRUE 4437 1.1 skrll even if there is just non-empty .rela.plt. 4438 1.1 skrll 4439 1.1 skrll 2003-02-10 Nick Clifton <nickc (a] redhat.com> 4440 1.1 skrll 4441 1.1 skrll * archures.c (bfd_mach_arm_ep9312): Define. 4442 1.1 skrll * bfd-in2.h: Regenerate. 4443 1.1 skrll * cpu-arm.c (processors[]): Add ep9312. 4444 1.1 skrll (bfd_arm_arch): Add ep9312. 4445 1.1 skrll * elf32-arm.h (elf32_arm_merge_private_data): Update error 4446 1.1 skrll messages and add test for Maverick floating point support. 4447 1.1 skrll (elf32_arm_print_private_bfd_data): Handle 4448 1.1 skrll EF_ARM_MAVERICK_FLOAT flag. 4449 1.1 skrll (elf32_arm_object_p): New function. 4450 1.1 skrll (elf_backend_object_p): Define. 4451 1.1 skrll 4452 1.1 skrll 2003-02-10 Alan Modra <amodra (a] bigpond.net.au> 4453 1.1 skrll 4454 1.1 skrll * elf64-ppc.c: Rename assorted occurrences of tls_type and similar 4455 1.1 skrll variables, structure fields or function params to tls_mask or 4456 1.1 skrll similar to better reflect usage. 4457 1.1 skrll (struct got_entry): Comment. 4458 1.1 skrll (struct ppc_link_hash_entry): Expand comment, and renumber TLS_*. 4459 1.1 skrll (get_tls_mask): Rename from get_tls_type. 4460 1.1 skrll 4461 1.1 skrll 2003-02-09 Alan Modra <amodra (a] bigpond.net.au> 4462 1.1 skrll 4463 1.1 skrll * elf64-ppc.c (TLS_GD_LD): Don't define.. 4464 1.1 skrll (TLS_GD): ..define this instead and update all uses. 4465 1.1 skrll (TLS_TPRELGD): Define. 4466 1.1 skrll (ppc64_elf_link_hash_table_create): Tweak initialization of 4467 1.1 skrll init_refcount and init_offset. 4468 1.1 skrll (ppc64_elf_check_relocs): Add one extra element to t_symndx array. 4469 1.1 skrll Mark second slot of GD or LD toc entries. 4470 1.1 skrll (get_tls_type): Return an int. Distinguish toc GD and LD entries 4471 1.1 skrll from other tls types. 4472 1.1 skrll (ppc64_elf_tls_setup): New function, split out from.. 4473 1.1 skrll (ppc64_elf_tls_optimize): ..here. Don't optimize when symbols are 4474 1.1 skrll defined in a dynamic object. Fix LD optimization. Don't set TLS_TPREL 4475 1.1 skrll on GD->IE optimization, use TLS_TPRELGD instead. Use get_tls_type 4476 1.1 skrll return value to properly decide whether toc GD and LD entries can 4477 1.1 skrll optimize away __tls_get_addr call. Check next reloc after DTPMOD64 4478 1.1 skrll to determine GD or LD rather than looking at TLS_LD flag. Don't 4479 1.1 skrll attempt to adjust got entry tls_type here.. 4480 1.1 skrll (allocate_dynrelocs): ..instead, adjust got entry tls_type here, and 4481 1.1 skrll look for possible merges. 4482 1.1 skrll (ppc64_elf_size_dynamic_sections): Adjust local got entries for 4483 1.1 skrll optimization. 4484 1.1 skrll (ppc64_elf_size_stubs): Tweak __tls_get_addr fudge. 4485 1.1 skrll (ppc64_elf_relocate_section): Rename some vars to better reflect usage. 4486 1.1 skrll Make use of return value from get_tls_type to properly detect GD and 4487 1.1 skrll LD optimizations. Split tlsld/gd hi/ha from lo/ds case. Don't 4488 1.1 skrll handle tls_get_addr removal when looking at REL24 relocs, do it when 4489 1.1 skrll looking at the previous reloc. Check reloc after DTPMOD64 to determine 4490 1.1 skrll GD or LD. 4491 1.1 skrll * elf64-ppc.h (ppc64_elf_tls_setup): Declare. 4492 1.1 skrll 4493 1.1 skrll 2003-02-08 Alan Modra <amodra (a] bigpond.net.au> 4494 1.1 skrll 4495 1.1 skrll * elf32-hppa.c (group_sections): Don't share a stub section if 4496 1.1 skrll stubs are for a large section. 4497 1.1 skrll 4498 1.1 skrll * elf32-hppa.c (elf32_hppa_size_stubs): Double the size left for 4499 1.1 skrll stubs if !stubs_always_before_branch. 4500 1.1 skrll 4501 1.1 skrll 2003-02-07 Nick Clifton <nickc (a] redhat.com> 4502 1.1 skrll 4503 1.1 skrll * elf.c (swap_out_syms): Generate an error message if an 4504 1.1 skrll equivalent output section cannot be found for a symbol. 4505 1.1 skrll 4506 1.1 skrll 2003-02-07 Jakub Jelinek <jakub (a] redhat.com> 4507 1.1 skrll 4508 1.1 skrll * elf64-alpha.c (elf64_alpha_relax_section): Don't crash if 4509 1.1 skrll local_got_entries is NULL. 4510 1.1 skrll 4511 1.1 skrll 2003-02-06 Andreas Schwab <schwab (a] suse.de> 4512 1.1 skrll 4513 1.1 skrll * elf-eh-frame.c (get_DW_EH_PE_signed): Define. 4514 1.1 skrll (read_value): Add parameter is_signed, use signed extraction if 4515 1.1 skrll the value is signed. 4516 1.1 skrll (_bfd_elf_write_section_eh_frame): Pass signed flag of the 4517 1.1 skrll encoding to read_value. 4518 1.1 skrll 4519 1.1 skrll 2003-02-06 Alan Modra <amodra (a] bigpond.net.au> 4520 1.1 skrll 4521 1.1 skrll * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Don't copy got and 4522 1.1 skrll plt info when called to transfer weak sym info. 4523 1.1 skrll 4524 1.1 skrll 2003-02-05 Alan Modra <amodra (a] bigpond.net.au> 4525 1.1 skrll 4526 1.1 skrll * reloc.c: Add PPC and PPC64 TLS relocs. 4527 1.1 skrll * libbfd.h: Regenerate. 4528 1.1 skrll * bfd-in2.h: Regenerate. 4529 1.1 skrll * elf64-ppc.c (TP_OFFSET, DTP_OFFSET): Declare. 4530 1.1 skrll (ppc64_elf_howto_raw): Add TLS howto's. Adjust R_PPC64_NONE to be 4531 1.1 skrll against a 32 bit field. 4532 1.1 skrll (ppc64_elf_reloc_type_lookup): Handle TLS relocs. 4533 1.1 skrll (_ppc64_elf_section_data): Add t_symndx and comments. 4534 1.1 skrll (ppc64_elf_section_data): Use elf_section_data macro. 4535 1.1 skrll (ppc64_elf_new_section_hook): American spelling. 4536 1.1 skrll (struct got_entry, struct plt_entry): New. 4537 1.1 skrll (MUST_BE_DYN_RELOC): Rename from IS_ABSOLUTE_RELOC. 4538 1.1 skrll (struct ppc_stub_hash_entry): Add "addend" field. 4539 1.1 skrll (struct ppc_link_hash_entry): Add "tls_type". 4540 1.1 skrll (TLS_TLS, TLS_GD_LD, TLS_LD, TLS_TPREL, TLS_DTPREL, 4541 1.1 skrll TLS_EXPLICIT): Define. 4542 1.1 skrll (struct ppc_link_hash_table): Add tls_sec, tls_get_addr, tlsld_got. 4543 1.1 skrll (link_hash_newfunc): Init new fields. 4544 1.1 skrll (ppc64_elf_link_hash_table_create): Likewise. Set init_refcount and 4545 1.1 skrll init_offset to NULL. 4546 1.1 skrll (ppc64_elf_copy_indirect_symbol): Copy got and plt info. Don't call 4547 1.1 skrll _bfd_elf_link_hash_copy_indirect, rather insert relevant code from 4548 1.1 skrll there. 4549 1.1 skrll (update_local_sym_info, update_plt_info): New functions. 4550 1.1 skrll (ppc64_elf_check_relocs): Use them. Handle TLS relocs. Adjust GOT 4551 1.1 skrll handling to use got.glist rather than got.refcount. Likewise for PLT. 4552 1.1 skrll (ppc64_elf_gc_sweep_hook): Handle TLS relocs, new GOT and PLT lists. 4553 1.1 skrll (func_desc_adjust): Adjust for new PLT list. 4554 1.1 skrll (ppc64_elf_adjust_dynamic_symbol): Likewise. 4555 1.1 skrll (get_sym_h, get_tls_type): New functions. 4556 1.1 skrll (ppc64_elf_edit_opd): Remove unused variable. Use get_sym_h. 4557 1.1 skrll (ppc64_elf_tls_optimize): New function. 4558 1.1 skrll (allocate_dynrelocs): Adjust for new PLT and GOT lists. Allocate 4559 1.1 skrll TLS relocs. 4560 1.1 skrll (ppc64_elf_size_dynamic_sections): Likewise. 4561 1.1 skrll (ppc_type_of_stub): Adjust for new PLT list. 4562 1.1 skrll (ppc_build_one_stub): Likewise. 4563 1.1 skrll (ppc64_elf_size_stubs): Likewise. Use get_sym_h. Treat __tls_get_addr 4564 1.1 skrll calls specially. 4565 1.1 skrll (ppc64_elf_relocate_section): Adjust for new GOT and PLT lists. Handle 4566 1.1 skrll TLS relocs. Report local syms using bfd_elf_local_sym_name. Don't 4567 1.1 skrll init GOT entries that have a reloc. Generate GOT relocs here.. 4568 1.1 skrll (ppc64_elf_finish_dynamic_symbol): ..not here. Adjust for PLT list. 4569 1.1 skrll * elf64-ppc.h (ppc64_elf_tls_optimize): Declare. 4570 1.1 skrll 4571 1.1 skrll 2003-02-04 Andreas Schwab <schwab (a] suse.de> 4572 1.1 skrll 4573 1.1 skrll * elf32-m68k.c (elf_m68k_hash_entry): Define. 4574 1.1 skrll (elf_m68k_link_hash_traverse): Remove. 4575 1.1 skrll (elf_m68k_link_hash_newfunc): Use struct bfd_hash_entry and 4576 1.1 skrll elf_m68k_hash_entry instead of struct elf_m68k_link_hash_entry to 4577 1.1 skrll reduce casting. 4578 1.1 skrll (elf_m68k_check_relocs): Use elf_m68k_hash_entry instead of 4579 1.1 skrll casting. 4580 1.1 skrll (elf_m68k_size_dynamic_sections): Use elf_link_hash_traverse 4581 1.1 skrll instead of elf_m68k_link_hash_traverse. 4582 1.1 skrll (elf_m68k_discard_copies): Change first parameter to pointer to 4583 1.1 skrll struct elf_link_hash_entry and use elf_m68k_hash_entry when struct 4584 1.1 skrll elf_m68k_link_hash_entry is needed. 4585 1.1 skrll 4586 1.1 skrll 2003-02-04 Alan Modra <amodra (a] bigpond.net.au> 4587 1.1 skrll 4588 1.1 skrll * elf-bfd.h (struct got_entry, struct plt_entry): Forward declare. 4589 1.1 skrll (struct elf_link_hash_entry): Add "glist" and "plist" fields to 4590 1.1 skrll "got" union, and declare as gotplt_union. Use gotplt_uinion for 4591 1.1 skrll "plt" field. 4592 1.1 skrll (struct elf_link_hash_table): Make "init_refcount" a gotplt_union. 4593 1.1 skrll Add "init_offset" field. 4594 1.1 skrll (struct elf_obj_tdata <local_got>): Add "struct got_entry **" to union. 4595 1.1 skrll (elf_local_got_ents): Declare. 4596 1.1 skrll * elf.c (_bfd_elf_link_hash_newfunc): Adjust initialization of "got" 4597 1.1 skrll and "plt". 4598 1.1 skrll (_bfd_elf_link_hash_hide_symbol): Use "init_offset". 4599 1.1 skrll (_bfd_elf_link_hash_table_init): Set "init_offset". 4600 1.1 skrll * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set init_refcount 4601 1.1 skrll from init_offset. 4602 1.1 skrll (elf_adjust_dynamic_symbol): Set plt and got offsets using init_offset. 4603 1.1 skrll 4604 1.1 skrll * elf.c (bfd_elf_local_sym_name): Split out from.. 4605 1.1 skrll (group_signature): ..here. 4606 1.1 skrll * elf-bfd.h (bfd_elf_local_sym_name): Declare. 4607 1.1 skrll 4608 1.1 skrll 2003-02-04 Alan Modra <amodra (a] bigpond.net.au> 4609 1.1 skrll 4610 1.1 skrll * elf-bfd.h (enum elf_link_info_type): Remove. 4611 1.1 skrll (struct bfd_elf_section_data): Move sec_info_type, use_rela_p fields 4612 1.1 skrll to struct sec. Remove linkonce_p field. 4613 1.1 skrll (elf_linkonce_p): Delete. 4614 1.1 skrll (elf_discarded_section): Update for sec_info_type change. 4615 1.1 skrll * section.c (struct sec): Add sec_info_type, use_rela_p, has_tls_reloc, 4616 1.1 skrll flag11, flag12, flag13, flag14, flag15, flag16, flag20, flag24. 4617 1.1 skrll (ELF_INFO_TYPE_NONE): Define. 4618 1.1 skrll (ELF_INFO_TYPE_STABS): Define. 4619 1.1 skrll (ELF_INFO_TYPE_MERGE): Define. 4620 1.1 skrll (ELF_INFO_TYPE_EH_FRAME): Define. 4621 1.1 skrll (ELF_INFO_TYPE_JUST_SYMS): Define. 4622 1.1 skrll (STD_SECTION): Update struct sec initializer. 4623 1.1 skrll * ecoff.c (bfd_debug_section): Likewise. 4624 1.1 skrll * elf.c: Likewise. Update occurrences of sec_info_type and use_rela_p. 4625 1.1 skrll * elflink.h: Likewise. 4626 1.1 skrll * elf-eh-frame.c: Likewise. 4627 1.1 skrll * elf64-alpha.c: Likewise. 4628 1.1 skrll * elfxx-ia64.c: Likewise. 4629 1.1 skrll * elfxx-mips.c: Likewise. 4630 1.1 skrll * bfd-in2.h: Regenerate. 4631 1.1 skrll 4632 1.1 skrll * elf32-sparc.c (sec_do_relax): Use elf_section_data macro rather than 4633 1.1 skrll referring to used_by_bfd. 4634 1.1 skrll * elf64-sparc.c (sec_do_relax): Likewise. 4635 1.1 skrll * elf64-mmix.c (mmix_elf_section_data): Likewise. 4636 1.1 skrll * elfxx-mips.c (mips_elf_section_data): Likewise. 4637 1.1 skrll * ieee.c (ieee_slurp_section_data): Use ieee_per_section macro. 4638 1.1 skrll (ieee_get_section_contents): Likewise. 4639 1.1 skrll (ieee_new_section_hook): Formatting. 4640 1.1 skrll (ieee_canonicalize_reloc): Remove commented out code. 4641 1.1 skrll * mmo.c (mmo_section_data): Define. Use throughout file. 4642 1.1 skrll * oasys.c (oasys_get_section_contents): Use oasys_per_section macro. 4643 1.1 skrll 4644 1.1 skrll 2003-01-31 Graydon Hoare <graydon (a] redhat.com> 4645 1.1 skrll 4646 1.1 skrll * Makefile.am (opncls.lo): Add dependency upon libiberty.h. 4647 1.1 skrll * Makefile.in: Regenerate. 4648 1.1 skrll * opncls.c (calc_crc32, get_debug_link_info, 4649 1.1 skrll seperate_debug_file_exists, find_seperate_debug_file): New 4650 1.1 skrll internal functions. 4651 1.1 skrll (bfd_follow_gnu_debuglink): New function. Follow the pointer 4652 1.1 skrll contained inside a .gnu_debuglink section. 4653 1.1 skrll * bfd-in2.h: Regenerate. 4654 1.1 skrll 4655 1.1 skrll 2003-01-29 Alexandre Oliva <aoliva (a] redhat.com> 4656 1.1 skrll 4657 1.1 skrll * elfxx-mips.c (mips_elf_got_entry_hash): Don't dereference 4658 1.1 skrll entry->abfd when it's NULL. 4659 1.1 skrll 4660 1.1 skrll 2003-01-27 Alexandre Oliva <aoliva (a] redhat.com> 4661 1.1 skrll 4662 1.1 skrll * elfxx-mips.c (mips_elf_create_dynamic_relocation): Handle 4663 1.1 skrll _bfd_elf_section_offset returning -2 the same way as -1. 4664 1.1 skrll 4665 1.1 skrll * elfxx-mips.c (mips_elf_multi_got): New function. 4666 1.1 skrll (struct mips_got_entry): Make symndx and gotidx signed. Moved 4667 1.1 skrll addend into union along with address and link hash entry. 4668 1.1 skrll (struct mips_got_info): Added bfd2got and next. 4669 1.1 skrll (struct mips_elf_hash_sort_data): Added max_unref_got_dynindx. 4670 1.1 skrll (mips_elf_got_section, mips_elf_create_got_section): Use 4671 1.1 skrll SEC_EXCLUDE bit to tell whether we really need the got 4672 1.1 skrll section. Take boolean arguments to disregard an excluded 4673 1.1 skrll section, or to create it as excluded. Adjust all callers. 4674 1.1 skrll Use mips_elf_got_section all over. 4675 1.1 skrll (mips_elf_local_got_index, mips_elf_got_page, 4676 1.1 skrll mips_elf_got16_entry): Take input bfd as argument, and pass it 4677 1.1 skrll on to mips_elf_create_local_got_entry. 4678 1.1 skrll (mips_elf_global_got_index, mips_elf_create_local_got_entry): 4679 1.1 skrll Take input bfd as argument, and manage entries in the 4680 1.1 skrll appropriate GOT. 4681 1.1 skrll (mips_elf_got_offset_from_index): Take input bfd as argument, 4682 1.1 skrll and use it to adjust the GP offset of the bfd. 4683 1.1 skrll (mips_elf_sort_hash_table, mips_elf_sort_hash_table_f): Move 4684 1.1 skrll unreferenced GOT entries of global symbols to the end. 4685 1.1 skrll (mips_elf_record_global_got_symbol): Take input bfd as 4686 1.1 skrll argument. Add entries to the master GOT hash table. 4687 1.1 skrll (struct mips_elf_bfd2got_hash): New. 4688 1.1 skrll (struct mips_elf_got_per_bfd_arg): New. 4689 1.1 skrll (struct mips_elf_set_global_got_offset_arg): New. 4690 1.1 skrll (mips_elf_hash_bfd_vma, mips_elf_multi_got_entry_hash, 4691 1.1 skrll mips_elf_multi_got_entry_eq, mips_elf_bfd2got_entry_hash, 4692 1.1 skrll mips_elf_bfd2got_entry_eq, mips_elf_make_got_per_bfd, 4693 1.1 skrll mips_elf_merge_gots, mips_elf_set_global_got_offset, 4694 1.1 skrll mips_elf_resolve_final_got_entry, 4695 1.1 skrll mips_elf_resolve_final_got_entries, mips_elf_adjust_gp, 4696 1.1 skrll mips_elf_got_for_ibfd): New functions. 4697 1.1 skrll (ELF_MIPS_GP_OFFSET): Don't depend on SGI_COMPAT. 4698 1.1 skrll (MIPS_ELF_GOT_MAX_SIZE): New macro. 4699 1.1 skrll (STUB_LW): Generate 64-bit stub regardless of SGI_COMPAT. 4700 1.1 skrll (mips_elf_got_entry_hash): Take new fields into account. Use 4701 1.1 skrll mips_elf_hash_bfd_vma. 4702 1.1 skrll (mips_elf_got_entry_eq): Take new fields into account. 4703 1.1 skrll (mips_elf_create_got_section): Initialize new fields. 4704 1.1 skrll (mips_elf_calculate_relocation): Pass input_bfd to functions 4705 1.1 skrll that now take it. Adjust gp for the input_bfd. 4706 1.1 skrll (mips_elf_allocate_dynamic_relocation, 4707 1.1 skrll mips_elf_create_dynamic_relocation, 4708 1.1 skrll _bfd_mips_elf_create_dynamic_sections): Use... 4709 1.1 skrll (mips_elf_rel_dyn_section): New function. Borrow code from... 4710 1.1 skrll (_bfd_mips_elf_check_relocs): Pass input_bfd to functions that 4711 1.1 skrll now take it. Create the got section if needed, even if 4712 1.1 skrll excluded, before recording a global got symbol. Move some 4713 1.1 skrll code to... 4714 1.1 skrll (mips_elf_record_local_got_symbol): New fn. 4715 1.1 skrll (_bfd_mips_elf_size_dynamic_sections): Disable combreloc. 4716 1.1 skrll Compute multi-got global entries offsets. Move GOT code to... 4717 1.1 skrll (_bfd_mips_elf_always_size_sections): Call mips_elf_multi_got 4718 1.1 skrll if the GOT is too big. 4719 1.1 skrll (_bfd_mips_elf_finish_dynamic_symbol): Set got entry of 4720 1.1 skrll undefweak symbol to zero. Generate dynamic relocations for 4721 1.1 skrll non-primary GOT entries for global symbols. 4722 1.1 skrll (_bfd_mips_elf_finish_dynamic_sections): Handle multi-got 4723 1.1 skrll case. Generate dynamic relocations for local got entries. 4724 1.1 skrll Sort dynamic relocations on N64 too, using... 4725 1.1 skrll (sort_dynamic_relocs_64): New fns. 4726 1.1 skrll (_bfd_mips_elf_hide_symbol): Adjust multi-got counters. 4727 1.1 skrll (_bfd_mips_elf_merge_private_bfd_data): Ignore EF_MIPS_XGOT. 4728 1.1 skrll 4729 1.1 skrll 2003-01-27 Alexandre Oliva <aoliva (a] redhat.com> 4730 1.1 skrll 4731 1.1 skrll * bfd.c (struct _bfd): Added id field. 4732 1.1 skrll * opncls.c (_bfd_id_counter): New static variable. 4733 1.1 skrll (_bfd_new_bfd): Use it. 4734 1.1 skrll * bfd-in2.h: Rebuilt. 4735 1.1 skrll 4736 1.1 skrll 2003-01-25 Alan Modra <amodra (a] bigpond.net.au> 4737 1.1 skrll 4738 1.1 skrll * elf32-sparc.c (bfd_elf32_new_section_hook): Define. 4739 1.1 skrll 4740 1.1 skrll 2003-01-25 Jakub Jelinek <jakub (a] redhat.com> 4741 1.1 skrll 4742 1.1 skrll * elf32-sparc.c (_bfd_sparc_elf_howto_table): Add TLS relocs. 4743 1.1 skrll (elf32_sparc_rev32_howto): New variable. 4744 1.1 skrll (sparc_reloc_map): Add TLS relocs. 4745 1.1 skrll (elf32_sparc_reloc_type_lookup, elf32_sparc_info_to_howto): 4746 1.1 skrll Handle REV32. 4747 1.1 skrll (sparc_elf_hix22_reloc, sparc_elf_lox10_reloc, elf32_sparc_mkobject): 4748 1.1 skrll New functions. 4749 1.1 skrll (struct elf32_sparc_dyn_relocs, struct elf32_sparc_link_hash_entry, 4750 1.1 skrll struct elf32_sparc_link_hash_table): 4751 1.1 skrll New structures. 4752 1.1 skrll (elf32_sparc_tdata, elf32_sparc_local_got_tls_type, 4753 1.1 skrll elf32_sparc_hash_table): Define. 4754 1.1 skrll (link_hash_newfunc, elf32_sparc_link_hash_table_create, 4755 1.1 skrll create_got_section, elf32_sparc_create_dynamic_sections, 4756 1.1 skrll elf32_sparc_copy_indirect_symbol, elf32_sparc_tls_transition): New 4757 1.1 skrll functions. 4758 1.1 skrll (elf32_sparc_check_relocs): Handle TLS relocs. Add dynamic reloc 4759 1.1 skrll reference counting. 4760 1.1 skrll (elf32_sparc_gc_sweep_hook): Likewise. 4761 1.1 skrll (elf32_sparc_adjust_dynamic_symbol): Likewise. 4762 1.1 skrll (elf32_sparc_size_dynamic_sections): Likewise. 4763 1.1 skrll (elf32_sparc_relocate_section): Likewise. 4764 1.1 skrll (allocate_dynrelocs, readonly_dynrelocs, dtpoff_base, tpoff): 4765 1.1 skrll New functions. 4766 1.1 skrll (elf32_sparc_object_p): Allocate backend private object data. 4767 1.1 skrll (bfd_elf32_bfd_link_hash_table_create, 4768 1.1 skrll elf_backend_copy_indirect_symbol, bfd_elf32_mkobject, 4769 1.1 skrll elf_backend_can_refcount): Define. 4770 1.1 skrll (elf_backend_create_dynamic_sections): Define to 4771 1.1 skrll elf32_sparc_create_dynamic_sections. 4772 1.1 skrll * reloc.c: Add SPARC TLS relocs. 4773 1.1 skrll * bfd-in2.h, libbfd.h: Rebuilt. 4774 1.1 skrll * elf64-sparc.c (sparc64_elf_howto_table): Add TLS relocs. 4775 1.1 skrll (sparc_reloc_map): Likewise. 4776 1.1 skrll 4777 1.1 skrll 2003-01-24 Martin Schwidefsky <schwidefsky (a] de.ibm.com> 4778 1.1 skrll 4779 1.1 skrll * bfd-in2.h: Regenerate. 4780 1.1 skrll * elf32-s390.c (elf_s390_mkobject, elf_s390_tls_transition, 4781 1.1 skrll s390_tls_reloc, dtpoff_base, tpoff, invalid_tls_insn): New functions. 4782 1.1 skrll (elf_howto_table): Add TLS relocs. 4783 1.1 skrll (elf_s390_reloc_type_lookup): Likewise. 4784 1.1 skrll (elf_s390_link_hash_entry): Add tls_type. 4785 1.1 skrll (elf_s390_hash_entry, elf_s390_obj_tdata, elf_s390_local_got_tls_type): 4786 1.1 skrll New macros. 4787 1.1 skrll (elf_s390_link_hash_table): Add tls_ldm_got. 4788 1.1 skrll (link_hash_newfunc): Initialize tls_type. 4789 1.1 skrll (elf_s390_link_hash_table_create): Initialize refcount of tls_ldm_got. 4790 1.1 skrll (elf_s390_copy_indirect_symbol): Copy tls_type information. 4791 1.1 skrll (elf_s390_check_relocs): Support TLS relocs. 4792 1.1 skrll (elf_s390_gc_sweep_hook): Likewise. 4793 1.1 skrll (allocate_dynrelocs): Likewise. 4794 1.1 skrll (elf_s390_size_dynamic_sections): Likewise. 4795 1.1 skrll (elf_s390_relocate_section): Likewise. 4796 1.1 skrll (elf_s390_finish_dynamic_symbol): Likewise. 4797 1.1 skrll (bfd_elf32_mkobject): Define for TLS. 4798 1.1 skrll * elf64-s390.c: Same changes as for elf32-s390.c. 4799 1.1 skrll * libbfd.h: Regenerate. 4800 1.1 skrll * reloc.c: Add s390 TLS relocations. 4801 1.1 skrll 4802 1.1 skrll 2003-01-24 Charles Lepple <clepple (a] ghz.cc> 4803 1.1 skrll 4804 1.1 skrll * aclocal.m4: Fix name of --enable-install-libbfd switch. 4805 1.1 skrll 4806 1.1 skrll 2003-01-23 Nick Clifton <nickc (a] redhat.com> 4807 1.1 skrll 4808 1.1 skrll * Add sh2e support: 4809 1.1 skrll 2002-04-02 Elena Zannoni <ezannoni (a] redhat.com> 4810 1.1 skrll * archures.c (bfd_mach_sh2e): Added. 4811 1.1 skrll * bfd-in2.h: Rebuilt. 4812 1.1 skrll * cpu-sh.c (arch_info_struct): Added SH2e. 4813 1.1 skrll * elf32-sh.c (sh_elf_set_mach_from_flags): Handle EF_SH2E. 4814 1.1 skrll 4815 1.1 skrll 2003-01-23 Alan Modra <amodra (a] bigpond.net.au> 4816 1.1 skrll 4817 1.1 skrll * elf-bfd.h (struct bfd_elf_section_data): Remove tdata. Change 4818 1.1 skrll dynindx to an int. Rearrange for better packing. 4819 1.1 skrll * elf.c (_bfd_elf_new_section_hook): Don't alloc if already done. 4820 1.1 skrll * elf32-mips.c (bfd_elf32_new_section_hook): Define. 4821 1.1 skrll * elf32-sh64.h: New. Split out from include/elf/sh.h. 4822 1.1 skrll (struct _sh64_elf_section_data): New struct. 4823 1.1 skrll (sh64_elf_section_data): Don't dereference sh64_info (was tdata). 4824 1.1 skrll * elf32-sh64-com.c: Include elf32-sh64.h. 4825 1.1 skrll * elf32-sh64.c: Likewise. 4826 1.1 skrll (sh64_elf_new_section_hook): New function. 4827 1.1 skrll (bfd_elf32_new_section_hook): Define. 4828 1.1 skrll (sh64_elf_fake_sections): Adjust for sh64_elf_section_data change. 4829 1.1 skrll (sh64_bfd_elf_copy_private_section_data): Likewise. 4830 1.1 skrll (sh64_elf_final_write_processing): Likewise. 4831 1.1 skrll * elf32-sparc.c (struct elf32_sparc_section_data): New. 4832 1.1 skrll (elf32_sparc_new_section_hook): New function. 4833 1.1 skrll (SET_SEC_DO_RELAX, SEC_DO_RELAX): Delete. 4834 1.1 skrll (sec_do_relax): Define. 4835 1.1 skrll (elf32_sparc_relax_section): Adjust to use sec_do_relax. 4836 1.1 skrll (elf32_sparc_relocate_section): Likewise. 4837 1.1 skrll * elf64-mips.c (bfd_elf64_new_section_hook): Define. 4838 1.1 skrll * elf64-mmix.c (struct _mmix_elf_section_data): New. 4839 1.1 skrll (mmix_elf_section_data): Define. Use throughout file. 4840 1.1 skrll (mmix_elf_new_section_hook): New function. 4841 1.1 skrll (bfd_elf64_new_section_hook): Define. 4842 1.1 skrll * elf64-ppc.c (struct _ppc64_elf_section_data): New. 4843 1.1 skrll (ppc64_elf_section_data): Define. Use throughout. 4844 1.1 skrll (ppc64_elf_new_section_hook): New function. 4845 1.1 skrll (bfd_elf64_new_section_hook): Define. 4846 1.1 skrll * elf64-sparc.c (struct sparc64_elf_section_data): New. 4847 1.1 skrll (sparc64_elf_new_section_hook): New function. 4848 1.1 skrll (SET_SEC_DO_RELAX, SEC_DO_RELAX): Delete. 4849 1.1 skrll (sec_do_relax): Define. 4850 1.1 skrll (sparc64_elf_relax_section): Adjust to use sec_do_relax. 4851 1.1 skrll (sparc64_elf_relocate_section): Likewise. 4852 1.1 skrll (bfd_elf64_new_section_hook): Define. 4853 1.1 skrll * elfn32-mips.c (bfd_elf32_new_section_hook): Define. 4854 1.1 skrll * elfxx-mips.c (struct _mips_elf_section_data): New. 4855 1.1 skrll (mips_elf_section_data): Define. Use throughout. 4856 1.1 skrll (_bfd_mips_elf_new_section_hook): New function. 4857 1.1 skrll (mips_elf_create_got_section): Don't alloc used_by_bfd. 4858 1.1 skrll * elfxx-mips.h (_bfd_mips_elf_new_section_hook): Declare. 4859 1.1 skrll * elfxx-target.h (bfd_elfNN_new_section_hook): Add #ifndef. 4860 1.1 skrll * Makefile.am: Run "make dep-am". 4861 1.1 skrll * Makefile.in: Regenerate. 4862 1.1 skrll 4863 1.1 skrll 2003-01-21 Richard Henderson <rth (a] redhat.com> 4864 1.1 skrll 4865 1.1 skrll * elf64-alpha.c (ALPHA_ELF_LINK_HASH_PLT_LOC): New. 4866 1.1 skrll (struct alpha_elf_link_hash_entry): Add plt_old_section, plt_old_value. 4867 1.1 skrll (elf64_alpha_adjust_dynamic_symbol): Set them. 4868 1.1 skrll (elf64_alpha_size_plt_section_1): Reset them when plt entry removed. 4869 1.1 skrll (elf64_alpha_relax_tls_get_addr): Handle LDM relocs. Frob the 4870 1.1 skrll symbol index when relaxing LDM to TPREL. 4871 1.1 skrll (elf64_alpha_relax_section): Likewise. Allow relaxation of GD 4872 1.1 skrll relocs, even if the target isn't locally defined. 4873 1.1 skrll (elf64_alpha_check_relocs): Frob LDM reloc symndx to zero. 4874 1.1 skrll (elf64_alpha_relocate_section): Likewise. Force TP-relative 4875 1.1 skrll relocs vs symndx 0 to the tp base. 4876 1.1 skrll 4877 1.1 skrll 2003-01-21 Fabio Alemagna <falemagn (a] aros.org> 4878 1.1 skrll 4879 1.1 skrll * config.bfd: Handle i[3456]86-*-aros*. 4880 1.1 skrll 4881 1.1 skrll 2003-01-21 Andreas Schwab <schwab (a] suse.de> 4882 1.1 skrll 4883 1.1 skrll * elf32-ppc.c (struct ppc_elf_dyn_relocs): Define. 4884 1.1 skrll (struct ppc_elf_link_hash_entry): Define. 4885 1.1 skrll (ppc_elf_hash_entry): New function. 4886 1.1 skrll (struct ppc_elf_link_hash_table): Define. 4887 1.1 skrll (ppc_elf_hash_table): New function. 4888 1.1 skrll (ppc_elf_link_hash_newfunc): New function. 4889 1.1 skrll (ppc_elf_link_hash_table_create): New function. 4890 1.1 skrll (ppc_elf_copy_indirect_symbol): New function. 4891 1.1 skrll (allocate_dynrelocs): New function. 4892 1.1 skrll (readonly_dynrelocs): New function. 4893 1.1 skrll (ppc_elf_size_dynamic_sections): Allocate space for dynamic 4894 1.1 skrll relocs and determine DT_TEXTREL. 4895 1.1 skrll (ppc_elf_check_relocs): Don't do that here, just count the 4896 1.1 skrll dynamic relocs. 4897 1.1 skrll (ppc_elf_gc_sweep_hook): Discard any dynamic relocs against the 4898 1.1 skrll removed section. 4899 1.1 skrll (bfd_elf32_bfd_link_hash_table_create): Define. 4900 1.1 skrll (elf_backend_copy_indirect_symbol): Define. 4901 1.1 skrll 4902 1.1 skrll 2003-01-21 Richard Henderson <rth (a] redhat.com> 4903 1.1 skrll 4904 1.1 skrll * elf64-alpha.c (alpha_dynamic_entries_for_reloc): GOTTPREL and 4905 1.1 skrll TPREL also get a reloc if shared. Remove SREL support. 4906 1.1 skrll (elf64_alpha_emit_dynrel): New. 4907 1.1 skrll (elf64_alpha_relocate_section): Use it. Resolve dynamic TPREL 4908 1.1 skrll and GOTTPREL relocs to local symbols against the tp base. 4909 1.1 skrll (elf64_alpha_finish_dynamic_symbol): Use elf64_alpha_emit_dynrel. 4910 1.1 skrll 4911 1.1 skrll * elf64-alpha.c (elf64_alpha_relax_got_load): Decrement got 4912 1.1 skrll use count before clobbering r_type. 4913 1.1 skrll (elf64_alpha_relax_tls_get_addr): Don't use pos[1] if insn 4914 1.1 skrll ordering would mean dataflow inspection is necessary. 4915 1.1 skrll 4916 1.1 skrll 2003-01-20 Svein E. Seldal <Svein.Seldal (a] solidas.com> 4917 1.1 skrll 4918 1.1 skrll * coffcode.h (coff_set_flags): Added get/set arch hooks. 4919 1.1 skrll 4920 1.1 skrll 2003-01-20 Fabio Alemagna <falemagn (a] aros.org> 4921 1.1 skrll 4922 1.1 skrll * elf32-sh.c: Treat elfNN_bed like other macros defined in 4923 1.1 skrll elfxx-target.h and #undef it before #define'ing it. 4924 1.1 skrll * elf32-i386.c: Likewise. 4925 1.1 skrll * elf32-sh64.c: Likewise. 4926 1.1 skrll * elf64-alpha.c: Likewise. 4927 1.1 skrll * elf64-sh64.c: Likewise. 4928 1.1 skrll 4929 1.1 skrll 2003-01-20 Martin Schwidefsky <schwidefsky (a] de.ibm.com> 4930 1.1 skrll 4931 1.1 skrll * bfd-in2.h: Regenerate. 4932 1.1 skrll * elf32-s390.c (elf_s390_adjust_gotplt): New prototype. 4933 1.1 skrll (elf_howto_table): Rename R_390_GOTOFF to R_390_GOTOFF32. Add 4934 1.1 skrll R_390_GOTOFF16, R_390_GOTOFF64, R_390_GOTPLT12, R_390_GOTPLT16, 4935 1.1 skrll R_390_GOTPLT32, R_390_GOTPLT64, R_390_GOTPLTENT, R_390_PLTOFF16, 4936 1.1 skrll R_390_PLTOFF32 and R_390_PLTOFF64. 4937 1.1 skrll (elf_s390_reloc_type_lookup): Likewise. 4938 1.1 skrll (struct elf_s390_link_hash_entry): Add gotplt_refcount to keep track 4939 1.1 skrll of GOTPLT references to a function. 4940 1.1 skrll (link_hash_newfunc): Initialize gotplt_refcount. 4941 1.1 skrll (elf_s390_check_relocs): Move allocation of local_got_refcounts array 4942 1.1 skrll and creation of the got section out of the main switch. Add support 4943 1.1 skrll for the gotoff, gotplt and pltoff relocations. 4944 1.1 skrll (elf_s390_gc_sweep_hook): Add reference counting for gotoff, gotplt 4945 1.1 skrll and pltoff. 4946 1.1 skrll (elf_s390_adjust_gotplt): New function. 4947 1.1 skrll (elf_s390_adjust_dynamic_symbol): Adjust gotplt refcount for removed 4948 1.1 skrll plt entries. 4949 1.1 skrll (allocate_dynrelocs): Add comment. 4950 1.1 skrll (elf_s390_relocate_section): Change r_type to unsigned. Add support 4951 1.1 skrll for gotoff, gotplt and pltoff relocations. 4952 1.1 skrll * elf64-s390.c: Same changes as for elf32-s390.c. 4953 1.1 skrll * libbfd.h: Regenerate. 4954 1.1 skrll * reloc.c: Add BFD_RELOC_390_GOTOFF64, BFD_RELOC_390_GOTPLT12, 4955 1.1 skrll BFD_RELOC_390_GOTPLT16, BFD_RELOC_390_GOTPLT32, BFD_RELOC_390_GOTPLT64, 4956 1.1 skrll BFD_RELOC_390_GOTPLTENT, BFD_RELOC_390_PLTOFF16, BFD_RELOC_390_PLTOFF32 4957 1.1 skrll and BFD_RELOC_390_PLTOFF64. 4958 1.1 skrll 4959 1.1 skrll 2003-01-18 Jakub Jelinek <jakub (a] redhat.com> 4960 1.1 skrll 4961 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relocate_section): Handle 4962 1.1 skrll R_IA64_TPREL64[LM]SB against non-global symbol properly. 4963 1.1 skrll 4964 1.1 skrll 2003-01-16 Jakub Jelinek <jakub (a] redhat.com> 4965 1.1 skrll 4966 1.1 skrll * elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add 4967 1.1 skrll self_dtpmod_done and self_dtpmod_offset. 4968 1.1 skrll (allocate_global_data_got): Only use one got entry for all 4969 1.1 skrll dtpmod relocs against local symbols. 4970 1.1 skrll (allocate_dynrel_entries): Only need .rela.got entry for 4971 1.1 skrll dtpmod against global symbol. 4972 1.1 skrll (elfNN_ia64_size_dynamic_sections): Initialize self_dtpmod_offset. 4973 1.1 skrll Reserve space in .rela.got for the local dtpmod entry. 4974 1.1 skrll (set_got_entry): Initialize the common local dtpmod .got entry. 4975 1.1 skrll (elfNN_ia64_relocate_section): Handle R_IA_64_DTPREL64LSB 4976 1.1 skrll and R_IA_64_DTPREL64MSB. 4977 1.1 skrll 4978 1.1 skrll 2003-01-16 Alan Modra <amodra (a] bigpond.net.au> 4979 1.1 skrll 4980 1.1 skrll * elf64-ppc.c: Include elf/ppc64.h rather than elf/ppc.h. 4981 1.1 skrll (R_PPC_*): Rename all occurrences to R_PPC64_*. 4982 1.1 skrll (R_PPC64_ADDR30): Rename all occurrences to R_PPC64_REL30. 4983 1.1 skrll (enum elf_ppc_reloc_type): Ditto to enum elf_ppc64_reloc_type. 4984 1.1 skrll (ppc64_elf_gc_sweep_hook): Handle R_PPC64_REL30 along with other 4985 1.1 skrll relative relocs, not with absolute ones. 4986 1.1 skrll * Makefile.am: Run "make dep-am". 4987 1.1 skrll * Makefile.in: Regenerate. 4988 1.1 skrll * po/SRC-POTFILES.in: Regenerate. 4989 1.1 skrll 4990 1.1 skrll 2003-01-15 Andreas Schwab <schwab (a] suse.de> 4991 1.1 skrll 4992 1.1 skrll * elf32-ppc.c (ppc_elf_check_relocs): Don't set DF_TEXTREL for a 4993 1.1 skrll relocation against a non-allocated readonly section. 4994 1.1 skrll 4995 1.1 skrll 2003-01-10 Alan Modra <amodra (a] bigpond.net.au> 4996 1.1 skrll 4997 1.1 skrll * elf32-ppc.c (ppc_elf_relocate_section): Adjust addend for GOT16_HA. 4998 1.1 skrll * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. PLTGOT16_HA too. 4999 1.1 skrll 5000 1.1 skrll 2002-01-08 Klee Dienes <kdienes (a] apple.com> 5001 1.1 skrll 5002 1.1 skrll * Makefile.am (ALL_MACHINES): Use cpu-msp430.lo, not cpu-msp430.c. 5003 1.1 skrll (BFD32_BACKENDS): Use elf32-msp430.lo, not elf32-msp430.c. 5004 1.1 skrll * Makefile.in: Regenerate. 5005 1.1 skrll 5006 1.1 skrll 2003-01-08 Alexandre Oliva <aoliva (a] redhat.com> 5007 1.1 skrll 5008 1.1 skrll * elfn32-mips.c (prev_reloc_section): New. 5009 1.1 skrll (GET_RELOC_ADDEND): Use it. Parenthesize macro arguments. 5010 1.1 skrll (SET_RELOC_ADDEND): Parenthesize macro argument. 5011 1.1 skrll 5012 1.1 skrll 2003-01-07 John David Anglin <dave.anglin (a] nrc.gc.ca> 5013 1.1 skrll 5014 1.1 skrll * elf32-hppa.c (final_link_relocate): For all DP relative relocations, 5015 1.1 skrll adjust addil instructions if the symbol has no section. 5016 1.1 skrll 5017 1.1 skrll 2003-01-07 DJ Delorie <dj (a] redhat.com> 5018 1.1 skrll 5019 1.1 skrll * elf32-xstormy16.c (xstormy16_elf_howto_table): Make REL_12 not 5020 1.1 skrll partial_inplace. 5021 1.1 skrll 5022 1.1 skrll 2003-01-07 Andreas Schwab <schwab (a] suse.de> 5023 1.1 skrll 5024 1.1 skrll * elf32-m68k.c (elf_m68k_check_relocs): Don't set DF_TEXTREL for 5025 1.1 skrll PC relative relocations. 5026 1.1 skrll (elf_m68k_discard_copies): Set it here instead. 5027 1.1 skrll 5028 1.1 skrll 2002-01-02 Ben Elliston <bje (a] redhat.com> 5029 1.1 skrll Jeff Johnston <jjohnstn (a] redhat.com> 5030 1.1 skrll 5031 1.1 skrll * Makefile.am (ALL_MACHINES): Add cpu-iq2000.lo. 5032 1.1 skrll (ALL_MACHINES_CFILES): Add cpu-iq2000.c. 5033 1.1 skrll (BFD32_BACKENDS): Add elf32-iq2000.lo. 5034 1.1 skrll (BFD32_BACKENDS_CFILES): Add elf32-iq2000.c. 5035 1.1 skrll (cpu-iq2000.lo): New target. 5036 1.1 skrll * Makefile.in: Regenerate. 5037 1.1 skrll * config.bfd: Handle iq2000-*-elf. 5038 1.1 skrll * archures.c (bfd_architecture): Add bfd_{arch,mach}_iq2000. 5039 1.1 skrll (bfd_archures_list): Add bfd_iq2000_arch. 5040 1.1 skrll * configure.in: Handle bfd_elf32_iq2000_vec. 5041 1.1 skrll * configure: Regenerate. 5042 1.1 skrll * reloc.c: Add BFD_RELOC_IQ2000_OFFSET_16, BFD_RELOC_IQ2000_OFFSET_21, 5043 1.1 skrll and BFD_RELOC_IQ2000_UHI16. 5044 1.1 skrll * targets.c (bfd_elf32_iq2000_vec): Declare. 5045 1.1 skrll (bfd_target_vector): Add bfd_elf32_iq2000_vec. 5046 1.1 skrll * elf.c (prep_headers): Set e_machine to EM_IQ2000. 5047 1.1 skrll * cpu-iq2000.c: New file. 5048 1.1 skrll * elf32-iq2000.c: Likewise. 5049 1.1 skrll * libbfd.h: Regenerate. 5050 1.1 skrll * bfd-in2.h: Likewise. 5051 1.1 skrll 5052 1.1 skrll 2003-01-02 Richard Sandiford <rsandifo (a] redhat.com> 5053 1.1 skrll 5054 1.1 skrll * elfxx-mips.c: Include libiberty.h. 5055 1.1 skrll (elf_mips_isa, _bfd_mips_elf_mach_extends_p): Remove. 5056 1.1 skrll (mips_set_isa_flags): New function, split out from... 5057 1.1 skrll (_bfd_mips_elf_final_write_processing): ...here. Only call 5058 1.1 skrll mips_set_isa_flags if the EF_MIPS_MACH bits are clear. 5059 1.1 skrll (mips_mach_extensions): New array. 5060 1.1 skrll (mips_32bit_flags_p): New function. 5061 1.1 skrll (_bfd_mips_elf_merge_private_bfd_data): Rework architecture checks. 5062 1.1 skrll Use mips_32bit_flags_p to check if one binary is 32-bit and the 5063 1.1 skrll other is 64-bit. When adopting IBFD's architecture, adopt the 5064 1.1 skrll bfd_mach as well as the flags. 5065 1.1 skrll 5066 1.1 skrll 2003-01-02 Nick Kelsey <nickk (a] ubicom.com> 5067 1.1 skrll 5068 1.1 skrll * elf32-ip2k.c: Re-work of linker relaxation code for the ip2k to 5069 1.1 skrll fix internal errors, fix bad code generation, fix incorrect stabs 5070 1.1 skrll information, and improve ability to eliminate redundant page 5071 1.1 skrll instructions. Added code to ip2k_final_link_relocate to self-verify 5072 1.1 skrll the linker relaxation. Fix formatting problems. 5073 1.1 skrll 5074 1.1 skrll 2002-12-30 Chris Demetriou <cgd (a] broadcom.com> 5075 1.1 skrll 5076 1.1 skrll * aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mipsisa32r2 case. 5077 1.1 skrll * archures.c (bfd_mach_mipsisa32r2): New define. 5078 1.1 skrll * bfd-in2.h: Regenerate. 5079 1.1 skrll * cpu-mips.c (I_mipsisa32r2): New enum value. 5080 1.1 skrll (arch_info_struct): Add entry for I_mipsisa32r2. 5081 1.1 skrll * elfxx-mips.c (elf_mips_isa, _bfd_elf_mips_mach) 5082 1.1 skrll (_bfd_mips_elf_print_private_bfd_data): Handle E_MIPS_ARCH_32R2. 5083 1.1 skrll (_bfd_mips_elf_final_write_processing): Add 5084 1.1 skrll bfd_mach_mipsisa32r2 case. 5085 1.1 skrll (_bfd_mips_elf_merge_private_bfd_data): Handle merging of 5086 1.1 skrll binaries marked as using MIPS32 Release 2. 5087 1.1 skrll 5088 1.1 skrll 2002-12-30 Dmitry Diky <diwil (a] mail.ru> 5089 1.1 skrll 5090 1.1 skrll * Makefile.am: Add msp430 target. 5091 1.1 skrll * configure.in: Likewise. 5092 1.1 skrll * Makefile.in: Regenerate. 5093 1.1 skrll * configure: Regenerate. 5094 1.1 skrll * archures.c: Add msp430 architecture vector. 5095 1.1 skrll * config.bfd: Likewise. 5096 1.1 skrll * reloc.c: Add msp430 relocs. 5097 1.1 skrll * targets.c: Add msp320 target. 5098 1.1 skrll * cpu-msp430.c: New file: msp430 cpu detection. 5099 1.1 skrll * elf32-msp430.c: New file: msp430 reloc processing. 5100 1.1 skrll * bfd-in2.h: Regenerate. 5101 1.1 skrll * libbfd.h: Regenerate. 5102 1.1 skrll 5103 1.1 skrll 2002-12-28 Jakub Jelinek <jakub (a] redhat.com> 5104 1.1 skrll 5105 1.1 skrll * elf.c (elf_sort_sections): Don't reorder .tbss. 5106 1.1 skrll (assign_file_positions_for_segments): Only adjust off/voff 5107 1.1 skrll for increased alignment in PT_LOAD or PT_NOTE segment, 5108 1.1 skrll but adjust p_filesz for .tbss too. in PT_LOAD consider 5109 1.1 skrll .tbss to have zero memory size. 5110 1.1 skrll (copy_private_bfd_data) [SECTION_SIZE]: Define. 5111 1.1 skrll [IS_CONTAINED_BY_VMA, IS_CONTAINED_BY_LMA]: Use it. 5112 1.1 skrll [INCLUDE_SECTION_IN_SEGMENT]: Only put SHF_TLS sections 5113 1.1 skrll into PT_TLS segment. Never put SHF_TLS sections in 5114 1.1 skrll segments other than PT_TLS or PT_LOAD. 5115 1.1 skrll 5116 1.1 skrll * elf64-alpha.c (elf64_alpha_finish_dynamic_sections): Clear .plt 5117 1.1 skrll sh_entsize. 5118 1.1 skrll 5119 1.1 skrll 2002-12-23 DJ Delorie <dj (a] redhat.com> 5120 1.1 skrll 5121 1.1 skrll * coff64-rs6000.c (xcoff64_ppc_relocate_section): Fix logic reversal. 5122 1.1 skrll 5123 1.1 skrll 2002-12-23 Alan Modra <amodra (a] bigpond.net.au> 5124 1.1 skrll 5125 1.1 skrll * elflink.h (elf_link_output_extsym): Heed strip_discarded. 5126 1.1 skrll 5127 1.1 skrll 2002-12-23 Nick Clifton <nickc (a] redhat.com> 5128 1.1 skrll 5129 1.1 skrll * archures.c (bfd_arch_get_compatible): Add third parameter 5130 1.1 skrll 'accept_unknowns'. Only accept unknown format BFDs if 5131 1.1 skrll accept_unknowns is true, or if the format is "binary". 5132 1.1 skrll * bfd-in2.h: Regenerate. 5133 1.1 skrll 5134 1.1 skrll 2002-12-21 Nick Clifton <nickc (a] redhat.com> 5135 1.1 skrll 5136 1.1 skrll * coff-arm.c (coff_arm_relocate_section): Disable WINCE workaround 5137 1.1 skrll that subtracted 8 from pc relative relocations. 5138 1.1 skrll 5139 1.1 skrll 2002-12-20 Kazu Hirata <kazu (a] cs.umass.edu> 5140 1.1 skrll 5141 1.1 skrll * coff-h8300.c: Fix comment typos. 5142 1.1 skrll * coffcode.h: Likewise. 5143 1.1 skrll * cpu-cris.c: Likewise. 5144 1.1 skrll * elf32-vax.c: Likewise. 5145 1.1 skrll * genlink.h: Likewise. 5146 1.1 skrll * linker.c: Likewise. 5147 1.1 skrll * som.c: Likewise. 5148 1.1 skrll * tekhex.c: Likewise. 5149 1.1 skrll * vms-misc.c: Likewise. 5150 1.1 skrll 5151 1.1 skrll 2002-12-20 DJ Delorie <dj (a] redhat.com> 5152 1.1 skrll 5153 1.1 skrll * reloc.c: Add BFD_RELOC_XSTORMY16_12. 5154 1.1 skrll * libbfd.h: Regenerate. 5155 1.1 skrll * bfd-in2.h: Regenerate. 5156 1.1 skrll * elf32-xstormy16.c (xstormy16_elf_howto): Add R_XSTORMY16_12. 5157 1.1 skrll (xstormy16_reloc_map): Add R_XSTORMY16_12. 5158 1.1 skrll 5159 1.1 skrll 2002-12-19 Kazu Hirata <kazu (a] cs.umass.edu> 5160 1.1 skrll 5161 1.1 skrll * doc/bfdint.texi: Fix typos. 5162 1.1 skrll 5163 1.1 skrll 2002-12-20 Paul Eggert <eggert (a] twinsun.com> 5164 1.1 skrll 5165 1.1 skrll Port to POSIX 1003.1-2001. 5166 1.1 skrll * acinclude.m4 (AM_INSTALL_LIBBFD): Do not rely on "test -o". 5167 1.1 skrll * configure.in (build-warnings): Likewise. 5168 1.1 skrll (Horrible hacks to build DLLs on Windows): Do not rely on "tail -1". 5169 1.1 skrll * aclocal.m4: Regenerate. 5170 1.1 skrll * config.in: Regenerate. 5171 1.1 skrll * configure: Regenerate. 5172 1.1 skrll 5173 1.1 skrll 2002-12-19 Alan Modra <amodra (a] bigpond.net.au> 5174 1.1 skrll 5175 1.1 skrll * coff-h8300.c: Include libiberty.h. 5176 1.1 skrll (h8300_reloc16_extra_cases): Check the hash table creator before 5177 1.1 skrll referencing h8300 specific fields. Stash the hash table pointer 5178 1.1 skrll in a local var. Comment typo fixes. 5179 1.1 skrll (h8300_bfd_link_add_symbols): Likewise. 5180 1.1 skrll 5181 1.1 skrll * reloc.c (struct reloc_howto_struct): Revise src_mask and 5182 1.1 skrll dst_mask comments. 5183 1.1 skrll * bfd-in2.h: Regenerate. 5184 1.1 skrll 5185 1.1 skrll 2002-12-18 Alan Modra <amodra (a] bigpond.net.au> 5186 1.1 skrll 5187 1.1 skrll * elf32-ppc.c (ppc_elf_relocate_section): Reorganize dynamic reloc 5188 1.1 skrll code a little. Comment on dynamic relocs against section symbols. 5189 1.1 skrll 5190 1.1 skrll 2002-12-17 Roger Sayle <roger (a] eyesopen.com> 5191 1.1 skrll 5192 1.1 skrll * configure.host (ia64-*-hpux*): Support 64 bit targets using 5193 1.1 skrll the HP compiler's "long long". 5194 1.1 skrll 5195 1.1 skrll 2002-12-16 Andrew MacLeod <amacleod (a] redhat.com> 5196 1.1 skrll 5197 1.1 skrll * elf32-xstormy16.c (xstormy16_elf_howto): Add R_XSTORMY16_LO16 5198 1.1 skrll and R_XSTORMY16_HI16) howto entries. 5199 1.1 skrll (xstormy16_reloc_map): Map R_XSTORMY16_{LO,HI}16 to BFD_RELOC_{LO,HI}16. 5200 1.1 skrll (xstormy16_info_to_howto_rela): Use R_XSTORMY16_GNU_VTINHERIT to 5201 1.1 skrll determine the start of the second reloc table. 5202 1.1 skrll 5203 1.1 skrll 2002-12-16 Nathan Tallent <eraxxon (a] alumni.rice.edu> 5204 1.1 skrll 5205 1.1 skrll * ecofflink.c: Fix the reading of the debugging information 5206 1.1 skrll of Tru64/Alpha binaries that are produced by recent Compaq 5207 1.1 skrll compilers. 5208 1.1 skrll (mk_fdrtab): Fix error in creating the FDR (file descriptor) 5209 1.1 skrll table. 5210 1.1 skrll (lookup_line): Because of the strange information sometimes 5211 1.1 skrll generated by Compaq's recent compilers, change how the FDR 5212 1.1 skrll table is searched so that PDRs (procedure descriptors) are 5213 1.1 skrll correctly found. Note that this change is really more of a hack; 5214 1.1 skrll however, I have included extensive documentation as to why 5215 1.1 skrll this is the best solution short of an extensive rewrite or 5216 1.1 skrll another hack. 5217 1.1 skrll (fdrtab_lookup): Add comments to explain the algorithm. 5218 1.1 skrll 5219 1.1 skrll 2002-12-12 Alexandre Oliva <aoliva (a] redhat.com> 5220 1.1 skrll 5221 1.1 skrll * elf-m10300.c (elf32_mn10300_link_hash_newfunc): Reorder 5222 1.1 skrll initializers to match struct declaration. 5223 1.1 skrll 5224 1.1 skrll 2002-12-12 Alan Modra <amodra (a] bigpond.net.au> 5225 1.1 skrll 5226 1.1 skrll * dwarf2.c (comp_unit_contains_address): Comment typo fix. 5227 1.1 skrll * elf.c (get_program_header_size): Likewise. 5228 1.1 skrll * elf32-m32r.c (m32r_elf_lo16_reloc): Likewise. 5229 1.1 skrll (m32r_elf_generic_reloc): Likewise. 5230 1.1 skrll * elf32-ppc.c (ppc_elf_howto_init): Likewise. 5231 1.1 skrll * elflink.h (elf_bfd_discard_info): Likewise. 5232 1.1 skrll 5233 1.1 skrll 2002-12-12 Alan Modra <amodra (a] bigpond.net.au> 5234 1.1 skrll 5235 1.1 skrll * elf32-i386.c (elf_i386_finish_dynamic_sections): Add output_offset 5236 1.1 skrll to DT_JMPREL. Use srelplt input section size for DT_PLTRELSZ and 5237 1.1 skrll DT_RELSZ adjustment, not output section. Avoid writing tags when 5238 1.1 skrll unchanged. Don't assume linker script is sane, adjust DT_REL too. 5239 1.1 skrll * elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Just use raw 5240 1.1 skrll size of srelplt for DT_PLTRELSZ. Use srelplt input section size for 5241 1.1 skrll DT_RELASZ adjustment, not output section. Avoid writing tags when 5242 1.1 skrll unchanged. Adjust DT_RELA. 5243 1.1 skrll * elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Tweaks for better 5244 1.1 skrll formatting. Avoid writing tags when unchanged. Adjust DT_RELA. 5245 1.1 skrll 5246 1.1 skrll 2002-12-12 Alexandre Oliva <aoliva (a] redhat.com> 5247 1.1 skrll 5248 1.1 skrll * elfxx-mips.c (mips_elf_calculate_relocation): Don't divide 5249 1.1 skrll addend by 4. 5250 1.1 skrll 5251 1.1 skrll 2002-12-12 Alexandre Oliva <aoliva (a] redhat.com> 5252 1.1 skrll 5253 1.1 skrll * elfxx-mips.c (struct mips_got_entry): New. 5254 1.1 skrll (struct mips_got_info): Added got_entries field. 5255 1.1 skrll (mips_elf_got_entry_hash, mips_elf_got_entry_eq): New functions. 5256 1.1 skrll (mips_elf_local_got_index, mips_elf_got_page, 5257 1.1 skrll mips_elf_got16_entry): Re-implement in terms of new... 5258 1.1 skrll (mips_elf_create_local_got_entry): Rewrite to use got_entries. 5259 1.1 skrll Change return type. 5260 1.1 skrll (mips_elf_highest): Warning clean-up. 5261 1.1 skrll (mips_elf_create_got_section): Initialize got_entries. 5262 1.1 skrll (_bfd_mips_elf_check_relocs): Use got_entries to estimate 5263 1.1 skrll local got size. 5264 1.1 skrll (_bfd_mips_elf_size_dynamic_sections): Do not account for 5265 1.1 skrll GOT_PAGE entries, since we now reuse GOT16 entries. 5266 1.1 skrll 5267 1.1 skrll 2002-12-10 Jason Thorpe <thorpej (a] wasabisystems.com> 5268 1.1 skrll 5269 1.1 skrll * aoutx.h (set_section_contents): Allow an otherwise unrepresentable 5270 1.1 skrll read-only section that lies after .text and before .data to be 5271 1.1 skrll written into the output file and included in a_text. 5272 1.1 skrll (translate_to_native_sym_flags): If an otherwise unrepresentable 5273 1.1 skrll section was merged with .text, convert its symbols to N_TEXT 5274 1.1 skrll symbols. 5275 1.1 skrll * libaout.h (aout_section_merge_with_text_p): New macro. 5276 1.1 skrll 5277 1.1 skrll 2002-12-08 Alan Modra <amodra (a] bigpond.net.au> 5278 1.1 skrll 5279 1.1 skrll * bfd-in.h: Comment typo fix. Formatting. 5280 1.1 skrll * bfd-in2.h: Regenerate. 5281 1.1 skrll * coff64-rs6000.c (xcoff64_openr_next_archived_file): Warning fix. 5282 1.1 skrll * elf32-m68hc12.c (m68hc12_elf_set_mach_from_flags): Prototype. 5283 1.1 skrll * elf64-mmix.c (mmix_dump_bpo_gregs): Warning fix. 5284 1.1 skrll 5285 1.1 skrll 2002-12-05 Richard Henderson <rth (a] redhat.com> 5286 1.1 skrll 5287 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relax_section): Handle PCREL21BI. 5288 1.1 skrll Only send PCREL21B though the plt. Fix installed reloc type. 5289 1.1 skrll (elfNN_ia64_relocate_section): Give error for dynamic reloc 5290 1.1 skrll against PCREL22 or PCREL64I; clean up error messages for 5291 1.1 skrll branch relocs. 5292 1.1 skrll 5293 1.1 skrll 2002-12-04 Kevin Buettner <kevinb (a] redhat.com> 5294 1.1 skrll 5295 1.1 skrll * elf64-mips.c (elf64_mips_grok_prstatus, elf64_mips_grok_psinfo): 5296 1.1 skrll New functions. 5297 1.1 skrll (elf_backend_grok_prstatus, elf_backend_grok_psinfo): Define. 5298 1.1 skrll 5299 1.1 skrll 2002-12-04 David Mosberger <davidm (a] hpl.hp.com> 5300 1.1 skrll 5301 1.1 skrll * cpu-ia64-opc.c: Add operand constant "ar.csd". 5302 1.1 skrll 5303 1.1 skrll 2002-12-04 H.J. Lu <hjl (a] gnu.org> 5304 1.1 skrll 5305 1.1 skrll * elfxx-ia64.c (get_local_sym_hash): Use section ID instead of 5306 1.1 skrll BFD address when constructing local name. 5307 1.1 skrll 5308 1.1 skrll 2002-12-04 Andreas Schwab <schwab (a] suse.de> 5309 1.1 skrll 5310 1.1 skrll * elf32-m68k.c (struct elf_m68k_link_hash_table): Add sym_sec 5311 1.1 skrll member. 5312 1.1 skrll (elf_m68k_link_hash_table_create): Initialize it. 5313 1.1 skrll (elf_m68k_check_relocs): Handle symbols that are forced to be 5314 1.1 skrll local due to visibility changes. 5315 1.1 skrll (elf_m68k_adjust_dynamic_symbol): Likewise. 5316 1.1 skrll (elf_m68k_size_dynamic_sections): Likewise. 5317 1.1 skrll (elf_m68k_discard_copies): Likewise. 5318 1.1 skrll (elf_m68k_relocate_section): Likewise. 5319 1.1 skrll 5320 1.1 skrll 2002-12-04 Alan Modra <amodra (a] bigpond.net.au> 5321 1.1 skrll 5322 1.1 skrll * elf64-ppc.c (ppc64_elf_edit_opd): Correct typo. 5323 1.1 skrll 5324 1.1 skrll 2002-12-04 Alan Modra <amodra (a] bigpond.net.au> 5325 1.1 skrll 5326 1.1 skrll * srec.c (srec_write_symbols): Restore '$' prefix to address 5327 1.1 skrll accidentally removed in 2002-04-04 change. 5328 1.1 skrll (srec_get_symtab): Use 0 instead of `(long) FALSE'. 5329 1.1 skrll 5330 1.1 skrll 2002-12-03 Nick Clifton <nickc (a] redhat.com> 5331 1.1 skrll 5332 1.1 skrll * elf32-ppc.c (apuinfo_list_init): New function. 5333 1.1 skrll (apuinfo_list_add): New function: Add a value to the list. 5334 1.1 skrll (apuinfo_list_length): New function: Return the number of 5335 1.1 skrll values on the list. 5336 1.1 skrll (apuinfo_list_element): New function: Return a value on the 5337 1.1 skrll list. 5338 1.1 skrll (apuinfo_list_finish): New function: Free the resources used 5339 1.1 skrll by the list. 5340 1.1 skrll (ppc_elf_begin_write_processing): New function. Scan the 5341 1.1 skrll input bfds for apuinfo sections. 5342 1.1 skrll (ppc_elf_write_section): New function: Delay the creation of 5343 1.1 skrll the contents of an apuinfo section in an output bfd. 5344 1.1 skrll (ppc_elf_final_write_processing): New function. Create the 5345 1.1 skrll contents of an apuinfo section in an output bfd. 5346 1.1 skrll (elf_backend_begin_write_processing): Define. 5347 1.1 skrll (elf_backend_final_write_processing): Define. 5348 1.1 skrll (elf_backend_write_section): Define. 5349 1.1 skrll 5350 1.1 skrll 2002-12-03 Richard Henderson <rth (a] redhat.com> 5351 1.1 skrll 5352 1.1 skrll * cpu-ia64-opc.c (elf64_ia64_operands): Add ldxmov entry. 5353 1.1 skrll 5354 1.1 skrll 2002-12-01 Stephane Carrez <stcarrez (a] nerim.fr> 5355 1.1 skrll 5356 1.1 skrll Fix PR savannah/1417: 5357 1.1 skrll * elf32-m68hc11.c (m68hc11_elf_relax_delete_bytes): Don't adjust 5358 1.1 skrll branch if it goes to the start of the deleted region. 5359 1.1 skrll 5360 1.1 skrll 2002-12-01 Stephane Carrez <stcarrez (a] nerim.fr> 5361 1.1 skrll 5362 1.1 skrll * bfd-in2.h (bfd_mach_m6812): Rebuild. 5363 1.1 skrll * archures.c (bfd_mach_m6812_default, bfd_mach_m6812, 5364 1.1 skrll bfd_mach_m6812s): Declare. 5365 1.1 skrll 5366 1.1 skrll * elf32-m68hc12.c (m68hc12_elf_set_mach_from_flags): New function. 5367 1.1 skrll (_bfd_m68hc12_elf_set_private_flags): Call it. 5368 1.1 skrll (_bfd_m68hc12_elf_print_private_bfd_data): Report processor version. 5369 1.1 skrll (_bfd_m68hc12_elf_merge_private_bfd_data): Merge the flags and 5370 1.1 skrll report microcontroller incompatibilities (HC12 vs HCS12). 5371 1.1 skrll (elf_backend_object_p): Update. 5372 1.1 skrll 5373 1.1 skrll 2002-11-30 Alan Modra <amodra (a] bigpond.net.au> 5374 1.1 skrll 5375 1.1 skrll * bfd-in.h (TRUE_FALSE_ALREADY_DEFINED, BFD_TRUE_FALSE): Delete. 5376 1.1 skrll (enum bfd_boolean, boolean): Delete. 5377 1.1 skrll (bfd_boolean): Typedef to an int. 5378 1.1 skrll (FALSE, TRUE): Define. 5379 1.1 skrll * aix386-core.c, aix5ppc-core.c, aout-adobe.c, aout-arm.c, aout-cris.c, 5380 1.1 skrll aout-encap.c, aout-ns32k.c, aout-target.h, aout-tic30.c, aoutf1.h, 5381 1.1 skrll aoutx.h, archive.c, archive64.c, archures.c, bfd-in.h, bfd.c, bfdwin.c, 5382 1.1 skrll binary.c, bout.c, cache.c, cisco-core.c, coff-a29k.c, coff-alpha.c, 5383 1.1 skrll coff-apollo.c, coff-arm.c, coff-aux.c, coff-h8300.c, coff-h8500.c, 5384 1.1 skrll coff-i386.c, coff-i860.c, coff-i960.c, coff-ia64.c, coff-m68k.c, 5385 1.1 skrll coff-m88k.c, coff-mcore.c, coff-mips.c, coff-or32.c, coff-ppc.c, 5386 1.1 skrll coff-rs6000.c, coff-sh.c, coff-sparc.c, coff-stgo32.c, coff-tic30.c, 5387 1.1 skrll coff-tic4x.c, coff-tic54x.c, coff-tic80.c, coff-w65.c, coff-we32k.c, 5388 1.1 skrll coff-z8k.c, coff64-rs6000.c, coffcode.h, coffgen.c, cofflink.c, 5389 1.1 skrll corefile.c, cpu-a29k.c, cpu-alpha.c, cpu-arc.c, cpu-arm.c, cpu-avr.c, 5390 1.1 skrll cpu-cris.c, cpu-d10v.c, cpu-d30v.c, cpu-dlx.c, cpu-fr30.c, cpu-frv.c, 5391 1.1 skrll cpu-h8300.c, cpu-h8500.c, cpu-hppa.c, cpu-i370.c, cpu-i386.c, 5392 1.1 skrll cpu-i860.c, cpu-i960.c, cpu-ia64.c, cpu-ip2k.c, cpu-m10200.c, 5393 1.1 skrll cpu-m10300.c, cpu-m32r.c, cpu-m68hc11.c, cpu-m68hc12.c, cpu-m68k.c, 5394 1.1 skrll cpu-m88k.c, cpu-mcore.c, cpu-mips.c, cpu-mmix.c, cpu-ns32k.c, 5395 1.1 skrll cpu-openrisc.c, cpu-or32.c, cpu-pdp11.c, cpu-pj.c, cpu-powerpc.c, 5396 1.1 skrll cpu-rs6000.c, cpu-s390.c, cpu-sh.c, cpu-sparc.c, cpu-tic30.c, 5397 1.1 skrll cpu-tic4x.c, cpu-tic54x.c, cpu-tic80.c, cpu-v850.c, cpu-vax.c, 5398 1.1 skrll cpu-w65.c, cpu-we32k.c, cpu-xstormy16.c, cpu-z8k.c, dwarf1.c, 5399 1.1 skrll dwarf2.c, ecoff.c, ecofflink.c, efi-app-ia32.c, efi-app-ia64.c, 5400 1.1 skrll elf-bfd.h, elf-eh-frame.c, elf-hppa.h, elf-m10200.c, elf-m10300.c, 5401 1.1 skrll elf-strtab.c, elf.c, elf32-arc.c, elf32-arm.h, elf32-avr.c, 5402 1.1 skrll elf32-cris.c, elf32-d10v.c, elf32-d30v.c, elf32-dlx.c, elf32-fr30.c, 5403 1.1 skrll elf32-frv.c, elf32-gen.c, elf32-h8300.c, elf32-hppa.c, elf32-hppa.h, 5404 1.1 skrll elf32-i370.c, elf32-i386.c, elf32-i860.c, elf32-i960.c, elf32-ip2k.c, 5405 1.1 skrll elf32-m32r.c, elf32-m68hc11.c, elf32-m68hc12.c, elf32-m68k.c, 5406 1.1 skrll elf32-mcore.c, elf32-mips.c, elf32-openrisc.c, elf32-or32.c, 5407 1.1 skrll elf32-pj.c, elf32-ppc.c, elf32-s390.c, elf32-sh.c, elf32-sh64-com.c, 5408 1.1 skrll elf32-sh64.c, elf32-sparc.c, elf32-v850.c, elf32-vax.c, 5409 1.1 skrll elf32-xstormy16.c, elf64-alpha.c, elf64-gen.c, elf64-hppa.c, 5410 1.1 skrll elf64-mips.c, elf64-mmix.c, elf64-ppc.c, elf64-ppc.h, elf64-s390.c, 5411 1.1 skrll elf64-sh64.c, elf64-sparc.c, elf64-x86-64.c, elfarm-nabi.c, 5412 1.1 skrll elfarm-oabi.c, elfcode.h, elfcore.h, elflink.c, elflink.h, 5413 1.1 skrll elfn32-mips.c, elfxx-ia64.c, elfxx-mips.c, elfxx-mips.h, 5414 1.1 skrll elfxx-target.h, format.c, freebsd.h, genlink.h, hash.c, hp300hpux.c, 5415 1.1 skrll hppabsd-core.c, hpux-core.c, i386aout.c, i386linux.c, i386lynx.c, 5416 1.1 skrll i386mach3.c, i386msdos.c, i386os9k.c, ieee.c, ihex.c, irix-core.c, 5417 1.1 skrll libaout.h, libbfd-in.h, libbfd.c, libcoff-in.h, libecoff.h, libieee.h, 5418 1.1 skrll libnlm.h, liboasys.h, libpei.h, libxcoff.h, linker.c, lynx-core.c, 5419 1.1 skrll m68klinux.c, m68klynx.c, mach-o.c, mach-o.h, merge.c, mipsbsd.c, 5420 1.1 skrll mmo.c, netbsd-core.c, netbsd.h, nlm.c, nlm32-alpha.c, nlm32-i386.c, 5421 1.1 skrll nlm32-ppc.c, nlm32-sparc.c, nlmcode.h, oasys.c, opncls.c, osf-core.c, 5422 1.1 skrll pc532-mach.c, pdp11.c, pe-arm.c, pe-i386.c, pe-mcore.c, pe-mips.c, 5423 1.1 skrll pe-sh.c, peXXigen.c, pef.c, pei-arm.c, pei-i386.c, pei-mcore.c, 5424 1.1 skrll pei-mips.c, pei-sh.c, peicode.h, ppcboot.c, ptrace-core.c, reloc.c, 5425 1.1 skrll reloc16.c, riscix.c, rs6000-core.c, sco5-core.c, section.c, simple.c, 5426 1.1 skrll som.c, som.h, sparclinux.c, sparclynx.c, srec.c, stabs.c, sunos.c, 5427 1.1 skrll syms.c, targets.c, tekhex.c, ticoff.h, trad-core.c, versados.c, 5428 1.1 skrll vms-gsd.c, vms-hdr.c, vms-misc.c, vms-tir.c, vms.c, vms.h, 5429 1.1 skrll xcoff-target.h, xcofflink.c, xsym.c, xsym.h: Replace boolean with 5430 1.1 skrll bfd_boolean, true with TRUE, false with FALSE. Simplify comparisons 5431 1.1 skrll of bfd_boolean vars with TRUE/FALSE. Formatting. 5432 1.1 skrll * bfd-in2.h, libbfd.h, libcoff.h: Regenerate 5433 1.1 skrll 5434 1.1 skrll 2002-11-28 Alan Modra <amodra (a] bigpond.net.au> 5435 1.1 skrll 5436 1.1 skrll * elf-bfd.h: Replace occurrences of Elf32_Internal_* and 5437 1.1 skrll Elf64_Internal_* with Elf_Internal_*. Replace Elf_Internal_Rel 5438 1.1 skrll with Elf_Internal_Rela. 5439 1.1 skrll * elf-hppa.h, elf-m10200.c, elf-m10300.c, elf32-arc.c, elf32-arm.h, 5440 1.1 skrll elf32-avr.c, elf32-cris.c, elf32-d10v.c, elf32-d30v.c, elf32-dlx.c, 5441 1.1 skrll elf32-fr30.c, elf32-frv.c, elf32-gen.c, elf32-h8300.c, elf32-hppa.c, 5442 1.1 skrll elf32-i370.c, elf32-i386.c, elf32-i860.c, elf32-i960.c, elf32-ip2k.c, 5443 1.1 skrll elf32-m32r.c, elf32-m68hc11.c, elf32-m68hc12.c, elf32-m68k.c, 5444 1.1 skrll elf32-mcore.c, elf32-mips.c, elf32-openrisc.c, elf32-or32.c, 5445 1.1 skrll elf32-ppc.c, elf32-s390.c, elf32-sh.c, elf32-v850.c, elf32-vax.c, 5446 1.1 skrll elf32-xstormy16.c, elf64-alpha.c, elf64-gen.c, elf64-hppa.c, 5447 1.1 skrll elf64-mips.c, elf64-mmix.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c, 5448 1.1 skrll elf64-sparc.c, elf64-x86-64.c, elfarm-nabi.c, elfarm-oabi.c, 5449 1.1 skrll elfcode.h, elflink.h, elfn32-mips.c, elfxx-ia64.c, elfxx-mips.c: Ditto. 5450 1.1 skrll * elf-hppa.h (elf_hppa_internal_shdr): Delete. Use Elf_Internal_Shdr 5451 1.1 skrll throughout instead. 5452 1.1 skrll * elf.c (_bfd_elf_no_info_to_howto_rel): Delete. 5453 1.1 skrll * elfcode.h (elf_swap_reloca_in): Pass source operand as a bfd_byte *. 5454 1.1 skrll Remove INLINE keyword. 5455 1.1 skrll (elf_swap_reloc_in): Likewise. Also clear r_addend. 5456 1.1 skrll (elf_swap_reloc_out, elf_swap_reloca_out): Pass destination operand 5457 1.1 skrll as a bfd_byte *. 5458 1.1 skrll (elf_write_relocs): Consolidate REL and RELA code. 5459 1.1 skrll (elf_slurp_reloc_table_from_section): Simplify REL code. 5460 1.1 skrll (NAME(_bfd_elf,size_info)): Populate reloc swap entries. 5461 1.1 skrll * elf-bfd.h (MAX_INT_RELS_PER_EXT_REL): Define. 5462 1.1 skrll * elflink.h (elf_link_read_relocs_from_section): Consolidate REL and 5463 1.1 skrll RELA code. 5464 1.1 skrll (elf_link_adjust_relocs): Likewise. Don't malloc space for temp 5465 1.1 skrll reloc array, use a fixed size of MAX_INT_RELS_PER_EXT_REL. 5466 1.1 skrll (elf_link_output_relocs): Likewise. 5467 1.1 skrll (elf_reloc_link_order): Likewise. 5468 1.1 skrll (elf_finish_pointer_linker_section): Likewise. 5469 1.1 skrll (struct elf_link_sort_rela): Remove union. 5470 1.1 skrll (elf_link_sort_cmp1): Update to suit. 5471 1.1 skrll (elf_link_sort_cmp2): Here too. 5472 1.1 skrll (elf_link_sort_relocs): Consolidate REL and RELA code. Fix memory 5473 1.1 skrll over-allocation for int_rels_per_ext_rel != 1 case. 5474 1.1 skrll * elf32-arm.h: Update all bfd_elf32_swap_reloc_out calls. 5475 1.1 skrll * elf32-i386.c: Likewise. 5476 1.1 skrll * elf32-cris.c: Likewise for bfd_elf32_swap_reloca_out. 5477 1.1 skrll * elf32-hppa.c, elf32-i370.c, elf32-m68k.c, elf32-ppc.c, elf32-s390.c, 5478 1.1 skrll elf32-sh.c, elf32-vax.c, elfxx-mips.c: Likewise. 5479 1.1 skrll * elf64-alpha.c: Likewise for bfd_elf64_swap_reloca_out. 5480 1.1 skrll * elf64-hppa.c, elf64-mips.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c, 5481 1.1 skrll elf64-sparc.c, elf64-x86-64.c: Likewise. 5482 1.1 skrll * elfxx-ia64.c: Likewise for bfd_elfNN_swap_reloca_out. 5483 1.1 skrll * elfxx-mips.c (sort_dynamic_relocs): Likewise for 5484 1.1 skrll bfd_elf32_swap_reloc_in. 5485 1.1 skrll 5486 1.1 skrll * elf32-arm.h: Update elf32_arm_info_to_howto calls. 5487 1.1 skrll * elf32-mips.c: Likewise for mips_info_to_howto_rel. 5488 1.1 skrll (mips_elf64_swap_reloc_in): Zero r_addend. 5489 1.1 skrll (mips_elf64_be_swap_reloc_in): Likewise. 5490 1.1 skrll (mips_elf64_slurp_one_reloc_table): Simplify. 5491 1.1 skrll 5492 1.1 skrll * elf64-alpha.c (alpha_elf_size_info): Populate reloc swap entries. 5493 1.1 skrll * elf64-hppa.c (hppa64_elf_size_info): Likewise. 5494 1.1 skrll * elf64-sparc.c (sparc64_elf_size_info): Likewise. 5495 1.1 skrll 5496 1.1 skrll 2002-11-28 Kaz Kojima <kkojima (a] rr.iij4u.or.jp> 5497 1.1 skrll 5498 1.1 skrll * elf32-sh.c (sh_elf_relocate_section): Don't complain about 5499 1.1 skrll unresolved debugging relocs in dynamic applications. 5500 1.1 skrll * elf64-sh64.c (sh_elf64_relocate_section): Likewise. 5501 1.1 skrll 5502 1.1 skrll 2002-11-26 Alan Modra <amodra (a] bigpond.net.au> 5503 1.1 skrll 5504 1.1 skrll * elf-eh-frame.c (ENSURE_NO_RELOCS): Disregard R_*_NONE relocs. 5505 1.1 skrll (_bfd_elf_discard_section_eh_frame): Don't discard duplicate CIEs 5506 1.1 skrll on a relocatable link. Comment typos. 5507 1.1 skrll * elf.c (_bfd_elf_link_hash_newfunc): Assign elements of structure 5508 1.1 skrll in the order they are declared. Clear elf_hash_value too. 5509 1.1 skrll (_bfd_elf_link_hash_table_init): Likewise assign in order. Clear 5510 1.1 skrll eh_info and tls_segment. 5511 1.1 skrll * elflink.h (elf_link_input_bfd <emit_relocs>): Keep reloc offsets 5512 1.1 skrll sorted when discarding relocs by turning them into R_*_NONE. 5513 1.1 skrll 5514 1.1 skrll * libbfd.c (warn_deprecated): Comment spelling. 5515 1.1 skrll * po/SRC-POTFILES.in: Regenerate. 5516 1.1 skrll 5517 1.1 skrll 2002-11-21 Richard Henderson <rth (a] redhat.com> 5518 1.1 skrll 5519 1.1 skrll * elflink.h (elf_link_add_object_symbols): Don't overwrite the 5520 1.1 skrll arch's st_other bits when merging visibilities. 5521 1.1 skrll (elf_link_output_extsym): Tidy clearing of visibility field. 5522 1.1 skrll 5523 1.1 skrll 2002-11-21 Alan Modra <amodra (a] bigpond.net.au> 5524 1.1 skrll 5525 1.1 skrll * coff-mcore.c (SWAP_IN_RELOC_OFFSET): Define. 5526 1.1 skrll (SWAP_OUT_RELOC_OFFSET): Define. 5527 1.1 skrll 5528 1.1 skrll 2002-11-20 Alexandre Oliva <aoliva (a] redhat.com> 5529 1.1 skrll 5530 1.1 skrll * elf.c (_bfd_elf_link_hash_table_init): Make sure 5531 1.1 skrll can_refcount is properly extended to the type of 5532 1.1 skrll init_refcount. 5533 1.1 skrll 5534 1.1 skrll 2002-11-19 Alexandre Oliva <aoliva (a] redhat.com> 5535 1.1 skrll 5536 1.1 skrll * elfxx-mips.c (MIPS_RELOC_RELA_P): New macro. 5537 1.1 skrll (_bfd_mips_elf_relocate_section): Use it. 5538 1.1 skrll 5539 1.1 skrll * elfxx-mips.c (MNAME): New macro. 5540 1.1 skrll (_bfd_mips_elf_check_relocs): Use it. 5541 1.1 skrll (_bfd_mips_elf_discard_info): Likewise. 5542 1.1 skrll (_bfd_mips_elf_final_link): Likewise. 5543 1.1 skrll 5544 1.1 skrll 2002-11-19 Alan Modra <amodra (a] bigpond.net.au> 5545 1.1 skrll 5546 1.1 skrll * elf64-ppc.c (ppc64_elf_edit_opd): When deleting relocs, adjust 5547 1.1 skrll rel_hdr.sh_size too. 5548 1.1 skrll 5549 1.1 skrll 2002-11-18 Klee Dienes <kdienes (a] apple.com> 5550 1.1 skrll 5551 1.1 skrll * Makefile.am (BFD32_LIBS): Add bfdwin.lo, bfdio.lo. 5552 1.1 skrll (BFD32_LIBS_CFILES): Add bfdwin.c, bfdio.c. 5553 1.1 skrll (BFD_H_FILES): Add bfdwin.c, bfdio.c. 5554 1.1 skrll (LIBBFD_H_FILES): Add bfdwin.c, bfdio.c. 5555 1.1 skrll Add dependencies for bfdwin.c, bfdio.c. 5556 1.1 skrll * bfd.c: Remove bfd_get_mtime, bfd_get_size. 5557 1.1 skrll * libbfd.c: Remove real_read, bfd_bread, _bfd_window_internal, 5558 1.1 skrll bfd_init_window, bfd_free_window, bfd_get_file_window, bfd_bwrite, 5559 1.1 skrll bfd_tell, bfd_flush, bfd_stat, bfd_seek. 5560 1.1 skrll * bfdio.c: New file. Contains real_read, bfd_bread, bfd_write, 5561 1.1 skrll bfd_tell, bfd_flush, bfd_stat, bfd_seek, bfd_ge_mtime, 5562 1.1 skrll bfd_get_size (moved from libbfd.c and bfd.c). 5563 1.1 skrll * bfdwin.c New file. Contains _bfd_window_internal, 5564 1.1 skrll bfd_init_window, bfd_free_window, bfd_get_file_window (moved from 5565 1.1 skrll libbfd.c and bfd.c). 5566 1.1 skrll * po/SRC-POTFILES.in: Regenerate. 5567 1.1 skrll * po/bfd.pot: Regenerate. 5568 1.1 skrll * libbfd.h: Regenerate. 5569 1.1 skrll * bfd-in2.h: Regenerate. 5570 1.1 skrll * aclocal.m4: Regenerate. 5571 1.1 skrll * Makefile.in: Regenerate. 5572 1.1 skrll * configure: Regenerate. 5573 1.1 skrll 5574 1.1 skrll 2002-11-18 Klee Dienes <kdienes (a] apple.com> 5575 1.1 skrll 5576 1.1 skrll * bfd.c (bfd_preserve_save): Don't zero BFD_IN_MEMORY. 5577 1.1 skrll 5578 1.1 skrll 2002-11-15 Kazu Hirata <kazu (a] cs.umass.edu> 5579 1.1 skrll 5580 1.1 skrll * coff-h8300.c (h8300_reloc16_estimate): Do not optimize away 5581 1.1 skrll jsr after a short jump. 5582 1.1 skrll * elf32-h8300.c (elf32_h8_relax_section): Likewise. 5583 1.1 skrll 5584 1.1 skrll 2002-11-15 Klee Dienes <kdienes (a] apple.com> 5585 1.1 skrll 5586 1.1 skrll * pef.c (bfd_pef_convert_architecture): Move declaration of 5587 1.1 skrll ARCH_POWERPC and ARCH_M68K to the start of the function. 5588 1.1 skrll 5589 1.1 skrll 2002-11-14 Svein E. Seldal <Svein.Seldal (a] solidas.com> 5590 1.1 skrll 5591 1.1 skrll * coff-tic4x.c (tic4x_howto_table): Formatting fixup 5592 1.1 skrll 5593 1.1 skrll 2002-11-14 Hans-Peter Nilsson <hp (a] bitrange.com> 5594 1.1 skrll 5595 1.1 skrll * elf64-mmix.c (_bfd_mmix_finalize_linker_allocated_gregs): 5596 1.1 skrll For bpo_gregs_section->contents, allocate _raw_size, not 5597 1.1 skrll _cooked_size. 5598 1.1 skrll 5599 1.1 skrll 2002-11-13 Klee Dienes <kdienes (a] apple.com> 5600 1.1 skrll 5601 1.1 skrll * config.bfd: Add entries for powerpc-*-darwin and cousins. 5602 1.1 skrll 5603 1.1 skrll 2002-11-13 H.J. Lu <hjl (a] gnu.org> 5604 1.1 skrll 5605 1.1 skrll * elfcode.h (elf_object_p): Don't restore abfd->arch_info. 5606 1.1 skrll 5607 1.1 skrll 2002-11-13 Klee Dienes <kdienes (a] apple.com> 5608 1.1 skrll Alan Modra <amodra (a] bigpond.net.au> 5609 1.1 skrll 5610 1.1 skrll * bfd.c (struct bfd_preserve): New. 5611 1.1 skrll (bfd_preserve_save): New function. 5612 1.1 skrll (bfd_preserve_restore): Ditto. 5613 1.1 skrll (bfd_preserve_finish): Ditto. 5614 1.1 skrll * bfd-in2.h: Regenerate. 5615 1.1 skrll * mach-o.c: Formatting. 5616 1.1 skrll (bfd_mach_o_scan_read_symtab_symbol): Make "value" unsigned. 5617 1.1 skrll (bfd_mach_o_object_p): Use bfd_preserve_save/restore/finish. 5618 1.1 skrll (bfd_mach_o_core_p): Ditto. 5619 1.1 skrll (bfd_mach_o_scan): Pass in mdata. 5620 1.1 skrll * mach-o.h (bfd_mach_o_scan): Update prototype. 5621 1.1 skrll * pef.c: Formatting. 5622 1.1 skrll (bfd_pef_object_p): Use bfd_preserve_save/restore/finish. 5623 1.1 skrll (bfd_pef_xlib_object_p): Ditto. 5624 1.1 skrll (bfd_pef_scan): Pass in mdata. Move version check to bfd_pef_object_p. 5625 1.1 skrll * pef.h (bfd_pef_scan): Update prototype. 5626 1.1 skrll * xsym.c: Formatting, K&R fixes. 5627 1.1 skrll (bfd_sym_object_p): Use bfd_preserve_save/restore/finish. 5628 1.1 skrll (bfd_sym_scan): New function split out from bfd_sym_object_p. 5629 1.1 skrll * xsym.h (bfd_sym_scan): Declare. 5630 1.1 skrll * elfcode.h (elf_object_p): Use bfd_preserve_save/restore/finish. 5631 1.1 skrll * elfcore.h (elf_core_file_p): Likewise. 5632 1.1 skrll * targets.c (_bfd_target_vector): Revert 2002-11-08 change. 5633 1.1 skrll 5634 1.1 skrll 2002-11-12 Nick Clifton <nickc (a] redhat.com> 5635 1.1 skrll 5636 1.1 skrll * po/da.po: Updated Danish translation. 5637 1.1 skrll 5638 1.1 skrll 2002-11-12 Alan Modra <amodra (a] bigpond.net.au> 5639 1.1 skrll 5640 1.1 skrll * elflink.h (elf_link_add_object_symbols): Optimize stabs for 5641 1.1 skrll relocatable link too. 5642 1.1 skrll (elf_link_input_bfd): When emitting relocs, adjust offsets for 5643 1.1 skrll eh_frame and stab sections. Zap deleted relocs. 5644 1.1 skrll (elf_reloc_symbol_deleted_p): Return true for zero r_symndx. 5645 1.1 skrll (elf_bfd_discard_info): Run for relocatable link too. 5646 1.1 skrll * elf64-ppc.c (ppc64_elf_edit_opd): Rename from edit_opd. Make global. 5647 1.1 skrll Handle ld -r case. 5648 1.1 skrll (ppc64_elf_size_dynamic_sections): Don't call edit_opd from here. 5649 1.1 skrll * elf64-ppc.h (ppc64_elf_edit_opd): Declare. 5650 1.1 skrll 5651 1.1 skrll * elf-bfd.h (struct cie_header): Move from elf_eh-frame.c. 5652 1.1 skrll (struct cie, struct eh_cie_fde, struct eh_frame_sec_info): Likewise. 5653 1.1 skrll (struct eh_frame_array_ent, struct eh_frame_hdr_info): Likewise. 5654 1.1 skrll (enum elf_link_info_type): Remove ELF_INFO_TYPE_EH_FRAME_HDR. 5655 1.1 skrll (struct eh_frame_hdr_info): Add "hdr_sec", remove "split". 5656 1.1 skrll (struct elf_link_hash_table): Add eh_info. 5657 1.1 skrll (struct elf_obj_tdata): Change eh_frame_hdr to an asection *. 5658 1.1 skrll (_bfd_elf_discard_section_eh_frame): Update prototype. 5659 1.1 skrll (_bfd_elf_discard_section_eh_frame_hdr): Likewise. 5660 1.1 skrll (_bfd_elf_write_section_eh_frame): Likewise. 5661 1.1 skrll (_bfd_elf_write_section_eh_frame_hdr): Likewise. 5662 1.1 skrll * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Remove "ehdrsec" 5663 1.1 skrll param. Get "hdr_info" from link hash table. 5664 1.1 skrll (_bfd_elf_discard_section_eh_frame_hdr): Remove "sec" param. Get 5665 1.1 skrll header section from link hash table. Save header section to elf_tdata. 5666 1.1 skrll (_bfd_elf_maybe_strip_eh_frame_hdr): Remove local "sec". Use 5667 1.1 skrll header section from link hash table. Don't alloc hdr_info. Clear 5668 1.1 skrll hdr_sec instead of setting "strip". 5669 1.1 skrll (_bfd_elf_eh_frame_section_offset): Formatting. 5670 1.1 skrll (_bfd_elf_write_section_eh_frame): Remove "ehdrsec", add "info" param. 5671 1.1 skrll Get header section from link hash table. 5672 1.1 skrll (_bfd_elf_write_section_eh_frame_hdr): Remove "sec", add "info" param. 5673 1.1 skrll Get header section from link hash table. 5674 1.1 skrll * elf.c (map_sections_to_segments): Use cached eh_frame_hdr. 5675 1.1 skrll (get_program_header_size): Likewise. 5676 1.1 skrll (_bfd_elf_section_offset): Formatting. 5677 1.1 skrll * elflink.h (elf_link_create_dynamic_sections): Stash eh frame header 5678 1.1 skrll section pointer in link hash table. 5679 1.1 skrll (elf_bfd_final_link): Adjust _bfd_elf_write_section_eh_frame_hdr 5680 1.1 skrll and _bfd_elf_write_section_eh_frame calls. Update comment about 5681 1.1 skrll eh_frame entries. 5682 1.1 skrll (elf_bfd_discard_info): Adjust _bfd_elf_discard_section_eh_frame and 5683 1.1 skrll _bfd_elf_discard_section_eh_frame_hdr calls. Remove "ehdr". 5684 1.1 skrll 5685 1.1 skrll * po/SRC-POTFILES.in: Regenerate. 5686 1.1 skrll 5687 1.1 skrll * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't zero 5688 1.1 skrll relocs for discarded FDEs. Remove dead code. 5689 1.1 skrll (_bfd_elf_write_section_eh_frame_hdr): Remove dead code. 5690 1.1 skrll * elflink.h (elf_bfd_discard_info): Don't save edited relocs. 5691 1.1 skrll Tidy conditions under which stabs are edited. Formatting. 5692 1.1 skrll * elf64-sparc.c (sparc64_elf_relocate_section): Ignore overflows 5693 1.1 skrll from discarded relocs. 5694 1.1 skrll * elfxx-ia64.c (elfNN_ia64_install_dyn_reloc): Add reloc output 5695 1.1 skrll section adjustments after testing magic values. 5696 1.1 skrll 5697 1.1 skrll 2002-11-12 Thomas Moestl <tmm (a] FreeBSD.org> 5698 1.1 skrll 5699 1.1 skrll * elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): Correct 5700 1.1 skrll references to large plt symbols. 5701 1.1 skrll 5702 1.1 skrll 2002-11-12 Klee Dienes <kdienes (a] apple.com> 5703 1.1 skrll 5704 1.1 skrll * mach-o.c (bfd_mach_o_scan_read_thread): Don't re-use 'i' when 5705 1.1 skrll looking for an unused section name. 5706 1.1 skrll 5707 1.1 skrll 2002-11-11 Kazu Hirata <kazu (a] cs.umass.edu> 5708 1.1 skrll 5709 1.1 skrll * coff-h8300.c: Fix formatting. 5710 1.1 skrll * elf32-h8300.c: Likewise. 5711 1.1 skrll * reloc16.c: Likewise. 5712 1.1 skrll 5713 1.1 skrll 2002-11-09 Jeroen Dobbelaere <jeroen.dobbelaere (a] acunia.com> 5714 1.1 skrll 5715 1.1 skrll * elf32-arm.h (elf32_arm_size_dynamic_sections): Don't strip output 5716 1.1 skrll section when dynamic section unused; _bfd_strip_section_from_output 5717 1.1 skrll instead. 5718 1.1 skrll 5719 1.1 skrll 2002-11-08 Alan Modra <amodra (a] bigpond.net.au> 5720 1.1 skrll 5721 1.1 skrll * targets.c (_bfd_target_vector): Disable pef_vec, pef_xlib_vec 5722 1.1 skrll and sym_vec. 5723 1.1 skrll 5724 1.1 skrll * dwarf2.c: Revert last change. 5725 1.1 skrll 5726 1.1 skrll 2002-11-07 Michal Ludvig <mludvig (a] suse.cz> 5727 1.1 skrll 5728 1.1 skrll * dwarf2.c (read_indirect_string, read_abbrevs, decode_line_info, 5729 1.1 skrll _bfd_dwarf2_find_nearest_line): Use 5730 1.1 skrll bfd_simple_get_relocated_section_contents() instead of 5731 1.1 skrll bfd_get_section_contents(). 5732 1.1 skrll * reloc.c (bfd_perform_relocation): Add sanity check. 5733 1.1 skrll * simple.c (simple_get_relocated_section_contents): If the section 5734 1.1 skrll does not have any relocs associated with it, just return the 5735 1.1 skrll unadjusted contents. 5736 1.1 skrll 5737 1.1 skrll 2002-11-07 Hans-Peter Nilsson <hp (a] axis.com> 5738 1.1 skrll 5739 1.1 skrll * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_GOT, 5740 1.1 skrll case R_CRIS_32_GOT>: Correct test for filling in constant .got 5741 1.1 skrll contents, enabling for a non-DSO, for symbols defined in the 5742 1.1 skrll program with --export-dynamic. 5743 1.1 skrll 5744 1.1 skrll 2002-11-07 Alan Modra <amodra (a] bigpond.net.au> 5745 1.1 skrll 5746 1.1 skrll * elf64-ppc.c: Comment typo fixes. 5747 1.1 skrll (ppc64_elf_merge_private_bfd_data): Allow BFD_ENDIAN_UNKNOWN input. 5748 1.1 skrll 5749 1.1 skrll 2002-11-07 Nick Clifton <nickc (a] redhat.com> 5750 1.1 skrll 5751 1.1 skrll * po/da.po: Updated Danish translation. 5752 1.1 skrll 5753 1.1 skrll 2002-11-06 Alexandre Oliva <aoliva (a] redhat.com> 5754 1.1 skrll 5755 1.1 skrll * elf64-mips.c (mips_elf64_slurp_one_reloc_table): Generate 5756 1.1 skrll exactly three internal relocs per external reloc. Set reloc_count 5757 1.1 skrll to the external reloc count. 5758 1.1 skrll 5759 1.1 skrll 2002-11-06 Klee Dienes <kdienes (a] apple.com> 5760 1.1 skrll 5761 1.1 skrll * coff-stgo32.c (stub_bytes): Mark as const. 5762 1.1 skrll Fix comment formatting. 5763 1.1 skrll 5764 1.1 skrll 2002-11-06 Klee Dienes <kdienes (a] apple.com> 5765 1.1 skrll 5766 1.1 skrll * Makefile.am (BFD32_BACKENDS): Add mach-o.lo, pef.lo, and 5767 1.1 skrll xsym.lo. 5768 1.1 skrll (BFD32_BACKENDS_CFILES): Add mach-o.c, pef.c, and xsym.c. 5769 1.1 skrll (SOURCE_HFILES): Add mach-o.h, pef.h, pef-traceback.h, xsym.h 5770 1.1 skrll * archures.c (enum bfd_architecture): Add bfd_arch_m98k. 5771 1.1 skrll * bfd.c (struct bfd): Add private data for mach-o, pef, and sym. 5772 1.1 skrll * targets.c (enum bfd_flavour): Add flavours for mach-o, pef, and 5773 1.1 skrll sym. 5774 1.1 skrll (_bfd_target_vector): Add target vectors for mach-o, pef, and sym. 5775 1.1 skrll * Makefile.in: Regenerate. 5776 1.1 skrll * doc/Makefile.in: Regenerate. 5777 1.1 skrll * bfd-in2.h: Regenerate. 5778 1.1 skrll * xsym.c: New file. Contains support for the Apple/Metrowerks 5779 1.1 skrll xSYM debugging format. 5780 1.1 skrll * xsym.h: New file. 5781 1.1 skrll * pef.c: New file. Contains support for the Apple Code Fragment 5782 1.1 skrll Manager Preferred Executable Format 5783 1.1 skrll * pef.h: New file. 5784 1.1 skrll * pef-traceback.h: New file. Contains support for parsing PowerPC 5785 1.1 skrll traceback tables as used by PEF executables (and perhaps other 5786 1.1 skrll systems as well). 5787 1.1 skrll * mach-o.c: New file. Contains support for the Mach-O object file 5788 1.1 skrll format. 5789 1.1 skrll * mach-o.h: New file. 5790 1.1 skrll * mach-o-target.c: New file. Declares the mach-o targets 5791 1.1 skrll themselves. Included three times by mach-o.c; each time with a 5792 1.1 skrll different set of macros set. 5793 1.1 skrll 5794 1.1 skrll 2002-11-06 Graeme Peterson <gp (a] qnx.com> 5795 1.1 skrll 5796 1.1 skrll * Makefile.am: Remove entries for elf32-qnx.[ch]. 5797 1.1 skrll * Makefile.in: Regenerate. 5798 1.1 skrll * config.bfd: Change arm-nto to use bfd_elf32_{big|little}arm_vec, 5799 1.1 skrll ppc-nto to use bfd_elf32_powerpc{le}_vec, sh-nto to use 5800 1.1 skrll bfd_elf32_sh{l}_vec, and i386-nto to use bfd_elf32_i386_vec. 5801 1.1 skrll * configure.in: Remove support for bfd_elf32_sh{l}qnx_vec, 5802 1.1 skrll bfd_elf32_powerpc{le}qnx_vec, bfd_elf32_{big|little}armqnx_vec, 5803 1.1 skrll and bfd_elf32_i386qnx_vec, and removed elf32-qnx.lo from other targets. 5804 1.1 skrll bfd_elf32_sh{l}_vec, and i386-nto to use bfd_elf32_i386_vec. 5805 1.1 skrll * configure: Regenerate. 5806 1.1 skrll * elf32-qnx.c: Remove. 5807 1.1 skrll * elf32-qnx.h: Remove. 5808 1.1 skrll * elf.c: Remove calls to QNX specific set_nonloadable_filepos, 5809 1.1 skrll is_contained_by_filepos, and copy_private_bfd_data_p. 5810 1.1 skrll * elf-bfd.h (struct elf_backend_data): Remove set_nonloadable_filepos, 5811 1.1 skrll is_contained_by_filepos, and copy_private_bfd_data_p. 5812 1.1 skrll * elf32-i386.c: Remove QNX extended bfd support. 5813 1.1 skrll * elf32-ppc.c: Remove QNX extended bfd support. 5814 1.1 skrll * elf32-sh.c: Remove QNX extended bfd support. 5815 1.1 skrll * elfarm-nabi.c: Remove QNX extended bfd support. 5816 1.1 skrll * targets.c: Remove qnx vectors. 5817 1.1 skrll * elfxx-target.h (elf_backend_set_nonloadable_filepos): Remove 5818 1.1 skrll (elf_backend_is_contained_by_filepos): Remove. 5819 1.1 skrll (elf_backend_copy_private_bfd_data_p): Remove. 5820 1.1 skrll * po/SRC-POTFILES.in: Regenerate. 5821 1.1 skrll 5822 1.1 skrll 2002-11-06 David O'Brien <obrien (a] FreeBSD.org> 5823 1.1 skrll Alan Modra <amodra (a] bigpond.net.au> 5824 1.1 skrll 5825 1.1 skrll * elf64-sparc.c (sparc64_elf_relocate_section): Adjust addend of 5826 1.1 skrll dynamic relocs against section symbols for the output section vma. 5827 1.1 skrll 5828 1.1 skrll 2002-11-05 Alan Modra <amodra (a] bigpond.net.au> 5829 1.1 skrll 5830 1.1 skrll * elf32-arm.h (t2a1_push_insn, t2a2_ldr_insn, t2a3_mov_insn, 5831 1.1 skrll t2a4_bx_insn, t2a5_pop_insn, t2a6_bx_insn): Remove. 5832 1.1 skrll 5833 1.1 skrll 2002-11-05 Kaz Kojima <kkojima (a] rr.iij4u.or.jp> 5834 1.1 skrll Alan Modra <amodra (a] bigpond.net.au> 5835 1.1 skrll 5836 1.1 skrll * config.bfd (sh-*-linux*): Use bfd_elf*_sh64*lin_vec as sh64 5837 1.1 skrll vectors in target_selvecs. 5838 1.1 skrll (shle-*-netbsdelf*): Use bfd_elf*_sh64*nbsd_vec as sh64 vectors 5839 1.1 skrll in target_selvecs. 5840 1.1 skrll (sh-*-netbsdelf*): Likewise. 5841 1.1 skrll * configure.in (assocvecs): New variable. Handle assocvecs like 5842 1.1 skrll selvecs. 5843 1.1 skrll * configure: Regenerate. 5844 1.1 skrll * format.c (bfd_check_format_matches): Store bfd_target pointers 5845 1.1 skrll in matching_vector instead of target names. Select first target 5846 1.1 skrll from bfd_associated_vector that matches a list of ambiguous targets. 5847 1.1 skrll * targets.c (_bfd_associated_vector): New array. 5848 1.1 skrll (bfd_associated_vector): New variable. 5849 1.1 skrll (_bfd_target_vector): Add bfd_elf*_sh64*lin_vec. 5850 1.1 skrll * libbfd-in.h (bfd_associated_vector): Declare. 5851 1.1 skrll * libbfd.h: Regenerate. 5852 1.1 skrll 5853 1.1 skrll 2002-11-05 Elias Athanasopoulos <eathan (a] otenet.gr> 5854 1.1 skrll 5855 1.1 skrll * vms-gsd.c (_bfd_vms_write_gsd): Check that symbol->udata.p is 5856 1.1 skrll non-NULL before dereferencing. 5857 1.1 skrll 5858 1.1 skrll 2002-11-04 Kaz Kojima <kkojima (a] rr.iij4u.or.jp> 5859 1.1 skrll 5860 1.1 skrll * vms.c (vms_object_p): Restore the start address when returning 5861 1.1 skrll NULL. 5862 1.1 skrll 5863 1.1 skrll 2002-11-04 Alan Modra <amodra (a] bigpond.net.au> 5864 1.1 skrll Hans-Peter Nilsson <hp (a] axis.com> 5865 1.1 skrll 5866 1.1 skrll * elflink.h (struct elf_final_link_info): Add shndxbuf_size. 5867 1.1 skrll (elf_bfd_final_link): Don't bother zeroing symtab_hdr fields. 5868 1.1 skrll Set up a larger symshndxbuf, and write it out. Free it on 5869 1.1 skrll exit rather than freeing symbuf twice. Correct section index 5870 1.1 skrll on output section symbol loop. 5871 1.1 skrll (elf_link_output_sym): Accumulate symbol extension section 5872 1.1 skrll indices, reallocating symshndxbuf rather than writing it out. 5873 1.1 skrll (elf_link_flush_output_syms): Don't flush symshndxbuf. 5874 1.1 skrll * elf.c (assign_section_numbers): Init i_shdrp to all zero. 5875 1.1 skrll Use bfd_zalloc to clear i_shdrp[0] too. 5876 1.1 skrll 5877 1.1 skrll 2002-11-03 Stephen Clarke <stephen.clarke (a] earthling.net> 5878 1.1 skrll 5879 1.1 skrll * elf32-sh64-com.c (sh64_address_in_cranges): Use 5880 1.1 skrll _raw_size of cranges section if _cooked_size not yet set. 5881 1.1 skrll 5882 1.1 skrll 2002-11-03 Hans-Peter Nilsson <hp (a] axis.com> 5883 1.1 skrll 5884 1.1 skrll * elf32-v850.c (v850_elf_relax_delete_bytes): Correct parameters 5885 1.1 skrll for bfd_elf32_swap_symbol_out. 5886 1.1 skrll 5887 1.1 skrll 2002-10-31 David O'Brien <obrien (a] FreeBSD.org> 5888 1.1 skrll 5889 1.1 skrll * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't mix 5890 1.1 skrll signed and unsigned in comparison. 5891 1.1 skrll 5892 1.1 skrll 2002-10-30 Daniel Jacobowitz <drow (a] mvista.com> 5893 1.1 skrll 5894 1.1 skrll * coffcode.h: Remove extraneous '\'. 5895 1.1 skrll 5896 1.1 skrll 2002-10-28 H.J. Lu <hjl (a] gnu.org> 5897 1.1 skrll 5898 1.1 skrll * Makefile.am (targets.lo): Depend on Makefile instead of 5899 1.1 skrll config.status. 5900 1.1 skrll (archures.lo): Likewise. 5901 1.1 skrll * Makefile.in: Regenerated. 5902 1.1 skrll 5903 1.1 skrll 2002-10-25 Jason Thorpe <thorpej (a] wasabisystems.com> 5904 1.1 skrll 5905 1.1 skrll * config.bfd (mips*el-*-netbsd*, mips*-*-netbsd*): Add 5906 1.1 skrll bfd_elf64_bigmips_vec and bfd_elf64_littlemips_vec to 5907 1.1 skrll targ_selvecs. 5908 1.1 skrll 5909 1.1 skrll 2002-10-25 Jim Wilson <wilson (a] redhat.com> 5910 1.1 skrll 5911 1.1 skrll * elf64-sh64.c (sh_elf64_relocate_section): Call 5912 1.1 skrll _bfd_elf_rela_local_sym. Handle relocs against STT_SECTION symbol 5913 1.1 skrll of SHF_MERGE section. 5914 1.1 skrll 5915 1.1 skrll 2002-10-25 Hans-Peter Nilsson <hp (a] axis.com> 5916 1.1 skrll 5917 1.1 skrll * simple.c: Correct placement of ATTRIBUTE_UNUSED. 5918 1.1 skrll 5919 1.1 skrll 2002-10-24 John David Anglin <dave (a] hiauly1.hia.nrc.ca> 5920 1.1 skrll 5921 1.1 skrll * aoutx.h (NAME(aout,swap_ext_reloc_in)): Cast bytes->r_index to 5922 1.1 skrll unsigned int. Cast RELOC_BASE10, RELOC_BASE13 and RELOC_BASE22 to 5923 1.1 skrll unsigned int. 5924 1.1 skrll (NAME(aout,final_link)): Cast enum used in assignment. 5925 1.1 skrll (aout_link_write_symbols): Cast enums in comparisons, int values to 5926 1.1 skrll boolean, enums in assignments to int. 5927 1.1 skrll (aout_link_input_section_std): Cast rel->r_index to unsigned int. 5928 1.1 skrll (aout_link_input_section_ext): Likewise. Cast enums used in 5929 1.1 skrll comparisons with unsigned ints. 5930 1.1 skrll (aout_link_reloc_link_order): Cast enum to int in assignment. 5931 1.1 skrll * archive.c (_bfd_generic_read_ar_hdr_mag): Cast result of memchr 5932 1.1 skrll calls to char *. 5933 1.1 skrll * bfd-in.h (bfd_set_section_vma): Cast enum true to unsigned int in 5934 1.1 skrll assignment. 5935 1.1 skrll * bfd-in2.h (bfd_set_section_vma): Likewise. 5936 1.1 skrll * bfd.c (bfd_record_phdr): Cast enums in assignments. 5937 1.1 skrll * binary.c (bfd_alloc): Cast enum to long. 5938 1.1 skrll * coffgen.c (_bfd_coff_is_local_label_name): Cast return to boolean. 5939 1.1 skrll * dwarf2.c (read_abbrevs): Add casts to enum types. 5940 1.1 skrll (read_attribute_value): Likewise. 5941 1.1 skrll (arange_add): Cast result of bfd_zalloc call. 5942 1.1 skrll (comp_unit_contains_address): Return true and false. 5943 1.1 skrll (comp_unit_find_nearest_line): Cast return to boolean. 5944 1.1 skrll * format.c (bfd_check_format_matches, bfd_set_format): Likewise. 5945 1.1 skrll * gen-aout.c: define macro '_' if not defined. 5946 1.1 skrll * libbfd.c (bfd_realloc): Cast malloc and realloc to PTR. 5947 1.1 skrll (bfd_bwrite): Cast bfd_realloc to bfd_byte *. 5948 1.1 skrll (bfd_write_bigendian_4byte_int): Cast return to boolean. 5949 1.1 skrll (bfd_seek): Cast bfd_realloc to bfd_byte *. 5950 1.1 skrll (bfd_generic_is_local_label_name): Cast return to boolean. 5951 1.1 skrll * libcoff.h (_bfd_coff_adjust_symndx): Remove extraneous '\'. 5952 1.1 skrll * linker.c (_bfd_link_hash_newfunc): Cast bfd_hash_allocate result to 5953 1.1 skrll struct bfd_hash_entry *. 5954 1.1 skrll (_bfd_generic_link_hash_newfunc): likewise. 5955 1.1 skrll (_bfd_generic_final_link): Cast enum to unsigned int. 5956 1.1 skrll * merge.c (sec_merge_emit): Cast return to boolean. 5957 1.1 skrll (merge_strings): Add casts to const unsigned char *. 5958 1.1 skrll * reloc.c (bfd_get_reloc_code_name): Cast enums in comparison to int. 5959 1.1 skrll (bfd_generic_get_relocated_section_content): Cast enum to unsigned int. 5960 1.1 skrll * section.c (bfd_section_hash_newfunc): Cast bfd_hash_allocate result 5961 1.1 skrll to struct bfd_hash_entry *. 5962 1.1 skrll (bfd_set_section_content): Add cast to PTR in comparison. 5963 1.1 skrll * simple.c (simple_dummy_warning, simple_dummy_undefined_symbol, 5964 1.1 skrll simple_dummy_reloc_overflow, simple_dummy_reloc_dangerous, 5965 1.1 skrll simple_dummy_unattached_reloc, 5966 1.1 skrll bfd_simple_get_relocated_section_contents): Add K&R declarations and 5967 1.1 skrll function definitions. 5968 1.1 skrll * srec.c (S3Forced): Initialize to false. 5969 1.1 skrll (srec_get_symtab): Cast return value from bfd_alloc to asymbol *. 5970 1.1 skrll * stabs.c (_bfd_link_section_stabs): Cast enum to int in comparisons. 5971 1.1 skrll (_bfd_discard_section_stabs): Likewise. Also cast return to boolean. 5972 1.1 skrll * syms.c (bfd_is_undefined_symclass): Cast return to boolean. 5973 1.1 skrll (_bfd_stab_section_find_nearest_line): Cast enum to bfd_byte in 5974 1.1 skrll comparisons. 5975 1.1 skrll 5976 1.1 skrll 2002-10-23 Jakub Jelinek <jakub (a] redhat.com> 5977 1.1 skrll 5978 1.1 skrll * elf64-alpha.c (elf64_alpha_check_relocs): Only put maybe_dynamic 5979 1.1 skrll relocs into shared lib non-allocated reloc sections. 5980 1.1 skrll 5981 1.1 skrll 2002-10-23 Nathan Tallent <eraxxon (a] alumni.rice.edu> 5982 1.1 skrll 5983 1.1 skrll * dwarf2.c (add_line_info): Ensure that the line_info_table is 5984 1.1 skrll sorted even when given an out-of-order line sequence. 5985 1.1 skrll (lookup_address_in_line_info_table): When an exact VMA match is 5986 1.1 skrll not found, return line information with the closest VMA. 5987 1.1 skrll 5988 1.1 skrll 2002-10-23 Ross Alexander <ross.alexander (a] uk.neceur.com> 5989 1.1 skrll 5990 1.1 skrll * elf64-hppa.c: Force DT_FLAGS to always be set. Required by 5991 1.1 skrll HPUX 11.00 patch PHSS_26559. 5992 1.1 skrll 5993 1.1 skrll 2002-10-22 Alexandre Oliva <aoliva (a] redhat.com> 5994 1.1 skrll 5995 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Don't move 5996 1.1 skrll the options section into a separate section unless IRIX 6 5997 1.1 skrll compatibility is enabled. 5998 1.1 skrll 5999 1.1 skrll 2002-10-22 Alexandre Oliva <aoliva (a] redhat.com> 6000 1.1 skrll 6001 1.1 skrll * elflink.h (struct elf_link_sort_rela): Turn rel and rela 6002 1.1 skrll into arrays. 6003 1.1 skrll (elf_link_sort_cmp1, elf_link_sort_cmp2): Adjust. 6004 1.1 skrll (elf_link_sort_relocs): Likewise. Take int_rels_per_ext_rel 6005 1.1 skrll into account. 6006 1.1 skrll * elfxx-mips.c (mips_elf_create_dynamic_relocation): Compose 6007 1.1 skrll R_MIPS_REL32 with R_MIPS64 if ABI_64_P. 6008 1.1 skrll 6009 1.1 skrll 2002-10-21 Graeme Peterson <gp (a] qnx.com> 6010 1.1 skrll 6011 1.1 skrll * targets.c (_bfd_target_vector): Add missing qnx vectors. 6012 1.1 skrll 6013 1.1 skrll 2002-10-21 Alan Modra <amodra (a] bigpond.net.au> 6014 1.1 skrll 6015 1.1 skrll * targets.c (bfd_target_list): Don't return the default target twice. 6016 1.1 skrll 6017 1.1 skrll 2002-10-21 Elias Athanasopoulos <eathan (a] otenet.gr> 6018 1.1 skrll 6019 1.1 skrll * archive.c (_bfd_archive_bsd_update_armap_timestamp): Replace 6020 1.1 skrll perror with bfd_perror. 6021 1.1 skrll 6022 1.1 skrll 2002-10-19 H.J. Lu <hjl (a] gnu.org> 6023 1.1 skrll 6024 1.1 skrll * elflink.h (elf_link_add_object_symbols): Correctly handle 6025 1.1 skrll DT_RPATH and DT_RUNPATH. 6026 1.1 skrll 6027 1.1 skrll 2002-10-19 Mark Kettenis <kettenis (a] gnu.org> 6028 1.1 skrll 6029 1.1 skrll * elf.c (elfcore_grok_note): Fix recognition on NT_PRXFPREG notes. 6030 1.1 skrll 6031 1.1 skrll 2002-10-17 Denis Chertykov <denisc (a] overta.ru> 6032 1.1 skrll 6033 1.1 skrll * elf32-ip2k.c (ELF_MACHINE_ALT1): Define alternate machine code 6034 1.1 skrll for ip2k port. 6035 1.1 skrll 6036 1.1 skrll 2002-10-17 Alan Modra <amodra (a] bigpond.net.au> 6037 1.1 skrll 6038 1.1 skrll * elfxx-target.h (USE_REL): Don't define as 1. 6039 1.1 skrll * elf32-arm.h (USE_REL): Provide a default define of 0. 6040 1.1 skrll Use #if rather than #ifdef when testing USE_REL. 6041 1.1 skrll * elf32-m32r.c: Likewise. 6042 1.1 skrll 6043 1.1 skrll * elf32-arc.c (USE_REL): Define as 1. 6044 1.1 skrll * elf32-d10v.c (USE_REL): Likewise. 6045 1.1 skrll * elf32-m32r.c (USE_REL): Likewise. 6046 1.1 skrll * elf32-m68hc11.c (USE_REL): Likewise. 6047 1.1 skrll * elf32-m68hc12.c (USE_REL): Likewise. 6048 1.1 skrll * elf32-or32.c (USE_REL): Likewise. 6049 1.1 skrll * elfarm-nabi.c (USE_REL): Likewise. 6050 1.1 skrll 6051 1.1 skrll 2002-10-16 Jakub Jelinek <jakub (a] redhat.com> 6052 1.1 skrll 6053 1.1 skrll * config.bfd (s390-*-linux*): Add targ64_selvecs. 6054 1.1 skrll (s390x-*-linux*): Add targ_selvecs. 6055 1.1 skrll 6056 1.1 skrll 2002-10-16 Alan Modra <amodra (a] bigpond.net.au> 6057 1.1 skrll 6058 1.1 skrll * Makefile.am (BFD32_BACKENDS): Remove elfarmqnx-nabi.lo, 6059 1.1 skrll elf32-i386-fbsd.lo, elf32-i386qnx.lo, elf32-ppcqnx.lo, 6060 1.1 skrll elf32-sh-lin.lo, elf32-sh64-lin.lo, elf32-sh-nbsd.lo, 6061 1.1 skrll elf32-sh64-nbsd.lo, elf32-shqnx.lo. Add elf32-qnx.lo. 6062 1.1 skrll (BFD32_BACKENDS_CFILES): Likewise for corresponding C files. 6063 1.1 skrll (BFD64_BACKENDS): Remove elf64-sh64-lin.lo, elf64-sh64-nbsd.lo. 6064 1.1 skrll (BFD64_BACKENDS_CFILES): Likewise for corresponding C files. 6065 1.1 skrll (SOURCE_HFILES): Add elf32-qnx.h. 6066 1.1 skrll (BUILD_HFILES): Add bfdver.h. 6067 1.1 skrll Run "make dep-am". 6068 1.1 skrll * Makefile.in: Regenerate. 6069 1.1 skrll * configure.in Update bfd vector dependencies. 6070 1.1 skrll * configure: Regenerate. 6071 1.1 skrll * elf32-i386-fbsd.c: Delete. Move code to elf32-i386.c. 6072 1.1 skrll * elf32-i386qnx.c: Likewise. 6073 1.1 skrll * elf32-ppcqnx.c: Delete. Move code to elf32-ppc.c. 6074 1.1 skrll * elf32-sh-nbsd.c: Delete. Move code to elf32-sh.c. 6075 1.1 skrll * elf32-sh-lin.c: Likewise. 6076 1.1 skrll * elf32-shqnx.c: Likewise. 6077 1.1 skrll * elf32-sh64-lin.c: Delete. Move code to elf32-sh64.c. 6078 1.1 skrll * elf32-sh64-nbsd.c: Likewise. 6079 1.1 skrll * elf64-sh64-lin.c: Delete. Move code to elf64-sh64.c. 6080 1.1 skrll * elf64-sh64-nbsd.c: Likewise. 6081 1.1 skrll * elfarmqnx-nabi.c: Delete. Move code to elfarm-nabi.c. 6082 1.1 skrll * elf32-arm.h (ELF_MAXPAGESIZE): Always define. 6083 1.1 skrll * elf32-i386.c: Remove ELF_ARCH and ELF32_I386_C_INCLUDED tests. 6084 1.1 skrll * elf32-ppc.c: Remove ELF32_PPC_C_INCLUDED tests. 6085 1.1 skrll * elf32-qnx.h (elf_backend_set_nonloadable_filepos): Always define. 6086 1.1 skrll (elf_backend_is_contained_by_filepos): Likewise. 6087 1.1 skrll (elf_backend_copy_private_bfd_data_p): Likewise. 6088 1.1 skrll Globalize and move functions to.. 6089 1.1 skrll * elf32-qnx.c: ..here. New file. 6090 1.1 skrll * elf32-sh.c: Remove ELF_ARCH and ELF32_SH_C_INCLUDED tests. Don't 6091 1.1 skrll emit target vectors when INCLUDE_SHMEDIA. 6092 1.1 skrll * elf32-sh64.c: Remove ELF_ARCH test. Move TARGET_* etc. defines to 6093 1.1 skrll end of file. 6094 1.1 skrll * elf64-sh64.c: Remove ELF_ARCH test. 6095 1.1 skrll * elfarm-nabi.c: Remove ELFARM_NABI_C_INCLUDED test. 6096 1.1 skrll * po/BLD-POTFILES.in: Regenerate. 6097 1.1 skrll * po/SRC-POTFILES.in: Regenerate. 6098 1.1 skrll 6099 1.1 skrll 2002-10-16 Alan Modra <amodra (a] bigpond.net.au> 6100 1.1 skrll 6101 1.1 skrll * elflink.h (elf_link_add_object_symbols): Error out on dynamic objects 6102 1.1 skrll loaded with --just-symbols. 6103 1.1 skrll 6104 1.1 skrll * elf32-i386qnx.c (TARGET_LITTLE_NAME): Define. 6105 1.1 skrll * elf32-ppcqnx.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define. 6106 1.1 skrll * elf32-shqnx.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define. 6107 1.1 skrll * elfarmqnx-nabi.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define. 6108 1.1 skrll 6109 1.1 skrll 2002-10-15 Richard Henderson <rth (a] redhat.com> 6110 1.1 skrll 6111 1.1 skrll * Makefile.am (BFD64_BACKENDS): Remove elf64-alpha-fbsd. 6112 1.1 skrll (BFD64_BACKENDS_CFILES): Likewise. 6113 1.1 skrll * configure.in (bfd_elf64_alpha_freebsd_vec): Use elf64-alpha. 6114 1.1 skrll * elf64-alpha-fbsd.c: Remove file, move code ... 6115 1.1 skrll * elf64-alpha.c: ... here. 6116 1.1 skrll * Makefile.in, configure: Rebuild. 6117 1.1 skrll 6118 1.1 skrll 2002-10-14 Richard Henderson <rth (a] redhat.com> 6119 1.1 skrll 6120 1.1 skrll * elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: Increment 6121 1.1 skrll VALUE, not ADDEND. 6122 1.1 skrll 6123 1.1 skrll 2002-10-14 Stephen Clarke <stephen.clarke (a] superh.com> 6124 1.1 skrll 6125 1.1 skrll * elf32-sh.c (elf_sh_link_hash_entry): Replace 6126 1.1 skrll datalabel_got_offset with union of datalabel_got 6127 1.1 skrll offset and refcount. 6128 1.1 skrll (sh_elf_link_hash_newfunc): Initialize datalabel_got.refcount. 6129 1.1 skrll (allocate_dynrelocs): Delete unnecessary code for 6130 1.1 skrll STT_DATALABEL type. Create entry in got for 6131 1.1 skrll datalabel version of symbol if datalabel_got.refcount > 0. 6132 1.1 skrll (sh_elf_relocate_section): Use datalabel_got union. 6133 1.1 skrll (sh_elf_gc_sweep_hook): Pull common code to initialize 6134 1.1 skrll h and eh out of switch statement. Declare seen_stt_datalabel. 6135 1.1 skrll Initialize it. Decrement datalabel_got.refcount for 6136 1.1 skrll got relocs when seen_stt_datalabel is true. 6137 1.1 skrll Decrement local_got_refcounts entry for datalabel got relocs 6138 1.1 skrll of local symbols. 6139 1.1 skrll (sh_elf_copy_indirect_symbol): Copy datalabel_got field over. 6140 1.1 skrll (sh_elf_check_relocs): Declare seen_stt_datalabel. 6141 1.1 skrll Initialize it. When seen_stt_datalabel is true, increment 6142 1.1 skrll datalabel_got refcount rather than got.refcount. 6143 1.1 skrll (sh_elf_finish_dynamic_symbol): Create relocs to 6144 1.1 skrll initialize got entry for datalabel version of symbol. 6145 1.1 skrll 6146 1.1 skrll 2002-10-14 Alan Modra <amodra (a] bigpond.net.au> 6147 1.1 skrll 6148 1.1 skrll * Makefile.am: Run "make dep-am". 6149 1.1 skrll (BFD_H_FILES): Remove version.h. 6150 1.1 skrll * bfd-in.h (BFD_VERSION, BFD_VERSION_DATE, BFD_VERSION_STRING): Move.. 6151 1.1 skrll * version.h: ..to here. 6152 1.1 skrll * configure.in (bfd_version_date): Remove. 6153 1.1 skrll (AC_OUTPUT): Make bfdver.h from version.h. 6154 1.1 skrll * bfd.c: #include "bfdver.h". 6155 1.1 skrll * vms-hdr.c: Likewise. 6156 1.1 skrll * Makefile.in: Regenerate. 6157 1.1 skrll * bfd-in2.h: Regenerate. 6158 1.1 skrll * configure: Regenerate. 6159 1.1 skrll * po/SRC-POTFILES.in: Regenerate. 6160 1.1 skrll 6161 1.1 skrll 2002-10-14 Alan Modra <amodra (a] bigpond.net.au> 6162 1.1 skrll 6163 1.1 skrll * archures.c (bfd_mach_i386_i386, bfd_mach_i386_i8086, 6164 1.1 skrll bfd_mach_i386_i386_intel_syntax, bfd_mach_x86_64, 6165 1.1 skrll bfd_mach_x86_64_intel_syntax bfd_mach_ppc, bfd_mach_ppc64, 6166 1.1 skrll bfd_mach_rs6k, bfd_mach_d10v, bfd_mach_sh, bfd_mach_v850, 6167 1.1 skrll bfd_mach_arc_5, bfd_mach_arc_6, bfd_mach_arc_7, bfd_mach_arc_8, 6168 1.1 skrll bfd_mach_m32r, bfd_mach_frv, bfd_mach_frvsimple, 6169 1.1 skrll bfd_mach_ia64_elf64, bfd_mach_ia64_elf32, 6170 1.1 skrll bfd_mach_ip2022, bfd_mach_ip2022ext, 6171 1.1 skrll bfd_mach_s390_31, bfd_mach_s390_64, bfd_mach_xstormy16): Renumber. 6172 1.1 skrll * bfd-in2.h: Regenerate. 6173 1.1 skrll 6174 1.1 skrll 2002-10-14 Kaz Kojima <kkojima (a] rr.iij4u.or.jp> 6175 1.1 skrll 6176 1.1 skrll * config.bfd (sh*eb-*-linux*, sh*-*-linux*): Add the alternative 6177 1.1 skrll endian vector to targ_selvecs. 6178 1.1 skrll 6179 1.1 skrll 2002-10-13 Alexandre Oliva <aoliva (a] redhat.com> 6180 1.1 skrll 6181 1.1 skrll * elfxx-mips.c (mips_elf_calculate_relocation): Take 6182 1.1 skrll save_addend argument. Don't apply the 32-bit mask to a 6183 1.1 skrll GPREL32 value if it's to be used in another relocation. Don't 6184 1.1 skrll use forced-check computation of local_p to decide whether to 6185 1.1 skrll add gp0 to GPREL16 value. Don't use only the lowest 16 bits 6186 1.1 skrll of the addend of a non-in-place GPREL16 relocation. 6187 1.1 skrll (_bfd_mips_elf_relocate_section): Pass use_saved_addend_p to 6188 1.1 skrll mips_elf_calculate_relocation(). 6189 1.1 skrll 6190 1.1 skrll 2002-10-12 Stephane Carrez <stcarrez (a] nerim.fr> 6191 1.1 skrll 6192 1.1 skrll * elf32-m68hc11.c (m68hc11_elf_relax_section): Don't treat relocs 6193 1.1 skrll with symbols in other sections if we relaxed something; the sections 6194 1.1 skrll output offsets must be re-computed before. 6195 1.1 skrll 6196 1.1 skrll 2002-10-12 Stephane Carrez <stcarrez (a] nerim.fr> 6197 1.1 skrll 6198 1.1 skrll * elf32-m68hc11.c (m68hc11_elf_relax_section): Update symbols 6199 1.1 skrll handling to use Elf_Internal_Sym. 6200 1.1 skrll (m68hc11_elf_relax_delete_bytes): Likewise. 6201 1.1 skrll 6202 1.1 skrll 2002-10-11 Kaz Kojima <kkojima (a] rr.iij4u.or.jp> 6203 1.1 skrll 6204 1.1 skrll * elf32-sh.c (sh_elf_optimized_tls_reloc, sh_elf_mkobject, 6205 1.1 skrll sh_elf_object_p, dtpoff_base): New functions. 6206 1.1 skrll (sh_elf_howto_table): Add TLS relocs. 6207 1.1 skrll (sh_reloc_map): Likewise. 6208 1.1 skrll (sh_elf_info_to_howto): Support TLS relocs. 6209 1.1 skrll (elf_sh_link_hash_entry): Add tls_type and tls_tpoff32. 6210 1.1 skrll (sh_elf_hash_entry, sh_elf_tdata, sh_elf_local_got_tls_type): 6211 1.1 skrll New macros. 6212 1.1 skrll (sh_elf_obj_tdata): New. 6213 1.1 skrll (elf_sh_link_hash_table): Add tls_ldm_got. 6214 1.1 skrll (sh_elf_link_hash_table_create): Clear refcount of tls_ldm_got. 6215 1.1 skrll (allocate_dynrelocs): Support TLS relocs. 6216 1.1 skrll (sh_elf_size_dynamic_sections): Likewise. 6217 1.1 skrll (sh_elf_relocate_section): Support TLS relocs. Don't try to find 6218 1.1 skrll .rela.got section when found already. Return false after printing 6219 1.1 skrll error about unresolvable relocation. 6220 1.1 skrll (sh_elf_gc_sweep_hook): Support TLS relocs. 6221 1.1 skrll (sh_elf_check_relocs): Likewise. 6222 1.1 skrll (sh_elf_finish_dynamic_symbol): Likewise. 6223 1.1 skrll (bfd_elf32_mkobject, elf_backend_object_p): Define for TLS case. 6224 1.1 skrll * reloc.c: Add SH TLS relocs. 6225 1.1 skrll * bfd-in2.h, libbfd.h: Regenerate. 6226 1.1 skrll 6227 1.1 skrll 2002-10-11 Daniel Jacobowitz <drow (a] mvista.com> 6228 1.1 skrll 6229 1.1 skrll * Makefile.in: Regenerated. 6230 1.1 skrll 6231 1.1 skrll 2002-10-11 Daniel Jacobowitz <drow (a] mvista.com> 6232 1.1 skrll 6233 1.1 skrll * Makefile.am: Run dep-am. 6234 1.1 skrll (BFD_H_DEP): Add simple.c and linker.c. 6235 1.1 skrll (BFD32_LIBS): Add simple.lo. 6236 1.1 skrll (BFD32_LIBS_CFILES): Add simple.c. 6237 1.1 skrll * Makefile.in: Regenerated. 6238 1.1 skrll * bfd-in2.h: Regenerated. 6239 1.1 skrll * simple.c: New file. 6240 1.1 skrll 6241 1.1 skrll 2002-10-11 Alan Modra <amodra (a] bigpond.net.au> 6242 1.1 skrll 6243 1.1 skrll * coff-arm.c (record_arm_to_thumb_glue): Avoid type-punned pointers. 6244 1.1 skrll (record_thumb_to_arm_glue): Likewise. 6245 1.1 skrll * ecoff.c (ecoff_link_add_externals): Likewise. 6246 1.1 skrll * elf32-arm.h (record_arm_to_thumb_glue): Likewise. 6247 1.1 skrll (record_thumb_to_arm_glue): Likewise. 6248 1.1 skrll * elf32-m32r.c (m32r_elf_add_symbol_hook): Likewise. 6249 1.1 skrll * elf32-sh.c (sh_elf_create_dynamic_sections): Likewise. 6250 1.1 skrll * elf32-sh64.c (sh64_elf_add_symbol_hook): Likewise. 6251 1.1 skrll * elf64-alpha.c (elf64_alpha_create_dynamic_sections): Likewise. 6252 1.1 skrll * elf64-ppc.c (func_desc_adjust): Likewise. 6253 1.1 skrll * elf64-sh64.c (sh64_elf64_add_symbol_hook): Likewise. 6254 1.1 skrll (sh64_elf64_create_dynamic_sections): Likewise. 6255 1.1 skrll * elflink.c (_bfd_elf_create_got_section): Likewise. 6256 1.1 skrll (_bfd_elf_create_dynamic_sections): Likewise. 6257 1.1 skrll (_bfd_elf_create_linker_section): Likewise. 6258 1.1 skrll * elflink.h (elf_add_default_symbol): Likewise. 6259 1.1 skrll (elf_link_create_dynamic_sections): Likewise. 6260 1.1 skrll (NAME(bfd_elf,size_dynamic_sections)): Likewise. 6261 1.1 skrll * elfxx-ia64.c (elfNN_ia64_aix_add_symbol_hook): Likewise. 6262 1.1 skrll * elfxx-mips.c (mips_elf_create_got_section): Likewise. 6263 1.1 skrll (_bfd_mips_elf_add_symbol_hook): Likewise. 6264 1.1 skrll (_bfd_mips_elf_create_dynamic_sections): Likewise. 6265 1.1 skrll * linker.c (generic_link_add_symbol_list): Likewise. 6266 1.1 skrll * xcofflink.c (xcoff_link_add_symbols): Likewise. 6267 1.1 skrll 6268 1.1 skrll * elfxx-ia64.c (oor_brl, oor_ip): Conditionally define. 6269 1.1 skrll 6270 1.1 skrll * elf64-ppc.c (edit_opd): Only zero opd syms when function is 6271 1.1 skrll completely removed. Correct local sym adjustment. 6272 1.1 skrll 6273 1.1 skrll 2002-10-10 Stephen Clarke <stephen.clarke (a] superh.com> 6274 1.1 skrll 6275 1.1 skrll * elf32-sh.c (elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le): 6276 1.1 skrll Correct mistake in calculation of address of .got. 6277 1.1 skrll * elf64-sh64.c (elf_sh64_pic_plt_entry_be, 6278 1.1 skrll elf_sh64_pic_plt_entry_le): Likewise. 6279 1.1 skrll 6280 1.1 skrll 2002-10-09 Richard Shann <richard.shann (a] superh.com> 6281 1.1 skrll Stephen Clarke <stephen.clarke (a] superh.com> 6282 1.1 skrll 6283 1.1 skrll * Makefile.am: Add entries for elf32-sh64-lin.c and 6284 1.1 skrll elf64-sh64-lin.c. Regenerate. 6285 1.1 skrll * Makefile.in: Regenerate. 6286 1.1 skrll * config.bfd: Change sh64eb-*-linux* and sh64-*-linux* 6287 1.1 skrll to use sh64 vectors rather than sh vectors. 6288 1.1 skrll * configure.in: Add bfd_elf32_sh64lin_vec, bfd_elf32_sh64blin_vec, 6289 1.1 skrll bfd_elf64_sh64lin_vec, bfd_elf64_sh64blin_vec. 6290 1.1 skrll * configure: Regenerate. 6291 1.1 skrll * elf32-sh64-lin.c: New file. 6292 1.1 skrll * elf64-sh64-lin.c: New file. 6293 1.1 skrll * targets.c: Add bfd_elf32_sh64lin_vec, bfd_elf32_sh64blin_vec, 6294 1.1 skrll bfd_elf64_sh64lin_vec, bfd_elf64_sh64blin_vec. 6295 1.1 skrll 6296 1.1 skrll 2002-10-08 H.J. Lu <hjl (a] gnu.org> 6297 1.1 skrll 6298 1.1 skrll * elf32-i386.c (elf_i386_relocate_section): Re-arrange the 6299 1.1 skrll IE->LE transition for R_386_TLS_IE. 6300 1.1 skrll 6301 1.1 skrll 2002-10-08 Alan Modra <amodra (a] bigpond.net.au> 6302 1.1 skrll 6303 1.1 skrll * elf64-ppc.c (edit_opd): Correct test for discarded sections. 6304 1.1 skrll 6305 1.1 skrll 2002-10-07 Mark Elbrecht <snowball3 (a] softhome.net> 6306 1.1 skrll 6307 1.1 skrll * cofflink.c (mark_relocs): Don't mark relocations in excluded 6308 1.1 skrll sections. 6309 1.1 skrll 6310 1.1 skrll 2002-10-07 Alan Modra <amodra (a] bigpond.net.au> 6311 1.1 skrll 6312 1.1 skrll * elflink.h (elf_link_input_bfd): Remove BFD_VERSION_DATE dependent 6313 1.1 skrll code. 6314 1.1 skrll 6315 1.1 skrll * elf64-ppc.c (ppc64_elf_build_stubs): Increment .glink indx. 6316 1.1 skrll 6317 1.1 skrll 2002-10-06 Alan Modra <amodra (a] bigpond.net.au> 6318 1.1 skrll 6319 1.1 skrll * opncls.c: Formatting. 6320 1.1 skrll (_bfd_new_bfd): Use a smaller section hash table. 6321 1.1 skrll 6322 1.1 skrll 2002-10-05 Alexandre Oliva <aoliva (a] redhat.com> 6323 1.1 skrll 6324 1.1 skrll * elfxx-mips.c (mips_elf_create_dynamic_relocation): Set the type 6325 1.1 skrll of the other two relocations packed with a REL32 to NONE. 6326 1.1 skrll 6327 1.1 skrll 2002-10-02 Stephen Clarke <stephen.clarke (a] superh.com> 6328 1.1 skrll 6329 1.1 skrll * elf32-sh.c (elf_sh_link_hash_entry): Add gotplt_refcount. 6330 1.1 skrll (sh_elf_link_hash_newfunc): Initialize it. 6331 1.1 skrll (allocate_dynrelocs): Transfer gotplt refs from plt.refcount 6332 1.1 skrll to got.refcount for symbols that are forced local or when 6333 1.1 skrll we have direct got refs. 6334 1.1 skrll (sh_elf_gc_sweep_hook): Adjust gotplt_refcount. Use it 6335 1.1 skrll to correctly adjust got.refcount and plt.refcount. 6336 1.1 skrll (sh_elf_copy_indirect_symbol): Copy gotplt_refcount across. 6337 1.1 skrll (sh_elf_check_relocs): Increment gotplt_refcount. 6338 1.1 skrll 6339 1.1 skrll 2002-10-01 Jakub Jelinek <jakub (a] redhat.com> 6340 1.1 skrll 6341 1.1 skrll * elf32-i386.c (elf_i386_relocate_section): Fix 6342 1.1 skrll movl foo@indntpoff, %eax IE->LE transition. 6343 1.1 skrll 6344 1.1 skrll 2002-10-01 Jakub Jelinek <jakub (a] redhat.com> 6345 1.1 skrll 6346 1.1 skrll * elf64-x86-64.c (elf64_x86_64_relocate_section): Change TLSGD 6347 1.1 skrll sequence and its transitions. 6348 1.1 skrll 6349 1.1 skrll 2002-10-01 Jakub Jelinek <jakub (a] redhat.com> 6350 1.1 skrll 6351 1.1 skrll * elf32-i386.c (elf_i386_relocate_section): Resolve R_386_TLS_LDO_32 6352 1.1 skrll to st_value + addend in non-code sections. 6353 1.1 skrll * elf64-x86-64.c (elf64_x86_64_relocate_section): Resolve 6354 1.1 skrll R_X86_64_DTPOFF32 to st_value + addend in non-code sections. 6355 1.1 skrll 6356 1.1 skrll 2002-09-30 Gavin Romig-Koch <gavin (a] redhat.com> 6357 1.1 skrll Ken Raeburn <raeburn (a] cygnus.com> 6358 1.1 skrll Aldy Hernandez <aldyh (a] redhat.com> 6359 1.1 skrll Eric Christopher <echristo (a] redhat.com> 6360 1.1 skrll Richard Sandiford <rsandifo (a] redhat.com> 6361 1.1 skrll 6362 1.1 skrll * archures.c (bfd_mach_mips4120, bfd_mach_mips5400): New. 6363 1.1 skrll (bfd_mach_mips5500): New. 6364 1.1 skrll * cpu-mips.c (I_mips4120, I_mips5400, I_mips5500): New. 6365 1.1 skrll (arch_info_struct): Add corresponding entries here. 6366 1.1 skrll * elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_4120, 6367 1.1 skrll E_MIPS_MACH_5400 and E_MIPS_MACH_5500. 6368 1.1 skrll (_bfd_mips_elf_final_write_processing): Handle bfd_mach_mips4120, 6369 1.1 skrll bfd_mach_mips5400 and bfd_mach_mips5500. 6370 1.1 skrll (_bfd_mips_elf_mach_extends_p): New function. 6371 1.1 skrll (_bfd_mips_elf_merge_private_bfd_data): Use it to help merge 6372 1.1 skrll the EF_MIPS_MACH flags. 6373 1.1 skrll * bfd-in2.h: Regenerate. 6374 1.1 skrll 6375 1.1 skrll 2002-09-28 Jason Thorpe <thorpej (a] wasabisystems.com> 6376 1.1 skrll 6377 1.1 skrll * elf32-vax.c (elf_vax_size_dynamic_section): Don't strip 6378 1.1 skrll .got sections. 6379 1.1 skrll 6380 1.1 skrll 2002-09-28 Alan Modra <amodra (a] bigpond.net.au> 6381 1.1 skrll 6382 1.1 skrll * elf.c (map_sections_to_segments): Correct test for start of 6383 1.1 skrll writable section in the same page as end of read-only section. 6384 1.1 skrll 6385 1.1 skrll 2002-09-27 Matt Thomas <matt (a] 3am-software.com> 6386 1.1 skrll 6387 1.1 skrll * elf32-vax.c (elf_vax_check_relocs): Remove unused 6388 1.1 skrll local_got_refcounts usage. Remove allocation of got slot. 6389 1.1 skrll (elf_vax_gc_sweep_hook): Remove unused local_got_refcounts usage. 6390 1.1 skrll Remove de-allocation of got slot. 6391 1.1 skrll (elf_vax_size_dynamic_section): Fix some indentation. Add hash 6392 1.1 skrll traversal for elf_vax_instantiate_got_entries. Allow empty .got 6393 1.1 skrll sections to be GC'ed. 6394 1.1 skrll (elf_vax_instantiate_got_entries): New function. 6395 1.1 skrll (elf_vax_relocate_section): Simplify R_VAX_GOT32 handling. Remove 6396 1.1 skrll tests that are now handled by elf_vax_instantiate_got_entries. 6397 1.1 skrll Assert GOT entry falls within .got section size. Remove redundant 6398 1.1 skrll comparisions. Fix comments. 6399 1.1 skrll 6400 1.1 skrll 2002-09-27 Jakub Jelinek <jakub (a] redhat.com> 6401 1.1 skrll 6402 1.1 skrll * reloc.c: Add x86-64 TLS relocs. 6403 1.1 skrll * bfd-in2.h, libbfd.h: Rebuilt. 6404 1.1 skrll * elf64-x86-64.c (x86_64_elf_howto): Fix size fields for 32-bit 6405 1.1 skrll relocs. Add TLS relocs. 6406 1.1 skrll (x86_64_reloc_map): Add TLS relocs. 6407 1.1 skrll (elf64_x86_64_info_to_howto): Adjust for added TLS relocs. 6408 1.1 skrll (struct elf64_x86_64_link_hash_entry): Add tls_type field. 6409 1.1 skrll (GOT_UNKNOWN, GOT_NORMAL, GOT_TLS_GD, GOT_TLS_IE): Define. 6410 1.1 skrll (elf64_x86_64_hash_entry): Define. 6411 1.1 skrll (struct elf64_x86_64_obj_tdata): New. 6412 1.1 skrll (elf64_x86_64_tdata, elf64_x86_64_local_got_tls_type): Define. 6413 1.1 skrll (struct elf64_x86_64_link_hash_table): Add tls_ld_got. 6414 1.1 skrll (link_hash_newfunc): Initialize tls_type. 6415 1.1 skrll (elf64_x86_64_link_hash_table_create): Initialize tls_ld_got. 6416 1.1 skrll (elf64_x86_64_copy_indirect_symbol): Swap tls_type if necessary. 6417 1.1 skrll (elf64_x86_64_mkobject): New. 6418 1.1 skrll (elf64_x86_64_elf_object_p): Allocate struct elf64_x86_64_obj_tdata. 6419 1.1 skrll (elf64_x86_64_tls_transition): New. 6420 1.1 skrll (elf64_x86_64_check_relocs): Add r_type variable and use it. 6421 1.1 skrll Handle TLS relocs. 6422 1.1 skrll (elf64_x86_64_gc_sweep_hook): Handle TLS relocs. 6423 1.1 skrll (allocate_dynrelocs): Allocate GOT space for TLS relocs. 6424 1.1 skrll (elf64_x86_64_size_dynamic_sections): Likewise. 6425 1.1 skrll (dtpoff_base, tpoff): New. 6426 1.1 skrll (elf64_x86_64_relocate_section): Handle TLS relocs. 6427 1.1 skrll (elf64_x86_64_finish_dynamic_symbol): Only handle non-TLS GOT 6428 1.1 skrll entries. 6429 1.1 skrll (bfd_elf64_mkobject): Define. 6430 1.1 skrll 6431 1.1 skrll * elf32-i386.c (elf_i386_check_relocs) [R_386_TLS_LE]: Set 6432 1.1 skrll DF_STATIC_TLS if shared. 6433 1.1 skrll 6434 1.1 skrll 2002-09-26 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 6435 1.1 skrll 6436 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_fake_sections): Don't emit unneeded 6437 1.1 skrll empty relocation sections. 6438 1.1 skrll 6439 1.1 skrll 2002-09-26 Alan Modra <amodra (a] bigpond.net.au> 6440 1.1 skrll 6441 1.1 skrll * elf64-ppc.c (ppc_build_one_stub): Don't build glink stubs here. 6442 1.1 skrll (ppc64_elf_build_stubs): Build them here instead. 6443 1.1 skrll 6444 1.1 skrll 2002-09-24 Jakub Jelinek <jakub (a] redhat.com> 6445 1.1 skrll 6446 1.1 skrll * elf32-sparc.c (elf32_sparc_relocate_section): Put R_SPARC_RELATIVE 6447 1.1 skrll addend into r_addend, not *r_offset. 6448 1.1 skrll (elf32_sparc_finish_dynamic_symbol): Likewise. 6449 1.1 skrll * elf64-sparc.c (sparc64_elf_finish_dynamic_symbol): Clear xword at 6450 1.1 skrll R_SPARC_RELATIVE's r_offset. 6451 1.1 skrll 6452 1.1 skrll 2002-09-23 Nathan Tallent <eraxxon (a] alumni.rice.edu> 6453 1.1 skrll 6454 1.1 skrll * dwarf2.c (decode_line_info): Update to correctly decode 6455 1.1 skrll the (non-standard DWARF2) out-of-order address sequences 6456 1.1 skrll generated by the Intel C++ 6.0 compiler for ia64-Linux. 6457 1.1 skrll 6458 1.1 skrll 2002-09-23 Mark Elbrecht <snowball3 (a] softhome.net> 6459 1.1 skrll 6460 1.1 skrll * config.bfd: For DJGPP targets, match with any cpu and any machine. 6461 1.1 skrll 6462 1.1 skrll 2002-09-23 Alan Modra <amodra (a] bigpond.net.au> 6463 1.1 skrll 6464 1.1 skrll * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Zero relocs 6465 1.1 skrll for discarded FDEs. Remove redundant assignment. 6466 1.1 skrll * elflink.h (elf_bfd_discard_info): Save edited relocs. 6467 1.1 skrll 6468 1.1 skrll 2002-09-22 H.J. Lu <hjl (a] gnu.org> 6469 1.1 skrll 6470 1.1 skrll * elf64-alpha.c (elf64_alpha_merge_ind_symbols): Don't merge 6471 1.1 skrll the relocation count between different .reloc sections. 6472 1.1 skrll 6473 1.1 skrll 2002-09-21 Alan Modra <amodra (a] bigpond.net.au> 6474 1.1 skrll 6475 1.1 skrll * elf32-ppc.c (ppc_elf_relocate_section): Allow ".sbss.*" and 6476 1.1 skrll ".sdata.*" for R_PPC_SDAREL16, ".sbss2*" and ".sdata2*" for 6477 1.1 skrll R_PPC_EMB_SDA2REL. Similarly for R_PPC_EMB_SDA21 and 6478 1.1 skrll R_PPC_EMB_RELSDA. 6479 1.1 skrll 6480 1.1 skrll * elfcode.h (elf_slurp_reloc_table_from_section): Make "symcount" 6481 1.1 skrll unsigned. Move "symcount" assignment out of loop. 6482 1.1 skrll * Makefile.am: Run "make dep-am". 6483 1.1 skrll * Makefile.in: Regenerate. 6484 1.1 skrll * configure: Regenerate. 6485 1.1 skrll * po/SRC-POTFILES.in: Regnerate. 6486 1.1 skrll 6487 1.1 skrll 2002-09-19 Nathan Tallent <eraxxon (a] alumni.rice.edu> 6488 1.1 skrll 6489 1.1 skrll * dwarf2.c (_bfd_dwarf2_find_nearest_line): If address length is 6490 1.1 skrll zero, set it to 8 for (non-standard) 64-bit DWARF2 formats 6491 1.1 skrll (e.g. IRIX64). 6492 1.1 skrll 6493 1.1 skrll 2002-09-19 Jakub Jelinek <jakub (a] redhat.com> 6494 1.1 skrll 6495 1.1 skrll * elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Clear .got word 6496 1.1 skrll even if generating R_PPC_RELATIVE reloc. 6497 1.1 skrll (ppc_elf_relocate_section): Make sure relocation is performed 6498 1.1 skrll if skip == -2. Clear memory at r_offset when creating dynamic 6499 1.1 skrll relocation. 6500 1.1 skrll 6501 1.1 skrll 2002-09-19 Jakub Jelinek <jakub (a] redhat.com> 6502 1.1 skrll 6503 1.1 skrll * reloc.c (BFD_RELOC_386_TLS_TPOFF, BFD_RELOC_386_TLS_IE, 6504 1.1 skrll BFD_RELOC_386_TLS_GOTIE): Add. 6505 1.1 skrll * bfd-in2.h, libbfd.h: Rebuilt. 6506 1.1 skrll * elf32-i386.c (elf_howto_table): Add R_386_TLS_TPOFF, R_386_TLS_IE 6507 1.1 skrll and R_386_TLS_GOTIE. 6508 1.1 skrll (elf_i386_reloc_type_lookup): Handle it. 6509 1.1 skrll (struct elf_i386_link_hash_entry): Change tls_type type to unsigned 6510 1.1 skrll char instead of enum, change GOT_* into defines. 6511 1.1 skrll (GOT_TLS_IE_POS, GOT_TLS_IE_NEG, GOT_TLS_IE_BOTH): Define. 6512 1.1 skrll (elf_i386_tls_transition): Handle R_386_TLS_IE and R_386_TLS_GOTIE. 6513 1.1 skrll (elf_i386_check_relocs): Likewise. Avoid crash if local symbol is 6514 1.1 skrll accessed both as normal and TLS symbol. Move R_386_TLS_LDM and 6515 1.1 skrll R_386_PLT32 cases so that R_386_TLS_IE can fall through. 6516 1.1 skrll Handle R_386_TLS_LE_32 and R_386_TLS_LE in shared libs. 6517 1.1 skrll (elf_i386_gc_sweep_hook): Handle R_386_TLS_IE and R_386_TLS_GOTIE. 6518 1.1 skrll Handle R_386_TLS_LE_32 and R_386_TLS_LE in shared libs. 6519 1.1 skrll (allocate_dynrelocs): Allocate 2 .got and 2 .rel.got entries if 6520 1.1 skrll tls_type is GOT_TLS_IE_BOTH. 6521 1.1 skrll (elf_i386_size_dynamic_sections): Likewise. 6522 1.1 skrll (elf_i386_relocate_section): Handle R_386_TLS_IE and R_386_TLS_GOTIE. 6523 1.1 skrll Handle R_386_TLS_LE_32 and R_386_TLS_LE in shared libs. 6524 1.1 skrll (elf_i386_finish_dynamic_symbol): Use tls_type & GOT_TLS_IE to catch 6525 1.1 skrll all 4 GOT_TLS_* TLS types. 6526 1.1 skrll 6527 1.1 skrll 2002-09-19 Nick Clifton <nickc (a] redhat.com> 6528 1.1 skrll 6529 1.1 skrll * elflink.h (elf_fix_symbol_flags): When examining weak symbols, 6530 1.1 skrll follow indirect links. 6531 1.1 skrll 6532 1.1 skrll 2002-09-19 Nathan Tallent <eraxxon (a] alumni.rice.edu> 6533 1.1 skrll 6534 1.1 skrll * ecoffswap.h (ecoff_swap_pdr_in) <isym, iline>: Update to 6535 1.1 skrll correctly sign-extend 32-bit ECOFF null values (0xffffffff, -1) 6536 1.1 skrll on 64 bit machines. 6537 1.1 skrll (ecoff_swap_sym_in) <iss>: Likewise. 6538 1.1 skrll * ecoff.c (_bfd_ecoff_slurp_symbolic_info): Fix error reading 6539 1.1 skrll ECOFF information: 'ioptMax' refers to the actual *size* 6540 1.1 skrll of the optimization symtab, not the number of entries. 6541 1.1 skrll 6542 1.1 skrll 2002-09-19 Daniel Jacobowitz <drow (a] mvista.com> 6543 1.1 skrll 6544 1.1 skrll * elf32-arm.h (elf32_arm_adjust_dynamic_symbol): Update 6545 1.1 skrll ELF_LINK_HASH_NEEDS_PLT logic. 6546 1.1 skrll 6547 1.1 skrll 2002-09-18 Daniel Jacobowitz <drow (a] mvista.com> 6548 1.1 skrll 6549 1.1 skrll * elfcode.h (elf_slurp_reloc_table_from_section): Check 6550 1.1 skrll correct relocation count. 6551 1.1 skrll 6552 1.1 skrll 2002-09-17 Daniel Jacobowitz <drow (a] mvista.com> 6553 1.1 skrll 6554 1.1 skrll * bfd-in.h (bfd_get_dynamic_symcount): Define. 6555 1.1 skrll * bfd.c (struct _bfd): Add dynsymcount. 6556 1.1 skrll * bfd-in2.h: Regenerated. 6557 1.1 skrll * elf.c (_bfd_elf_canonicalize_dynamic_symtab): Set 6558 1.1 skrll abfd->dynsymcount. 6559 1.1 skrll * elfcode.h (elf_slurp_reloc_table_from_section): Check 6560 1.1 skrll for overflow. 6561 1.1 skrll 6562 1.1 skrll 2002-09-17 Stan Cox <scox (a] redhat.com> 6563 1.1 skrll 6564 1.1 skrll * elf64-mips.c (mips_elf64_be_swap_reloca_out): Handle type2 and type3. 6565 1.1 skrll (mips_elf64_final_gp): Don't make up gp value. 6566 1.1 skrll * elfn32-mips.c (mips_elf_final_gp): Likewise. 6567 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_final_link): Always create 6568 1.1 skrll .MIPS.options/.options section. 6569 1.1 skrll 6570 1.1 skrll 2002-09-17 David O'Brien <obrien (a] FreeBSD.org> 6571 1.1 skrll 6572 1.1 skrll * elf32-i386-fbsd.c: Always label using the EI_OSABI method. 6573 1.1 skrll It is benign for FreeBSD < 4.1. Minor reformatting. 6574 1.1 skrll * elf64-alpha-fbsd.c: Likewise. 6575 1.1 skrll 6576 1.1 skrll 2002-09-17 Jakub Jelinek <jakub (a] redhat.com> 6577 1.1 skrll 6578 1.1 skrll * elf32-i386.c (elf_i386_relocate_section) [R_386_TLS_TPOFF32]: Negate 6579 1.1 skrll addend. 6580 1.1 skrll 6581 1.1 skrll 2002-09-17 Alan Modra <amodra (a] bigpond.net.au> 6582 1.1 skrll 6583 1.1 skrll * elf64-alpha.c (alpha_elf_size_info): Make static. 6584 1.1 skrll 6585 1.1 skrll 2002-09-17 Svein E. Seldal <Svein.Seldal (a] solidas.com> 6586 1.1 skrll 6587 1.1 skrll * coff-tic4x.c: Add function declarations and ATTRIBUTE_UNUSED. 6588 1.1 skrll * cpu-tic4x.c: Ditto. 6589 1.1 skrll 6590 1.1 skrll 2002-09-17 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 6591 1.1 skrll 6592 1.1 skrll * elf64-mips.c (define elf_backend_ignore_discarded_relocs): Remove 6593 1.1 skrll duplicate define. 6594 1.1 skrll 6595 1.1 skrll 2002-09-16 Bruno Haible <bruno (a] clisp.org> 6596 1.1 skrll 6597 1.1 skrll * elf32-i386.c: Don't defined ELF_ARCH etc. if this file is included 6598 1.1 skrll by a target variant implementation. 6599 1.1 skrll * elf64-alpha.c: Likewise. 6600 1.1 skrll * elf32-i386-fbsd.c: New file. 6601 1.1 skrll * elf64-alpha-fbsd.c: New file. 6602 1.1 skrll * targets.c: Support bfd_elf32_i386_freebsd_vec and 6603 1.1 skrll bfd_elf64_alpha_freebsd_vec. 6604 1.1 skrll * configure.in: Accept the vectors bfd_elf32_i386_freebsd_vec, 6605 1.1 skrll bfd_elf64_alpha_freebsd_vec. 6606 1.1 skrll * Makefile.am (BFD32_BACKENDS): Add elf32-i386-fbsd.lo. 6607 1.1 skrll (BFD32_BACKENDS_CFILES): Add elf32-i386-fbsd.c. 6608 1.1 skrll (BFD64_BACKENDS): Add elf64-alpha-fbsd.lo. 6609 1.1 skrll (BFD64_BACKENDS_CFILES): Add elf64-alpha-fbsd.c. 6610 1.1 skrll (elf32-i386-fbsd.lo, elf64-alpha-fbsd.lo): Add dependencies. 6611 1.1 skrll * config.bfd: For FreeBSD targets, set targ_defvec to a FreeBSD 6612 1.1 skrll specific targets. Define OLD_FREEBSD_ABI_LABEL if appropriate. 6613 1.1 skrll 6614 1.1 skrll 2002-09-12 Jakub Jelinek <jakub (a] redhat.com> 6615 1.1 skrll 6616 1.1 skrll * elf32-i386.c (dtpoff_base, tpoff): Don't crash if tls_segment is 6617 1.1 skrll NULL. 6618 1.1 skrll (elf_i386_relocate_section): Return false after printing error about 6619 1.1 skrll unresolvable relocation. 6620 1.1 skrll 6621 1.1 skrll 2002-09-12 Nick Clifton <nickc (a] redhat.com> 6622 1.1 skrll 6623 1.1 skrll * elf32-arm.h (elf32_arm_final_link_relocate): Fix handling of 6624 1.1 skrll R_ARM_THM_PC11. 6625 1.1 skrll 6626 1.1 skrll 2002-09-11 Jeffrey Law <law (a] redhat.com> 6627 1.1 skrll 6628 1.1 skrll * elf32-h8300.c (elf32_h8_relax_section): Fix typo. 6629 1.1 skrll 6630 1.1 skrll 2002-09-11 Andrew Haley <aph (a] cambridge.redhat.com> 6631 1.1 skrll 6632 1.1 skrll * elf.c (_bfd_elf_find_nearest_line): Check functionname_ptr and 6633 1.1 skrll line_ptr before deciding we've found a symbol. 6634 1.1 skrll 6635 1.1 skrll 2002-09-11 Nick Clifton <nickc (a] redhat.com> 6636 1.1 skrll 6637 1.1 skrll * po/da.po: New Danish translation file. 6638 1.1 skrll * configure.in (LINGUAS): Add 'da'. 6639 1.1 skrll * configure: Regenerate. 6640 1.1 skrll 6641 1.1 skrll 2002-09-10 Michael Snyder <msnyder (a] redhat.com> 6642 1.1 skrll 6643 1.1 skrll * irix-core.c (do_sections, do_sections64): New functions. 6644 1.1 skrll (irix_core_core_file_p): Call new functions do_sections, 6645 1.1 skrll do_sections64, depending on corefile (32-bit or 64-bit). 6646 1.1 skrll 6647 1.1 skrll 2002-09-09 Richard Henderson <rth (a] redhat.com> 6648 1.1 skrll 6649 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relax_section): Handle PCREL21M 6650 1.1 skrll and PCREL21F like PCREL21B. 6651 1.1 skrll 6652 1.1 skrll 2002-09-04 Kevin Buettner <kevinb (a] redhat.com> 6653 1.1 skrll 6654 1.1 skrll * config.bfd (mips*-*-irix6*): Add new ABI vectors. Make n32 default 6655 1.1 skrll vector. 6656 1.1 skrll 6657 1.1 skrll 2002-09-02 Nick Clifton <nickc (a] redhat.com> 6658 1.1 skrll 6659 1.1 skrll * elf32-v850.c (v850_elf_final_link_relocate): Use helpful 6660 1.1 skrll names instead of cryptically overloaded bfd_reloc error 6661 1.1 skrll codes. 6662 1.1 skrll (v850_elf_relocate_section): Likewise. 6663 1.1 skrll (v850_elf_relax_section): Replace caching of external symbols 6664 1.1 skrll with caching of internal symbols obtained from calling 6665 1.1 skrll bfd_elf_get_elf_syms(). 6666 1.1 skrll Fixup problems with freeing cached allocated memory blocks. 6667 1.1 skrll 6668 1.1 skrll 2002-09-02 Alan Modra <amodra (a] bigpond.net.au> 6669 1.1 skrll 6670 1.1 skrll * cpu-pj.c (scan_mach, compatible, arch_info_struct): Remove. 6671 1.1 skrll (bfd_pj_arch): Use bfd_default_scan. 6672 1.1 skrll * cpu-v850.c (scan): Remove. 6673 1.1 skrll (N): Use bfd_default_scan. 6674 1.1 skrll * cpu-z8k.c (scan_mach): Remove. 6675 1.1 skrll (arch_info_struct, bfd_z8k_arch): Reorganize so that the default is 6676 1.1 skrll first. Use bfd_default_scan. 6677 1.1 skrll 6678 1.1 skrll * ecoff.c (_bfd_ecoff_set_arch_mach_hook): Don't use hard-coded 6679 1.1 skrll bfd_mach constants. 6680 1.1 skrll (ecoff_get_magic): Likewise. 6681 1.1 skrll * elf32-v850.c (v850_elf_object_p): Likewise. 6682 1.1 skrll (v850_elf_final_write_processing): Likewise. 6683 1.1 skrll * mipsbsd.c (MY(set_arch_mach)): Likewise. 6684 1.1 skrll (MY(write_object_contents)): Likewise. 6685 1.1 skrll * coff64-rs6000.c (xcoff64_write_object_contents): Likewise. 6686 1.1 skrll * coffcode.h (coff_write_object_contents): Likewise. 6687 1.1 skrll (coff_set_arch_mach_hook): Add comment describing machine == 0. 6688 1.1 skrll Remove unnecessary "machine" assignments. 6689 1.1 skrll (coff_write_relocs): Test for the absolute section sym by testing 6690 1.1 skrll section and flags. 6691 1.1 skrll 6692 1.1 skrll * aoutx.h (NAME(aout,machine_type)): Recognize bfd_mach_i386_i386 6693 1.1 skrll and bfd_mach_i386_i386_intel_syntax. 6694 1.1 skrll * pdp11.c (NAME(aout,machine_type)): Likewise. 6695 1.1 skrll 6696 1.1 skrll 2002-08-30 John David Anglin <dave (a] hiauly1.hia.nrc.ca> 6697 1.1 skrll 6698 1.1 skrll * bfd-in.h (align_power): Cast constants to bfd_vma type. 6699 1.1 skrll * bfd-in2.h (align_power): Likewise. 6700 1.1 skrll 6701 1.1 skrll 2002-08-30 Alan Modra <amodra (a] bigpond.net.au> 6702 1.1 skrll 6703 1.1 skrll * Makefile.am: Run "make dep-am". 6704 1.1 skrll * Makefile.in: Regenerate. 6705 1.1 skrll 6706 1.1 skrll * cpu-avr.c (compatible): Don't use hard-coded mach constants. 6707 1.1 skrll * cpu-powerpc.c (powerpc_compatible): Likewise. 6708 1.1 skrll * cpu-rs6000.c (rs6000_compatible): Likewise. 6709 1.1 skrll 6710 1.1 skrll 2002-08-28 Catherine Moore <clm (a] redhat.com> 6711 1.1 skrll 6712 1.1 skrll * elf32-v850.c (v850_elf_reloc_map): Add new relocs. 6713 1.1 skrll (v850-elf-reloc): Don't resolve pc relative relocs. 6714 1.1 skrll (v850_elf_ignore_reloc): New routine. 6715 1.1 skrll (v850_elf_final_link_relocate): Handle new relocs. 6716 1.1 skrll (v850_elf_relax_delete_bytes ): New routine. 6717 1.1 skrll (v850_elf_relax_section): New routine. 6718 1.1 skrll (bfd_elf32_bfd_relax_section): Define. 6719 1.1 skrll (HOWTO): New entries for new relocs. 6720 1.1 skrll * reloc.c (BFD_RELOC_V850_LONGCALL): New reloc. 6721 1.1 skrll (BFD_RELOC_V850_LONGJUMP): New reloc. 6722 1.1 skrll (BFD_RELOC_V850_ALIGN): New reloc. 6723 1.1 skrll * archures.c: Remove redundant v850ea architecture. 6724 1.1 skrll * cpu-v850.c: Remove redundant v850ea support. 6725 1.1 skrll * libbfd.h: Regenerate. 6726 1.1 skrll * bfd-in2.h: Regenerated. 6727 1.1 skrll 6728 1.1 skrll 2002-08-28 Svein E. Seldal <Svein.Seldal (a] solidas.com> 6729 1.1 skrll 6730 1.1 skrll * config.bfd: Add tic4x-*-*coff* and c4x-*-*coff* target. 6731 1.1 skrll * configure.in: Add tic4x_coff vector files. 6732 1.1 skrll * configure: Regenerate. 6733 1.1 skrll * Makefile.am: Add tic4x target. 6734 1.1 skrll * Makefile.in: Regenerate. 6735 1.1 skrll 6736 1.1 skrll 2002-08-27 Michael Hayes <m.hayes (a] elec.canterbury.ac.nz> 6737 1.1 skrll 6738 1.1 skrll * archures.c: Add the BFD arch type tic4x. 6739 1.1 skrll * bfd-in.h: Add BFD_IN_MEMORY flag. 6740 1.1 skrll * coff-tic4x.c: New file. 6741 1.1 skrll * coffswap.h (coff_swap_sym_out): Add preadjuster. 6742 1.1 skrll * cpu-tic4x.c: New file. 6743 1.1 skrll * targets.c: Added tic4x- in list of xvecs. 6744 1.1 skrll * ticoff.h: New file. 6745 1.1 skrll * bfd-in2.h: Regenerate. 6746 1.1 skrll 6747 1.1 skrll 2002-08-27 Adam Nemet <anemet (a] lnxw.com> 6748 1.1 skrll 6749 1.1 skrll * elf32-arm.h (elf32_arm_finish_dynamic_sections): Set the last 6750 1.1 skrll bit of DT_INIT and DT_FINI for Thumb functions. 6751 1.1 skrll 6752 1.1 skrll 2002-08-26 Alan Modra <amodra (a] bigpond.net.au> 6753 1.1 skrll 6754 1.1 skrll * coffcode.h (coff_set_arch_mach_hook): Handle W65MAGIC. 6755 1.1 skrll 6756 1.1 skrll 2002-08-26 Alan Modra <amodra (a] bigpond.net.au> 6757 1.1 skrll 6758 1.1 skrll * aoutx.h (NAME(aout,reloc_type_lookup)): Handle BFD_RELOC_8. 6759 1.1 skrll 6760 1.1 skrll 2002-08-24 Kaz Kojima <kkojima (a] rr.iij4u.or.jp> 6761 1.1 skrll 6762 1.1 skrll * elf32-sh.c (sh_elf_copy_indirect_symbol): New. 6763 1.1 skrll (create_got_section, allocate_dynrelocs, readonly_dynrelocs): 6764 1.1 skrll Likewise. 6765 1.1 skrll (struct elf_sh_pcrel_relocs_copied): Removed. 6766 1.1 skrll (struct elf_sh_dyn_relocs): New. 6767 1.1 skrll (struct elf_sh_link_hash_entry): Replace pcrel_relocs_copied 6768 1.1 skrll field with dyn_relocs. 6769 1.1 skrll (struct elf_sh_link_hash_table): Add short-cuts to get dynamic 6770 1.1 skrll sections and sym_sec. 6771 1.1 skrll (sh_elf_link_hash_newfunc): Clear dyn_relocs. 6772 1.1 skrll (sh_elf_link_hash_table_create): Clear shorts-cuts and sym_sec. 6773 1.1 skrll (sh_elf_create_dynamic_sections): Use create_got_section instead 6774 1.1 skrll of _bfd_elf_create_got_section. 6775 1.1 skrll (sh_elf_check_relocs): Likewise. 6776 1.1 skrll (sh_elf_create_dynamic_sections): Use short-cuts to the dynamic 6777 1.1 skrll sections. 6778 1.1 skrll (sh_elf_adjust_dynamic_symbol, sh_elf_size_dynamic_sections, 6779 1.1 skrll sh_elf_relocate_section, sh_elf_check_relocs, 6780 1.1 skrll sh_elf_finish_dynamic_symbol, sh_elf_finish_dynamic_sections): 6781 1.1 skrll Likewise. 6782 1.1 skrll (sh_elf_adjust_dynamic_symbol): Handle nocopyreloc. Keep the 6783 1.1 skrll dynamic relocations and avoiding the copy relocation when we 6784 1.1 skrll didn't find any dynamic relocations in the section which has 6785 1.1 skrll contents or is read-only. 6786 1.1 skrll (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New. 6787 1.1 skrll (sh_elf_size_dynamic_sections): Don't reset the size of 6788 1.1 skrll .rela.got section even if dynamic_sections_created flag is off. 6789 1.1 skrll Don't use sh_elf_discard_copies. Scan all input bfd and use 6790 1.1 skrll allocate_dynrelocs. Call readonly_dynrelocs to determine 6791 1.1 skrll whether we need DT_TEXTREL. 6792 1.1 skrll (sh_elf_adjust_dynamic_symbol): Use plt.refcount to determine 6793 1.1 skrll whether the symbol was never referred to. 6794 1.1 skrll (sh_elf_relocate_section): Use WILL_CALL_FINISH_DYNAMIC_SYMBOL. 6795 1.1 skrll (sh_elf_gc_sweep_hook): Fill with the real sweep function. 6796 1.1 skrll (sh_elf_check_relocs): Call create_got_section if the short-cut 6797 1.1 skrll to .got is null. Increment reference counters only instead of 6798 1.1 skrll allocating space on dynamic sections here. Don't conditionalize 6799 1.1 skrll uninitialized got.offset value when marking the symbol as a 6800 1.1 skrll global offset table entry. Keep relocations for symbols satisfied 6801 1.1 skrll by a dynamic library to avoid copy relocations for the symbol. 6802 1.1 skrll Set dynobj field of an elf hash table if needed. 6803 1.1 skrll (sh_elf_finish_dynamic_sections): Handle null section pointer 6804 1.1 skrll correctly. 6805 1.1 skrll (elf_backend_copy_indirect_symbol): Defined. 6806 1.1 skrll (elf_backend_can_refcount): Defined. 6807 1.1 skrll 6808 1.1 skrll 2002-08-23 Nick Clifton <nickc (a] redhat.com> 6809 1.1 skrll 6810 1.1 skrll * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Undo 6811 1.1 skrll previous change. Add comment explaining why. 6812 1.1 skrll 6813 1.1 skrll 2002-08-23 Stephen Clarke <stephen.clarke (a] superh.com> 6814 1.1 skrll 6815 1.1 skrll * elf32-sh.c (elf_sh_plt0_entry_be, elf_sh_plt0_entry_le): Copy 6816 1.1 skrll contents of .got.plt[2] to tr0, not address of .got.plt. 6817 1.1 skrll (sh_elf_finish_dynamic_symbol): Do not apply GOT_BIAS when 6818 1.1 skrll patching absolute plt entry. For shmedia plt entry, set bottom bit 6819 1.1 skrll of branch to plt0 as this is a branch to an shmedia instruction. 6820 1.1 skrll * elf64-sh64.c (elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le): 6821 1.1 skrll Copy contents of .got.plt[2] to tr0, not address of .got.plt. 6822 1.1 skrll (elf_sh64_plt_entry_be, elf_sh64_plt_entry_le): Use ptrel to 6823 1.1 skrll branch to plt0. 6824 1.1 skrll (sh64_elf64_finish_dynamic_symbol): Do not apply GOT_BIAS when 6825 1.1 skrll patching absolute plt entry. For shmedia plt entry, branch to 6826 1.1 skrll plt0 is now ptrel, so use relative offset. Set bottom bit of 6827 1.1 skrll branch target as it is a branch to an shmedia instruction. 6828 1.1 skrll 6829 1.1 skrll 2002-08-23 Stephen Clarke <stephen.clarke (a] superh.com>, 6830 1.1 skrll Richard Shann <richard.shann (a] superh.com> 6831 1.1 skrll 6832 1.1 skrll * elf32-sh.c (sh_elf_finish_dynamic_sections): Set LSB of DT_INIT 6833 1.1 skrll value if .init is an SHmedia function. Similarly for DT_FINI. 6834 1.1 skrll * elf64-sh64.c (sh64_elf64_finish_dynamic_sections): Likewise. 6835 1.1 skrll 6836 1.1 skrll 2002-08-23 Stephen Clarke <stephen.clarke (a] superh.com> 6837 1.1 skrll 6838 1.1 skrll * elf32-sh.c (sh_elf_size_dynamic_sections): Zero initialize 6839 1.1 skrll dynamic section. 6840 1.1 skrll * elf64-sh64.c (sh64_elf64_size_dynamic_sections): Likewise. 6841 1.1 skrll 6842 1.1 skrll 2002-08-22 Kaz Kojima <kkojima (a] rr.iij4u.or.jp> 6843 1.1 skrll 6844 1.1 skrll * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use a simple 6845 1.1 skrll byte read when reading the return address register column. 6846 1.1 skrll 6847 1.1 skrll 2002-08-22 Nick Clifton <nickc (a] redhat.com> 6848 1.1 skrll 6849 1.1 skrll * config.bfd: Add powepc64-*-*bsd* target. 6850 1.1 skrll 6851 1.1 skrll 2002-08-22 Graeme Peterson <gp (a] qnx.com> 6852 1.1 skrll 6853 1.1 skrll * Makefile.am: Add entries for elf32-shqnx.c 6854 1.1 skrll * Makefile.in: Regenerate. 6855 1.1 skrll * config.bfd: Add support sh-*-nto* target. 6856 1.1 skrll * configure.in: Add support for bfd_elf32_sh{l}qnx_vec. 6857 1.1 skrll * configure: Regenerate. 6858 1.1 skrll * elf32-qnx.h: Changed typo "elf_i386qnx_*" to "elf_qnx_*" . 6859 1.1 skrll * elf32-sh.c: Do not include elf32-target.h if 6860 1.1 skrll ELF32_SH_C_INCLUDED is defined. 6861 1.1 skrll * elf32-shqnx.c: New file: Support for QNX. 6862 1.1 skrll * targets.c: Add bfd_elf32_sh{l}qnx_vec. 6863 1.1 skrll 6864 1.1 skrll 2002-08-22 Nick Clifton <nickc (a] redhat.com> 6865 1.1 skrll 6866 1.1 skrll * po/tr.po: Updated Turkish translation. 6867 1.1 skrll 6868 1.1 skrll * syms.c (_bfd_generic_read_minisymbols): Set bfd_error if the 6869 1.1 skrll symbols are not read. 6870 1.1 skrll 6871 1.1 skrll 2002-08-22 Alan Modra <amodra (a] bigpond.net.au> 6872 1.1 skrll 6873 1.1 skrll * elf32-m68hc11.c: Formatting fixes. 6874 1.1 skrll (elf32_m68hc11_gc_mark_hook): Correct params. Remove unnecessary test. 6875 1.1 skrll * elf32-m68hc12.c: Formatting fixes. 6876 1.1 skrll (elf32_m68hc11_gc_mark_hook): Correct params. Remove unnecessary test. 6877 1.1 skrll 6878 1.1 skrll 2002-08-22 Alan Modra <amodra (a] bigpond.net.au> 6879 1.1 skrll 6880 1.1 skrll * coff-rs6000.c (rs6000coff_vec <object_flags>): Add SEC_CODE and 6881 1.1 skrll SEC_DATA. 6882 1.1 skrll (pmac_xcoff_vec): Likewise. 6883 1.1 skrll * coff64-rs6000.c (rs6000coff64_vec): Likewise. 6884 1.1 skrll (aix5coff64_vec): Likewise. 6885 1.1 skrll 6886 1.1 skrll 2002-08-22 Alan Modra <amodra (a] bigpond.net.au> 6887 1.1 skrll 6888 1.1 skrll * elf-bfd.h (struct elf_backend_data): Add struct elf_backend_data 6889 1.1 skrll param to elf_backend_copy_indirect_symbol. 6890 1.1 skrll (_bfd_elf_link_hash_copy_indirect): Likewise. 6891 1.1 skrll * elflink.h (elf_add_default_symbol, elf_fix_symbol_flags): Adjust 6892 1.1 skrll calls to copy_indirect_symbol. 6893 1.1 skrll * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise. 6894 1.1 skrll * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise. 6895 1.1 skrll * elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise. 6896 1.1 skrll * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. 6897 1.1 skrll * elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise. 6898 1.1 skrll * elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Likewise. 6899 1.1 skrll * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise. 6900 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_copy_indirect_symbol): Likewise. 6901 1.1 skrll * elfxx-mips.h (_bfd_mips_elf_copy_indirect_symbol): Likewise. 6902 1.1 skrll * elf.c (_bfd_elf_link_hash_copy_indirect): Likewise. Properly 6903 1.1 skrll test refcounts for "used" values. 6904 1.1 skrll 6905 1.1 skrll 2002-08-21 John David Anglin <dave (a] hiauly1.hia.nrc.ca> 6906 1.1 skrll 6907 1.1 skrll * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Add PARAMS to 6908 1.1 skrll argument declaration. 6909 1.1 skrll 6910 1.1 skrll 2002-08-19 Elena Zannoni <ezannoni (a] redhat.com> 6911 1.1 skrll 6912 1.1 skrll * archures.c (bfd_mach_ppc_e500): Added. 6913 1.1 skrll * bfd-in2.h: Rebuilt. 6914 1.1 skrll * cpu-powerpc.c (bfd_powerpc_archs): Added e500. 6915 1.1 skrll 6916 1.1 skrll 2002-08-19 Alan Modra <amodra (a] bigpond.net.au> 6917 1.1 skrll 6918 1.1 skrll * elf32-m68hc12.c (elf_backend_can_gc_sections): False. 6919 1.1 skrll 6920 1.1 skrll 2002-08-17 Andrew Cagney <ac131313 (a] redhat.com> 6921 1.1 skrll 6922 1.1 skrll * elf.c (bfd_elf_get_elf_syms): Change type of `esym' to 6923 1.1 skrll `bfd_byte'. 6924 1.1 skrll 6925 1.1 skrll 2002-08-17 Stan Cox <scox (a] redhat.com> 6926 1.1 skrll 6927 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Use the 6928 1.1 skrll IRIX 6 segment layout for NEWABI. 6929 1.1 skrll 6930 1.1 skrll 2002-08-16 Stephen Clarke <stephen.clarke (a] superh.com> 6931 1.1 skrll 6932 1.1 skrll * elf32-sh.c (sh_elf_gc_mark_hook): For sh64, skip indirect 6933 1.1 skrll symbols when looking for section referred to by a relocation. 6934 1.1 skrll * elf64-sh.c (sh_elf64_gc_mark_hook): Likewise. 6935 1.1 skrll 6936 1.1 skrll 2002-08-15 Alan Modra <amodra (a] bigpond.net.au> 6937 1.1 skrll 6938 1.1 skrll * elf32-i370.c: Move reloc enum to include/elf/i370.h. 6939 1.1 skrll 6940 1.1 skrll 2002-08-15 Hans-Peter Nilsson <hp (a] axis.com> 6941 1.1 skrll 6942 1.1 skrll * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Add 6943 1.1 skrll missing check for whether the symbol is referenced by DSO before 6944 1.1 skrll unexporting it as an unneeded dynamic symbol. 6945 1.1 skrll 6946 1.1 skrll 2002-08-14 H.J. Lu <hjl (a] gnu.org> 6947 1.1 skrll 6948 1.1 skrll * libbfd.h: Regenerate. 6949 1.1 skrll 6950 1.1 skrll 2002-08-14 H.J. Lu <hjl (a] gnu.org> 6951 1.1 skrll 6952 1.1 skrll * config.bfd: Always add 64bit vectors to 32bit Linux/mips. 6953 1.1 skrll 6954 1.1 skrll 2002-08-14 Stephane Carrez <stcarrez (a] nerim.fr> 6955 1.1 skrll 6956 1.1 skrll * elf32-m68hc11.c (m68hc11_relax_group): New to relax group of 6957 1.1 skrll instructions. 6958 1.1 skrll (m68hc11_direct_relax): New to define table of relaxable instructions. 6959 1.1 skrll (find_relaxable_insn): New, find a relaxable insn. 6960 1.1 skrll (compare_reloc): New to compare two relocs. 6961 1.1 skrll (m68hc11_elf_relax_section): New, relax text sections. 6962 1.1 skrll (m68hc11_elf_relax_delete_bytes): New, delete bytes and adjust branchs. 6963 1.1 skrll (elf32_m68hc11_check_relocs): New function for GC support. 6964 1.1 skrll (elf32_m68hc11_relocate_section): New function for GC support. 6965 1.1 skrll (bfd_elf32_bfd_relax_section): Define to support linker relaxation. 6966 1.1 skrll (elf_backend_check_relocs): Likewise. 6967 1.1 skrll (elf_backend_relocate_section): Likewise. 6968 1.1 skrll 6969 1.1 skrll 2002-08-13 H.J. Lu <hjl (a] gnu.org> 6970 1.1 skrll 6971 1.1 skrll * elflink.h (NAME(bfd_elf,size_dynamic_sections): Don't count 6972 1.1 skrll definitions in shared objects when checking symbol with 6973 1.1 skrll undefined version. 6974 1.1 skrll 6975 1.1 skrll 2002-08-13 Stephane Carrez <stcarrez (a] nerim.fr> 6976 1.1 skrll 6977 1.1 skrll * elf32-m68hc11.c (elf32_m68hc11_gc_mark_hook): New for section GC. 6978 1.1 skrll (elf32_m68hc11_gc_sweep_hook): Likewise. 6979 1.1 skrll (elf_backend_gc_mark_hook): Define for GC section support. 6980 1.1 skrll (elf_backend_gc_sweep_hook): Likewise. 6981 1.1 skrll (elf_backend_can_gc_sections): Likewise. 6982 1.1 skrll 6983 1.1 skrll * elf32-m68hc12.c: Likewise. 6984 1.1 skrll 6985 1.1 skrll 2002-08-13 Stephane Carrez <stcarrez (a] nerim.fr> 6986 1.1 skrll 6987 1.1 skrll * elf32-m68hc11.c (_bfd_m68hc11_elf_print_private_bfd_data): New. 6988 1.1 skrll (_bfd_m68hc11_elf_merge_private_bfd_data): New function. 6989 1.1 skrll (_bfd_m68hc11_elf_set_private_flags): New function. 6990 1.1 skrll Use them to set/check/print ELF flags specific to 68HC11. 6991 1.1 skrll 6992 1.1 skrll * elf32-m68hc12.c (_bfd_m68hc12_elf_print_private_bfd_data): New. 6993 1.1 skrll (_bfd_m68hc12_elf_merge_private_bfd_data): New function. 6994 1.1 skrll (_bfd_m68hc12_elf_set_private_flags): New function. 6995 1.1 skrll Use them to set/check/print ELF flags specific to 68HC12. 6996 1.1 skrll 6997 1.1 skrll 2002-08-13 Stephane Carrez <stcarrez (a] nerim.fr> 6998 1.1 skrll 6999 1.1 skrll * elf32-m68hc11.c (elf_m68hc11_howto_table): Add the new relocs; 7000 1.1 skrll fix masks for PC-rel relocs. 7001 1.1 skrll (m68hc11_elf_ignore_reloc): New function. 7002 1.1 skrll 7003 1.1 skrll * elf32-m68hc12.c (m68hc12_elf_special_reloc): New to handle specific 7004 1.1 skrll 68HC12 banked addressing relocs. 7005 1.1 skrll (m68hc12_phys_addr): New to compute physical address of banked memory. 7006 1.1 skrll (m68hc12_phys_page): Likewise for page. 7007 1.1 skrll (m68hc12_addr_is_banked): New to see if address is in banked area. 7008 1.1 skrll (elf_m68hc12_howto_table): Add new relocs and rename to xx12. 7009 1.1 skrll 7010 1.1 skrll 2002-08-13 Stephane Carrez <stcarrez (a] nerim.fr> 7011 1.1 skrll 7012 1.1 skrll * reloc.c (BFD_RELOC_M68HC11_RL_JUMP, BFD_RELOC_M68HC11_RL_GROUP, 7013 1.1 skrll BFD_RELOC_M68HC11_LO16, BFD_RELOC_M68HC11_PAGE, 7014 1.1 skrll BFD_RELOC_M68HC11_24): New relocs for 68HC11/68HC12. 7015 1.1 skrll * bfd-in2.h: Regenerate. 7016 1.1 skrll 7017 1.1 skrll 2002-08-12 H.J. Lu <hjl (a] gnu.org> 7018 1.1 skrll 7019 1.1 skrll * elflink.h (elf_add_default_symbol): Preserve section across 7020 1.1 skrll elf_merge_symbol. 7021 1.1 skrll 7022 1.1 skrll 2002-08-09 Graeme Peterson <gp (a] qnx.com> 7023 1.1 skrll 7024 1.1 skrll * Makefile.am: Add entries for elf32-ppcqnx.c, and add 7025 1.1 skrll elf32-qnx.h dependency to elfarmqnx-nabi.c and elf32-i386qnx.c. 7026 1.1 skrll * Makefile.in: Regenerate. 7027 1.1 skrll * config.bfd: Add support for powerpc{le}-*-nto targets. 7028 1.1 skrll * configure.in: Add support for bfd_elf32_powerpc{le}qnx_vec. 7029 1.1 skrll * configure: Regenerate. 7030 1.1 skrll * elf32-i386qnx.c: Moved backend functions into a QNX specific 7031 1.1 skrll common file "elf32-qnx.h", and now include that file. 7032 1.1 skrll * elf32-qnx.h: New file: QNX specific common elf backend. 7033 1.1 skrll * elf32-ppc.c: Do not include elf32-target.h if 7034 1.1 skrll ELF32_PPC_C_INCLUDED is defined. 7035 1.1 skrll * elf32-ppcqnx.c: New file: Support for QNX. 7036 1.1 skrll * elfarmqnx-nabi.c: Include elf32-qnx.h for qnx elf backend. 7037 1.1 skrll * targets.c: Add bfd_elf32_powerpc{le}qnx_vec. 7038 1.1 skrll 7039 1.1 skrll 2002-08-09 Nick Clifton <nickc (a] redhat.com> 7040 1.1 skrll 7041 1.1 skrll * po/sv.po: Updated Swedish translation. 7042 1.1 skrll 7043 1.1 skrll 2002-08-09 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 7044 1.1 skrll 7045 1.1 skrll * elfxx-mips.c (mips_elf_global_got_index): Avoid segfault if 7046 1.1 skrll g->global_gotsym is NULL. 7047 1.1 skrll 7048 1.1 skrll 2002-08-08 H.J. Lu <hjl (a] gnu.org> 7049 1.1 skrll 7050 1.1 skrll * elflink.h (elf_add_default_symbol): Don't warn if a definition 7051 1.1 skrll overrides an indirect versioned symbol. 7052 1.1 skrll 7053 1.1 skrll 2002-08-08 Jakub Jelinek <jakub (a] redhat.com> 7054 1.1 skrll 7055 1.1 skrll * elf32-i386.c (elf_i386_relocate_section): Fill in proper addend 7056 1.1 skrll for R_386_TLS_TPOFF32 relocs against symndx 0. 7057 1.1 skrll 7058 1.1 skrll 2002-08-07 H.J. Lu <hjl (a] gnu.org> 7059 1.1 skrll 7060 1.1 skrll * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Check symbol 7061 1.1 skrll with undefined version if needed. 7062 1.1 skrll (elf_link_assign_sym_version): Match a default symbol with a 7063 1.1 skrll version without definition. No need to hide the default 7064 1.1 skrll definition separately. 7065 1.1 skrll 7066 1.1 skrll 2002-08-08 Alan Modra <amodra (a] bigpond.net.au> 7067 1.1 skrll 7068 1.1 skrll * elflink.h (elf_link_output_extsym): Don't output symbols from 7069 1.1 skrll SEC_EXCLUDE sections. 7070 1.1 skrll 7071 1.1 skrll * aoutx.h (aout_link_write_symbols): Correct handling of warning syms. 7072 1.1 skrll 7073 1.1 skrll 2002-08-07 Alan Modra <amodra (a] bigpond.net.au> 7074 1.1 skrll 7075 1.1 skrll * elf64-ppc.c (edit_opd): Arrange to drop symbols for discarded .opd 7076 1.1 skrll entries. 7077 1.1 skrll 7078 1.1 skrll 2002-08-07 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 7079 1.1 skrll 7080 1.1 skrll * elfxx-mips.c (mips_elf_create_dynamic_relocation): Cast signedness 7081 1.1 skrll mismatch. 7082 1.1 skrll 7083 1.1 skrll 2002-08-07 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 7084 1.1 skrll 7085 1.1 skrll * elfxx-mips.c (ABI_64_P): Remove superfluous check. 7086 1.1 skrll 7087 1.1 skrll 2002-08-07 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 7088 1.1 skrll 7089 1.1 skrll * elf32-mips.c (mips_reloc_map): Fix typo. 7090 1.1 skrll 7091 1.1 skrll 2002-08-06 Alan Modra <amodra (a] bigpond.net.au> 7092 1.1 skrll 7093 1.1 skrll * xcofflink.c (xcoff_write_global_symbol): Set n_scnum for abs_section. 7094 1.1 skrll 7095 1.1 skrll 2002-08-06 Alan Modra <amodra (a] bigpond.net.au> 7096 1.1 skrll 7097 1.1 skrll * elf64-ppc.c (ppc64_elf_howto_raw): Zero all src_mask entries. 7098 1.1 skrll 7099 1.1 skrll 2002-08-06 Alan Modra <amodra (a] bigpond.net.au> 7100 1.1 skrll 7101 1.1 skrll * libxcoff.h: Use PARAMS on function declarations. 7102 1.1 skrll * coff-rs6000.c (xcoff_generate_rtinit): Simplify size calc. 7103 1.1 skrll * coff64-rs6000.c (xcoff64_generate_rtinit): Likewise. 7104 1.1 skrll 7105 1.1 skrll * coff-rs6000.c: (xcoff_rtype2howto): Don't place reloc address in 7106 1.1 skrll addend. 7107 1.1 skrll * coff64-rs6000.c: (xcoff64_rtype2howto): Likewise. 7108 1.1 skrll 7109 1.1 skrll 2002-08-06 Alan Modra <amodra (a] bigpond.net.au> 7110 1.1 skrll 7111 1.1 skrll * coff-rs6000.c: Formatting fixes. 7112 1.1 skrll (xcoff_calculate_relocation): Use PARAMS in declaration. 7113 1.1 skrll (xcoff_complain_overflow): Likewise. 7114 1.1 skrll (xcoff_ppc_relocate_section): Use old-style function pointer call. 7115 1.1 skrll (bfd_xcoff_backend_data): Remove useless comments. 7116 1.1 skrll (rs6000coff_vec): Likewise. 7117 1.1 skrll (bfd_pmac_xcoff_backend_data): Likewise. 7118 1.1 skrll (pmac_xcoff_vec): Likewise. 7119 1.1 skrll 7120 1.1 skrll * coff64-rs6000.c: Formatting fixes. 7121 1.1 skrll (xcoff64_calculate_relocation): Use PARAMS in declaration. 7122 1.1 skrll (xcoff64_ppc_relocate_section): Use old-style function pointer call. 7123 1.1 skrll (bfd_xcoff_backend_data): Remove useless comments. 7124 1.1 skrll (rs6000coff64_vec): Likewise. 7125 1.1 skrll (bfd_xcoff_aix5_backend_data): Likewise. 7126 1.1 skrll (aix5coff64_vec): Likewise. 7127 1.1 skrll 7128 1.1 skrll 2002-08-06 Alan Modra <amodra (a] bigpond.net.au> 7129 1.1 skrll 7130 1.1 skrll * coff-rs6000.c (xcoff_howto_table): Revert some of last change to 7131 1.1 skrll mask entries. Use complain_overflow_dont for R_REF. 7132 1.1 skrll (xcoff_reloc_type_ba): Revert last change. 7133 1.1 skrll (xcoff_reloc_type_br): Likewise. 7134 1.1 skrll (xcoff_reloc_type_crel): Likewise. 7135 1.1 skrll (xcoff_ppc_relocate_section): Likewise. 7136 1.1 skrll * coff64-rs6000.c (xcoff64_reloc_type_br): Likewise. 7137 1.1 skrll (xcoff64_ppc_relocate_section): Likewise. 7138 1.1 skrll (xcoff64_howto_table): Revert some of last change to mask entries. 7139 1.1 skrll Use complain_overflow_dont for R_REF. 7140 1.1 skrll 7141 1.1 skrll * coff-rs6000.c (xcoff_howto_table): Fix src_mask entries. Make all 7142 1.1 skrll relocs with bitsize == 16 have size = 1. 7143 1.1 skrll (xcoff_reloc_type_ba): Correct src_mask and dst_mask adjustment. 7144 1.1 skrll (xcoff_reloc_type_br): Likewise. 7145 1.1 skrll (xcoff_reloc_type_crel): Likewise. 7146 1.1 skrll (xcoff_ppc_relocate_section): Set up src_mask and dst_mask correctly. 7147 1.1 skrll * coff64-rs6000.c (xcoff64_reloc_type_br): Correct src_mask and 7148 1.1 skrll dst_mask adjustment. 7149 1.1 skrll (xcoff64_ppc_relocate_section): Set up src_mask and dst_mask correctly. 7150 1.1 skrll (xcoff64_howto_table): Fix src_mask entries. Make all relocs with 7151 1.1 skrll bitsize == 16 have size = 1. 7152 1.1 skrll 7153 1.1 skrll 2002-08-01 Denis Chertykov <denisc (a] overta.ru> 7154 1.1 skrll 7155 1.1 skrll * elf32-ip2k.c: Processor manufacturer changed to Ubicom. 7156 1.1 skrll (struct misc): New field isymbuf. All free_* fields removed. 7157 1.1 skrll (symbol_value): Pass in internal syms. No need to swap syms in. 7158 1.1 skrll (ip2k_elf_relax_section): Use bfd_elf_get_elf_syms. Properly free 7159 1.1 skrll possibly cached info. 7160 1.1 skrll (tidyup_after_error): Removed. 7161 1.1 skrll (ip2k_elf_relax_section_pass1): Don't use removed fields of struct 7162 1.1 skrll misc. Use new field. 7163 1.1 skrll (adjust_all_relocations): Use internal syms. No need to swap syms 7164 1.1 skrll in and out. 7165 1.1 skrll (add_page_insn): Don't use removed fields of struct misc. 7166 1.1 skrll 7167 1.1 skrll 2002-08-01 Nick Clifton <nickc (a] redhat.com> 7168 1.1 skrll 7169 1.1 skrll * elf32-arm.h: Revert previous delta. 7170 1.1 skrll 7171 1.1 skrll 2002-08-01 Nick Clifton <nickc (a] redhat.com> 7172 1.1 skrll 7173 1.1 skrll * configure.in (AM_INIT_AUTOMAKE): Bump version number. 7174 1.1 skrll * configure: Regenerate. 7175 1.1 skrll 7176 1.1 skrll 2002-07-31 H.J. Lu <hjl (a] gnu.org> 7177 1.1 skrll 7178 1.1 skrll * config.bfd: Add x86-64 vector to Linux/i386 if 64bit BFD is 7179 1.1 skrll selected. 7180 1.1 skrll 7181 1.1 skrll 2002-07-31 H.J. Lu <hjl (a] gnu.org> 7182 1.1 skrll 7183 1.1 skrll * config.bfd: Add n32 vectors to 32bit Linux/mips if 64bit BFD 7184 1.1 skrll is selected. 7185 1.1 skrll 7186 1.1 skrll 2002-07-31 Jakub Jelinek <jakub (a] redhat.com> 7187 1.1 skrll 7188 1.1 skrll * elf32-i386.c (elf_i386_copy_indirect_symbol): Swap tls_type 7189 1.1 skrll if _bfd_elf_link_hash_copy_indirect will swap got.refcount. 7190 1.1 skrll 7191 1.1 skrll 2002-07-31 Ian Dall <ian (a] sibyl.beware.dropbear.id.au> 7192 1.1 skrll 7193 1.1 skrll * cpu-ns32k.c (_bfd_ns32k_put_immdeiate, _bfd_ns32k_get_immediate): 7194 1.1 skrll There is no 8 byte relocation type for this architecture. 7195 1.1 skrll (do_ns32k_reloc): Use bfd_vma instead of native types. 7196 1.1 skrll (bfd_ns32k_put_immediate, _bfd_ns32k_relocate_contents) put_data 7197 1.1 skrll returns void. 7198 1.1 skrll (_bfd_ns32k_put_displacement): Don't check for overflow. We can 7199 1.1 skrll rely on generic code to do that. 7200 1.1 skrll * aout-ns32k.c (howto_table): Add appropriate overflow detection 7201 1.1 skrll to all table entries. 7202 1.1 skrll (_bfd_ns32k_relocate_contents): put_data returns void. 7203 1.1 skrll * ns32k.h: (_bfd_ns32k_put_displacement, _bfd_ns32k_put_immediate) 7204 1.1 skrll (_bfd_do_ns32k_reloc_contents): Fix prototypes. put data functions 7205 1.1 skrll return void. 7206 1.1 skrll 7207 1.1 skrll 2002-07-31 Ian Dall <ian (a] sibyl.beware.dropbear.id.au> 7208 1.1 skrll 7209 1.1 skrll * aoutx.h (aout_link_check_ar_symbols): Whether to include an 7210 1.1 skrll archive object is target dependant. 7211 1.1 skrll 7212 1.1 skrll 2002-07-31 Adam Nemet <anemet (a] lnxw.com> 7213 1.1 skrll 7214 1.1 skrll * elf32-arm.h (ARM_PLT_ENTRY_SIZE): Rename PLT_ENTRY_SIZE. 7215 1.1 skrll (THUMB_PLT_ENTRY_SIZE): New macro. 7216 1.1 skrll (PLT_ENTRY_SIZE): Return the appropriate *_PLT_ENTRY_SIZE. 7217 1.1 skrll (elf32_arm_plt0_entry): Rename PLT_ENTRY_SIZE to 7218 1.1 skrll ARM_PLT_ENTRY_SIZE. 7219 1.1 skrll (elf32_arm_plt_entry): Likewise. 7220 1.1 skrll (elf_backend_plt_header_size): Likewise. 7221 1.1 skrll (elf32_thumb_plt0_entry): New global. 7222 1.1 skrll (elf32_arm_finish_dynamic_sections): Use it. Put Thumb entries 7223 1.1 skrll into .plt.thumb. 7224 1.1 skrll (elf32_thumb_plt_entry): New global. 7225 1.1 skrll (elf32_arm_finish_dynamic_symbol): Use it. Use .thumb.plt for 7226 1.1 skrll Thumb entries. Set the bottom bit of the corresponding GOT entry 7227 1.1 skrll for a Thumb PLT entry. 7228 1.1 skrll (struct elf32_arm_plt_entry_info): New structure. 7229 1.1 skrll (struct elf32_arm_link_hash_entry, plt_info): New member of this 7230 1.1 skrll type. 7231 1.1 skrll (elf32_arm_link_hash_newfunc): Initialize new member. 7232 1.1 skrll (elf32_arm_final_link_relocate, R_ARM_THM_PC22 case): Handle 7233 1.1 skrll relocations against the PLT. 7234 1.1 skrll (elf32_arm_check_relocs, case R_ARM_PLT32 case): Set 7235 1.1 skrll first_rel_type if this is the first time we encounter the symbol. 7236 1.1 skrll (elf32_arm_check_relocs, case R_ARM_THM_PC22 case): New case. 7237 1.1 skrll Determine if relocation needs a PLT entry. Set first_rel_type if 7238 1.1 skrll this is the first time we encounter the symbol 7239 1.1 skrll (elf32_arm_adjust_dynamic_symbol): Create PLT entries for Thumb 7240 1.1 skrll functions as well. 7241 1.1 skrll (elf32_arm_size_dynamic_sections): Handle .plt.thumb like .plt. 7242 1.1 skrll (elf32_arm_create_dynamic_sections): New function. Create the 7243 1.1 skrll .plt.thumb section. 7244 1.1 skrll (elf_backend_create_dynamic_sections): Call it. 7245 1.1 skrll 7246 1.1 skrll 2002-07-31 Nick Clifton <nickc (a] redhat.com> 7247 1.1 skrll 7248 1.1 skrll * bfd.c (bfd_alt_mach_code): Rename parameter 'index' to 7249 1.1 skrll 'alternative' in order to avoid shadowing global symbol of the 7250 1.1 skrll same name. 7251 1.1 skrll * bfd-in2.h: Regenerate. 7252 1.1 skrll * libbfd.h: Regenerate. 7253 1.1 skrll * libcoff.h: Regenerate. 7254 1.1 skrll 7255 1.1 skrll 2002-07-31 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 7256 1.1 skrll 7257 1.1 skrll * Makefile.am: Add n32 ABI support. 7258 1.1 skrll * Makefile.in: Regenerate. 7259 1.1 skrll * config.bfd: Add n32 vectors to mips64*-*-linux* targets. Treat 64 7260 1.1 skrll bit vectors for mips*-*-linux targets as optional. 7261 1.1 skrll * configure.in: Add n32 ABI vectors. 7262 1.1 skrll * configure: Regenerate. 7263 1.1 skrll * elf32-mips.c (mips_elf32_object_p): Reject n32 ABI files. 7264 1.1 skrll * elfn32-mips.c: New file, n32 ABI support. 7265 1.1 skrll * targets.c: Add n32 ABI vectors. 7266 1.1 skrll 7267 1.1 skrll 2002-07-30 Graeme Peterson <gp (a] qnx.com> 7268 1.1 skrll 7269 1.1 skrll * elfarmqnx-nabi.c: New file: Support for QNX. 7270 1.1 skrll * config.bfd: Add support for arm-*-nto target. 7271 1.1 skrll * configure.in: Add support for bfd_elf32_{big|little}armqnx_vec. 7272 1.1 skrll * configure: Regenerate. 7273 1.1 skrll * Makefile.am: Add entries for elfarmqnx-nabi.c. 7274 1.1 skrll * Makefile.in: Regenerate. 7275 1.1 skrll * elf32-arm.h (ELF_MAXPAGESIZE): Do not define if already defined. 7276 1.1 skrll Do not define global function if ELFARM_NABI_C_INCLUDED is defined. 7277 1.1 skrll * elfarm-nabi.c: Do not include elf32-arm.h if 7278 1.1 skrll ELFARM_NABI_C_INCLUDED is defined. 7279 1.1 skrll * targets.c: Add bfd_elf32_{big|little}armqnx_vec. 7280 1.1 skrll 7281 1.1 skrll 2002-07-30 Nick Clifton <nickc (a] redhat.com> 7282 1.1 skrll 7283 1.1 skrll * po/sv.po: Updated Swedish translation. 7284 1.1 skrll 7285 1.1 skrll 2002-07-30 Jakub Jelinek <jakub (a] redhat.com> 7286 1.1 skrll 7287 1.1 skrll * elf.c (elf_fake_sections): Fix up .tbss sh_size and sh_type. 7288 1.1 skrll 7289 1.1 skrll 2002-07-30 Alan Modra <amodra (a] bigpond.net.au> 7290 1.1 skrll 7291 1.1 skrll * aoutx.h (some_aout_object_p): Clean up tdata properly on error. 7292 1.1 skrll * archive.c (bfd_generic_archive_p): Likewise. 7293 1.1 skrll * coff-rs6000.c (_bfd_xcoff_archive_p): Likewise. 7294 1.1 skrll (_bfd_xcoff_archive_p): Use bfd_scan_vma in place of strtol. 7295 1.1 skrll * coff64-rs6000.c (xcoff64_slurp_armap): Likewise. 7296 1.1 skrll (xcoff64_archive_p): Likewise. 7297 1.1 skrll (xcoff64_openr_next_archived_file): Likewise. 7298 1.1 skrll (xcoff64_archive_p): Clean up tdata properly on error. 7299 1.1 skrll * coffgen.c (coff_real_object_p): Likewise. 7300 1.1 skrll (coff_object_p): Release filehdr and opthdr. 7301 1.1 skrll * ecoff.c (_bfd_ecoff_archive_p): Clean up tdata properly on error. 7302 1.1 skrll * ieee.c (ieee_archive_p): Likewise. 7303 1.1 skrll * ihex.c (ihex_object_p): Likewise. 7304 1.1 skrll (ihex_mkobject): Always allocate tdata. 7305 1.1 skrll * peicode.h (pe_ILF_object_p): Release bfd_alloc'd buffer on error. 7306 1.1 skrll * srec.c (srec_mkobject): Always allocate tdata. 7307 1.1 skrll (srec_object_p): Clean up tdata properly on error. 7308 1.1 skrll (symbolsrec_object_p): Likewise. 7309 1.1 skrll * versados.c (versados_object_p): Likewise. 7310 1.1 skrll * vms-misc.c (_bfd_vms_get_record): Use bfd_malloc instead of malloc, 7311 1.1 skrll and bfd_realloc instead of realloc. 7312 1.1 skrll (add_new_contents): Use bfd_alloc instead of bfd_malloc for sections. 7313 1.1 skrll * vms.c (vms_initialize): Always allocate tdata. Use bfd_alloc in 7314 1.1 skrll place of bfd_malloc, simplifying error freeing. Free hash table too. 7315 1.1 skrll (vms_object_p): Clean up tdata on error. 7316 1.1 skrll (vms_mkobject): Don't complain on stderr if vms_initialize fails. 7317 1.1 skrll (vms_close_and_cleanup): Adjust for bfd_alloc use. 7318 1.1 skrll 7319 1.1 skrll 2002-07-30 Alan Modra <amodra (a] bigpond.net.au> 7320 1.1 skrll 7321 1.1 skrll * elfxx-ia64.c (elfNN_ia64_final_write_processing): Set e_flags. 7322 1.1 skrll 7323 1.1 skrll 2002-07-26 Chris Demetriou <cgd (a] broadcom.com> 7324 1.1 skrll 7325 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Merge ASE 7326 1.1 skrll flags into resulting BFD. 7327 1.1 skrll 7328 1.1 skrll 2002-07-26 Alan Modra <amodra (a] bigpond.net.au> 7329 1.1 skrll 7330 1.1 skrll From John Reiser <jreiser (a] BitWagon.com> 7331 1.1 skrll * elf32-i386.c (elf_i386_link_hash_table_create): Clear 7332 1.1 skrll tls_ldm_got.refcount. 7333 1.1 skrll 7334 1.1 skrll 2002-07-25 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 7335 1.1 skrll 7336 1.1 skrll * elf64-mips.c: Update TODO comment. 7337 1.1 skrll (mips_elf64_higher_reloc,mips_elf64_highest_reloc, 7338 1.1 skrll mips_elf64_gprel16_reloca): Remove prototypes. 7339 1.1 skrll (mips16_jump_reloc,mips16_gprel_reloc): Add functions. 7340 1.1 skrll (UNUSED_RELOC): Replace by EMPTY_RELOC. 7341 1.1 skrll (mips_elf64_howto_table_rel): Use special R_MIPS_HI16 handling. Remove 7342 1.1 skrll wrong comments. Remove disfunctional support of R_MIPS_HIGHER and 7343 1.1 skrll R_MIPS_HIGHEST. 7344 1.1 skrll (mips_elf64_howto_table_rela): Fix handling of R_MIPS_GPREL16 and 7345 1.1 skrll R_MIPS_GOT16. Remove wrong comments. 7346 1.1 skrll (elf_mips16_jump_howto,elf_mips16_gprel_howto, 7347 1.1 skrll elf_mips_gnu_vtinherit_howto,elf_mips_gnu_vtentry_howto): New, code 7348 1.1 skrll from elf32-mips.c. 7349 1.1 skrll (mips_elf64_hi16_reloc): Fix formatting. 7350 1.1 skrll (mips_elf64_higher_reloc,mips_elf64_highest_reloc): Remove. 7351 1.1 skrll (mips_elf64_got16_reloc): Fix formatting. Remove superfluous code. 7352 1.1 skrll Better comment. Fall back to R_MIPS_GOT_DISP instead of abort(). 7353 1.1 skrll (mips_elf64_gprel16_reloc): Make static. Add check for 7354 1.1 skrll partial_inplace. 7355 1.1 skrll (mips_elf64_gprel16_reloca): Remove. 7356 1.1 skrll (mips_elf64_literal_reloc): New function. 7357 1.1 skrll (mips_elf64_gprel32_reloc): Fix formatting. 7358 1.1 skrll (mips_elf64_shift6_reloc): Fix comment. Make static. 7359 1.1 skrll (mips16_jump_reloc,mips16_gprel_reloc): New functions, code from 7360 1.1 skrll elf32-mips.c. 7361 1.1 skrll (elf_reloc_map,mips_reloc_map): New mapping table, similiar as in 7362 1.1 skrll elf32-mips.c 7363 1.1 skrll (bfd_elf64_bfd_reloc_type_lookup): Use the mapping table. Enable GNU 7364 1.1 skrll specific relocations. 7365 1.1 skrll (mips_elf64_rtype_to_howto): Enable GNU specific relocations. 7366 1.1 skrll (mips_elf64_object_p): Invert logic to check for SGI-ish ABI. 7367 1.1 skrll (ELF_MAXPAGESIZE): Add comment. 7368 1.1 skrll 7369 1.1 skrll 2002-07-25 Nick Clifton <nickc (a] redhat.com> 7370 1.1 skrll 7371 1.1 skrll * po/sv.po: Updated Swedish translation. 7372 1.1 skrll * po/es.po: Updated Spanish translation. 7373 1.1 skrll * po/fr.po: Updated French translation. 7374 1.1 skrll 7375 1.1 skrll 2002-07-25 Alan Modra <amodra (a] bigpond.net.au> 7376 1.1 skrll 7377 1.1 skrll * elf-bfd.h (_bfd_elf32_link_record_local_dynamic_symbol): Define 7378 1.1 skrll as elf_link_record_local_dynamic_symbol. 7379 1.1 skrll (_bfd_elf64_link_record_local_dynamic_symbol): Likewise. 7380 1.1 skrll (elf_link_record_local_dynamic_symbol): Declare. Now returns int. 7381 1.1 skrll * elflink.h (elf_link_record_local_dynamic_symbol): Move to.. 7382 1.1 skrll * elflink.c: .. here. Use bfd_elf_get_elf_syms. Check whether an 7383 1.1 skrll attempt is made to record a symbol in a discarded section, and 7384 1.1 skrll return `2' in that case. 7385 1.1 skrll 7386 1.1 skrll 2002-07-24 Nick Clifton <nickc (a] redhat.com> 7387 1.1 skrll 7388 1.1 skrll * po/sv.po: Updated Swedish translation. 7389 1.1 skrll * po/es.po: Updated Spanish translation. 7390 1.1 skrll 7391 1.1 skrll 2002-07-23 Alan Modra <amodra (a] bigpond.net.au> 7392 1.1 skrll 7393 1.1 skrll * po/SRC-POTFILES.in: Regenerate. 7394 1.1 skrll 7395 1.1 skrll * elf-hppa.h (elf_hppa_relocate_section): If relocatable, return 7396 1.1 skrll immediately. Remove code handling relocatable linking. 7397 1.1 skrll * elf32-avr.c (elf32_avr_relocate_section): Likewise. 7398 1.1 skrll * elf32-cris.c (cris_elf_relocate_section): Likewise. 7399 1.1 skrll * elf32-fr30.c (elf32_frv_relocate_section): Likewise. 7400 1.1 skrll * elf32-frv.c (elf32_frv_relocate_section): Likewise. 7401 1.1 skrll * elf32-h8300.c (elf32_h8_relocate_section): Likewise. 7402 1.1 skrll * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. 7403 1.1 skrll * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. 7404 1.1 skrll * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. 7405 1.1 skrll * elf32-v850.c (v850_elf_relocate_section): Likewise. 7406 1.1 skrll * elf32-vax.c (elf_vax_relocate_section): Likewise. 7407 1.1 skrll * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. 7408 1.1 skrll * elf32-avr.c (elf_backend_rela_normal): Define. 7409 1.1 skrll * elf32-cris.c: Likewise. 7410 1.1 skrll * elf32-fr30.c: Likewise. 7411 1.1 skrll * elf32-frv.c: Likewise. 7412 1.1 skrll * elf32-h8300.c: Likewise. 7413 1.1 skrll * elf32-hppa.c: Likewise. 7414 1.1 skrll * elf32-ip2k.c: Likewise. 7415 1.1 skrll * elf32-sparc.c: Likewise. 7416 1.1 skrll * elf32-v850.c: Likewise. 7417 1.1 skrll * elf32-vax.c: Likewise. 7418 1.1 skrll * elf64-hppa.c: Likewise. 7419 1.1 skrll * elf64-sparc.c: Likewise. 7420 1.1 skrll * elf32-fr30.c (elf32_frv_relocate_section): Edit comment. 7421 1.1 skrll * elf32-frv.c (elf32_frv_relocate_section): Likewise. 7422 1.1 skrll * elf32-i860.c (elf32_i860_relocate_section): Likewise. 7423 1.1 skrll * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. 7424 1.1 skrll * elf32-m32r.c (m32r_elf_relocate_section): Likewise. 7425 1.1 skrll * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. 7426 1.1 skrll * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. 7427 1.1 skrll * elf-m10200.c (USE_RELA): Don't define. 7428 1.1 skrll * elf-m10300.c: Likewise. 7429 1.1 skrll * elfarm-oabi.c: Likewise. 7430 1.1 skrll * elf32-i370.c: Likewise. 7431 1.1 skrll * elf32-ip2k.c: Likewise. 7432 1.1 skrll * elf32-m68k.c: Likewise. 7433 1.1 skrll * elf32-mcore.c: Likewise. 7434 1.1 skrll * elf32-ppc.c: Likewise. 7435 1.1 skrll * elf32-s390.c: Likewise. 7436 1.1 skrll * elf32-vax.c: Likewise. 7437 1.1 skrll * elf64-ppc.c: Likewise. 7438 1.1 skrll * elf64-s390.c: Likewise. 7439 1.1 skrll * elf64-x86-64.c: Likewise. 7440 1.1 skrll * elfxx-ia64.c: Likewise. 7441 1.1 skrll * elf32-avr.c (USE_REL): Don't undef. 7442 1.1 skrll * elf32-ip2k.c: Likewise. 7443 1.1 skrll 7444 1.1 skrll 2002-07-23 Nick Clifton <nickc (a] redhat.com> 7445 1.1 skrll 7446 1.1 skrll * elf-bfd.h (struct elf_backend_data): Add new bitfield 7447 1.1 skrll 'want_p_paddr_set_to_zero'. 7448 1.1 skrll * elfxx-target.h: Set default value for want_p_paddr_set_to_zero 7449 1.1 skrll to false; 7450 1.1 skrll * elfxx-ia64.c: Set want_p_paddr_set_zero for HPUX target. 7451 1.1 skrll * elf.c (copy_private_bfd_data): Test want_p_paddr_set_zero. 7452 1.1 skrll 7453 1.1 skrll 2002-07-23 Gabor Keresztfalvi <keresztg (a] mail.com> 7454 1.1 skrll 7455 1.1 skrll * nlmcode.h (nlm_swap_auxiliary_headers_out): Swapped the order of 7456 1.1 skrll the MeSsAgEs and CoPyRiGhT tags to make >=NW4.x NLM loaders to 7457 1.1 skrll show the Copyright string. 7458 1.1 skrll Minor formatting tidy ups. 7459 1.1 skrll 7460 1.1 skrll 2002-07-23 Nick Clifton <nickc (a] redhat.com> 7461 1.1 skrll 7462 1.1 skrll * po/fr.po: Updated French translation. 7463 1.1 skrll * po/sv.po: Updated Swedish translation. 7464 1.1 skrll 7465 1.1 skrll 2002-07-23 Alan Modra <amodra (a] bigpond.net.au> 7466 1.1 skrll 7467 1.1 skrll * elflink.h (elf_link_input_bfd): Don't change internal symbols 7468 1.1 skrll when outputting relocs. 7469 1.1 skrll 7470 1.1 skrll 2002-07-20 Jason Thorpe <thorpej (a] wasabisystems.com> 7471 1.1 skrll 7472 1.1 skrll * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Only insert 7473 1.1 skrll DT_PLTGOT into the dynamic section if there is a PLT. 7474 1.1 skrll 7475 1.1 skrll 2002-07-19 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 7476 1.1 skrll 7477 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_discard_info): New function, code from 7478 1.1 skrll elf32-mips.c. 7479 1.1 skrll (_bfd_mips_elf_write_section): Likewise. 7480 1.1 skrll * elfxx-mips.h (_bfd_mips_elf_discard_info): New prototype. 7481 1.1 skrll (_bfd_mips_elf_write_section): Likewise. 7482 1.1 skrll * elf32-mips.c (elf32_mips_discard_info): Move to elfxx-mips.c. 7483 1.1 skrll (elf32_mips_write_section): Likewise. 7484 1.1 skrll * elf64-mips.c (_bfd_mips_elf_ignore_discarded_relocs): Use it. 7485 1.1 skrll (_bfd_mips_elf_write_section): Likewise. 7486 1.1 skrll 7487 1.1 skrll 2002-07-19 Alan Modra <amodra (a] bigpond.net.au> 7488 1.1 skrll 7489 1.1 skrll * elfxx-ia64.c: (elfNN_ia64_modify_segment_map): Properly scan 7490 1.1 skrll PT_IA_64_UNWIND segments for a given section. 7491 1.1 skrll 7492 1.1 skrll 2002-07-17 H.J. Lu <hjl (a] gnu.org> 7493 1.1 skrll 7494 1.1 skrll * Makefile.am: Fix a typo. 7495 1.1 skrll * Makefile.in: Regenerate. 7496 1.1 skrll 7497 1.1 skrll 2002-07-15 Denis Chertykov <denisc (a] overta.ru> 7498 1.1 skrll Frank Ch. Eigler <fche (a] redhat.com> 7499 1.1 skrll Ben Elliston <bje (a] redhat.com> 7500 1.1 skrll Alan Lehotsky <alehotsky (a] cygnus.com> 7501 1.1 skrll John Healy <jhealy (a] redhat.com> 7502 1.1 skrll Graham Stott <grahams (a] redhat.com> 7503 1.1 skrll Jeff Johnston <jjohnstn (a] redhat.com> 7504 1.1 skrll 7505 1.1 skrll * Makefile.am: Add support for ip2k. 7506 1.1 skrll * Makefile.in: Regenerate. 7507 1.1 skrll * doc/Makefile.in: Regenerate. 7508 1.1 skrll * archures.c: Add support for ip2k. 7509 1.1 skrll * config.bfd: Add support for ip2k. 7510 1.1 skrll * configure.in: Add support for ip2k. 7511 1.1 skrll * configure: Regenerate. 7512 1.1 skrll * reloc.c: Add support for ip2k. 7513 1.1 skrll * targets.c: Add support for ip2k. 7514 1.1 skrll * bfd-in2.h: Regenerate. 7515 1.1 skrll * libbfd.h: Regenerate. 7516 1.1 skrll * cpu-ip2k.c: New file. 7517 1.1 skrll * elf32-ip2k.c: New file. 7518 1.1 skrll 7519 1.1 skrll 2002-07-17 Ian Rickards <irickard (a] arm.com> 7520 1.1 skrll 7521 1.1 skrll * dwarf2.c (concat_filename): If we can't establish the directory 7522 1.1 skrll just return the filename. 7523 1.1 skrll 7524 1.1 skrll 2002-07-16 Moritz Jodeit <moritz (a] jodeit.org> 7525 1.1 skrll 7526 1.1 skrll * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Correct order of memset args. 7527 1.1 skrll 7528 1.1 skrll 2002-07-16 Alan Modra <amodra (a] bigpond.net.au> 7529 1.1 skrll 7530 1.1 skrll * elflink.h: Formatting fixes, tidy prototypes. 7531 1.1 skrll (elf_link_assign_sym_version): Move common code out of loop. 7532 1.1 skrll 7533 1.1 skrll 2002-07-16 Alan Modra <amodra (a] bigpond.net.au> 7534 1.1 skrll 7535 1.1 skrll * elflink.h (elf_link_input_bfd): Don't call reloc_emitter when 7536 1.1 skrll reloc section size is zero. Correct reloc output location. 7537 1.1 skrll 7538 1.1 skrll 2002-07-16 John David Anglin <dave (a] hiauly1.hia.nrc.ca> 7539 1.1 skrll 7540 1.1 skrll * elf-hppa.h (elf_hppa_reloc_final_type): Use R_PARISC_PCREL16F as 7541 1.1 skrll the final type for the e_fsel selector when generating PA2.0W code. 7542 1.1 skrll (elf_hppa_relocate_insn): Provide support for PA2.0W 16-bit format 1 7543 1.1 skrll relocations. 7544 1.1 skrll 7545 1.1 skrll 2002-07-14 H.J. Lu <hjl (a] gnu.org> 7546 1.1 skrll 7547 1.1 skrll * elflink.h (elf_link_assign_sym_version): Hide the default 7548 1.1 skrll definition if there is a hidden versioned definition. 7549 1.1 skrll 7550 1.1 skrll 2002-07-12 Hans-Peter Nilsson <hp (a] axis.com> 7551 1.1 skrll 7552 1.1 skrll * elf32-cris.c (cris_elf_relocate_section): Drop nonsensical 7553 1.1 skrll dynamic reference test in assertion when initializing GOT with 7554 1.1 skrll static contents. Just assert that there are either no dynamic 7555 1.1 skrll sections, the symbol is defined in the regular objects or that the 7556 1.1 skrll symbol is undef weak. Tweak comment. 7557 1.1 skrll (elf_cris_finish_dynamic_symbol): Emit .got reloc for a program 7558 1.1 skrll only if the symbol isn't defined in the program and isn't undef 7559 1.1 skrll weak. 7560 1.1 skrll (elf_cris_adjust_dynamic_symbol): Simplify condition for getting 7561 1.1 skrll rid of PLT entry: only do it if the symbol isn't defined in a DSO. 7562 1.1 skrll When doing so, clear ELF_LINK_HASH_NEEDS_PLT. Tweak comments. 7563 1.1 skrll (elf_cris_discard_excess_program_dynamics): Don't consider 7564 1.1 skrll ELF_LINK_HASH_REF_DYNAMIC when omitting .got runtime relocs. 7565 1.1 skrll 7566 1.1 skrll 2002-07-11 Alan Modra <amodra (a] bigpond.net.au> 7567 1.1 skrll 7568 1.1 skrll * elf32-i386.c (elf_i386_relocate_section): Don't complain about 7569 1.1 skrll unresolved debugging relocs in dynamic applications. 7570 1.1 skrll * elf32-s390.c (elf_s390_relocate_section): Likewise. 7571 1.1 skrll * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. 7572 1.1 skrll * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. 7573 1.1 skrll * elf64-s390.c (elf_s390_relocate_section): Likewise. 7574 1.1 skrll * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. 7575 1.1 skrll * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. 7576 1.1 skrll 7577 1.1 skrll 2002-07-10 Alan Modra <amodra (a] bigpond.net.au> 7578 1.1 skrll 7579 1.1 skrll * elf64-ppc.c (ONES): Define. 7580 1.1 skrll (ppc64_elf_howto_table): Use ONES here to avoid warnings. Fill in 7581 1.1 skrll missing src_mask fields. Tweak R_PPC64_NONE, R_PPC64_COPY. Fill 7582 1.1 skrll in missing dst_mask fields on R_PPC64_PLT32, R_PPC64_PLTREL32. 7583 1.1 skrll 7584 1.1 skrll * elf64-ppc.c (ppc64_elf_get_symbol_info): Delete. 7585 1.1 skrll (ppc64_elf_set_private_flags): Delete. 7586 1.1 skrll (ppc64_elf_section_from_shdr): Delete. 7587 1.1 skrll (ppc64_elf_merge_private_bfd_data): Remove flag checking/merging code. 7588 1.1 skrll (ppc64_elf_fake_sections): Delete. 7589 1.1 skrll (bfd_elf64_bfd_set_private_flags): Don't define. 7590 1.1 skrll (bfd_elf64_get_symbol_info): Likewise. 7591 1.1 skrll (elf_backend_section_from_shdr): Likewise. 7592 1.1 skrll (elf_backend_fake_sections): Likewise. 7593 1.1 skrll 7594 1.1 skrll 2002-07-10 Marco Walther <Marco.Walther (a] sun.com> 7595 1.1 skrll 7596 1.1 skrll * elf.c: (assign_section_numbers) Set sh_entsize for .stab only 7597 1.1 skrll when not already set. 7598 1.1 skrll * elf64-sparc.c: (sparc64_elf_fake_sections): New function. 7599 1.1 skrll (elf_backend_fake_sections): Define. 7600 1.1 skrll 7601 1.1 skrll 2002-07-10 Alan Modra <amodra (a] bigpond.net.au> 7602 1.1 skrll 7603 1.1 skrll * merge.c (_bfd_merge_section): Remove redundant output_section check. 7604 1.1 skrll Formatting. 7605 1.1 skrll (_bfd_merge_sections): Don't set SEC_EXCLUDE on unused sections. 7606 1.1 skrll 7607 1.1 skrll 2002-07-09 Hans-Peter Nilsson <hp (a] axis.com> 7608 1.1 skrll 7609 1.1 skrll * elf32-cris.c (cris_elf_relocate_section): Move sanity-check for 7610 1.1 skrll NULL sym_hashes to just before use. 7611 1.1 skrll <case R_CRIS_32_GOTREL>: In test for local symbol, accept also 7612 1.1 skrll symbol with non-default visibility. 7613 1.1 skrll <case R_CRIS_32_GOTREL, case R_CRIS_32_PLT_GOTREL>: Ditto. 7614 1.1 skrll <case R_CRIS_8_PCREL, case R_CRIS_16_PCREL, case R_CRIS_32_PCREL>: 7615 1.1 skrll Ditto. 7616 1.1 skrll (cris_elf_gc_sweep_hook): Only decrease h->plt.refcount for 7617 1.1 skrll symbol with non-default visibility. 7618 1.1 skrll (cris_elf_check_relocs): At tests for local symbol before 7619 1.1 skrll increasing h->plt.refcount, also check for non-default 7620 1.1 skrll visibility. Ditto when checking for local symbol to eliminate 7621 1.1 skrll pc-relative runtime relocs. 7622 1.1 skrll 7623 1.1 skrll 2002-07-08 Alan Modra <amodra (a] bigpond.net.au> 7624 1.1 skrll 7625 1.1 skrll * elf.c: Formatting. 7626 1.1 skrll (IS_SOLARIS_PT_INTERP): Add p_paddr and p_memsz checks. 7627 1.1 skrll (INCLUDE_SECTION_IN_SEGMENT): Remove IS_SOLARIS_PT_INTERP. 7628 1.1 skrll (copy_private_bfd_data): Set p_vaddr on broken Solaris PT_INTERP 7629 1.1 skrll segments. 7630 1.1 skrll 7631 1.1 skrll 2002-07-07 Mark Mitchell <mark (a] codesourcery.com> 7632 1.1 skrll Alan Modra <amodra (a] bigpond.net.au> 7633 1.1 skrll 7634 1.1 skrll * cofflink.c (_bfd_coff_final_link): On PE COFF systems, take into 7635 1.1 skrll account the impact of relocation count overflow when computing 7636 1.1 skrll section offsets. 7637 1.1 skrll * coffcode.h (coff_write_relocs): Use obj_pe when deciding whether 7638 1.1 skrll or not to apply the PE COFF reloc overflow handling. Fix a 7639 1.1 skrll fencepost error in deciding whether or not to use that technique. 7640 1.1 skrll 7641 1.1 skrll 2002-07-07 Alan Modra <amodra (a] bigpond.net.au> 7642 1.1 skrll 7643 1.1 skrll * elf-bfd.h (struct elf_reloc_cookie): Remove locsym_shndx, 7644 1.1 skrll change type of locsyms. 7645 1.1 skrll (bfd_elf_get_elf_syms): Declare. 7646 1.1 skrll * elf.c (bfd_elf_get_elf_syms): New function. 7647 1.1 skrll (group_signature): Use bfd_elf_get_elf_syms. 7648 1.1 skrll (bfd_section_from_r_symndx): Likewise. 7649 1.1 skrll * elfcode.h (elf_slurp_symbol_table): Likewise. 7650 1.1 skrll * elflink.h (elf_link_is_defined_archive_symbol): Likewise. 7651 1.1 skrll (elf_link_add_object_symbols): Likewise. Reorganise to increase 7652 1.1 skrll locality of various data structures. Properly free internal relocs. 7653 1.1 skrll (elf_bfd_final_link): Properly free internal relocs. 7654 1.1 skrll (elf_link_check_versioned_symbol): Use bfd_elf_get_elf_syms. 7655 1.1 skrll (elf_link_input_bfd): Likewise. 7656 1.1 skrll (elf_gc_mark): Likewise. Properly free internal relocs. 7657 1.1 skrll (elf_gc_sweep): Properly free internal relocs. 7658 1.1 skrll (elf_reloc_symbol_deleted_p): No need to swap syms in. 7659 1.1 skrll (elf_bfd_discard_info): Use bfd_elf_get_elf_syms. Properly free 7660 1.1 skrll internal relocs. 7661 1.1 skrll * elf-m10200.c (mn10200_elf_relax_section): Use bfd_elf_get_elf_syms. 7662 1.1 skrll Properly free possibly cached info. 7663 1.1 skrll (mn10200_elf_relax_delete_bytes): Remove symbol swapping code. 7664 1.1 skrll (mn10200_elf_symbol_address_p): Pass in internal syms. Remove 7665 1.1 skrll symbol swapping code. 7666 1.1 skrll (mn10200_elf_get_relocated_section_contents): Use bfd_elf_get_elf_syms. 7667 1.1 skrll Properly free possibly cached info. 7668 1.1 skrll * elf-m10300.c (mn10300_elf_relax_section): As above for elf-m10200.c. 7669 1.1 skrll (mn10300_elf_relax_delete_bytes): Likewise. 7670 1.1 skrll (mn10300_elf_symbol_address_p): Likewise. 7671 1.1 skrll (mn10300_elf_get_relocated_section_contents): Likewise. 7672 1.1 skrll * elf32-h8300.c (elf32_h8_relax_section): As above for elf-m10200.c. 7673 1.1 skrll (elf32_h8_relax_delete_bytes): Likewise. 7674 1.1 skrll (elf32_h8_symbol_address_p): Likewise. 7675 1.1 skrll (elf32_h8_get_relocated_section_contents): Likewise. 7676 1.1 skrll * elf32-m32r.c (m32r_elf_relax_section): As above for elf-m10200.c. 7677 1.1 skrll (m32r_elf_relax_delete_bytes): Likewise. 7678 1.1 skrll (m32r_elf_get_relocated_section_contents): Likewise. 7679 1.1 skrll * elf32-sh.c (sh_elf_reloc_loop): Free section contents using 7680 1.1 skrll elf_section_data to determine whether cached. 7681 1.1 skrll (sh_elf_relax_section): As above for elf-m10200.c. 7682 1.1 skrll (sh_elf_relax_delete_bytes): Likewise. 7683 1.1 skrll (sh_elf_get_relocated_section_contents): Likewise. 7684 1.1 skrll * elf32-xstormy16.c (xstormy16_elf_relax_section): As above. 7685 1.1 skrll * elf64-alpha.c (elf64_alpha_relax_section): As above. Also delay 7686 1.1 skrll reading of local syms. 7687 1.1 skrll * elf64-mmix.c (mmix_elf_relax_section): Likewise. 7688 1.1 skrll * elf64-sh64.c (sh_elf64_get_relocated_section_contents): As above. 7689 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relax_section): As above. 7690 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_check_relocs): Properly free internal 7691 1.1 skrll relocs. 7692 1.1 skrll * elf32-arm.h (bfd_elf32_arm_process_before_allocation): Properly 7693 1.1 skrll free internal relocs and section contents. Don't read symbols. 7694 1.1 skrll * elf32-hppa.c (get_local_syms): Use bfd_elf_get_elf_syms. 7695 1.1 skrll (elf32_hppa_size_stubs): Don't free local syms. 7696 1.1 skrll * elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Delay 7697 1.1 skrll reading of local syms. Use bfd_elf_get_elf_syms. Properly free 7698 1.1 skrll possibly cached info. 7699 1.1 skrll * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Likewise. 7700 1.1 skrll * elf64-hppa.c (elf64_hppa_check_relocs): Use bfd_elf_get_elf_syms. 7701 1.1 skrll * elf64-ppc.c (struct ppc_link_hash_table): Delete bfd_count and 7702 1.1 skrll all_local_syms. 7703 1.1 skrll (get_local_syms): Delete function. 7704 1.1 skrll (edit_opd): Use bfd_elf_get_elf_syms. Free on error exit. Cache 7705 1.1 skrll on exit. 7706 1.1 skrll (ppc64_elf_size_stubs): Use bfd_elf_get_elf_syms. Free/cache on exit. 7707 1.1 skrll 7708 1.1 skrll 2002-07-05 Jim Wilson <wilson (a] redhat.com> 7709 1.1 skrll 7710 1.1 skrll * syms.c (decode_section_type): New. 7711 1.1 skrll (bfd_decode_symclass): Call decode_section_type. 7712 1.1 skrll 7713 1.1 skrll 2002-07-04 Jakub Jelinek <jakub (a] redhat.com> 7714 1.1 skrll 7715 1.1 skrll * merge.c (_bfd_merged_section_offset): Avoid accessing byte before 7716 1.1 skrll section content start. 7717 1.1 skrll Reported by Michael Schumacher <mike (a] hightec-rt.com>. 7718 1.1 skrll 7719 1.1 skrll 2002-07-04 Alan Modra <amodra (a] bigpond.net.au> 7720 1.1 skrll 7721 1.1 skrll * section.c (_bfd_strip_section_from_output): Remove unnecessary 7722 1.1 skrll link order code. Don't actually remove the output section here; 7723 1.1 skrll Just set a flag for the linker to do so. 7724 1.1 skrll * elflink.c (_bfd_elf_link_renumber_dynsyms): Test for removed 7725 1.1 skrll sections when setting up output section dynsyms. 7726 1.1 skrll 7727 1.1 skrll 2002-07-04 Alan Modra <amodra (a] bigpond.net.au> 7728 1.1 skrll 7729 1.1 skrll * elflink.h (elf_link_add_object_symbols): Revert 1999-09-02 hpux 7730 1.1 skrll fudge. 7731 1.1 skrll * elf.c (bfd_section_from_shdr): Work around broken hpux shared 7732 1.1 skrll libs here instead. 7733 1.1 skrll 7734 1.1 skrll 2002-07-02 Martin Schwidefsky <schwidefsky (a] de.ibm.com> 7735 1.1 skrll 7736 1.1 skrll * elf64-s390.c (create_got_section): Set .got section alignment to 7737 1.1 skrll 8 bytes. 7738 1.1 skrll (elf_s390_check_relocs): Set .rela.dyn section alignment to 8 bytes. 7739 1.1 skrll 7740 1.1 skrll 2002-07-02 Alan Modra <amodra (a] bigpond.net.au> 7741 1.1 skrll 7742 1.1 skrll * elf.c (_bfd_elf_reloc_type_class): Fix comment grammar. 7743 1.1 skrll 7744 1.1 skrll 2002-07-01 Matt Thomas <matt (a] 3am-software.com> 7745 1.1 skrll 7746 1.1 skrll * elf32-vax.c (elf32_vax_print_private_bfd_data): Change EF_* 7747 1.1 skrll to EF_VAX_*. 7748 1.1 skrll 7749 1.1 skrll 2002-07-01 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 7750 1.1 skrll 7751 1.1 skrll * elfxx-mips.c (ABI_64_P): Fix comment. 7752 1.1 skrll (MIPS_ELF_OPTIONS_SECTION_NAME,MIPS_ELF_STUB_SECTION_NAME): Use the 7753 1.1 skrll new section names for N64 ABI. 7754 1.1 skrll (mips_elf_output_extsym): No special _gp_disp handling for NewABI. 7755 1.1 skrll (mips_elf_calculate_relocation): Code formatting. 7756 1.1 skrll (mips_elf_create_dynamic_relocation): Likewise. 7757 1.1 skrll (_bfd_mips_elf_fake_sections): IRIX6 needs this hack, too. 7758 1.1 skrll (_bfd_mips_elf_size_dynamic_sections): Handle GOT_PAGE for any NewABI. 7759 1.1 skrll (_bfd_mips_elf_relocate_section): No special handling for R_MIPS_64 7760 1.1 skrll in any NewABI. 7761 1.1 skrll (_bfd_mips_elf_finish_dynamic_symbol): No special _gp_disp handling 7762 1.1 skrll for NewABI. 7763 1.1 skrll (_bfd_mips_elf_modify_segment_map): Handle any N64 ABI. 7764 1.1 skrll (_bfd_mips_elf_gc_sweep_hook): NewABI GOT relocs should be handled 7765 1.1 skrll here, too. 7766 1.1 skrll 7767 1.1 skrll 2002-07-01 Andreas Schwab <schwab (a] suse.de> 7768 1.1 skrll 7769 1.1 skrll * elf64-x86-64.c (elf64_x86_64_relocate_section): Only convert 7770 1.1 skrll R_X86_64_64 to R_X86_64_RELATIVE. 7771 1.1 skrll 7772 1.1 skrll 2002-07-01 John David Anglin <dave (a] hiauly1.hia.nrc.ca> 7773 1.1 skrll 7774 1.1 skrll * vaxbsd.c: New BFD backend for VAX BSD and Ultrix. 7775 1.1 skrll * Makefile.am (BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Add new backend. 7776 1.1 skrll Run "make dep-am". 7777 1.1 skrll * config.bfd (vax-*-bsd* | vax-*-ultrix*): Use vaxbsd_vec instead of 7778 1.1 skrll host_aout_vec. 7779 1.1 skrll * configure.in (vaxbsd_vec): Add. 7780 1.1 skrll * targets.c (vaxbsd_vec): Add. 7781 1.1 skrll * Makefile.in: Rebuild. 7782 1.1 skrll * configure: Rebuild. 7783 1.1 skrll * po/SRC-POTFILES.in: Rebuild. 7784 1.1 skrll 7785 1.1 skrll 2002-07-01 Alan Modra <amodra (a] bigpond.net.au> 7786 1.1 skrll 7787 1.1 skrll * elflink.h (elf_gc_mark): Pass in the section whose relocs we are 7788 1.1 skrll examining to gc_mark_hook, rather than the bfd. 7789 1.1 skrll (elf_gc_sections): Adjust. 7790 1.1 skrll * elf-bfd.h (struct elf_backend_data <gc_mark_hook>): Likewise. 7791 1.1 skrll * elf-m10300.c (mn10300_elf_gc_mark_hook): Likewise. 7792 1.1 skrll * elf32-arm.h (elf32_arm_gc_mark_hook): Likewise. 7793 1.1 skrll * elf32-avr.c (elf32_avr_gc_mark_hook): Likewise. 7794 1.1 skrll * elf32-cris.c (cris_elf_gc_mark_hook): Likewise. 7795 1.1 skrll * elf32-d10v.c (elf32_d10v_gc_mark_hook): Likewise. 7796 1.1 skrll * elf32-fr30.c (fr30_elf_gc_mark_hook): Likewise. 7797 1.1 skrll * elf32-hppa.c (elf32_hppa_gc_mark_hook): Likewise. 7798 1.1 skrll * elf32-i386.c (elf_i386_gc_mark_hook): Likewise. 7799 1.1 skrll * elf32-m32r.c (m32r_elf_gc_mark_hook): Likewise. 7800 1.1 skrll * elf32-m68k.c (elf_m68k_gc_mark_hook): Likewise. 7801 1.1 skrll * elf32-mcore.c (mcore_elf_gc_mark_hook): Likewise. 7802 1.1 skrll * elf32-openrisc.c (openrisc_elf_gc_mark_hook): Likewise. 7803 1.1 skrll * elf32-ppc.c (ppc_elf_gc_mark_hook): Likewise. 7804 1.1 skrll * elf32-s390.c (elf_s390_gc_mark_hook): Likewise. 7805 1.1 skrll * elf32-sh.c (sh_elf_gc_mark_hook): Likewise. 7806 1.1 skrll * elf32-sparc.c (elf32_sparc_gc_mark_hook): Likewise. 7807 1.1 skrll * elf32-v850.c (v850_elf_gc_mark_hook): Likewise. 7808 1.1 skrll * elf32-vax.c (elf_vax_gc_mark_hook): Likewise. 7809 1.1 skrll * elf32-xstormy16.c (xstormy16_elf_gc_mark_hook): Likewise. 7810 1.1 skrll * elf64-mmix.c (mmix_elf_gc_mark_hook): Likewise. 7811 1.1 skrll * elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise. 7812 1.1 skrll * elf64-s390.c (elf_s390_gc_mark_hook): Likewise. 7813 1.1 skrll * elf64-sh64.c (sh_elf64_gc_mark_hook): Likewise. 7814 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_gc_mark_hook): Likewise. 7815 1.1 skrll * elfxx-mips.h (_bfd_mips_elf_gc_mark_hook): Likewise. 7816 1.1 skrll * elf64-x86-64.c (elf64_x86_64_gc_mark_hook): Likewise. 7817 1.1 skrll * elf32-frv.c (elf32_frv_gc_mark_hook): Likewise. Also remove 7818 1.1 skrll redundant local sym tests. 7819 1.1 skrll * elf64-ppc.c (struct ppc_link_hash_entry): Add is_entry. 7820 1.1 skrll (link_hash_newfunc): Init is_entry. 7821 1.1 skrll (ppc64_elf_copy_indirect_symbol): Copy is_entry. 7822 1.1 skrll (ppc64_elf_link_hash_table_create): Init all_local_syms. 7823 1.1 skrll (create_linkage_sections): Use bfd_make_section_anyway rather than 7824 1.1 skrll bfd_make_section. 7825 1.1 skrll (ppc64_elf_mark_entry_syms): New function. 7826 1.1 skrll (ppc64_elf_check_relocs): Don't bother testing elf_bad_symtab. Set 7827 1.1 skrll up opd entry to function section map. 7828 1.1 skrll (ppc64_elf_gc_mark_hook): Special case opd section relocs, and 7829 1.1 skrll relocs that reference the opd section. 7830 1.1 skrll (edit_opd): New function. 7831 1.1 skrll (ppc64_elf_size_dynamic_sections): Call get_local_syms and edit_opd. 7832 1.1 skrll (ppc64_elf_setup_section_lists): Don't calculate htab->bfd_count here. 7833 1.1 skrll (get_local_syms): Do so here. Exit if we already have local syms. 7834 1.1 skrll Remove bogus comment imported from elf32-hppa.c. Don't attempt to 7835 1.1 skrll read local syms on non-ELF input. 7836 1.1 skrll (ppc64_elf_size_stubs): Call _bfd_elf64_link_read_relocs rather 7837 1.1 skrll than duplicating it's function here. Adjust free of internal 7838 1.1 skrll relocs to suit. 7839 1.1 skrll (ppc64_elf_relocate_section): Adjust local syms in opd section. 7840 1.1 skrll * elf64-ppc.h (ppc64_elf_mark_entry_syms): Declare. 7841 1.1 skrll * elf32-hppa.c (elf32_hppa_size_stubs): Call 7842 1.1 skrll _bfd_elf32_link_read_relocs rather than duplicating it's function 7843 1.1 skrll here. Adjust free of internal relocs to suit. 7844 1.1 skrll 7845 1.1 skrll 2002-07-01 Andreas Jaeger <aj (a] suse.de> 7846 1.1 skrll 7847 1.1 skrll * elf64-x86-64.c (elf64_x86_64_check_relocs): Certain relocations 7848 1.1 skrll are not allowed in shared libs code, enforce -fPIC. 7849 1.1 skrll 7850 1.1 skrll 2002-06-29 Hans-Peter Nilsson <hp (a] bitrange.com> 7851 1.1 skrll 7852 1.1 skrll * mmo.c (mmo_write_loc_chunk): Don't eliminate leading and 7853 1.1 skrll trailing zero-sequences when there's previous left-over data. 7854 1.1 skrll 7855 1.1 skrll 2002-06-27 John David Anglin <dave (a] hiauly1.hia.nrc.ca> 7856 1.1 skrll 7857 1.1 skrll * elf64-hppa.c (elf64_hppa_reloc_type_class): New function. 7858 1.1 skrll (elf64_hppa_finish_dynamic_sections): Check other_rel_sec, dlt_rel_sec 7859 1.1 skrll and opd_rel_sec in order for starting rela section. Check _raw_size. 7860 1.1 skrll (elf_backend_reloc_type_class): Define. 7861 1.1 skrll 7862 1.1 skrll 2002-06-27 Kevin Buettner <kevinb (a] redhat.com> 7863 1.1 skrll 7864 1.1 skrll * dwarf2.c (decode_line_info): Handle older, non-standard, 64-bit 7865 1.1 skrll DWARF2 formats. 7866 1.1 skrll 7867 1.1 skrll 2002-06-27 Alan Modra <amodra (a] bigpond.net.au> 7868 1.1 skrll 7869 1.1 skrll * cpu-powerpc.c: Comment on ordering of arch_info. 7870 1.1 skrll * elf32-ppc.c (ppc_elf_object_p): New function. 7871 1.1 skrll (elf_backend_object_p): Define. 7872 1.1 skrll * elf64-ppc.c (ppc64_elf_object_p): New function. 7873 1.1 skrll (elf_backend_object_p): Define. 7874 1.1 skrll 7875 1.1 skrll 2002-06-26 Jason Thorpe <thorpej (a] wasabisystems.com> 7876 1.1 skrll 7877 1.1 skrll * configure.in (vax-*-netbsd*): Set COREFILE to netbsd-core.lo. 7878 1.1 skrll * configure: Regenerate. 7879 1.1 skrll 7880 1.1 skrll 2002-06-25 Jason Eckhardt <jle (a] rice.edu> 7881 1.1 skrll 7882 1.1 skrll * dwarf2.c (decode_line_info): Check unit->addr_size 7883 1.1 skrll to read in the proper number of prologue bytes. 7884 1.1 skrll 7885 1.1 skrll 2002-06-25 Nick Clifton <nickc (a] cambridge.redhat.com> 7886 1.1 skrll 7887 1.1 skrll * config.bfd (powerpc-*-aix5*): Only create a selvecs for 7888 1.1 skrll aix5coff64_vec if 64-bit bfd support has been enabled. 7889 1.1 skrll (powerpc64-*-aix5*): Only define if 64-bit bfd support has 7890 1.1 skrll been enabled. 7891 1.1 skrll 7892 1.1 skrll * targets.c (_bfd_target_vector[]): Only include 7893 1.1 skrll aix5coff64_vec if 64-bit bfd support has been enabled. 7894 1.1 skrll 7895 1.1 skrll 2002-06-25 Alan Modra <amodra (a] bigpond.net.au> 7896 1.1 skrll 7897 1.1 skrll * elf64-ppc.c (ppc_add_stub): Replace strcpy/strncpy with memcpy. 7898 1.1 skrll * elf32-hppa.c (hppa_add_stub): Likewise. 7899 1.1 skrll * elflink.c (_bfd_elf_link_record_dynamic_symbol): Likewise. 7900 1.1 skrll * elflink.h (elf_add_default_symbol): Fix comment typo. 7901 1.1 skrll (elf_add_default_symbol): Replace strcpy and strncpy with memcpy. 7902 1.1 skrll (elf_link_add_object_symbols): Likewise. 7903 1.1 skrll (elf_link_assign_sym_version): Likewise. 7904 1.1 skrll * hash.c (bfd_hash_lookup): Likewise. 7905 1.1 skrll * linker.c (_bfd_generic_link_add_one_symbol): Likewise. 7906 1.1 skrll * section.c (bfd_get_unique_section_name): Likewise. 7907 1.1 skrll * syms.c (_bfd_stab_section_find_nearest_line): Likewise. 7908 1.1 skrll * elf.c (_bfd_elf_make_section_from_phdr): Likewise. 7909 1.1 skrll (assign_section_numbers): Likewise. 7910 1.1 skrll (_bfd_elfcore_make_pseudosection): Likewise. 7911 1.1 skrll (elfcore_grok_lwpstatus): Likewise. 7912 1.1 skrll (elfcore_grok_win32pstatus): Likewise. 7913 1.1 skrll (elfcore_write_note): Constify input params. Use PTR instead of 7914 1.1 skrll void *. Include terminating NUL in namesz. Correct padding. 7915 1.1 skrll Support NULL "name" param. Use memcpy instead of strcpy. 7916 1.1 skrll (elfcore_write_prpsinfo): Constify input params. 7917 1.1 skrll (elfcore_write_prstatus): Likewise. Use PTR instead of void *. 7918 1.1 skrll (elfcore_write_lwpstatus): Likewise. 7919 1.1 skrll (elfcore_write_pstatus): Likewise. 7920 1.1 skrll (elfcore_write_prfpreg): Likewise. 7921 1.1 skrll (elfcore_write_prxfpreg): Likewise. 7922 1.1 skrll * elf-bfd.h (elfcore_write_note): Update declaration. 7923 1.1 skrll (elfcore_write_prpsinfo): Likewise. 7924 1.1 skrll (elfcore_write_prstatus): Likewise. 7925 1.1 skrll (elfcore_write_pstatus): Likewise. 7926 1.1 skrll (elfcore_write_prfpreg): Likewise. 7927 1.1 skrll (elfcore_write_prxfpreg): Likewise. 7928 1.1 skrll (elfcore_write_lwpstatus): Likewise. 7929 1.1 skrll 7930 1.1 skrll 2002-06-25 Jason Eckhardt <jle (a] rice.edu> 7931 1.1 skrll 7932 1.1 skrll * ecoff.c (ecoff_set_symbol_info): Set BSF_FUNCTION for 7933 1.1 skrll symbols of type stProc and stStaticProc. 7934 1.1 skrll 7935 1.1 skrll 2002-06-25 Nick Clifton <nickc (a] redhat.com> 7936 1.1 skrll 7937 1.1 skrll * ecoff.c: VArious formatting fixes. 7938 1.1 skrll 7939 1.1 skrll 2002-06-25 Alan Modra <amodra (a] bigpond.net.au> 7940 1.1 skrll 7941 1.1 skrll * coff-rs6000.c (xcoff_generate_rtinit): Fix typo. 7942 1.1 skrll 7943 1.1 skrll 2002-06-25 Alan Modra <amodra (a] bigpond.net.au> 7944 1.1 skrll 7945 1.1 skrll * aout-adobe.c: Don't compare against "true" or "false. 7946 1.1 skrll * aout-target.h: Likewise. 7947 1.1 skrll * aoutx.h: Likewise. 7948 1.1 skrll * archive.c: Likewise. 7949 1.1 skrll * bout.c: Likewise. 7950 1.1 skrll * cache.c: Likewise. 7951 1.1 skrll * coff-a29k.c: Likewise. 7952 1.1 skrll * coff-alpha.c: Likewise. 7953 1.1 skrll * coff-i386.c: Likewise. 7954 1.1 skrll * coff-mips.c: Likewise. 7955 1.1 skrll * coff-or32.c: Likewise. 7956 1.1 skrll * coff64-rs6000.c: Likewise. 7957 1.1 skrll * coffcode.h: Likewise. 7958 1.1 skrll * coffgen.c: Likewise. 7959 1.1 skrll * cpu-ns32k.c: Likewise. 7960 1.1 skrll * ecoff.c: Likewise. 7961 1.1 skrll * ecofflink.c: Likewise. 7962 1.1 skrll * elf.c: Likewise. 7963 1.1 skrll * elf32-arm.h: Likewise. 7964 1.1 skrll * elf32-cris.c: Likewise. 7965 1.1 skrll * elf32-d30v.c: Likewise. 7966 1.1 skrll * elf32-i386.c: Likewise. 7967 1.1 skrll * elf32-mcore.c: Likewise. 7968 1.1 skrll * elf32-ppc.c: Likewise. 7969 1.1 skrll * elf32-sh.c: Likewise. 7970 1.1 skrll * elf32-sh64.c: Likewise. 7971 1.1 skrll * elf32-v850.c: Likewise. 7972 1.1 skrll * elf64-alpha.c: Likewise. 7973 1.1 skrll * elf64-sh64.c: Likewise. 7974 1.1 skrll * elfcode.h: Likewise. 7975 1.1 skrll * elfcore.h: Likewise. 7976 1.1 skrll * elflink.h: Likewise. 7977 1.1 skrll * elfxx-mips.c: Likewise. 7978 1.1 skrll * i386os9k.c: Likewise. 7979 1.1 skrll * ieee.c: Likewise. 7980 1.1 skrll * libbfd.c: Likewise. 7981 1.1 skrll * linker.c: Likewise. 7982 1.1 skrll * mmo.c: Likewise. 7983 1.1 skrll * nlm32-alpha.c: Likewise. 7984 1.1 skrll * nlm32-i386.c: Likewise. 7985 1.1 skrll * nlm32-ppc.c: Likewise. 7986 1.1 skrll * nlm32-sparc.c: Likewise. 7987 1.1 skrll * nlmcode.h: Likewise. 7988 1.1 skrll * oasys.c: Likewise. 7989 1.1 skrll * pdp11.c: Likewise. 7990 1.1 skrll * peicode.h: Likewise. 7991 1.1 skrll * reloc.c: Likewise. 7992 1.1 skrll * som.c: Likewise. 7993 1.1 skrll * srec.c: Likewise. 7994 1.1 skrll * tekhex.c: Likewise. 7995 1.1 skrll * vms.c: Likewise. 7996 1.1 skrll * xcofflink.c: Likewise. 7997 1.1 skrll * elf64-sparc.c: Edit comment to not use "== false". 7998 1.1 skrll 7999 1.1 skrll * aoutf1.h: Don't use "? true : false". 8000 1.1 skrll * ecoff.c: Likewise. 8001 1.1 skrll * format.c: Likewise. 8002 1.1 skrll * ieee.c: Likewise. 8003 1.1 skrll * linker.c: Likewise. 8004 1.1 skrll * mmo.c: Likewise. 8005 1.1 skrll * oasys.c: Likewise. 8006 1.1 skrll 8007 1.1 skrll 2002-06-23 H.J. Lu <hjl (a] gnu.org> 8008 1.1 skrll 8009 1.1 skrll * elflink.h (elf_link_add_archive_symbols): For the default 8010 1.1 skrll version, check references with only one `@' first. 8011 1.1 skrll 8012 1.1 skrll 2002-06-23 John David Anglin <dave (a] hiauly1.hia.nrc.ca> 8013 1.1 skrll 8014 1.1 skrll * elf64-hppa.c (elf64_hppa_mark_milli_and_exported_functions): New 8015 1.1 skrll function. 8016 1.1 skrll (allocate_global_data_dlt): Don't add millicode symbols to dynamic 8017 1.1 skrll symbol table. 8018 1.1 skrll (allocate_global_data_opd, allocate_dynrel_entries): Likewise. 8019 1.1 skrll (elf64_hppa_size_dynamic_sections): Revise to use 8020 1.1 skrll elf64_hppa_mark_milli_and_exported_functions. 8021 1.1 skrll (elf64_hppa_finish_dynamic_symbol): Remove code to keep millicode 8022 1.1 skrll symbols out of dynamic symbol table. 8023 1.1 skrll 8024 1.1 skrll 2002-06-23 Alan Modra <amodra (a] bigpond.net.au> 8025 1.1 skrll 8026 1.1 skrll * Makefile.in: Regenerate. 8027 1.1 skrll * libbfd.h: Regenerate. 8028 1.1 skrll * bfd-in2.h: Regenerate. 8029 1.1 skrll * configure: Regenerate. 8030 1.1 skrll * po/SRC-POTFILES.in: Regenerate. 8031 1.1 skrll 8032 1.1 skrll * elflink.h: Comment typo fixes. 8033 1.1 skrll 8034 1.1 skrll 2002-06-23 H.J. Lu <hjl (a] gnu.org> 8035 1.1 skrll 8036 1.1 skrll * elf-bfd.h (elf_link_loaded_list): New structure. 8037 1.1 skrll (elf_link_hash_table): Add "loaded". 8038 1.1 skrll * elf.c (_bfd_elf_link_hash_table_init): Initialize "loaded". 8039 1.1 skrll * elflink.h (elf_link_check_versioned_symbol): New function. 8040 1.1 skrll (elf_link_output_extsym): Call elf_link_check_versioned_symbol. 8041 1.1 skrll 8042 1.1 skrll 2002-06-19 Nick Clifton <nickc (a] cambridge.redhat.com> 8043 1.1 skrll 8044 1.1 skrll * elflink.h (size_dynamic_sections): If the target does not 8045 1.1 skrll support an ELF style hash table, return true, indicating that 8046 1.1 skrll nothing needed to be done, rather than false, indicating that the 8047 1.1 skrll section's size could not be computed. 8048 1.1 skrll 8049 1.1 skrll 2002-06-18 Dave Brolley <brolley (a] redhat.com> 8050 1.1 skrll 8051 1.1 skrll From Catherine Moore, Michael Meissner, Dave Brolley: 8052 1.1 skrll * po/SRC-POTFILES.in: Add cpu-frv.c and elf32-frv.c 8053 1.1 skrll * targets.c: Support bfd_elf32_frv_vec. 8054 1.1 skrll * reloc.c: Add FRV relocs. 8055 1.1 skrll * configure.in: Add support for bfd-elf32-frv-vec. 8056 1.1 skrll * config.bfd (targ_cpu): Add support for frv-*-elf. 8057 1.1 skrll * archures.c: Add frv arch and machines. 8058 1.1 skrll * Makefile.am (ALL_MACHINES): Add cpu-frv.lo. 8059 1.1 skrll (ALL_MACHINES_CFILES): Add cpu-frv.c. 8060 1.1 skrll (BFD32_BACKENDS): Add elf32-frv.lo. 8061 1.1 skrll (BFD32_BACKENDS_CFILES): Add elf32-frv.c 8062 1.1 skrll (cpu-frv.lo): New target. 8063 1.1 skrll (elf32-frv.lo): New target. 8064 1.1 skrll * cpu-frv.c: New file. 8065 1.1 skrll * elf32-frv.c: New file. 8066 1.1 skrll 8067 1.1 skrll 2002-06-18 Jakub Jelinek <jakub (a] redhat.com> 8068 1.1 skrll 8069 1.1 skrll * elfcode.h (elf_object_p): Sanity check eh_shoff == 0 implies 8070 1.1 skrll e_shnum == 0. 8071 1.1 skrll Only read the first section header if e_shoff is non-zero. 8072 1.1 skrll Don't consider e_shstrndx if there are no sections. 8073 1.1 skrll 8074 1.1 skrll 2002-06-17 Tom Rix <trix (a] redhat.com> 8075 1.1 skrll 8076 1.1 skrll * elf32-d10v.c (elf_d10v_howto_table): Change R_D10V_10_PCREL_R, 8077 1.1 skrll R_D10V_10_PCREL_L and R_D10V_18_PCREL to use 8078 1.1 skrll complain_overflow_bitfield. 8079 1.1 skrll 8080 1.1 skrll 2002-06-17 Alan Modra <amodra (a] bigpond.net.au> 8081 1.1 skrll 8082 1.1 skrll * opncls.c (bfd_openr): Remove redundant bfd_set_error. 8083 1.1 skrll (bfd_fdopenr): Likewise. 8084 1.1 skrll (bfd_openstreamr): Likewise. 8085 1.1 skrll (bfd_openw): Likewise. 8086 1.1 skrll 8087 1.1 skrll * targets.c: Sort target vecs. 8088 1.1 skrll (_bfd_target_vector): Add aix5coff64_vec, bfd_elf32_sh64_vec, 8089 1.1 skrll bfd_elf32_sh64l_vec, bfd_elf32_sh64lnbsd_vec, 8090 1.1 skrll bfd_elf32_sh64nbsd_vec, bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec, 8091 1.1 skrll bfd_elf64_sh64lnbsd_vec, bfd_elf64_sh64nbsd_vec. 8092 1.1 skrll * configure.in: Sort target vecs. Add m88kmach3_vec. 8093 1.1 skrll * configure: Regenerate. 8094 1.1 skrll 8095 1.1 skrll 2002-06-16 Hans-Peter Nilsson <hp (a] bitrange.com> 8096 1.1 skrll 8097 1.1 skrll * elf64-mmix.c (bpo_reloc_request_sort_fn): Use member 8098 1.1 skrll bpo_reloc_no to break sort order ties, not address of items. 8099 1.1 skrll 8100 1.1 skrll 2002-06-16 John David Anglin <dave (a] hiauly1.hia.nrc.ca> 8101 1.1 skrll 8102 1.1 skrll * elf-hppa.h (elf_hppa_final_link): Fix formatting in comment. 8103 1.1 skrll Skip excluded sections in determing __gp value. 8104 1.1 skrll (elf_hppa_final_link_relocate): Use the symbol's address in 8105 1.1 skrll R_PARISC_FPTR64 relocations that don't need an opd entry. 8106 1.1 skrll * elf64-hppa.c (allocate_dynrel_entries): Simplify code. 8107 1.1 skrll (elf64_hppa_finalize_dynreloc): Likewise. 8108 1.1 skrll (elf64_hppa_size_dynamic_sections): Move comments and fix typo. 8109 1.1 skrll (elf64_hppa_finish_dynamic_symbol): Break up assert. 8110 1.1 skrll 8111 1.1 skrll 2002-06-14 Sergey Grigoriev <serge (a] leopold.Physik.Uni-Augsburg.DE> 8112 1.1 skrll 8113 1.1 skrll * pei-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Enable 16 byte 8114 1.1 skrll alignment for .bss, .data and .text sections so that sse and sse2 8115 1.1 skrll code will work. 8116 1.1 skrll * pe-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise. 8117 1.1 skrll 8118 1.1 skrll 2002-06013 J"orn Rennecke <joern.rennecke (a] superh.com> 8119 1.1 skrll 8120 1.1 skrll config.bfd: Add support for sh[1234]l*-*-elf* | sh3el*-*-elf*, 8121 1.1 skrll sh[1234]*-elf*. 8122 1.1 skrll 8123 1.1 skrll 2002-06-12 John David Anglin <dave (a] hiauly1.hia.nrc.ca> 8124 1.1 skrll 8125 1.1 skrll * elflink.h (elf_bfd_final_link): Improve error handling for missing 8126 1.1 skrll dynamic sections. 8127 1.1 skrll 8128 1.1 skrll * elf64-hppa.c (allocate_global_data_opd): We don't need an opd entry 8129 1.1 skrll for a symbol that has no output section. 8130 1.1 skrll (allocate_dynrel_entries): Correct comment. 8131 1.1 skrll (elf64_hppa_finalize_dynreloc): Likewise. Don't create an opd entry 8132 1.1 skrll unless we want one. 8133 1.1 skrll (elf64_hppa_finalize_opd): Prevent segfault if dyn_h is NULL. 8134 1.1 skrll (elf64_hppa_finalize_dlt): Likewise. Prevent segfault for symbols 8135 1.1 skrll with no section. Remove unnecessary parentheses. 8136 1.1 skrll 8137 1.1 skrll 2002-06-11 Tom Rix <trix (a] redhat.com> 8138 1.1 skrll 8139 1.1 skrll * coffcode.h (coff_compute_section_file_positions): Add data 8140 1.1 skrll section to AIX loader alignment check. 8141 1.1 skrll 8142 1.1 skrll * coff-rs6000.c (_bfd_xcoff_mkobject): Set default text section 8143 1.1 skrll alignment to 4 bytes. 8144 1.1 skrll (_bfd_xcoff_copy_private_bfd_data): Use text and data alignment 8145 1.1 skrll power accessor macro. 8146 1.1 skrll (do_shared_object_padding): Remove invalid assertion. 8147 1.1 skrll 8148 1.1 skrll 2002-06-10 Richard Sandiford <rsandifo (a] redhat.com> 8149 1.1 skrll 8150 1.1 skrll * section.c (_bfd_strip_section_from_output): Set SEC_EXCLUDE 8151 1.1 skrll for removed output sections. 8152 1.1 skrll 8153 1.1 skrll 2002-06-10 Geoffrey Keating <geoffk (a] redhat.com> 8154 1.1 skrll 8155 1.1 skrll * merge.c (merge_strings): Use htab_create_alloc with calloc, not 8156 1.1 skrll htab_alloc. 8157 1.1 skrll * elf-strtab.c (_bfd_elf_strtab_finalize): Likewise. 8158 1.1 skrll 8159 1.1 skrll 2002-06-08 H.J. Lu <hjl (a] gnu.org> 8160 1.1 skrll 8161 1.1 skrll * elf.c (copy_private_bfd_data): Don't cast to bfd_size_type to 8162 1.1 skrll work around a long long bug in gcc 2.96 on mips. 8163 1.1 skrll 8164 1.1 skrll 2002-06-08 Jason Thorpe <thorpej (a] wasabisystems.com> 8165 1.1 skrll 8166 1.1 skrll * Makefile.am (BFD32_BACKENDS): Add vax1knetbsd.lo. 8167 1.1 skrll (BFD32_BACKENDS_CFILES): Add vax1knetbsd.c. 8168 1.1 skrll Regenerate dependency lists. 8169 1.1 skrll * Makefile.in: Regenerate. 8170 1.1 skrll * config.bfd (vax-*-netbsdelf*, vax-*-netbsdaout*): Add 8171 1.1 skrll vax1knetbsd_vec to targ_selvecs. 8172 1.1 skrll * configure.in: Add vax1knetbsd_vec. 8173 1.1 skrll * configure: Regenerate. 8174 1.1 skrll * targets.c (_bfd_target_vector): Add vax1knetbsd_vec. 8175 1.1 skrll * vax1knetbsd.c: New file. 8176 1.1 skrll * vaxnetbsd.c: Update copyright years. 8177 1.1 skrll (TARGET_PAGE_SIZE): Set to 0x1000. 8178 1.1 skrll (DEFAULT_MID): Set to M_VAX4K_NETBSD. 8179 1.1 skrll 8180 1.1 skrll 2002-06-08 Matt Thomas <matt (a] 3am-software.com> 8181 1.1 skrll 8182 1.1 skrll * libaout.h (enum machine_type): Add M_VAX4K_NETBSD. 8183 1.1 skrll 8184 1.1 skrll 2002-06-08 Alan Modra <amodra (a] bigpond.net.au> 8185 1.1 skrll 8186 1.1 skrll * elf64-sh64.c (sh64_elf64_link_output_symbol_hook): Make static. 8187 1.1 skrll 8188 1.1 skrll 2002-06-08 Alan Modra <amodra (a] bigpond.net.au> 8189 1.1 skrll 8190 1.1 skrll * Makefile.am: Run "make dep-am". 8191 1.1 skrll * Makefile.in: Regenerate. 8192 1.1 skrll 8193 1.1 skrll * armnetbsd.c: Replace CONST with const. 8194 1.1 skrll * corefile.c: Likewise. 8195 1.1 skrll * elf32-dlx.c: Likewise. 8196 1.1 skrll * elf64-mips.c: Likewise. 8197 1.1 skrll * mmo.c: Likewise. 8198 1.1 skrll * ns32knetbsd.c: Likewise. 8199 1.1 skrll 8200 1.1 skrll * elf64-sparc.c (sparc64_elf_add_symbol_hook): Check the hash 8201 1.1 skrll table is elf64-sparc. 8202 1.1 skrll 8203 1.1 skrll 2002-06-08 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 8204 1.1 skrll 8205 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_relocate_section): Simplify code. 8206 1.1 skrll Fix RELA addends to get not shifted in the result. Don't do special 8207 1.1 skrll handling of R_MIPS_64 for NewABI. 8208 1.1 skrll 8209 1.1 skrll 2002-06-07 Alan Modra <amodra (a] bigpond.net.au> 8210 1.1 skrll 8211 1.1 skrll * aoutx.h (NAME(aout,slurp_symbol_table)): Use bfd_zmalloc. 8212 1.1 skrll (NAME(aout,slurp_reloc_table)): Likewise. 8213 1.1 skrll * coff-mips.c (mips_relax_section): Use bfd_zalloc. 8214 1.1 skrll * coff-rs6000.c (xcoff_write_armap_big): Use bfd_zmalloc. 8215 1.1 skrll (xcoff_write_archive_contents_big): Likewise. 8216 1.1 skrll (xcoff_generate_rtinit): Likewise. 8217 1.1 skrll (xcoff_generate_rtinit): Likewise, and check error return. 8218 1.1 skrll * coff64-rs6000.c (xcoff64_generate_rtinit): Likewise. 8219 1.1 skrll * coffgen.c (coff_section_symbol): Use bfd_zalloc. 8220 1.1 skrll (coff_get_normalized_symtab): Likewise. 8221 1.1 skrll (coff_make_empty_symbol): Likewise. 8222 1.1 skrll (bfd_coff_set_symbol_class): Likewise. 8223 1.1 skrll * cofflink.c (coff_link_add_symbols): Likewise. 8224 1.1 skrll * ecoff.c (_bfd_ecoff_make_empty_symbol): Likewise. 8225 1.1 skrll * ecofflink.c (ecoff_write_shuffle): Use bfd_zmalloc. 8226 1.1 skrll (bfd_ecoff_write_accumulated_debug): Likewise. 8227 1.1 skrll * elf64-alpha.c (get_got_entry): Use bfd_zalloc. 8228 1.1 skrll * i386linux.c (bfd_i386linux_size_dynamic_sections): Likewise. 8229 1.1 skrll * i386lynx.c (NAME(lynx,slurp_reloc_table)): Use bfd_zmalloc. 8230 1.1 skrll * ieee.c (do_with_relocs): Use bfd_zalloc. 8231 1.1 skrll * m68klinux.c (bfd_m68klinux_size_dynamic_sections): Likewise. 8232 1.1 skrll * pdp11.c (NAME(aout,slurp_symbol_table)): Use bfd_zmalloc. 8233 1.1 skrll (NAME(aout,slurp_reloc_table)): Likewise. 8234 1.1 skrll (NAME(aout,squirt_out_relocs)): Don't memset when zalloc'd. 8235 1.1 skrll * reloc16.c (bfd_coff_reloc16_relax_section): Use bfd_zmalloc. 8236 1.1 skrll * som.c (som_build_and_write_symbol_table): Likewise. 8237 1.1 skrll (som_slurp_string_table): Likewise. 8238 1.1 skrll (som_slurp_symbol_table): Likewise. 8239 1.1 skrll (som_bfd_ar_write_symbol_stuff): Likewise. 8240 1.1 skrll * sparclinux.c (bfd_sparclinux_size_dynamic_sections): Use bfd_zalloc. 8241 1.1 skrll * sunos.c (bfd_sunos_size_dynamic_sections): Likewise. 8242 1.1 skrll * tekhex.c (find_chunk): Likewise. Get rid of unused "sname". 8243 1.1 skrll * vms-gsd.c (_bfd_vms_slurp_gsd): Use bfd_zmalloc. 8244 1.1 skrll * xcofflink.c (xcoff_link_add_symbols): Use bfd_zalloc/bfd_zmalloc. 8245 1.1 skrll 8246 1.1 skrll 2002-06-07 Alan Modra <amodra (a] bigpond.net.au> 8247 1.1 skrll 8248 1.1 skrll * elf-bfd.h (struct bfd_elf_section_data <group_name>): Replace with 8249 1.1 skrll "group" union. 8250 1.1 skrll (elf_group_name): Update. 8251 1.1 skrll (elf_group_id): Define. 8252 1.1 skrll (bfd_elf_set_group_contents): Declare. 8253 1.1 skrll * elf.c (elf_fake_sections): Qualify use of elf_group_name. 8254 1.1 skrll (set_group_contents): Rename to bfd_elf_set_group_contents. Remove 8255 1.1 skrll ATTRIBUTE_UNUSED from failedptrarg. If elf_group_id is set, use 8256 1.1 skrll that sym for the signature. 8257 1.1 skrll (_bfd_elf_compute_section_file_positions): Don't call 8258 1.1 skrll set_group_contents for "ld -r" case. 8259 1.1 skrll (swap_out_syms): Use bfd_zalloc. 8260 1.1 skrll * elflink.h (elf_link_add_archive_symbols): Likewise. 8261 1.1 skrll (NAME(bfd_elf,size_dynamic_sections)): Likewise. 8262 1.1 skrll (elf_bfd_final_link): Call bfd_elf_set_group_contents. 8263 1.1 skrll 8264 1.1 skrll 2002-06-07 Alan Modra <amodra (a] bigpond.net.au> 8265 1.1 skrll 8266 1.1 skrll * elf64-ppc.c (ppc64_elf_relocate_section): Allow unresolved 8267 1.1 skrll relocs in opd for non-shared too. 8268 1.1 skrll 8269 1.1 skrll 2002-06-06 Jeffrey Law <law (a] redhat.com> 8270 1.1 skrll 8271 1.1 skrll * elf32-h8300.c (elf32_h8_relax_section): Ignore uninteresting 8272 1.1 skrll relocations. 8273 1.1 skrll 8274 1.1 skrll 2002-06-06 Nick Clifton <nickc (a] cambridge.redhat.com> 8275 1.1 skrll 8276 1.1 skrll * merge.c: Include libiberty.h. 8277 1.1 skrll * elf-strtab.c: Include libiberty.h. 8278 1.1 skrll 8279 1.1 skrll 2002-06-06 Elias Athanasopoulos <eathan (a] otenet.gr> 8280 1.1 skrll 8281 1.1 skrll * peXXigen.c (pe_print_idata): Remove unused variable. 8282 1.1 skrll 8283 1.1 skrll 2002-06-06 David Heine <dlheine (a] tensilica.com> 8284 1.1 skrll 8285 1.1 skrll * elf.c (assign_file_positions_for_segments): Remove unallocated 8286 1.1 skrll sections from the section to segment mapping for PT_LOAD segments. 8287 1.1 skrll Update comment about empty loadable segments. 8288 1.1 skrll 8289 1.1 skrll 2002-06-06 Richard Sandiford <rsandifo (a] redhat.com> 8290 1.1 skrll 8291 1.1 skrll * stabs.c (_bfd_link_section_stabs): Check that the symbol offset 8292 1.1 skrll is within the .stabstr section. 8293 1.1 skrll 8294 1.1 skrll 2002-06-06 Alan Modra <amodra (a] bigpond.net.au> 8295 1.1 skrll 8296 1.1 skrll * elf-bfd.h (struct elf_size_info <swap_symbol_in>): Function args 8297 1.1 skrll are "const PTR", not "const PTR *". 8298 1.1 skrll (bfd_elf32_swap_symbol_in): Likewise. 8299 1.1 skrll (bfd_elf64_swap_symbol_in): Likewise. 8300 1.1 skrll * elfcode.h (elf_swap_symbol_in): Change input args to const PTR. 8301 1.1 skrll (elf_slurp_symbol_table): Adjust call to elf_swap_symbol_in. 8302 1.1 skrll * elflink.h (elf_link_is_defined_archive_symbol): Likewise. 8303 1.1 skrll (elf_link_add_object_symbols): Likewise. 8304 1.1 skrll (elf_link_record_local_dynamic_symbol): Likewise. 8305 1.1 skrll (elf_link_input_bfd): Likewise. 8306 1.1 skrll (elf_gc_mark): Likewise. 8307 1.1 skrll (elf_reloc_symbol_deleted_p): Likewise. 8308 1.1 skrll * elf-m10200.c (mn10200_elf_relax_section): Likewise. 8309 1.1 skrll (mn10200_elf_relax_delete_bytes): Likewise. 8310 1.1 skrll (mn10200_elf_symbol_address_p): Likewise. 8311 1.1 skrll (mn10200_elf_get_relocated_section_contents): Likewise. 8312 1.1 skrll * elf-m10300.c (mn10300_elf_relax_section): Likewise. 8313 1.1 skrll (mn10300_elf_relax_section): Likewise. 8314 1.1 skrll (mn10300_elf_relax_delete_bytes): Likewise. 8315 1.1 skrll (mn10300_elf_symbol_address_p): Likewise. 8316 1.1 skrll (mn10300_elf_get_relocated_section_contents): Likewise. 8317 1.1 skrll * elf32-h8300.c (elf32_h8_relax_section): Likewise. 8318 1.1 skrll (elf32_h8_relax_delete_bytes): Likewise. 8319 1.1 skrll (elf32_h8_symbol_address_p): Likewise. 8320 1.1 skrll (elf32_h8_get_relocated_section_contents): Likewise. 8321 1.1 skrll * elf32-hppa.c (get_local_syms): Likewise. 8322 1.1 skrll * elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Likewise. 8323 1.1 skrll * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Likewise. 8324 1.1 skrll * elf32-sh.c (sh_elf_relax_section): Likewise. 8325 1.1 skrll (sh_elf_relax_delete_bytes): Likewise. 8326 1.1 skrll (sh_elf_get_relocated_section_contents): Likewise. 8327 1.1 skrll * elf32-xstormy16.c (xstormy16_elf_relax_section): Likewise. 8328 1.1 skrll * elf64-alpha.c (elf64_alpha_relax_section): Likewise. 8329 1.1 skrll * elf64-hppa.c (elf64_hppa_check_relocs): Likewise. 8330 1.1 skrll * elf64-mmix.c (mmix_elf_relax_section): Likewise. 8331 1.1 skrll * elf64-ppc.c (get_local_syms): Likewise. 8332 1.1 skrll * elf64-sh64.c (sh_elf64_get_relocated_section_contents): Likewise. 8333 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relax_section): Likewise. 8334 1.1 skrll 8335 1.1 skrll 2002-06-05 J"orn Rennecke <joern.rennecke (a] superh.com> 8336 1.1 skrll 8337 1.1 skrll * config.bfd (sh64l*-*-elf*, shl*-*-elf*): New configurations. 8338 1.1 skrll 8339 1.1 skrll 2002-06-05 Alan Modra <amodra (a] bigpond.net.au> 8340 1.1 skrll 8341 1.1 skrll * elf.c (group_signature): Swap in the whole symbol, and handle 8342 1.1 skrll extracting section symbol names. 8343 1.1 skrll (setup_group): Add comment. 8344 1.1 skrll (set_group_contents): When called from objcopy or ld, arrange for 8345 1.1 skrll section contents to be written. Write group member output section 8346 1.1 skrll indices to allow objcopy to reorganize sections. 8347 1.1 skrll (_bfd_elf_copy_private_section_data): Copy group info. 8348 1.1 skrll 8349 1.1 skrll * elf-bfd.h (struct elf_size_info): Add swap_symbol_in field. 8350 1.1 skrll (bfd_elf32_swap_symbol_in): Update prototype. 8351 1.1 skrll (bfd_elf64_swap_symbol_in): Likewise. 8352 1.1 skrll * elfcode.h (elf_swap_symbol_in): Change input args to const PTR *. 8353 1.1 skrll (elf_slurp_symbol_table): Adjust call to elf_swap_symbol_in. 8354 1.1 skrll * elflink.h (elf_link_is_defined_archive_symbol): Likewise. 8355 1.1 skrll (elf_link_add_object_symbols): Likewise. 8356 1.1 skrll (elf_link_record_local_dynamic_symbol): Likewise. 8357 1.1 skrll (elf_link_input_bfd): Likewise. 8358 1.1 skrll (elf_gc_mark): Likewise. 8359 1.1 skrll (elf_reloc_symbol_deleted_p): Likewise. 8360 1.1 skrll * elf-m10200.c (mn10200_elf_relax_section): Likewise. 8361 1.1 skrll (mn10200_elf_relax_delete_bytes): Likewise. 8362 1.1 skrll (mn10200_elf_symbol_address_p): Likewise. 8363 1.1 skrll (mn10200_elf_get_relocated_section_contents): Likewise. 8364 1.1 skrll * elf-m10300.c (mn10300_elf_relax_section): Likewise. 8365 1.1 skrll (mn10300_elf_relax_section): Likewise. 8366 1.1 skrll (mn10300_elf_relax_delete_bytes): Likewise. 8367 1.1 skrll (mn10300_elf_symbol_address_p): Likewise. 8368 1.1 skrll (mn10300_elf_get_relocated_section_contents): Likewise. 8369 1.1 skrll * elf32-h8300.c (elf32_h8_relax_section): Likewise. 8370 1.1 skrll (elf32_h8_relax_delete_bytes): Likewise. 8371 1.1 skrll (elf32_h8_symbol_address_p): Likewise. 8372 1.1 skrll (elf32_h8_get_relocated_section_contents): Likewise. 8373 1.1 skrll * elf32-hppa.c (get_local_syms): Likewise. 8374 1.1 skrll * elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Likewise. 8375 1.1 skrll * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Likewise. 8376 1.1 skrll * elf32-sh.c (sh_elf_relax_section): Likewise. 8377 1.1 skrll (sh_elf_relax_delete_bytes): Likewise. 8378 1.1 skrll (sh_elf_get_relocated_section_contents): Likewise. 8379 1.1 skrll * elf32-xstormy16.c (xstormy16_elf_relax_section): Likewise. 8380 1.1 skrll * elf64-alpha.c (elf64_alpha_relax_section): Likewise. 8381 1.1 skrll * elf64-hppa.c (elf64_hppa_check_relocs): Likewise. 8382 1.1 skrll * elf64-mmix.c (mmix_elf_relax_section): Likewise. 8383 1.1 skrll * elf64-ppc.c (get_local_syms): Likewise. 8384 1.1 skrll * elf64-sh64.c (sh_elf64_get_relocated_section_contents): Likewise. 8385 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relax_section): Likewise. 8386 1.1 skrll * elfcode.h (NAME(_bfd_elf,size_info)): Update initialiser. 8387 1.1 skrll * elf64-alpha.c (alpha_elf_size_info): Likewise. 8388 1.1 skrll * elf64-hppa.c (hppa64_elf_size_info): Likewise. 8389 1.1 skrll * elf64-mips.c (mips_elf64_size_info): Likewise. 8390 1.1 skrll * elf64-s390.c (s390_elf64_size_info): Likewise. 8391 1.1 skrll * elf64-sparc.c (sparc64_elf_size_info): Likewise. 8392 1.1 skrll 8393 1.1 skrll 2002-06-05 Maciej W. Rozycki <macro (a] ds2.pg.gda.pl> 8394 1.1 skrll 8395 1.1 skrll * elf32-mips.c (elf32_mips_ignore_discarded_relocs): Move to... 8396 1.1 skrll elfxx-mips.c (_bfd_mips_elf_ignore_discarded_relocs): ... here. 8397 1.1 skrll elf64-mips.c (elf_backend_ignore_discarded_relocs): Use 8398 1.1 skrll _bfd_mips_elf_ignore_discarded_relocs. 8399 1.1 skrll elfxx-mips.h (_bfd_mips_elf_ignore_discarded_relocs): Declare. 8400 1.1 skrll 8401 1.1 skrll 2002-06-05 H.J. Lu <hjl (a] gnu.org> 8402 1.1 skrll 8403 1.1 skrll * elfxx-mips.c (mips_elf_calculate_relocation): Call 8404 1.1 skrll _bfd_elf_rel_local_sym for STT_SECTION relocations against 8405 1.1 skrll the SEC_MERGE section. 8406 1.1 skrll 8407 1.1 skrll 2002-06-05 Alan Modra <amodra (a] bigpond.net.au> 8408 1.1 skrll 8409 1.1 skrll * coff-alpha.c: Update copyright date. 8410 1.1 skrll * coff-mips.c: Likewise. 8411 1.1 skrll * xcoff-target.h: Likewise. 8412 1.1 skrll 8413 1.1 skrll * bfd-in.h: Remove "taken from the source" comment. 8414 1.1 skrll * libbfd-in.h: Likewise. 8415 1.1 skrll * libcoff-in.h: Likewise. 8416 1.1 skrll * bfd-in2.h: Regenerate. 8417 1.1 skrll * libbfd.h: Regenerate. 8418 1.1 skrll * libcoff.h: Regenerate. 8419 1.1 skrll 8420 1.1 skrll * elf.c (bfd_elf_discard_group): Return true. 8421 1.1 skrll * elf-bfd.h (bfd_elf_discard_group): Declare. 8422 1.1 skrll * bfd-in.h (bfd_elf_discard_group): Don't declare here. 8423 1.1 skrll * section.c (bfd_discard_group): Rename to bfd_generic_discard_group. 8424 1.1 skrll * bfd.c (bfd_discard_group): Define. 8425 1.1 skrll * targets.c (struct bfd_target): Add _bfd_discard_group. 8426 1.1 skrll (BFD_JUMP_TABLE_LINK): Here too. 8427 1.1 skrll * libbfd-in.h (_bfd_nolink_bfd_discard_group): Define. 8428 1.1 skrll * aout-adobe.c (aout_32_bfd_discard_group): Define. 8429 1.1 skrll * aout-target.h (MY_bfd_discard_group): Define. 8430 1.1 skrll * aout-tic30.c (MY_bfd_discard_group): Define. 8431 1.1 skrll * binary.c (binary_bfd_discard_group): Define. 8432 1.1 skrll * bout.c (b_out_bfd_discard_group): Define. 8433 1.1 skrll * coff-alpha.c (_bfd_ecoff_bfd_discard_group): Define. 8434 1.1 skrll * coffcode.h (coff_bfd_discard_group): Define. 8435 1.1 skrll * coff-mips.c (_bfd_ecoff_bfd_discard_group): Define. 8436 1.1 skrll * elfxx-target.h (bfd_elfNN_bfd_discard_group): Define. 8437 1.1 skrll * i386msdos.c (msdos_bfd_discard_group): Define. 8438 1.1 skrll * i386os9k.c (os9k_bfd_discard_group): Define. 8439 1.1 skrll * ieee.c (ieee_bfd_discard_group): Define. 8440 1.1 skrll * ihex.c (ihex_bfd_discard_group): Define. 8441 1.1 skrll * mmo.c (mmo_bfd_discard_group): Define. 8442 1.1 skrll * nlm-target.h (nlm_bfd_discard_group): Define. 8443 1.1 skrll * oasys.c (oasys_bfd_discard_group): Define. 8444 1.1 skrll * ppcboot.c (ppcboot_bfd_discard_group): Define. 8445 1.1 skrll * som.c (som_bfd_discard_group): Define. 8446 1.1 skrll * srec.c (srec_bfd_discard_group): Define. 8447 1.1 skrll * tekhex.c (tekhex_bfd_discard_group): Define. 8448 1.1 skrll * versados.c (versados_bfd_discard_group): Define. 8449 1.1 skrll * vms.c (vms_bfd_discard_group): Define. 8450 1.1 skrll * xcoff-target.h (_bfd_xcoff_bfd_discard_group): Define. 8451 1.1 skrll * coff64-rs6000.c (rs6000coff64_vec): Update initialiser. 8452 1.1 skrll (aix5coff64_vec): Likewise. 8453 1.1 skrll * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Likewise. 8454 1.1 skrll 8455 1.1 skrll 2002-06-04 Jason Thorpe <thorpej (a] wasabisystems.com> 8456 1.1 skrll 8457 1.1 skrll * Makefile.am (BFD32_BACKENDS): Add elf32-sh64-com.lo. 8458 1.1 skrll (BFD32_BACKENDS_CFILES): Add elf32-sh64-com.c. 8459 1.1 skrll (elf32-sh64-com.lo): New dependency list. 8460 1.1 skrll * Makefile.in: Regenerate. 8461 1.1 skrll * configure.in (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec) 8462 1.1 skrll (bfd_elf32_sh64nbsd_vec, bfd_elf32_sh64lnbsd_vec): Add 8463 1.1 skrll elf32-sh64-com.lo. 8464 1.1 skrll * configure: Regenerate. 8465 1.1 skrll * elf32-sh64.c (sh64_address_in_cranges) 8466 1.1 skrll (sh64_get_contents_type, sh64_address_is_shmedia): Move to... 8467 1.1 skrll (crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb): 8468 1.1 skrll (crange_bsearch_cmpl): Prepend _bfd_sh64_ to name and move to... 8469 1.1 skrll * elf32-sh64-com.c: ...here. New file. 8470 1.1 skrll 8471 1.1 skrll 2002-06-04 Alan Modra <amodra (a] bigpond.net.au> 8472 1.1 skrll 8473 1.1 skrll * elf32-openrisc.c (openrisc_elf_gc_mark_hook): Remove 8474 1.1 skrll ATTRIBUTE_UNUSED on used params. 8475 1.1 skrll * elf32-vax.c (elf_vax_gc_mark_hook): Remove unnecessary checks 8476 1.1 skrll before calling bfd_section_from_elf_index on local syms. 8477 1.1 skrll * elf64-sh64.c (sh_elf64_gc_mark_hook): Likewise. 8478 1.1 skrll 8479 1.1 skrll 2002-06-04 Jason Thorpe <thorpej (a] wasabisystems.com> 8480 1.1 skrll 8481 1.1 skrll * Makefile.am (BFD32_BACKENDS): Add elf32-sh64-nbsd.lo. 8482 1.1 skrll (BFD32_BACKENDS_CFILES): Add elf32-sh64-nbsd.c. 8483 1.1 skrll (BFD64_BACKENDS): Add elf64-sh64-nbsd.lo. 8484 1.1 skrll (BFD64_BACKENDS_CFILES): Add elf64-sh64-nbsd.c. 8485 1.1 skrll (elf32-sh64-nbsd.lo, elf64-sh64-nbsd.lo): New rules. 8486 1.1 skrll * Makefile.in: Regenerate. 8487 1.1 skrll * config.bfd (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*) 8488 1.1 skrll (sh64-*-netbsd*): New targets. 8489 1.1 skrll * configure.in: Add bfd_elf32_sh64nbsd_vec, bfd_elf32_sh64lnbsd_vec, 8490 1.1 skrll bfd_elf64_sh64nbsd_vec, and bfd_elf64_sh64lnbsd_vec. 8491 1.1 skrll * configure: Regenerate. 8492 1.1 skrll * elf32-sh64-nbsd.c: New file. 8493 1.1 skrll * elf64-sh64-nbsd.c: New file. 8494 1.1 skrll * targets.c: Add extern decls for bfd_elf32_sh64nbsd_vec, 8495 1.1 skrll bfd_elf32_sh64lnbsd_vec, bfd_elf64_sh64nbsd_vec, and 8496 1.1 skrll bfd_elf64_sh64lnbsd_vec. 8497 1.1 skrll 8498 1.1 skrll 2002-06-04 Alan Modra <amodra (a] bigpond.net.au> 8499 1.1 skrll 8500 1.1 skrll * elf.c (setup_group): Set SEC_LINK_ONCE on GRP_COMDAT groups. 8501 1.1 skrll (bfd_section_from_shdr): Likewise. Set section name of group 8502 1.1 skrll sections from signature. 8503 1.1 skrll (group_signature): Split out from setup_group. Ensure symbol table 8504 1.1 skrll is available. 8505 1.1 skrll (bfd_elf_discard_group): New function. 8506 1.1 skrll (_bfd_elf_make_section_from_shdr): Don't set SEC_LINK_ONCE on 8507 1.1 skrll .gnu.linkonce* sections if they are members of a group. 8508 1.1 skrll (set_group_contents): Set GRP_COMDAT flag. 8509 1.1 skrll * section.c (bfd_discard_group): New function. 8510 1.1 skrll * bfd-in.h (bfd_elf_discard_group): Declare. 8511 1.1 skrll * bfd-in2.h: Regenerate. 8512 1.1 skrll * elf-bfd.h (struct bfd_elf_section_data): Add linkonce_p field. 8513 1.1 skrll (elf_linkonce_p): Define. 8514 1.1 skrll 8515 1.1 skrll 2002-06-04 Alan Modra <amodra (a] bigpond.net.au> 8516 1.1 skrll 8517 1.1 skrll * elf.c (bfd_section_from_shdr): Make "name" const. 8518 1.1 skrll * elf-bfd.h (elf_backend_section_from_shdr): Likewise. 8519 1.1 skrll * elf32-i370.c (i370_elf_section_from_shdr): Likewise. 8520 1.1 skrll * elf32-ppc.c (ppc_elf_section_from_shdr): Likewise. 8521 1.1 skrll * elf32-sh64.c (sh64_backend_section_from_shdr): Likewise. 8522 1.1 skrll * elf32-v850.c (v850_elf_section_from_shdr): Likewise. 8523 1.1 skrll * elf64-alpha.c (elf64_alpha_section_from_shdr): Likewise. 8524 1.1 skrll * elf64-hppa.c (elf64_hppa_section_from_shdr): Likewise. 8525 1.1 skrll * elf64-ppc.c (ppc64_elf_section_from_shdr): Likewise. 8526 1.1 skrll * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Likewise. 8527 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_section_from_shdr): Likewise. 8528 1.1 skrll * elfxx-mips.h (_bfd_mips_elf_section_from_shdr): Likewise. 8529 1.1 skrll 8530 1.1 skrll 2002-06-03 Maciej W. Rozycki <macro (a] ds2.pg.gda.pl> 8531 1.1 skrll 8532 1.1 skrll * elfxx-mips.c (ABI_64_P): Use backend's data to determine the 8533 1.1 skrll ABI. 8534 1.1 skrll 8535 1.1 skrll 2002-06-02 Kazu Hirata <kazu (a] cs.umass.edu> 8536 1.1 skrll 8537 1.1 skrll * elf32-arc.c: Fix formatting. 8538 1.1 skrll * elf32-arm.h: Likewise. 8539 1.1 skrll * elf32-cris.c: Likewise. 8540 1.1 skrll * elf32-dlx.c: Likewise. 8541 1.1 skrll * elf32-hppa.c: Likewise. 8542 1.1 skrll * elf32-i386.c: Likewise. 8543 1.1 skrll * elf32-i386qnx.c: Likewise. 8544 1.1 skrll * elf32-or32.c: Likewise. 8545 1.1 skrll * elf32-s390.c: Likewise. 8546 1.1 skrll * elf32-sh64.c: Likewise. 8547 1.1 skrll * elf32-vax.c: Likewise. 8548 1.1 skrll * elf32-xstormy16.c: Likewise. 8549 1.1 skrll * elf64-alpha.c: Likewise. 8550 1.1 skrll * elf64-mmix.c: Likewise. 8551 1.1 skrll * elf64-ppc.c: Likewise. 8552 1.1 skrll * elf64-s390.c: Likewise. 8553 1.1 skrll * elf64-sh64.c: Likewise. 8554 1.1 skrll * elf64-x86-64.c: Likewise. 8555 1.1 skrll 8556 1.1 skrll 2002-06-02 Richard Henderson <rth (a] redhat.com> 8557 1.1 skrll 8558 1.1 skrll * elf64-alpha.c (elf64_alpha_relocate_section): Don't dereference 8559 1.1 skrll null when there are no got entries for a symbol. 8560 1.1 skrll (elf64_alpha_relax_find_tls_segment): Rearrange to avoid 8561 1.1 skrll uninitialized variable warning. 8562 1.1 skrll 8563 1.1 skrll 2002-06-01 Richard Henderson <rth (a] redhat.com> 8564 1.1 skrll 8565 1.1 skrll * elf64-alpha.c (elf64_alpha_relax_with_lituse): Don't test for 8566 1.1 skrll undefined symbols here. 8567 1.1 skrll (elf64_alpha_relax_section): Do it here. Also test for not 8568 1.1 skrll defined in the current module. 8569 1.1 skrll (elf64_alpha_relocate_section_r): Split out of ... 8570 1.1 skrll (elf64_alpha_relocate_section): ... here. Don't dereference 8571 1.1 skrll NULL when looking up local got entries. 8572 1.1 skrll 8573 1.1 skrll 2002-06-01 Richard Henderson <rth (a] redhat.com> 8574 1.1 skrll 8575 1.1 skrll * elf64-alpha.c (elf64_alpha_relax_with_lituse): Reject undefined 8576 1.1 skrll symbols from JSR relaxation. 8577 1.1 skrll (elf64_alpha_size_plt_section_1): New. 8578 1.1 skrll (elf64_alpha_calc_dynrel_sizes): Split out .rela.got bits ... 8579 1.1 skrll (elf64_alpha_size_rela_got_1): ... here. 8580 1.1 skrll (elf64_alpha_size_dynamic_sections): Split out .rela.got bits ... 8581 1.1 skrll (elf64_alpha_size_rela_got_section): ... here. 8582 1.1 skrll (elf64_alpha_size_plt_section): New. 8583 1.1 skrll (elf64_alpha_relax_section): Call them. 8584 1.1 skrll (elf64_alpha_size_got_sections): Remove output_bfd arg. 8585 1.1 skrll (elf64_alpha_finish_dynamic_symbol): Check gotent use_count. 8586 1.1 skrll 8587 1.1 skrll 2002-06-01 Richard Henderson <rth (a] redhat.com> 8588 1.1 skrll 8589 1.1 skrll * elf64-alpha.c (alpha_get_dtprel_base, alpha_get_tprel_base): New. 8590 1.1 skrll (elf64_alpha_relocate_section): Use them. Reject LE TLS relocs 8591 1.1 skrll in shared libraries. Fix DTPRELHI and TPRELHI value. 8592 1.1 skrll (INSN_ADDQ, INSN_RDUNIQ): New. 8593 1.1 skrll (struct alpha_relax_info): Add symtab_hdr, tls_segment, first_gotent. 8594 1.1 skrll (elf64_alpha_relax_with_lituse): Return boolean. Remove irelend 8595 1.1 skrll argument. Reject dynamic symbols. Use LITUSE symbolic constants. 8596 1.1 skrll (elf64_alpha_relax_got_load): Rename from relax_without_lituse. 8597 1.1 skrll Handle GOTDTPREL and GOTTPREL relocations. 8598 1.1 skrll (elf64_alpha_relax_gprelhilo): New. 8599 1.1 skrll (elf64_alpha_relax_tls_get_addr): New. 8600 1.1 skrll (elf64_alpha_relax_find_tls_segment): New. 8601 1.1 skrll (elf64_alpha_relax_section): Handle TLS relocations. 8602 1.1 skrll (ALPHA_ELF_LINK_HASH_TLS_IE): New. 8603 1.1 skrll (elf64_alpha_check_relocs): Set it. 8604 1.1 skrll 8605 1.1 skrll 2002-06-01 Richard Henderson <rth (a] redhat.com> 8606 1.1 skrll 8607 1.1 skrll * elf64-alpha.c (elf64_alpha_relax_section): Don't store computed gp. 8608 1.1 skrll 8609 1.1 skrll * elf64-alpha.c (elf64_alpha_check_relocs): Fix typo on maybe_dynamic 8610 1.1 skrll check; don't suppress dynamic relocs for non-allocated sections. 8611 1.1 skrll 8612 1.1 skrll * elf64-alpha.c: Remove dead code. 8613 1.1 skrll 8614 1.1 skrll 2002-05-31 Alan Modra <amodra (a] bigpond.net.au> 8615 1.1 skrll 8616 1.1 skrll * bfd-in2.h: Regenerate. 8617 1.1 skrll * libbfd.h: Regenerate. 8618 1.1 skrll * po/SRC-POTFILES.in: Regenerate. 8619 1.1 skrll 8620 1.1 skrll * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Don't allocate 8621 1.1 skrll space for bss .plt. 8622 1.1 skrll 8623 1.1 skrll 2002-05-31 Graeme Peterson <gp (a] qnx.com> 8624 1.1 skrll 8625 1.1 skrll * Makefile.am (BFD32_BACKENDS): Add elf32-i386qnx.lo. 8626 1.1 skrll (BFD32_BACKENDS_CFILES): Add elf32-i386qnx.c. 8627 1.1 skrll Run "make dep-am". 8628 1.1 skrll * Makefile.in: Regenerate. 8629 1.1 skrll * config.bfd: Add i[3456]86-*-nto-qnx* support. 8630 1.1 skrll * configure.in: Add bfd_elf32_i386qnx_vec support. 8631 1.1 skrll * configure: Regenerate. 8632 1.1 skrll * elf-bfd.h (struct elf_backend_data): Add set_nonloadable_filepos, 8633 1.1 skrll is_contained_by_filepos, and copy_private_bfd_data_p. 8634 1.1 skrll * elf.c (assign_file_positions_for_segments): Call backend 8635 1.1 skrll set_nonloadable_filepos. Fix non-K&R call to _bfd_error_handler. 8636 1.1 skrll (IS_CONTAINED_BY_FILEPOS): Define. 8637 1.1 skrll (INCLUDE_SECTION_IN_SEGMENT): Also test IS_CONTAINED_BY_FILEPOS. 8638 1.1 skrll (copy_private_bfd_data): Use IS_CONTAINED_BY_FILEPOS. Typo fix. 8639 1.1 skrll Fix non-K&R call to _bfd_error_handler. 8640 1.1 skrll (_bfd_elf_copy_private_section_data): Use backend 8641 1.1 skrll copy_private_bfd_data_p. 8642 1.1 skrll * elf32-i386.c: Don't include elfxx-target.h when 8643 1.1 skrll ELF32_I386_C_INCLUDED is defined. 8644 1.1 skrll * elf32-i386qnx.c: New QNX elf backend file. 8645 1.1 skrll * elfxx-target.h: Add elf_backend_set_nonloadable_filepos, 8646 1.1 skrll elf_backend_is_contained_by_filepos, and 8647 1.1 skrll elf_backend_do_copy_private_bfd_data. 8648 1.1 skrll * targets.c: Add bfd_target bfd_elf32_i386qnx_vec. 8649 1.1 skrll 8650 1.1 skrll 2002-05-31 Alan Modra <amodra (a] bigpond.net.au> 8651 1.1 skrll 8652 1.1 skrll * elfarm-oabi.c (bfd_elf32_arm_add_glue_sections_to_bfd): Define. 8653 1.1 skrll Move other similar defines to start of file. 8654 1.1 skrll 8655 1.1 skrll 2002-05-30 Tom Rix <trix (a] redhat.com> 8656 1.1 skrll 8657 1.1 skrll * coff-rs6000.c (xcoff_rtype2howto): Handle 16 bit R_RBA. 8658 1.1 skrll * coff64-rs6000.c (xcoff64_rtype2howto): Same. 8659 1.1 skrll 8660 1.1 skrll 2002-05-30 Richard Henderson <rth (a] redhat.com> 8661 1.1 skrll 8662 1.1 skrll * elf64-alpha.c (ALPHA_ELF_LINK_HASH_LU_TLSGD, 8663 1.1 skrll ALPHA_ELF_LINK_HASH_LU_TLSLDM, ALPHA_ELF_LINK_HASH_LU_FUNC): New. 8664 1.1 skrll (ALPHA_ELF_GOT_ENTRY_RELOCS_DONE): Remove. 8665 1.1 skrll (ALPHA_ELF_GOT_ENTRY_RELOCS_XLATED): Remove. 8666 1.1 skrll (struct alpha_elf_got_entry): Add reloc_type, reloc_done, reloc_xlated. 8667 1.1 skrll (struct alpha_elf_obj_tdata): Rename total_got_entries and 8668 1.1 skrll n_local_got_entries to total_got_size and local_got_size. 8669 1.1 skrll (elf64_alpha_howto, elf64_alpha_reloc_map): Update for TLS relocs. 8670 1.1 skrll (alpha_got_entry_size): New. 8671 1.1 skrll (elf64_alpha_relax_with_lituse): Use it. 8672 1.1 skrll (elf64_alpha_relax_without_lituse): Likewise. 8673 1.1 skrll (MAX_GOT_SIZE): Rename from MAX_GOT_ENTRIES. 8674 1.1 skrll (get_got_entry): New. 8675 1.1 skrll (elf64_alpha_check_relocs): Handle TLS relocs. Reorganize. 8676 1.1 skrll (elf64_alpha_adjust_dynamic_symbol): Test LU_FUNC as a mask. 8677 1.1 skrll (elf64_alpha_merge_ind_symbols): Check gotent->reloc_type. 8678 1.1 skrll (elf64_alpha_can_merge_gots, elf64_alpha_merge_gots): Likewise. 8679 1.1 skrll (elf64_alpha_calc_got_offsets_for_symbol): Use alpha_got_entry_size. 8680 1.1 skrll (elf64_alpha_calc_got_offsets): Likewise. 8681 1.1 skrll (alpha_dynamic_entries_for_reloc): New. 8682 1.1 skrll (elf64_alpha_calc_dynrel_sizes): Use it. 8683 1.1 skrll (elf64_alpha_size_dynamic_sections): Likewise. 8684 1.1 skrll (elf64_alpha_relocate_section): Handle TLS relocations. 8685 1.1 skrll * reloc.c: Add Alpha TLS relocations. 8686 1.1 skrll * bfd-in2.h, libbfd.h: Rebuild. 8687 1.1 skrll 8688 1.1 skrll 2002-05-29 Ralf Habacker <ralf.habacker (a] freenet.de> 8689 1.1 skrll 8690 1.1 skrll * peXXigen.c (pe_print_idata): Remove double printed 8691 1.1 skrll import table lines; add Bound-To comment. 8692 1.1 skrll 8693 1.1 skrll 2002-05-29 Matt Thomas <matt (a] 3am-software.com> 8694 1.1 skrll 8695 1.1 skrll * Makefile.am (BFD32_BACKENDS): Add elf32-vax.lo. 8696 1.1 skrll (BFD32_BACKENDS_CFILES): Add elf32-vax.c. 8697 1.1 skrll (elf32-vax.lo): New rule. 8698 1.1 skrll * Makefile.in: Regenerate. 8699 1.1 skrll * configure.in (bfd_elf32_vax_vec) 8700 1.1 skrll (vaxnetbsd_vec): New vectors. 8701 1.1 skrll * configure: Regenerate. 8702 1.1 skrll * config.bfd (vax-*-netbsdelf*) 8703 1.1 skrll (vax-*-netbsdaout*) 8704 1.1 skrll (vax-*-netbsd*): New targets. 8705 1.1 skrll * elf32-vax.c: New file. 8706 1.1 skrll * reloc.c: Add VAX relocations. 8707 1.1 skrll * bfd-in2.h: Regenerate. 8708 1.1 skrll * targets.c (_bfd_target_vector): Add bfd_elf32_vax_vec. 8709 1.1 skrll 8710 1.1 skrll 2002-05-29 Jason Thorpe <thorpej (a] wasabisystems.com> 8711 1.1 skrll 8712 1.1 skrll * config.bfd (arm-*-netbsd*): Add bfd_elf32_littlearm_vec 8713 1.1 skrll and bfd_elf32_bigarm_vec to targ_selvecs. 8714 1.1 skrll 8715 1.1 skrll 2002-05-29 Ralf Habacker <ralf.habacker (a] freenet.de> 8716 1.1 skrll 8717 1.1 skrll * peXXigen.c (pe_print_idata): Fix seg faults on printing import tables 8718 1.1 skrll with auto-imported symbols. 8719 1.1 skrll 8720 1.1 skrll 2002-05-29 Adam Nemet <anemet (a] lnxw.com> 8721 1.1 skrll 8722 1.1 skrll * elf32-arm.h (bfd_elf32_arm_get_bfd_for_interworking): Don't add glue 8723 1.1 skrll sections only record bfd. 8724 1.1 skrll (bfd_elf32_arm_add_glue_sections_to_bfd): New function. 8725 1.1 skrll * bfd-in.h (bfd_elf32_arm_add_glue_sections_to_bfd): Declare it. 8726 1.1 skrll * bfd-in2.h: Regenerate. 8727 1.1 skrll 8728 1.1 skrll 2002-05-28 Nick Clifton <nickc (a] cambridge.redhat.com> 8729 1.1 skrll 8730 1.1 skrll * syms.c (_bfd_stab_section_find_nearest_line): Move 8731 1.1 skrll declaration and initialisation of saw_line and saw_func out of 8732 1.1 skrll for loop. 8733 1.1 skrll 8734 1.1 skrll 2002-05-29 Alan Modra <amodra (a] bigpond.net.au> 8735 1.1 skrll 8736 1.1 skrll * elf64-ppc.c (ppc64_elf_get_symbol_info): New function. 8737 1.1 skrll (bfd_elf64_get_symbol_info): Define. 8738 1.1 skrll * elfxx-target.h (bfd_elfNN_get_symbol_info): Only define if undef. 8739 1.1 skrll 8740 1.1 skrll 2002-05-29 Andrey Volkov <avolkov (a] transas.com> 8741 1.1 skrll 8742 1.1 skrll * cpu-h8300.c: Make default h8300 machine first in machine list. 8743 1.1 skrll 8744 1.1 skrll 2002-05-28 Kuang Hwa Lin <kuang (a] sbcglobal.net> 8745 1.1 skrll 8746 1.1 skrll * config.bfd: Added DLX configuraton. 8747 1.1 skrll * Makefile.am: Added DLX configuraton. 8748 1.1 skrll * configure.in: Added DLX configuraton. 8749 1.1 skrll * archures.c: Add DLX architecture. 8750 1.1 skrll * reloc.c: Add DLX relocs. 8751 1.1 skrll * targets.c: Added DLX target vector. 8752 1.1 skrll * configure: Regenerate. 8753 1.1 skrll * Makefile.in: Regenreate. 8754 1.1 skrll * bfd-in2.h: Regenreate. 8755 1.1 skrll * elf32-dlx.c: New file: Support DLX target. 8756 1.1 skrll * cpu-dlx.c: New file: Support DLX target. 8757 1.1 skrll 8758 1.1 skrll 2002-05-25 Alan Modra <amodra (a] bigpond.net.au> 8759 1.1 skrll 8760 1.1 skrll * elf32-m68k.c (elf32_m68k_print_private_bfd_data): Formatting. 8761 1.1 skrll 8762 1.1 skrll * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Revert last change. 8763 1.1 skrll (ppc64_elf_check_relocs): Don't set up function descriptor symbol 8764 1.1 skrll strings to point inside function code sym string. 8765 1.1 skrll (func_desc_adjust): Likewise. 8766 1.1 skrll (ppc64_elf_hide_symbol): Rewrite code to look up function code sym. 8767 1.1 skrll 8768 1.1 skrll 2002-05-24 Michal Ludvig <mludvig (a] suse.cz> 8769 1.1 skrll 8770 1.1 skrll * elf64-x86-64.c (elf64_x86_64_grok_prstatus): Added. 8771 1.1 skrll (elf64_x86_64_grok_psinfo): Added. 8772 1.1 skrll 8773 1.1 skrll 2002-05-24 TAMURA Kent <kent (a] netbsd.org> 8774 1.1 skrll 8775 1.1 skrll * config.bfd: Add a target for i386-netbsdpe. 8776 1.1 skrll 8777 1.1 skrll 2002-05-24 Alan Modra <amodra (a] bigpond.net.au> 8778 1.1 skrll 8779 1.1 skrll * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Don't copy is_func 8780 1.1 skrll and is_func_descriptor. 8781 1.1 skrll (func_desc_adjust): Hide function code sym in shared libs unless 8782 1.1 skrll there is a matching exported function descriptor sym. 8783 1.1 skrll 8784 1.1 skrll 2002-05-23 Jakub Jelinek <jakub (a] redhat.com> 8785 1.1 skrll 8786 1.1 skrll * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_THREAD_LOCAL 8787 1.1 skrll for symbols from SHF_TLS section. 8788 1.1 skrll (_bfd_elf_print_private_bfd_data): Add PT_TLS. 8789 1.1 skrll (elf_fake_sections): Set SHF_TLS for SEC_THREAD_LOCAL sections. 8790 1.1 skrll (map_sections_to_segments): Build PT_TLS segment if necessary. 8791 1.1 skrll (assign_file_positions_for_segments): Likewise. 8792 1.1 skrll (get_program_header_size): Account for PT_TLS segment. 8793 1.1 skrll (swap_out_syms): Set type of BSF_THREAD_LOCAL symbols and symbols from 8794 1.1 skrll SEC_THREAD_LOCAL sections to STT_TLS. 8795 1.1 skrll * reloc.c: Add 386 and IA-64 TLS relocs. 8796 1.1 skrll * section.c (SEC_THREAD_LOCAL): Define. 8797 1.1 skrll (SEC_CONSTRUCTOR_TEXT, SEC_CONSTRUCTOR_DATA, SEC_CONSTRUCTOR_BSS): 8798 1.1 skrll Remove. 8799 1.1 skrll * elflink.h (elf_link_add_object_symbols): Support .tcommon. 8800 1.1 skrll (size_dynamic_sections): If DF_STATIC_TLS, set DF_FLAGS 8801 1.1 skrll unconditionally. 8802 1.1 skrll (struct elf_final_link_info): Add first_tls_sec. 8803 1.1 skrll (elf_bfd_final_link): Set first_tls_sec. 8804 1.1 skrll Compute elf_hash_table (info)->tls_segment. 8805 1.1 skrll (elf_link_output_extsym): Handle STT_TLS symbols. 8806 1.1 skrll (elf_link_input_bfd): Likewise. 8807 1.1 skrll * syms.c (BSF_THREAD_LOCAL): Define. 8808 1.1 skrll * bfd-in2.h: Rebuilt. 8809 1.1 skrll * libbfd.h: Rebuilt. 8810 1.1 skrll * elf32-i386.c (elf_i386_tls_transition, dtpoff_base, tpoff, 8811 1.1 skrll elf_i386_mkobject, elf_i386_object_p): New functions. 8812 1.1 skrll (elf_howto_table): Add TLS relocs. 8813 1.1 skrll (elf_i386_reloc_type_lookup): Support TLS relocs. 8814 1.1 skrll (elf_i386_info_to_howto_rel): Likewise. 8815 1.1 skrll (struct elf_i386_link_hash_entry): Add tls_type. 8816 1.1 skrll (struct elf_i386_obj_tdata): New. 8817 1.1 skrll (elf_i386_hash_entry, elf_i386_tdata, elf_i386_local_got_tls_type): 8818 1.1 skrll New macros. 8819 1.1 skrll (struct elf_i386_link_hash_table): Add tls_ldm_got. 8820 1.1 skrll (link_hash_newfunc): Clear tls_type. 8821 1.1 skrll (elf_i386_check_relocs): Support TLS relocs. 8822 1.1 skrll (elf_i386_gc_sweep_hook): Likewise. 8823 1.1 skrll (allocate_dynrelocs): Likewise. 8824 1.1 skrll (elf_i386_size_dynamic_sections): Likewise. 8825 1.1 skrll (elf_i386_relocate_section): Likewise. 8826 1.1 skrll (elf_i386_finish_dynamic_symbol): Likewise. 8827 1.1 skrll (bfd_elf32_mkobject, elf_backend_object_p): Define. 8828 1.1 skrll * elfxx-ia64.c (struct elfNN_ia64_dyn_sym_info): Add tprel_offset, 8829 1.1 skrll dtpmod_offset, dtprel_offset, tprel_done, dtpmod_done, dtprel_done, 8830 1.1 skrll want_tprel, want_dtpmod, want_dtprel. 8831 1.1 skrll (elfNN_ia64_tprel_base, elfNN_ia64_dtprel_base): New functions. 8832 1.1 skrll (ia64_howto_table): Add TLS relocs, rename R_IA64_LTOFF_TP22 to 8833 1.1 skrll R_IA64_LTOFF_TPREL22. 8834 1.1 skrll (elf_code_to_howto_index): Add TLS relocs. 8835 1.1 skrll (elfNN_ia64_check_relocs): Support TLS relocs. 8836 1.1 skrll (allocate_global_data_got): Account for TLS .got data. 8837 1.1 skrll (allocate_dynrel_entries): Account for TLS dynamic relocations. 8838 1.1 skrll (elfNN_ia64_install_value): Supprt TLS relocs. 8839 1.1 skrll (set_got_entry): Support TLS relocs. 8840 1.1 skrll (elfNN_ia64_relocate_section): Likewise. 8841 1.1 skrll 8842 1.1 skrll 2002-05-23 Nick Clifton <nickc (a] cambridge.redhat.com> 8843 1.1 skrll 8844 1.1 skrll * elf32-arm.h (elf32_arm_final_link_relocate): For the Thumb 8845 1.1 skrll BLX reloc round the relocation up rather than down. 8846 1.1 skrll * coff-arm.c (coff_arm_relocate_section): Likewise. 8847 1.1 skrll 8848 1.1 skrll 2002-05-21 H.J. Lu (hjl (a] gnu.org) 8849 1.1 skrll 8850 1.1 skrll * linker.c (_bfd_generic_link_add_one_symbol): Allow multiple 8851 1.1 skrll definition. 8852 1.1 skrll 8853 1.1 skrll 2002-05-22 Alan Modra <amodra (a] bigpond.net.au> 8854 1.1 skrll 8855 1.1 skrll * elf64-ppc.c (ppc64_elf_size_stubs): Don't strip .branch_lt. 8856 1.1 skrll (ppc64_elf_relocate_section): Handle unresolved relocs in opd. 8857 1.1 skrll 8858 1.1 skrll 2002-05-22 Alan Modra <amodra (a] bigpond.net.au> 8859 1.1 skrll 8860 1.1 skrll * elf64-ppc.c (ppc64_elf_relocate_section): Return false for 8861 1.1 skrll unresolved relocs. 8862 1.1 skrll (ppc64_elf_size_dynamic_sections): Check for splt NULL. 8863 1.1 skrll 8864 1.1 skrll 2002-05-21 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 8865 1.1 skrll 8866 1.1 skrll * bfd.c (bfd_get_arch_size): Remove bfd_set_error call for 8867 1.1 skrll non-ELF targets. 8868 1.1 skrll 8869 1.1 skrll 2002-05-21 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 8870 1.1 skrll 8871 1.1 skrll * elf-bfd.h (elf_backend_emit_relocs): Change prototype to return 8872 1.1 skrll an error value. 8873 1.1 skrll * elflink.h (elf_link_output_relocs): Likewise. Improve error message. 8874 1.1 skrll return with false on error. 8875 1.1 skrll (elf_link_input_bfd): Check reloc_emitter return value. 8876 1.1 skrll 8877 1.1 skrll 2002-05-21 Jason Thorpe <thorpej (a] wasabisystems.com> 8878 1.1 skrll 8879 1.1 skrll * config.bfd (armeb-*-netbsdelf*): New target. 8880 1.1 skrll 8881 1.1 skrll 2002-05-20 Alan Modra <amodra (a] bigpond.net.au> 8882 1.1 skrll 8883 1.1 skrll * elf64-ppc.c (ppc_build_one_stub): Point undefined function syms 8884 1.1 skrll at the plt call stub. 8885 1.1 skrll 8886 1.1 skrll 2002-05-19 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 8887 1.1 skrll 8888 1.1 skrll * cpu-mips.c (mips_compatible): Don't try to check machine 8889 1.1 skrll compatibility. 8890 1.1 skrll 8891 1.1 skrll 2002-05-18 Tom Rix <trix (a] redhat.com> 8892 1.1 skrll 8893 1.1 skrll * coff64-rs6000.c (_bfd_xcoff64_swap_aux_out): Fix C_FILE auxent. 8894 1.1 skrll 8895 1.1 skrll 2002-05-17 Alan Modra <amodra (a] bigpond.net.au> 8896 1.1 skrll 8897 1.1 skrll * elf64-ppc.c (ppc64_elf_info_to_howto): Formatting. 8898 1.1 skrll (ppc64_elf_relocate_section): Don't warn about reloc overflow when 8899 1.1 skrll we've already warned about an undefined symbol. Report more 8900 1.1 skrll detail on reloc errors. 8901 1.1 skrll 8902 1.1 skrll 2002-05-17 Alan Modra <amodra (a] bigpond.net.au> 8903 1.1 skrll 8904 1.1 skrll * acinclude.m4 (AM_INSTALL_LIBBFD): New. 8905 1.1 skrll * configure.in: Invoke AM_INSTALL_LIBBFD. 8906 1.1 skrll * Makefile.am (install-data-local): Revert 2002-05-13. Move to.. 8907 1.1 skrll (install_libbfd): .. New target. 8908 1.1 skrll (uninstall_libbfd): Likewise. 8909 1.1 skrll (install-bfdlibLTLIBRARIES): Likewise. 8910 1.1 skrll (uninstall-bfdlibLTLIBRARIES): Likewise. 8911 1.1 skrll (bfdlibdir): New. 8912 1.1 skrll (bfdincludedir): New. 8913 1.1 skrll (lib_LTLIBRARIES): Rename to bfdlib_LTLIBRARIES. 8914 1.1 skrll * aclocal.m4: Regenerate. 8915 1.1 skrll * configure: Regenerate. 8916 1.1 skrll * Makefile.in: Regenerate. 8917 1.1 skrll 8918 1.1 skrll 2002-05-17 Stuart Balfour <sbalfour (a] cisco.com> 8919 1.1 skrll 8920 1.1 skrll * hash.c (bfd_hash_lookup): Remove computation of len from inside 8921 1.1 skrll hash loop. 8922 1.1 skrll 8923 1.1 skrll 2002-05-16 Nick Clifton <nickc (a] cambridge.redhat.com> 8924 1.1 skrll 8925 1.1 skrll * config.bfd: Add targets for sh64-linux (little endian and 8926 1.1 skrll big endian). 8927 1.1 skrll 8928 1.1 skrll 2002-05-15 Laurent Pinchart <laurent.pinchart (a] skynet.be> 8929 1.1 skrll 8930 1.1 skrll * peXXigen.c (pe_print_idata): Do not assume that the first thunk 8931 1.1 skrll is located in the same section as the import table. Instead 8932 1.1 skrll check, and if necessary load the section containing the thunk. 8933 1.1 skrll 8934 1.1 skrll 2002-05-15 Nick Clifton <nickc (a] cambridge.redhat.com> 8935 1.1 skrll 8936 1.1 skrll * aix5ppc-core.c (xcoff64_core_p): Replace bfd_read with 8937 1.1 skrll bfd_bread. 8938 1.1 skrll (xcoff64_core_file_matches_executable_p): Replace bfd_read 8939 1.1 skrll with bfd_bread. 8940 1.1 skrll 8941 1.1 skrll 2002-05-15 Alan Modra <amodra (a] bigpond.net.au> 8942 1.1 skrll 8943 1.1 skrll * aix5ppc-core.c: Warning fixes. 8944 1.1 skrll * aout-adobe.c (aout_32_bfd_link_just_syms): Define. 8945 1.1 skrll * aout-target.h (MY_bfd_link_just_syms): Define. 8946 1.1 skrll * aout-tic30.c (MY_bfd_link_just_syms): Define. 8947 1.1 skrll * bfd.c (bfd_link_just_syms): Define. 8948 1.1 skrll * binary.c (binary_bfd_link_just_syms): Define. 8949 1.1 skrll * bout.c (b_out_bfd_link_just_syms): Define. 8950 1.1 skrll * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Update initializer. 8951 1.1 skrll * coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Likewise. 8952 1.1 skrll * coffcode.h (coff_bfd_link_just_syms): Define. 8953 1.1 skrll * elf-bfd.h (enum elf_link_info_type): Add ELF_INFO_TYPE_JUST_SYMS. 8954 1.1 skrll (elf_discarded_section): Check for ELF_INFO_TYPE_JUST_SYMS. 8955 1.1 skrll (_bfd_elf_link_just_syms): Declare. 8956 1.1 skrll * elf.c (_bfd_elf_link_just_syms): New function. 8957 1.1 skrll * elf-eh-frame.c (_bfd_elf_maybe_strip_eh_frame_hdr): Check that 8958 1.1 skrll sections haven't already been discarded by the linker. 8959 1.1 skrll * elflink.h (elf_link_add_object_symbols): Likewise for stab 8960 1.1 skrll sections and SEC_MERGE sections. 8961 1.1 skrll (elf_bfd_discard_info): Similarly here. 8962 1.1 skrll * elfxx-target.h (bfd_elfNN_bfd_link_just_syms): Define. 8963 1.1 skrll * i386msdos.c (msdos_bfd_link_just_syms): Define. 8964 1.1 skrll * i386os9k.c (os9k_bfd_link_just_syms): Define. 8965 1.1 skrll * ieee.c (ieee_bfd_link_just_syms): Define. 8966 1.1 skrll * ihex.c (ihex_bfd_link_just_syms): Define. 8967 1.1 skrll * libbfd-in.h (_bfd_nolink_bfd_link_just_syms): Define. 8968 1.1 skrll (_bfd_generic_link_just_syms): Declare. 8969 1.1 skrll * libecoff.h (_bfd_ecoff_bfd_link_just_syms): Define. 8970 1.1 skrll * linker.c (_bfd_generic_link_just_syms): New function. 8971 1.1 skrll * mmo.c (mmo_bfd_link_just_syms): Define. 8972 1.1 skrll * nlm-target.h (nlm_bfd_link_just_syms): Define. 8973 1.1 skrll * oasys.c (oasys_bfd_link_just_syms): Define. 8974 1.1 skrll * ppcboot.c (ppcboot_bfd_link_just_syms): Define. 8975 1.1 skrll * som.c (som_bfd_link_just_syms): Define. 8976 1.1 skrll * srec.c (srec_bfd_link_just_syms): Define. 8977 1.1 skrll * targets.c (struct bfd_target): Add _bfd_link_just_syms. 8978 1.1 skrll (BFD_JUMP_TABLE_LINK): And here. 8979 1.1 skrll * tekhex.c (tekhex_bfd_link_just_syms): Define. 8980 1.1 skrll * versados.c (versados_bfd_link_just_syms): Define. 8981 1.1 skrll * vms.c (vms_bfd_link_just_syms): Define. 8982 1.1 skrll * libbfd.h: Regenerate. 8983 1.1 skrll * bfd-in2.h: Regenerate. 8984 1.1 skrll 8985 1.1 skrll 2002-05-15 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 8986 1.1 skrll 8987 1.1 skrll * elf32-mips.c: Remove superfluous definitions copied from 8988 1.1 skrll elfxx-mips.c. 8989 1.1 skrll (bfd_elf32_bigmips_vec,bfd_elf32_littlemips_vec): Use the 8990 1.1 skrll SGIish vectors to check the special case. 8991 1.1 skrll (mips_elf_hi16_reloc): Fix comment. 8992 1.1 skrll (mips_elf_got16_reloc): Likewise. 8993 1.1 skrll (_bfd_mips_elf32_gprel16_reloc): Likewise. 8994 1.1 skrll (elf_reloc_map): Code cleanup. 8995 1.1 skrll (mips_reloc_map): Add comment. 8996 1.1 skrll (bfd_elf23_bfd_reloc_type_lookup): Code cleanup. 8997 1.1 skrll (mips_elf32_rtype_to_howto): Likewise. 8998 1.1 skrll (mips_elf32_discard_info): Likewise. 8999 1.1 skrll (elf32_mips_irix_compat): Invert logic: Only SGIish vectors 9000 1.1 skrll lead to IRIX compatibility now. 9001 1.1 skrll 9002 1.1 skrll 2002-05-15 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 9003 1.1 skrll 9004 1.1 skrll * elfxx-mips.c: Call it IRIX, not Irix in comments. 9005 1.1 skrll 9006 1.1 skrll 2002-05-13 Jason Thorpe <thorpej (a] wasabisystems.com> 9007 1.1 skrll 9008 1.1 skrll * config.bfd (shle-*-netbsdelf*): Add target which includes 9009 1.1 skrll sh64 support. 9010 1.1 skrll 9011 1.1 skrll 2002-05-13 David Edelsohn <edelsohn (a] gnu.org> 9012 1.1 skrll 9013 1.1 skrll * configure.in: Revert 2002-04-07. Instead, auto-configure 9014 1.1 skrll HAVE_ST_C_IMPL. 9015 1.1 skrll * configure: Regenerate. 9016 1.1 skrll * config.in: Regenerate. 9017 1.1 skrll * rs6000-core.c (CNEW_IMPL): Guard use of c_impl with HAVE_ST_C_IMPL 9018 1.1 skrll or AIX_5_CORE. 9019 1.1 skrll 9020 1.1 skrll 2002-05-11 Federico G. Schwindt <fgsch (a] olimpo.com.br> 9021 1.1 skrll 9022 1.1 skrll * configure.in (sparc*-*-openbsd*): Support sparc64-openbsd 9023 1.1 skrll corefiles as well.2 9024 1.1 skrll * configure: Regenerate. 9025 1.1 skrll 9026 1.1 skrll 2002-05-13 Alan Modra <amodra (a] bigpond.net.au> 9027 1.1 skrll 9028 1.1 skrll * Makefile.am (install-data-local): Install headers to 9029 1.1 skrll $(exec_prefix)/include. 9030 1.1 skrll * Makefile.in: Regenerate. 9031 1.1 skrll 9032 1.1 skrll 2002-05-11 Ralf Corsepius <corsepiu (a] faw.uni-ulm.de> 9033 1.1 skrll Daniel Jacobowitz <drow (a] mvista.com> 9034 1.1 skrll 9035 1.1 skrll * coff-sh.c (sh_reloc_map): Map to R_SH_IMM32 for non-PE. Don't 9036 1.1 skrll map BFD_RELOC_RVA. 9037 1.1 skrll 9038 1.1 skrll 2002-05-11 Federico G. Schwindt <fgsch (a] olimpo.com.br> 9039 1.1 skrll 9040 1.1 skrll * config.bfd (alpha*-*-openbsd*, sparc64*-*-openbsd*, 9041 1.1 skrll hppa*-*-openbsd*): New targets. 9042 1.1 skrll * configure.in (alpha*-*-openbsd*): Set COREFILE. 9043 1.1 skrll * configure: Regenerate. 9044 1.1 skrll 9045 1.1 skrll 2002-05-10 Tom Rix <trix (a] redhat.com> 9046 1.1 skrll 9047 1.1 skrll * coff64-rs6000.c (xcoff64_reloc_type_br): New function for 9048 1.1 skrll xcoff64_ppc_relocate_section. 9049 1.1 skrll * coff-rs6000.c : Extern common xcoff_reloc_type functions. 9050 1.1 skrll * libxcoff.h: Common xcoff_reloc_type function declaration. 9051 1.1 skrll 9052 1.1 skrll 2002-05-10 Alan Modra <amodra (a] bigpond.net.au> 9053 1.1 skrll 9054 1.1 skrll * elf32-i386.c (elf_i386_relocate_section): Remove overflow checks 9055 1.1 skrll added in 2002-05-09 commit. 9056 1.1 skrll 9057 1.1 skrll * elf32-hppa.c (elf32_hppa_size_stubs): Revert part of 2002-05-04, 9058 1.1 skrll don't look for stubs on all undefined syms. 9059 1.1 skrll 9060 1.1 skrll 2002-05-09 Alan Modra <amodra (a] bigpond.net.au> 9061 1.1 skrll 9062 1.1 skrll * elf64-ppc.c (RA_REGISTER_MASK, RA_REGISTER_SHIFT): Delete. 9063 1.1 skrll (ppc64_elf_howto_raw <R_PPC64_RELATIVE>): Not pc_relative or 9064 1.1 skrll pcrel_offset. 9065 1.1 skrll 9066 1.1 skrll * elf32-i386.c (elf_howto_table): Comments. 9067 1.1 skrll (elf_i386_relocate_section): Handle more relocs for relocatable 9068 1.1 skrll linking and against SEC_MERGE sections. 9069 1.1 skrll 9070 1.1 skrll 2002-05-08 Alan Modra <amodra (a] bigpond.net.au> 9071 1.1 skrll 9072 1.1 skrll * elf32-ppc.c (ppc_elf_create_got): New function. 9073 1.1 skrll (ppc_elf_create_dynamic_sections): Call ppc_elf_create_got before 9074 1.1 skrll _bfd_elf_create_dynamic_sections. Correct .plt flags. 9075 1.1 skrll (ppc_elf_check_relocs): Use ppc_elf_create_got in place of 9076 1.1 skrll _bfd_elf_create_got_section. 9077 1.1 skrll 9078 1.1 skrll 2002-05-07 Alan Modra <amodra (a] bigpond.net.au> 9079 1.1 skrll 9080 1.1 skrll * elf-bfd.h (struct elf_backend_data): Add rela_normal. 9081 1.1 skrll * elfxx-target.h (elf_backend_rela_normal): Define. 9082 1.1 skrll (elfNN_bed): Init rela_normal. 9083 1.1 skrll * elflink.h (elf_link_input_bfd <emit_relocs>): Handle adjustment 9084 1.1 skrll for section symbols here if rela_normal. Simplify abs section test. 9085 1.1 skrll * elf-m10200.c (mn10200_elf_relocate_section): If relocatable, 9086 1.1 skrll return immediately. Remove code handling relocatable linking. 9087 1.1 skrll * elf-m10300.c (mn10300_elf_relocate_section): Likewise. 9088 1.1 skrll * elf32-fr30.c (fr30_elf_relocate_section): Likewise. 9089 1.1 skrll * elf32-i370.c (i370_elf_relocate_section): Likewise. 9090 1.1 skrll * elf32-i860.c (elf32_i860_relocate_section): Likewise. 9091 1.1 skrll * elf32-m68k.c (elf_m68k_relocate_section): Likewise. 9092 1.1 skrll * elf32-mcore.c (mcore_elf_relocate_section): Likewise. 9093 1.1 skrll * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. 9094 1.1 skrll * elf32-ppc.c (ppc_elf_relocate_section): Likewise. 9095 1.1 skrll * elf32-s390.c (elf_s390_relocate_section): Likewise. 9096 1.1 skrll * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. 9097 1.1 skrll * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. 9098 1.1 skrll * elf64-s390.c (elf_s390_relocate_section): Likewise. 9099 1.1 skrll * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. 9100 1.1 skrll * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. 9101 1.1 skrll * elf32-arm.h (elf32_arm_relocate_section): Likewise #ifndef USE_REL. 9102 1.1 skrll * elf32-m32r.c (m32r_elf_relocate_section): Likewise. 9103 1.1 skrll * elf-m10200.c (elf_backend_rela_normal): Define. 9104 1.1 skrll * elf-m10300.c (elf_backend_rela_normal): Define. 9105 1.1 skrll * elf32-fr30.c (elf_backend_rela_normal): Define. 9106 1.1 skrll * elf32-i370.c (elf_backend_rela_normal): Define. 9107 1.1 skrll * elf32-i860.c (elf_backend_rela_normal): Define. 9108 1.1 skrll * elf32-m68k.c (elf_backend_rela_normal): Define. 9109 1.1 skrll * elf32-mcore.c (elf_backend_rela_normal): Define. 9110 1.1 skrll * elf32-openrisc.c (elf_backend_rela_normal): Define. 9111 1.1 skrll * elf32-ppc.c (elf_backend_rela_normal): Define. 9112 1.1 skrll * elf32-s390.c (elf_backend_rela_normal): Define. 9113 1.1 skrll * elf32-xstormy16.c (elf_backend_rela_normal): Define. 9114 1.1 skrll * elf64-ppc.c (elf_backend_rela_normal): Define. 9115 1.1 skrll * elf64-s390.c (elf_backend_rela_normal): Define. 9116 1.1 skrll * elf64-x86-64.c (elf_backend_rela_normal): Define. 9117 1.1 skrll * elfxx-ia64.c (elf_backend_rela_normal): Define. 9118 1.1 skrll * elf32-arm.h (elf_backend_rela_normal): Define #ifndef USE_REL. 9119 1.1 skrll * elf32-m32r.c (elf_backend_rela_normal): Likewise. 9120 1.1 skrll 9121 1.1 skrll 2002-05-06 Nick Clifton <nickc (a] cambridge.redhat.com> 9122 1.1 skrll 9123 1.1 skrll * elf32-arm.h (elf32_arm_final_link_relocate): Convert 9124 1.1 skrll 'reloc_signed_max' and 'reloc_signed_min' into half-word offsets. 9125 1.1 skrll 9126 1.1 skrll 2002-05-06 Alan Modra <amodra (a] bigpond.net.au> 9127 1.1 skrll 9128 1.1 skrll * elflink.h (elf_link_input_bfd <emit_relocs>): Adjust r_offset 9129 1.1 skrll when not relocatable. Fix reloc_emitter call for K&R. 9130 1.1 skrll 9131 1.1 skrll 2002-05-04 Alan Modra <amodra (a] bigpond.net.au> 9132 1.1 skrll 9133 1.1 skrll * elf64-ppc.c (ppc64_elf_relocate_section): Reinstate code 9134 1.1 skrll reloading local sym addend mistakenly removed in 2002-05-01 change. 9135 1.1 skrll 9136 1.1 skrll * dwarf2.c (struct line_head): Make prologue_length a bfd_vma. 9137 1.1 skrll (read_abbrevs): Change "offset" param to bfd_vma. 9138 1.1 skrll (parse_comp_unit): Change "version" and addr_size to unsigned ints. 9139 1.1 skrll Change "abbrev_offset" to bfd_vma. 9140 1.1 skrll (read_indirect_string): Use correct conversion chars in error 9141 1.1 skrll message format string, cast bfd_vma's to unsigned long. 9142 1.1 skrll (read_abbrevs): Likewise. 9143 1.1 skrll (read_attribute_value): Likewise. 9144 1.1 skrll (decode_line_info): Likewise. 9145 1.1 skrll (scan_unit_for_functions): Likewise. 9146 1.1 skrll (parse_comp_unit): Likewise. 9147 1.1 skrll 9148 1.1 skrll 2002-05-04 Tom Rix <trix (a] redhat.com> 9149 1.1 skrll 9150 1.1 skrll * coffswap.h (coff_swap_reloc_in): Remove XCOFF support. 9151 1.1 skrll (coff_swap_reloc_out): Same. 9152 1.1 skrll * coff-rs6000.c: (xcoff_swap_reloc_in): Moved from coffswap.h. 9153 1.1 skrll (xcoff_swap_reloc_out): Same. 9154 1.1 skrll (xcoff_rtype2howto): Renamed from _bfd_xcoff_rtype2howto. Special 9155 1.1 skrll case some 16 bit relocs. Add reloc value to output. 9156 1.1 skrll (xcoff_howto_table): Remove 64 bit R_POS, add 16 bit 9157 1.1 skrll R_RBR. Improve names. 9158 1.1 skrll (_bfd_xcoff_reloc_type_lookup): Adjust for removal of 64 bit R_POS. 9159 1.1 skrll (bfd_xcoff_backend_data): Update with new reloc swap names. 9160 1.1 skrll (bfd_pmac_xcoff_backend_data) : Same. 9161 1.1 skrll * coff64-rs6000.c: (xcoff64_swap_reloc_in): Moved from coffswap.h. 9162 1.1 skrll (xcoff64_swap_reloc_out): Same. 9163 1.1 skrll (xcoff64_rtype2howto): Special case some 16 bit relocs and 32 bit 9164 1.1 skrll R_POS. Add reloc value to output. 9165 1.1 skrll (xcoff64_howto_table): Move 64 bit R_POS to first entry. Add 16 9166 1.1 skrll bit R_RBR. Improve names, masks. 9167 1.1 skrll (xcoff64_reloc_type_lookup): Adjust for move of 64 bit R_POS. 9168 1.1 skrll (bfd_xcoff_backend_data): Update with new reloc swap names. 9169 1.1 skrll (bfd_xcoff_aix5_backend_data) : Same. 9170 1.1 skrll 9171 1.1 skrll 2002-05-04 Alan Modra <amodra (a] bigpond.net.au> 9172 1.1 skrll 9173 1.1 skrll * elf32-hppa.c (struct elf32_hppa_link_hash_table): Add 9174 1.1 skrll bfd_count top_index, input_list, all_local_syms. 9175 1.1 skrll (elf32_hppa_setup_section_lists): New function, split from 9176 1.1 skrll elf32_hppa_size_stubs. 9177 1.1 skrll (elf32_hppa_next_input_section): Likewise. 9178 1.1 skrll (group_sections): Likewise. 9179 1.1 skrll (get_local_syms): Likewise. 9180 1.1 skrll (elf32_hppa_size_stubs): Adjust for split out functions. Look for 9181 1.1 skrll stubs on undefined syms too. 9182 1.1 skrll (elf32_hppa_set_gp): Use bfd_link_hash* instead of elf_link_hash*. 9183 1.1 skrll Only access htab elf fields when we have an elf hash table. 9184 1.1 skrll * elf32-hppa.h (elf32_hppa_setup_section_lists): Declare. 9185 1.1 skrll (elf32_hppa_next_input_section): Declare. 9186 1.1 skrll 9187 1.1 skrll 2002-05-04 Bob Byrnes <byrnes (a] curl.com> 9188 1.1 skrll 9189 1.1 skrll * opncls.c (_bfd_new_bfd_contained_in): Check return value of 9190 1.1 skrll _bfd_new_bfd. 9191 1.1 skrll 9192 1.1 skrll 2002-05-03 H.J. Lu (hjl (a] gnu.org) 9193 1.1 skrll 9194 1.1 skrll * elfxx-mips.c (mips_elf_link_hash_entry): Add forced_local. 9195 1.1 skrll (mips_elf_link_hash_newfunc): Initialize forced_local to false. 9196 1.1 skrll (mips_elf_record_global_got_symbol): Call _bfd_mips_elf_hide_symbol 9197 1.1 skrll to hide a global symbol. 9198 1.1 skrll (_bfd_mips_elf_hide_symbol): Return if forced_local is true. Set 9199 1.1 skrll forced_local to true. 9200 1.1 skrll 9201 1.1 skrll 2002-05-02 Richard Henderson <rth (a] redhat.com> 9202 1.1 skrll 9203 1.1 skrll * elf64-alpha.c (elf64_alpha_relocate_section): Force relative relocs 9204 1.1 skrll vs SHN_UNDEF to zero. 9205 1.1 skrll 9206 1.1 skrll 2002-05-02 Alan Modra <amodra (a] bigpond.net.au> 9207 1.1 skrll 9208 1.1 skrll * elf64-ppc.c (ppc64_elf_howto_raw <R_PPC64_SECTOFF>): Change to a 9209 1.1 skrll 16 bit reloc. 9210 1.1 skrll <R_PPC64_SECTOFF_DS>: Likewise. 9211 1.1 skrll (ppc64_elf_reloc_type_lookup): Map from BFD_RELOC_16_BASEREL to 9212 1.1 skrll SECTOFF reloc. 9213 1.1 skrll * elf32-ppc.c (ppc_elf_howto_raw <R_PPC_SECTOFF>): Correct. 9214 1.1 skrll (ppc_elf_reloc_type_lookup): Map from BFD_RELOC_16_BASEREL to 9215 1.1 skrll SECTOFF reloc. 9216 1.1 skrll 9217 1.1 skrll * elf64-ppc.c (ppc64_elf_addr16_ha_reloc): Delete. 9218 1.1 skrll (ppc64_elf_ha_reloc): New function. 9219 1.1 skrll (ppc64_elf_brtaken_reloc): New function. 9220 1.1 skrll (ppc64_elf_sectoff_reloc): New function. 9221 1.1 skrll (ppc64_elf_sectoff_ha_reloc): New function. 9222 1.1 skrll (ppc64_elf_toc_reloc): New function. 9223 1.1 skrll (ppc64_elf_toc_ha_reloc): New function. 9224 1.1 skrll (ppc64_elf_toc64_reloc): New function. 9225 1.1 skrll (ppc64_elf_unhandled_reloc): New function. 9226 1.1 skrll (ppc64_elf_howto_raw): Use the above. 9227 1.1 skrll <R_PPC64_RELATIVE>: Mark pc_relative, pcrel_offset. 9228 1.1 skrll <R_PPC64_SECTOFF>: Not pc_relative or pcrel_offset. Fix dst_mask. 9229 1.1 skrll <R_PPC64_SECTOFF_DS>: Likewise. 9230 1.1 skrll (IS_ABSOLUTE_RELOC): Update. 9231 1.1 skrll (struct ppc_link_hash_table): Add have_undefweak. 9232 1.1 skrll (ppc64_elf_link_hash_table_create): Init. 9233 1.1 skrll (func_desc_adjust): Set have_undefweak. 9234 1.1 skrll (ppc64_elf_func_desc_adjust): Call func_desc_adjust earlier. Only 9235 1.1 skrll add the .sfpr blr when have_undefweak. 9236 1.1 skrll (ppc64_elf_setup_section_lists): Check hash table flavour. 9237 1.1 skrll (ppc64_elf_next_input_section): Move output_section->owner test to 9238 1.1 skrll ppc64elf.em. 9239 1.1 skrll (ppc64_elf_set_toc): Rename to ppc64_elf_toc, remove info param 9240 1.1 skrll and relocatable test. Return TOCstart and don't set elf_gp. 9241 1.1 skrll (ppc64_elf_relocate_section): Correct BRTAKEN/BRNTAKEN branch 9242 1.1 skrll offset calculation. Add assert on weak sym branch tweaks. 9243 1.1 skrll * elf64-ppc.h (ppc64_elf_set_toc): Delete. 9244 1.1 skrll (ppc64_elf_toc): Declare. 9245 1.1 skrll (ppc64_elf_next_input_section): Update. 9246 1.1 skrll 9247 1.1 skrll 2002-05-01 Alan Modra <amodra (a] bigpond.net.au> 9248 1.1 skrll 9249 1.1 skrll * syms.c (_bfd_stab_section_find_nearest_line): Don't bomb on NULL 9250 1.1 skrll file_name. 9251 1.1 skrll 9252 1.1 skrll 2002-05-01 Alan Modra <amodra (a] bigpond.net.au> 9253 1.1 skrll 9254 1.1 skrll * elf64-ppc.c (CROR_151515, CROR_313131): Define. 9255 1.1 skrll (ppc64_elf_relocate_section): Use them. Don't look for plt calls 9256 1.1 skrll on R_PPC64_ADDR24 relocs. Require a nop or no link reg on plt 9257 1.1 skrll call branches. Correct undefined weak destination. 9258 1.1 skrll (ppc64_elf_func_desc_adjust): Always create at least one blr in 9259 1.1 skrll .sfpr, and correct case where either only savef* or restf* is 9260 1.1 skrll needed. 9261 1.1 skrll 9262 1.1 skrll Long branch stubs, multiple stub sections. 9263 1.1 skrll * elf64-ppc.h (ppc64_elf_setup_section_lists): Declare. 9264 1.1 skrll (ppc64_elf_next_input_section): Declare. 9265 1.1 skrll * elf64-ppc.c: Move linker-only prototypes. 9266 1.1 skrll (STUB_SUFFIX): Define. 9267 1.1 skrll (enum ppc_stub_type): New. 9268 1.1 skrll (struct ppc_stub_hash_entry): New. 9269 1.1 skrll (struct ppc_branch_hash_entry): New. 9270 1.1 skrll (struct ppc_link_hash_entry): Add stub_cache, oh. 9271 1.1 skrll (struct ppc_link_hash_table): Add stub_hash_table etc. Remove 9272 1.1 skrll sstub. Add sbrlt, srelbrlt, has_14bit_branch, stub_iteration. 9273 1.1 skrll Rename plt_overflow to stub_error. 9274 1.1 skrll (ppc_stub_hash_lookup): Define. 9275 1.1 skrll (ppc_branch_hash_lookup): Define. 9276 1.1 skrll (stub_hash_newfunc): New function. 9277 1.1 skrll (branch_hash_newfunc): New function. 9278 1.1 skrll (link_hash_newfunc): Init new fields. 9279 1.1 skrll (ppc64_elf_link_hash_table_create): Likewise. 9280 1.1 skrll (ppc64_elf_link_hash_table_free): New function. 9281 1.1 skrll (ppc_stub_name): New function. 9282 1.1 skrll (ppc_get_stub_entry): New function. 9283 1.1 skrll (ppc_add_stub): New function. 9284 1.1 skrll (create_linkage_sections): Use bfd_make_section_anyway. Create 9285 1.1 skrll .branch_lt and .rela.branch_lt sections. Don't create .stub. 9286 1.1 skrll (ppc64_elf_check_relocs): Set has_14bit_branch on R_PPC64_REL14*, 9287 1.1 skrll and set up for plt call stubs. Link func and func desc syms. 9288 1.1 skrll (ppc64_elf_gc_sweep_hook): Handle REL14* as per REL24. 9289 1.1 skrll (func_desc_adjust): Avoid hash lookup when func desc sym available 9290 1.1 skrll via shortcut, and set links when processing. 9291 1.1 skrll (ppc64_elf_hide_symbol): Likewise. 9292 1.1 skrll (allocate_dynrelocs): Don't allocate stub section here. 9293 1.1 skrll (ppc64_elf_size_dynamic_sections): Handle sbrlt and srelbrlt. 9294 1.1 skrll Remove sstub code. 9295 1.1 skrll (ppc_type_of_stub): New function. 9296 1.1 skrll (build_one_stub): Delete. 9297 1.1 skrll (ppc_build_one_stub): New function. 9298 1.1 skrll (ppc_size_one_stub): New function. 9299 1.1 skrll (ppc64_elf_setup_section_lists): New function. 9300 1.1 skrll (ppc64_elf_next_input_section): New function. 9301 1.1 skrll (group_sections): New function. 9302 1.1 skrll (get_local_syms): New function. 9303 1.1 skrll (ppc64_elf_size_stubs): Rewrite. 9304 1.1 skrll (ppc64_elf_build_stubs): Rewrite. 9305 1.1 skrll (ppc64_elf_relocate_section): Look up stub entry for REL24 9306 1.1 skrll relocs. Don't propagate REL14* to dynamic objects. Look for long 9307 1.1 skrll branch stubs if REL14* or REL24 relocs won't reach. 9308 1.1 skrll (bfd_elf64_bfd_link_hash_table_free): Define. 9309 1.1 skrll 9310 1.1 skrll 2002-04-30 Mark Mitchell <mark (a] codesourcery.com> 9311 1.1 skrll 9312 1.1 skrll * config.bfd: Add support for powerpc-*-windiss. 9313 1.1 skrll 9314 1.1 skrll 2002-04-30 Tom Rix <trix (a] redhat.com> 9315 1.1 skrll 9316 1.1 skrll * xcofflink.c (xcoff_link_add_symbols): Always copy undef C_EXT 9317 1.1 skrll symbol names into the hash table. 9318 1.1 skrll 9319 1.1 skrll 2002-04-28 Tom Rix <trix (a] redhat.com> 9320 1.1 skrll 9321 1.1 skrll * coff-rs6000.c (xcoff_calculate_relocation) : Function table for 9322 1.1 skrll calulating relocations. 9323 1.1 skrll (xcoff_complain_overflow) : Function table for relocation errors. 9324 1.1 skrll (xcoff_ppc_relocate_section): Use relocation and complain function 9325 1.1 skrll tables. 9326 1.1 skrll (xcoff_complain_overflow_unsigned_func): New complain function. 9327 1.1 skrll (xcoff_complain_overflow_signed_func): Same. 9328 1.1 skrll (xcoff_complain_overflow_bitfield_func): Same. 9329 1.1 skrll (xcoff_complain_overflow_dont_func): Same. 9330 1.1 skrll (xcoff_reloc_type_crel): New recot function. 9331 1.1 skrll (xcoff_reloc_type_br): Same. 9332 1.1 skrll (xcoff_reloc_type_ba): Same. 9333 1.1 skrll (xcoff_reloc_type_toc): Same. 9334 1.1 skrll (xcoff_reloc_type_rel): Same. 9335 1.1 skrll (xcoff_reloc_type_neg): Same. 9336 1.1 skrll (xcoff_reloc_type_pos): Same. 9337 1.1 skrll (xcoff_reloc_type_fail): Same. 9338 1.1 skrll (xcoff_reloc_type_noop): Same. 9339 1.1 skrll * libxcoff.h : Declare common parts for xcoff64. 9340 1.1 skrll * coff64-rs6000.c (xcoff64_ppc_relocate_section): Use relocation 9341 1.1 skrll and complain function tables. 9342 1.1 skrll 9343 1.1 skrll 2002-04-28 Alan Modra <amodra (a] bigpond.net.au> 9344 1.1 skrll 9345 1.1 skrll * elf64-x86-64.c (struct elf64_x86_64_dyn_relocs): Comment typo. 9346 1.1 skrll * elf32-hppa.c (elf32_hppa_final_link): Formatting. 9347 1.1 skrll 9348 1.1 skrll 2002-04-26 Alan Modra <amodra (a] bigpond.net.au> 9349 1.1 skrll 9350 1.1 skrll * opncls.c (bfd_make_readable): Call bfd_section_list_clear. 9351 1.1 skrll * xcofflink.c (xcoff_link_add_dynamic_symbols): Likewise. 9352 1.1 skrll 9353 1.1 skrll * elflink.h (elf_bfd_final_link): Ensure input bfd class is the 9354 1.1 skrll same as the output before calling elf_link_input_bfd. 9355 1.1 skrll 9356 1.1 skrll * coffcode.h (coff_compute_section_file_positions): Set 9357 1.1 skrll section_tail after shuffling section list. 9358 1.1 skrll 9359 1.1 skrll 2002-04-24 Christian Groessler <chris (a] groessler.org> 9360 1.1 skrll 9361 1.1 skrll * coff-z8k.c (extra_case): Fix R_IMM32 relocations: The 9362 1.1 skrll addresses are 23bit with a special layout, not plain 32bit 9363 1.1 skrll values. Prevent relocation of immediate values. 9364 1.1 skrll 9365 1.1 skrll 2002-04-24 Chris G. Demetriou <cgd (a] broadcom.com> 9366 1.1 skrll 9367 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): If MDMX or 9368 1.1 skrll MIPS-16 ASE flags are set, print something to indicate that. 9369 1.1 skrll 9370 1.1 skrll 2002-04-23 Alan Modra <amodra (a] bigpond.net.au> 9371 1.1 skrll 9372 1.1 skrll * elf32-hppa.c (hppa_type_of_stub): Correct and simplify condition 9373 1.1 skrll under which a plt call stub is used. 9374 1.1 skrll (final_link_relocate): Similarly. 9375 1.1 skrll (allocate_plt_static): Clear h-plabel except when plt entry is 9376 1.1 skrll exclusively used for a plabel. 9377 1.1 skrll (allocate_dynrelocs): Use the above to simplify plt sizing. 9378 1.1 skrll (struct elf32_hppa_link_hash_table): Add has_22bit_branch. 9379 1.1 skrll (elf32_hppa_link_hash_table_create): Init. 9380 1.1 skrll (BL22_RP): Define. 9381 1.1 skrll (hppa_build_one_stub): Use BL22_RP if has_22bit_branch. 9382 1.1 skrll (elf32_hppa_check_relocs): Set has_22bit_branch. 9383 1.1 skrll 9384 1.1 skrll * elf32-hppa.c (elf32_hppa_check_relocs): Remove debug message. 9385 1.1 skrll (final_link_relocate): Likewise. 9386 1.1 skrll 9387 1.1 skrll 2002-04-22 Jakub Jelinek <jakub (a] redhat.com> 9388 1.1 skrll 9389 1.1 skrll * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't build 9390 1.1 skrll search table if some FDE is DW_EH_PE_aligned encoded either. 9391 1.1 skrll (_bfd_elf_write_section_eh_frame): Handle terminating FDE specially. 9392 1.1 skrll 9393 1.1 skrll 2002-04-22 Richard Smith <richard (a] ex-parrot.com> 9394 1.1 skrll Jakub Jelinek <jakub (a] redhat.com> 9395 1.1 skrll 9396 1.1 skrll * elf-eh-frame.c (struct eh_cie_fde): Add per_encoding_relative. 9397 1.1 skrll (_bfd_elf_discard_section_eh_frame): Set it for CIEs with pcrel 9398 1.1 skrll encoded personality. 9399 1.1 skrll (_bfd_elf_write_section_eh_frame): Adjust pcrel encoded personality 9400 1.1 skrll for CIE/FDE removal. 9401 1.1 skrll 9402 1.1 skrll 2002-04-20 Tom Rix <trix (a] redhat.com> 9403 1.1 skrll 9404 1.1 skrll * coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Fix C_FILE auxent. 9405 1.1 skrll 9406 1.1 skrll 2002-04-20 Alan Modra <amodra (a] bigpond.net.au> 9407 1.1 skrll 9408 1.1 skrll * archures.c (bfd_lookup_arch): Move the list order comment.. 9409 1.1 skrll (struct bfd_arch_info): ..to where it belongs. 9410 1.1 skrll * bfd-in2.h: Regenerate. 9411 1.1 skrll 9412 1.1 skrll * archures.c (bfd_lookup_arch): Add comment on list order. 9413 1.1 skrll (bfd_default_set_arch_mach): Use bfd_lookup_arch. 9414 1.1 skrll * cpu-powerpc.c (bfd_powerpc_archs): Re-order so that the default 9415 1.1 skrll is always at head of list. 9416 1.1 skrll 9417 1.1 skrll 2002-04-18 Nick Clifton <nickc (a] cambridge.redhat.com> 9418 1.1 skrll 9419 1.1 skrll * coff-arm.c (coff_thumb_pcrel_12, coff_thumb_pcrel_9, 9420 1.1 skrll insert_thumb_branch, record_thumb_to_arm_glue): Suppress 9421 1.1 skrll definition of these functions for ARM_WINCE builds as they are 9422 1.1 skrll not used. 9423 1.1 skrll (SWAP_IN_RELOC_OFFSET, SWAP_OUT_RELOC_OFFSET): Do not define 9424 1.1 skrll for ARM_WINCE builds. 9425 1.1 skrll 9426 1.1 skrll 2002-04-18 Nick Clifton <nickc (a] cambridge.redhat.com> 9427 1.1 skrll 9428 1.1 skrll * coff-arm.c (bfd_arm_process_before_allocation): 9429 1.1 skrll 9430 1.1 skrll 2002-04-17 J"orn Rennecke <joern.rennecke (a] superh.com> 9431 1.1 skrll 9432 1.1 skrll * cpu-sh.c (scan_mach): Delete. 9433 1.1 skrll (arch_info_struct): Replace scan_mach with bfd_default_scan. 9434 1.1 skrll (bfd_sh_arch): Likewise. 9435 1.1 skrll 9436 1.1 skrll 2002-04-16 Nick Clifton <nickc (a] cambridge.redhat.com> 9437 1.1 skrll 9438 1.1 skrll * ihex.c (ihex_write_object_contents): Fix check for records 9439 1.1 skrll crossing 64K boundaries. 9440 1.1 skrll 9441 1.1 skrll 2002-04-16 Alan Modra <amodra (a] bigpond.net.au> 9442 1.1 skrll 9443 1.1 skrll * elf32-m32r.c (m32r_elf_add_symbol_hook): Check the hash table 9444 1.1 skrll type rather than just assuming entries are ELF. 9445 1.1 skrll * elf32-sh64.c (sh64_elf_add_symbol_hook): Likewise. 9446 1.1 skrll * elf64-sh64.c (sh64_elf64_add_symbol_hook): Likewise. 9447 1.1 skrll * elf64-sparc.c (sparc64_elf_add_symbol_hook): Likewise. 9448 1.1 skrll * elf64-mmix.c (mmix_elf_add_symbol_hook): Use bfd_link_hash_entry 9449 1.1 skrll rather than elf_link_hash_entry. 9450 1.1 skrll 9451 1.1 skrll 2002-04-15 Richard Henderson <rth (a] redhat.com> 9452 1.1 skrll 9453 1.1 skrll * elf32-mips.c (mips_elf32_object_p): Revert 0404 fragment: allow 9454 1.1 skrll n32 binaries. 9455 1.1 skrll 9456 1.1 skrll 2002-04-15 Michael Snyder <msnyder (a] redhat.com> 9457 1.1 skrll 9458 1.1 skrll * opncls.c (bfd_close): Write contents if writeable. 9459 1.1 skrll Minor formatting tidy-ups. 9460 1.1 skrll 9461 1.1 skrll 2002-04-15 Alan Modra <amodra (a] bigpond.net.au> 9462 1.1 skrll 9463 1.1 skrll * elf32-ppc.c (ppc_elf_add_symbol_hook): Check the hash table type. 9464 1.1 skrll 9465 1.1 skrll 2002-04-12 Michael Snyder <msnyder (a] redhat.com> 9466 1.1 skrll 9467 1.1 skrll * bfd-in.h (bfd_get_section_lma): New access macro. 9468 1.1 skrll Minor white-space fix-up. 9469 1.1 skrll 9470 1.1 skrll 2002-04-12 Alan Modra <amodra (a] bigpond.net.au> 9471 1.1 skrll 9472 1.1 skrll * elf.c (prep_headers): Don't zero EI_OSABI, EI_ABIVERSION or 9473 1.1 skrll header pad. 9474 1.1 skrll 9475 1.1 skrll 2002-04-09 DJ Delorie <dj (a] redhat.com> 9476 1.1 skrll 9477 1.1 skrll * elfarm-nabi.c (elf32_arm_howto_table): Fix ABS16 masks. 9478 1.1 skrll 9479 1.1 skrll 2002-04-09 Casper S. Hornstrup <chorns (a] users.sourceforge.net> 9480 1.1 skrll 9481 1.1 skrll * coffcode.h (coff_read_word): New. 9482 1.1 skrll (coff_compute_checksum): New. 9483 1.1 skrll (coff_apply_checksum): New. 9484 1.1 skrll (coff_write_object_contents): Call coff_apply_checksum () to 9485 1.1 skrll apply checksum to PE image. 9486 1.1 skrll 9487 1.1 skrll 2002-04-08 Randolph Chung <tausq (a] debian.org> 9488 1.1 skrll 9489 1.1 skrll * elf32-hppa.c (hppa_unwind_entry_compare): Move to elf-hppa.h. 9490 1.1 skrll (elf32_hppa_final_link): Split out sorting logic to.. 9491 1.1 skrll * elf-hppa.h (elf_hppa_sort_unwind): ..here. 9492 1.1 skrll (elf_hppa_final_link): Call elf_hppa_sort_unwind. 9493 1.1 skrll 9494 1.1 skrll 2002-04-07 Andrew Cagney <ac131313 (a] redhat.com> 9495 1.1 skrll 9496 1.1 skrll * configure.in: Add missing ``|'' to powerpc-*-aix4.[4-9]* 9497 1.1 skrll pattern. 9498 1.1 skrll * configure: Re-generate. 9499 1.1 skrll 9500 1.1 skrll 2002-04-07 Andrew Cagney <ac131313 (a] redhat.com> 9501 1.1 skrll 9502 1.1 skrll * configure.in: Only define AIX_CORE_DUMPX_CORE when AIX version 9503 1.1 skrll is greater or equal to 4.3.3. 9504 1.1 skrll * configure: Regenerate. 9505 1.1 skrll Fix PR gdb/344. 9506 1.1 skrll 9507 1.1 skrll 2002-04-05 Hans-Peter Nilsson <hp (a] axis.com> 9508 1.1 skrll 9509 1.1 skrll * elf32-cris.c (cris_elf_howto_table) <R_CRIS_16_PCREL, 9510 1.1 skrll R_CRIS_32_PCREL>: Fix typo in name. 9511 1.1 skrll (cris_elf_check_relocs): Always create .rela.got here when 9512 1.1 skrll R_CRIS_16_GOTPLT or R_CRIS_32_GOTPLT is seen. 9513 1.1 skrll (elf_cris_adjust_gotplt_to_got): Don't create .rela.got here; 9514 1.1 skrll assume it's created. 9515 1.1 skrll 9516 1.1 skrll 2002-04-04 Daniel Jacobowitz <drow (a] mvista.com> 9517 1.1 skrll 9518 1.1 skrll * aout-adobe.c (aout_32_bfd_link_hash_table_free): Define. 9519 1.1 skrll * aout-target.h (MY_bfd_link_hash_table_free): Conditionally 9520 1.1 skrll define. 9521 1.1 skrll * aout-tic30.c (MY_bfd_link_hash_table_free): Likewise. 9522 1.1 skrll * bfd.c (bfd_link_hash_table_free): Define. 9523 1.1 skrll * binary.c (binary_bfd_link_hash_table_free): Define. 9524 1.1 skrll * bout.c (b_out_bfd_link_hash_table_free): Define. 9525 1.1 skrll * coff-rs6000.c (rs6000coff_vec): Include 9526 1.1 skrll _bfd_generic_link_hash_table_free. 9527 1.1 skrll (pmac_xcoff_vec): Likewise. 9528 1.1 skrll * coff64-rs6000.c (rs6000coff64_vec): Likewise. 9529 1.1 skrll (aix5coff64_vec): Likewise. 9530 1.1 skrll * coffcode.h (coff_bfd_link_hash_table_free): Conditionally define. 9531 1.1 skrll * elf-m10300.c (elf32_mn10300_link_hash_table_free): New function. 9532 1.1 skrll (bfd_elf32_bfd_link_hash_table_free): Define. 9533 1.1 skrll * elf32-hppa.c (elf32_hppa_link_hash_table_free): New function. 9534 1.1 skrll (bfd_elf32_bfd_link_hash_table_free): Define. 9535 1.1 skrll * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_free): Conditionally 9536 1.1 skrll define. 9537 1.1 skrll * i386msdos.c (msdos_bfd_link_hash_table_free): Define. 9538 1.1 skrll * i386os9k.c (os9k_bfd_link_hash_table_free): Define. 9539 1.1 skrll * ieee.c (ieee_bfd_link_hash_table_free): Define. 9540 1.1 skrll * ihex.c (ihex_bfd_link_hash_table_free): Define. 9541 1.1 skrll * libbfd-in.h (_bfd_nolink_bfd_link_hash_table_free): Define. 9542 1.1 skrll (_bfd_generic_link_hash_table_free): Add prototype. 9543 1.1 skrll * libcoff-in.h (_bfd_xcoff_bfd_link_hash_table_free): Add prototype. 9544 1.1 skrll * libecoff.h (_bfd_ecoff_bfd_link_hash_table_free): Define. 9545 1.1 skrll * linker.c (_bfd_generic_link_hash_table_free): New function. 9546 1.1 skrll * mmo.c (mmo_bfd_link_hash_table_free): Define. 9547 1.1 skrll * nlm-target.h (nlm_bfd_link_hash_table_free): Define. 9548 1.1 skrll * oasys.c (oasys_bfd_link_hash_table_free): Define. 9549 1.1 skrll * ppcboot.c (ppcboot_bfd_link_hash_table_free): Define. 9550 1.1 skrll * som.c (som_bfd_link_hash_table_free): Define. 9551 1.1 skrll * srec.c (srec_bfd_link_hash_table_free): Define. 9552 1.1 skrll * tekhex.c (tekhex_bfd_link_hash_table_free): Define. 9553 1.1 skrll * versados.c (versados_bfd_link_hash_table_free): Define. 9554 1.1 skrll * vms.c (vms_bfd_link_hash_table_free): New function. 9555 1.1 skrll * xcofflink.c (_bfd_xcoff_bfd_link_hash_table_free): New function. 9556 1.1 skrll 9557 1.1 skrll * coff-arm.c (coff_arm_link_hash_table_create): Use bfd_malloc 9558 1.1 skrll instead of bfd_alloc. 9559 1.1 skrll * coff-h8300.c (h8300_coff_link_hash_table_create): Likewise. 9560 1.1 skrll * coff-mcore.c (coff_mcore_link_hash_table_create): Likewise. 9561 1.1 skrll * coff-ppc.c (ppc_coff_link_hash_table_create): Likewise. 9562 1.1 skrll * cofflink.c (_bfd_coff_link_hash_table_create): Likewise. 9563 1.1 skrll * ecoff.c (_bfd_ecoff_bfd_link_hash_table_create): Likewise. 9564 1.1 skrll * elf-m10300.c (elf32_mn10300_link_hash_table_create): Likewise. 9565 1.1 skrll * elf.c (_bfd_elf_link_hash_table_create): Likewise. 9566 1.1 skrll * elf32-arm.h (elf32_arm_link_hash_table_create): Likewise. 9567 1.1 skrll * elf32-cris.c (elf_cris_link_hash_table_create): Likewise. 9568 1.1 skrll * elf32-hppa.c (elf32_hppa_link_hash_table_create): Likewise. 9569 1.1 skrll * elf32-i386.c (elf_i386_link_hash_table_create): Likewise. 9570 1.1 skrll * elf32-m68k.c (elf_m68k_link_hash_table_create): Likewise. 9571 1.1 skrll * elf32-s390.c (elf_s390_link_hash_table_create): Likewise. 9572 1.1 skrll * elf32-sh.c (sh_elf_link_hash_table_create): Likewise. 9573 1.1 skrll * elf64-alpha.c (elf64_alpha_bfd_link_hash_table_create): Likewise. 9574 1.1 skrll * elf64-ppc.c (ppc64_elf_link_hash_table_create): Likewise. 9575 1.1 skrll * elf64-s390.c (elf_s390_link_hash_table_create): Likewise. 9576 1.1 skrll * elf64-sh64.c (sh64_elf64_link_hash_table_create): Likewise. 9577 1.1 skrll * elf64-sparc.c (sparc64_elf_bfd_link_hash_table_create): Likewise. 9578 1.1 skrll * elf64-x86-64.c (elf64_x86_64_link_hash_table_create): Likewise. 9579 1.1 skrll * elfxx-mips.c (_bfd_mips_elf_link_hash_table_create): Likewise. 9580 1.1 skrll * linker.c (_bfd_generic_link_hash_table_create): Likewise. 9581 1.1 skrll * m68klinux.c (linux_link_hash_table_create): Likewise. 9582 1.1 skrll * sparclinux.c (linux_link_hash_table_create): Likewise. 9583 1.1 skrll * sunos.c (sunos_link_hash_table_create): Likewise. 9584 1.1 skrll * xcofflink.c (_bfd_xcoff_bfd_link_hash_table_create): Likewise. 9585 1.1 skrll 9586 1.1 skrll * targets.c: Add _bfd_link_hash_table_free to xvec. 9587 1.1 skrll 9588 1.1 skrll * bfd-in2.h: Regenerate. 9589 1.1 skrll * libbfd.h: Regenerate. 9590 1.1 skrll * libcoff.h: Regenerate. 9591 1.1 skrll 9592 1.1 skrll 2002-04-04 Alan Modra <amodra (a] bigpond.net.au> 9593 1.1 skrll 9594 1.1 skrll * dep-in.sed: Cope with absolute paths. 9595 1.1 skrll * Makefile.am (dep.sed): Subst TOPDIR, and not INCDIR. 9596 1.1 skrll Run "make dep-am". 9597 1.1 skrll * Makefile.in: Regenerate. 9598 1.1 skrll * coff-arm.c: Fix copyright date. 9599 1.1 skrll * cpu-h8300.c: Likewise. 9600 1.1 skrll * cpu-i370.c: Likewise. 9601 1.1 skrll * cpu-s390.c: Likewise. 9602 1.1 skrll * cpu-mips.c: Likewise. 9603 1.1 skrll * po/SRC-POTFILES.in: Regenerate. 9604 1.1 skrll 9605 1.1 skrll 2002-04-04 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 9606 1.1 skrll 9607 1.1 skrll * Makefile.am: Add elfxx-mips.c to the known backends. 9608 1.1 skrll (elf32-mips.lo): remove dependency to coff/external.h. 9609 1.1 skrll * Makefile.in: Regenerate. 9610 1.1 skrll * configure.in: Add elfxx-mips.lo to all vectors using elf32-mips.lo 9611 1.1 skrll Remove elf32-mips.lo from 64 bit vectors. Update dependencies 9612 1.1 skrll accordingly. 9613 1.1 skrll * configure: Regenerate. 9614 1.1 skrll * elf-bfd.h: Move all MIPS ELF specific prototypes to elfxx-mips.h. 9615 1.1 skrll (irix_compat_t): IRIX compatibility level, moved from elf32-mips.c. 9616 1.1 skrll (elf_backend_mips_irix_compat, elf_backend_mips_rtype_to_howto): New 9617 1.1 skrll MIPS specific backend functions. 9618 1.1 skrll * elf32-mips.c: Moved most code to elfxx-mips.c. 9619 1.1 skrll (mips_elf_hi16_reloc): Rename from _bfd_mips_elf_hi16_reloc and make 9620 1.1 skrll static. 9621 1.1 skrll (mips_elf_lo16_reloc): Likewise, was _bfd_mips_elf_lo16_reloc. 9622 1.1 skrll (mips_elf_got16_reloc): Likewise, was _bfd_mips_elf_got16_reloc. 9623 1.1 skrll (mips_elf_gprel32_reloc): Likewise, was _bfd_mips_elf_gprel32_reloc. 9624 1.1 skrll (mips_elf32_rtype_to_howto): Rename from mips_rtype_to_howto. Changed 9625 1.1 skrll interface to allow selection of the right REL or RELA howto table. 9626 1.1 skrll (mips_elf32_object_p): Rename from _bfd_mips_elf_object_p and made 9627 1.1 skrll static. Let it refuse n32 objects. 9628 1.1 skrll (elf32_mips_grok_prstatus): Rename from _bfd_elf32_mips_grok_prstatus. 9629 1.1 skrll (elf32_mips_grok_psinfo): Rename from _bfd_elf32_mips_grok_psinfo. 9630 1.1 skrll (elf32_mips_discard_info): Rename from _bfd_elf32_mips_discard_info. 9631 1.1 skrll (elf32_mips_ignore_discarded_relocs): Rename from 9632 1.1 skrll _bfd_elf32_mips_ignore_discarded_relocs. 9633 1.1 skrll (elf32_mips_write_section): Rename from _bfd_elf32_mips_write_section. 9634 1.1 skrll (elf32_mips_irix_compat): New function, replaces IRIX_COMPAT. 9635 1.1 skrll (elf_mips_howto_table_rela): Remove. 9636 1.1 skrll * elf64-mips.c: Moved most code to elfxx-mips.c. 9637 1.1 skrll (bfd_elf64_bfd_reloc_type_lookup): Make static. 9638 1.1 skrll (mips_elf64_rtype_to_howto): New function. 9639 1.1 skrll (mips_elf64_object_p): Likewise. 9640 1.1 skrll (elf64_mips_irix_compat): Likewise. 9641 1.1 skrll * elfxx-mips.c: New file containing common code merged together from 9642 1.1 skrll elf32-mips.c and elf64-mips.c. 9643 1.1 skrll * elfxx-mips.h: New file containing MIPS specific prototypes from 9644 1.1 skrll elf-bfd.h. 9645 1.1 skrll * elfxx-target.h: Add handling for elf_backend_mips_irix_compat and 9646 1.1 skrll elf_backend_mips_rtype_to_howto. 9647 1.1 skrll 9648 1.1 skrll 2002-04-04 Alan Modra <amodra (a] bigpond.net.au> 9649 1.1 skrll 9650 1.1 skrll * srec.c (MAXCHUNK, Chunk): Revise comments. 9651 1.1 skrll (srec_write_record): Correct buffer size. 9652 1.1 skrll (srec_write_header): Do without intermediate buffer. 9653 1.1 skrll (srec_write_section): Validate Chunk. 9654 1.1 skrll (srec_write_terminator): Pass NULL instead of dummy buffer. 9655 1.1 skrll (srec_write_symbols): Pass file and symbol names directly to 9656 1.1 skrll bfd_bwrite so sprintf won't overflow buffer. 9657 1.1 skrll 9658 1.1 skrll 2002-04-03 Jakub Jelinek <jakub (a] redhat.com> 9659 1.1 skrll 9660 1.1 skrll * elf32-sparc.c (elf32_sparc_relocate_section): Don't emit dynamic 9661 1.1 skrll PC relative relocs against hidden symbols. 9662 1.1 skrll * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. 9663 1.1 skrll 9664 1.1 skrll 2002-04-03 Alan Modra <amodra (a] bigpond.net.au> 9665 1.1 skrll 9666 1.1 skrll * elf.c (_bfd_elf_make_section_from_shdr): When setting section 9667 1.1 skrll LMAs, loop over segments until p_vaddr and p_memsz specify an 9668 1.1 skrll extent enclosing the section. 9669 1.1 skrll 9670 1.1 skrll 2002-04-02 Nick Clifton <nickc (a] cambridge.redhat.com> 9671 1.1 skrll 9672 1.1 skrll * ihex.c (ihex_write_object_contents): Do not allow records to 9673 1.1 skrll cross a 64K boundary - wrap if necessary. 9674 1.1 skrll 9675 1.1 skrll 2002-04-01 Nathan Williams <nathanw (a] wasabisystems.com> 9676 1.1 skrll 9677 1.1 skrll * elf.c (elfcore_netbsd_get_lwpid): Fix off-by-one error 9678 1.1 skrll which caused the returned LWP ID to always be 0. 9679 1.1 skrll 9680 1.1 skrll 2002-04-01 Richard Henderson <rth (a] redhat.com> 9681 1.1 skrll 9682 1.1 skrll * elf32-sparc.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New. 9683 1.1 skrll (elf32_sparc_relocate_section): Use it to figure out when to 9684 1.1 skrll initialize .got entries. 9685 1.1 skrll * elf64-sparc.c: Similarly. 9686 1.1 skrll 9687 1.1 skrll 2002-03-28 Alan Modra <amodra (a] bigpond.net.au> 9688 1.1 skrll 9689 1.1 skrll * linker.c (link_action): Ignore duplicate warning syms. 9690 1.1 skrll (_bfd_generic_link_write_global_symbol): Follow warning symbol link. 9691 1.1 skrll * elflink.h (elf_adjust_dynstr_offsets): Likewise. 9692 1.1 skrll (elf_adjust_dynamic_symbol): Likewise. 9693 1.1 skrll (elf_export_symbol): Likewise. 9694 1.1 skrll (elf_link_find_version_dependencies): Likewise. 9695 1.1 skrll (elf_link_assign_sym_version): Likewise. 9696 1.1 skrll (elf_link_sec_merge_syms): Likewise. 9697 1.1 skrll (elf_link_output_extsym): Likewise. 9698 1.1 skrll (elf_gc_sweep_symbol): Likewise. 9699 1.1 skrll (elf_gc_propagate_vtable_entries_used): Likewise. 9700 1.1 skrll (elf_gc_smash_unused_vtentry_relocs): Likewise. 9701 1.1 skrll (elf_gc_allocate_got_offsets): Likewise. 9702 1.1 skrll (elf_collect_hash_codes): Likewise. 9703 1.1 skrll * elflink.c (elf_link_renumber_hash_table_dynsyms): Likewise. 9704 1.1 skrll * elf-hppa.h (elf_hppa_unmark_useless_dynamic_symbols): Likewise. 9705 1.1 skrll (elf_hppa_remark_useless_dynamic_symbols): Likewise. 9706 1.1 skrll * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Likewise. 9707 1.1 skrll * elf32-arm.h (elf32_arm_discard_copies): Likewise. 9708 1.1 skrll * elf32-cris.c (elf_cris_adjust_gotplt_to_got): Likewise. 9709 1.1 skrll (elf_cris_discard_excess_dso_dynamics): Likewise. 9710 1.1 skrll * elf32-hppa.c (clobber_millicode_symbols): Likewise. 9711 1.1 skrll (mark_PIC_calls): Likewise. 9712 1.1 skrll (allocate_plt_static): Likewise. 9713 1.1 skrll (allocate_dynrelocs): Likewise. 9714 1.1 skrll (readonly_dynrelocs): Likewise. 9715 1.1 skrll * elf32-i386.c (allocate_dynrelocs): Likewise. 9716 1.1 skrll (readonly_dynrelocs): Likewise. 9717 1.1 skrll * elf32-i370.c (i370_elf_adjust_dynindx): Likewise. 9718 1.1 skrll * elf32-m68k.c (elf_m68k_discard_copies): Likewise. 9719 1.1 skrll * elf32-mips.c (mips_elf_output_extsym): Likewise. 9720 1.1 skrll (mips_elf_sort_hash_table_f): Likewise. 9721 1.1 skrll (mips_elf_check_mips16_stubs): Likewise. 9722 1.1 skrll * elf32-s390.c (allocate_dynrelocs): Likewise. 9723 1.1 skrll (readonly_dynrelocs): Likewise. 9724 1.1 skrll * elf32-sh.c (sh_elf_discard_copies): Likewise. 9725 1.1 skrll * elf32-xstormy16.c (xstormy16_relax_plt_check): Likewise. 9726 1.1 skrll (xstormy16_relax_plt_realloc): Likewise. 9727 1.1 skrll * elf64-alpha.c (elf64_alpha_calc_got_offsets_for_symbol): Likewise. 9728 1.1 skrll (elf64_alpha_output_extsym): Likewise. 9729 1.1 skrll * elf64-hppa.c (elf64_hppa_mark_exported_functions): Likewise. 9730 1.1 skrll * elf64-mips.c (mips_elf64_sort_hash_table_f): Likewise. 9731 1.1 skrll (mips_elf64_check_mips16_stubs): Likewise. 9732 1.1 skrll (mips_elf64_output_extsym): Likewise. 9733 1.1 skrll * elf64-ppc.c (func_desc_adjust): Likewise. 9734 1.1 skrll (allocate_dynrelocs): Likewise. 9735 1.1 skrll (readonly_dynrelocs): Likewise. 9736 1.1 skrll * elf64-s390.c (allocate_dynrelocs): Likewise. 9737 1.1 skrll (readonly_dynrelocs): Likewise. 9738 1.1 skrll * elf64-sh64.c (sh64_elf64_discard_copies): Likewise. 9739 1.1 skrll * elf64-x86-64.c (allocate_dynrelocs): Likewise. 9740 1.1 skrll (readonly_dynrelocs): Likewise. 9741 1.1 skrll * elfxx-ia64.c (elfNN_ia64_global_dyn_sym_thunk): Likewise. 9742 1.1 skrll * aoutx.h (aout_link_write_other_symbol): Likewise. 9743 1.1 skrll * cofflink.c (_bfd_coff_write_task_globals): Likewise. 9744 1.1 skrll (_bfd_coff_write_global_sym): Likewise. 9745 1.1 skrll * i386linux.c (linux_tally_symbols): Likewise. 9746 1.1 skrll * m68klinux.c (linux_tally_symbols): Likewise. 9747 1.1 skrll * sparclinux.c (linux_tally_symbols): Likewise. 9748 1.1 skrll * pdp11.c (aout_link_write_other_symbol): Likewise. 9749 1.1 skrll * sunos.c (sunos_scan_dynamic_symbol): Likewise. 9750 1.1 skrll * xcofflink.c (xcoff_build_ldsyms): Likewise. 9751 1.1 skrll (xcoff_write_global_symbol): Likewise. 9752 1.1 skrll 9753 1.1 skrll * cofflink.c (_bfd_coff_final_link): Formatting. 9754 1.1 skrll * cpu-mips.c (mips_compatible): Make static, prototype. 9755 1.1 skrll * elf32-i386.c (elf_i386_check_relocs): Formatting. 9756 1.1 skrll * elf32-sh.c (sh_elf_size_dynamic_sections): Likewise. 9757 1.1 skrll * elf64-alpha.c (elf64_alpha_output_extsym): Likewise. 9758 1.1 skrll * elf64-mips.c (mips_elf64_sort_hash_table): Likewise. 9759 1.1 skrll (mips_elf64_final_link): Likewise. 9760 1.1 skrll * elflink.h (elf_link_find_version_dependencies): Remove duplicate 9761 1.1 skrll prototype. 9762 1.1 skrll 9763 1.1 skrll 2002-03-27 Nick Clifton <nickc (a] cambridge.redhat.com> 9764 1.1 skrll 9765 1.1 skrll * coff-arm.c (SWAP_IN_RELOC_OFFSET): Define. 9766 1.1 skrll (SWAP_OUT_RELOC_OFFSET): Define. 9767 1.1 skrll 9768 1.1 skrll 2002-03-27 Gregory Steuck <greg (a] nest.cx> 9769 1.1 skrll 9770 1.1 skrll * elf.c (_bfd_elf_get_symtab_upper_bound): Leave space for 9771 1.1 skrll terminating NULL if empty symbol table. 9772 1.1 skrll (_bfd_elf_get_dynamic_symtab_upper_bound): Likewise. 9773 1.1 skrll 9774 1.1 skrll 2002-03-26 H.J. Lu (hjl (a] gnu.org) 9775 1.1 skrll 9776 1.1 skrll * elflink.h (elf_link_input_bfd): Revert the last change since 9777 1.1 skrll the gcc exception handling isn't fixed yet. 9778 1.1 skrll 9779 1.1 skrll 2002-03-26 H.J. Lu (hjl (a] gnu.org) 9780 1.1 skrll 9781 1.1 skrll * elflink.h (elf_link_input_bfd): Complain about relocations 9782 1.1 skrll against local symbols in discarded sections. 9783 1.1 skrll 9784 1.1 skrll 2002-03-26 Alan Modra <amodra (a] bigpond.net.au> 9785 1.1 skrll 9786 1.1 skrll * elflink.h (elf_gc_mark): Don't recurse into non-ELF sections. 9787 1.1 skrll 9788 1.1 skrll 2002-03-23 Alan Modra <amodra (a] bigpond.net.au> 9789 1.1 skrll 9790 1.1 skrll * elf.c (_bfd_elf_make_section_from_shdr): Don't set lma based on 9791 1.1 skrll section file offset for !SEC_LOAD sections. 9792 1.1 skrll 9793 1.1 skrll 2002-03-21 Richard Earnshaw <rearnsha (a] arm.com> 9794 1.1 skrll 9795 1.1 skrll * elf32-arm.h (elf32_arm_final_link_relocate <case R_ARM_GOTOFF>, 9796 1.1 skrll <case R_ARM_GOT>): Handle relocations to Thumb functions. 9797 1.1 skrll 9798 1.1 skrll 2002-03-21 Alan Modra <amodra (a] bigpond.net.au> 9799 1.1 skrll 9800 1.1 skrll * coff64-rs6000.c (_bfd_xcoff64_put_symbol_name): Prototype. 9801 1.1 skrll Whitespace changes. 9802 1.1 skrll * archive.c: Update copyright date. 9803 1.1 skrll * bfd-in2.h: Regenerate. 9804 1.1 skrll * libbfd.h: Regenerate. 9805 1.1 skrll * Makefile.am: Run "make dep-am" 9806 1.1 skrll * Makefile.in: Regenerate. 9807 1.1 skrll * po/SRC-POTFILES.in: Regenerate. 9808 1.1 skrll 9809 1.1 skrll 2002-03-20 Daniel Jacobowitz <drow (a] mvista.com> 9810 1.1 skrll 9811 1.1 skrll * dwarf2.c (struct funcinfo): Move up. 9812 1.1 skrll (lookup_address_in_function_table): New argument function_ptr. 9813 1.1 skrll Set it. 9814 1.1 skrll (lookup_address_in_line_table): New argument function. If function 9815 1.1 skrll is non-NULL, use it to handle ``addr'' before the first line note of 9816 1.1 skrll the function. 9817 1.1 skrll (comp_unit_find_nearest_line): Update and swap calls to 9818 1.1 skrll lookup_address_in_function_table and lookup_address_in_line_table. 9819 1.1 skrll * syms.c (_bfd_stab_section_find_nearest_line): Use the first 9820 1.1 skrll N_SLINE encountered if we see an N_FUN before any N_SLINE. 9821 1.1 skrll 9822 1.1 skrll 2002-03-20 Tom Rix <trix (a] redhat.com> 9823 1.1 skrll 9824 1.1 skrll * coff-rs6000.c (_bfd_xcoff_stat_arch_elt): Renamed from 9825 1.1 skrll _bfd_xcoff_generic_stat_arch_elt. Fix format check. 9826 1.1 skrll * coff64-rs6000.c : Use _bfd_xcoff_stat_arch_elt. 9827 1.1 skrll 9828 1.1 skrll 2002-03-19 Tom Rix <trix (a] redhat.com> 9829 1.1 skrll 9830 1.1 skrll * xcofflink.c (_bfd_xcoff_bfd_link_add_symbols): Look through all 9831 1.1 skrll dynamic objects in archives. 9832 1.1 skrll 9833 1.1 skrll 2002-03-19 Hans-Peter Nilsson <hp (a] bitrange.com> 9834 1.1 skrll 9835 1.1 skrll * elflink.h (NAME(bfd_elf,record_link_assignment)): Don't set 9836 1.1 skrll STT_NOTYPE symbols to STT_OBJECT. 9837 1.1 skrll 9838 1.1 skrll 2002-03-18 Jan Hubicka <jh (a] suse.cz> 9839 1.1 skrll 9840 1.1 skrll * cpu-i386.c (bfd_x86_64_arch): Rename to "i386:x86-64" 9841 1.1 skrll 9842 1.1 skrll 2002-03-18 Tom Rix <trix (a] redhat.com> 9843 1.1 skrll 9844 1.1 skrll * aix5ppc.core.c : New file for AIX 5 64 bit core support. 9845 1.1 skrll * bfd-in.h : Add bfd_xcoff_ar_archive_set_magic declaration. 9846 1.1 skrll * coff-rs6000 (do_pad) : New function for archive padding. 9847 1.1 skrll (do_copy) : New function for object file copying in archives. 9848 1.1 skrll (do_shared_object_padding) : New function for padding shared 9849 1.1 skrll objects to their text section alignment in archives. 9850 1.1 skrll (bfd_xcoff_ar_achive_set_magic) : Stub. 9851 1.1 skrll (xcoff_write_armap_big) : Use do_copy and do_pad. 9852 1.1 skrll (xcoff_write_archive_contents_big) : Use do_shared_object_padding, 9853 1.1 skrll do_copy and do_pad. 9854 1.1 skrll * coff64-rs6000.c (xcoff64_write_ojbect_contents) : Use 9855 1.1 skrll bfd_xcoff_magic_number. 9856 1.1 skrll (xcoff64_bad_format_hook) : New function for _bfd_bad_format_hook 9857 1.1 skrll fop. 9858 1.1 skrll (xcoff_backend_data_r) : Use xcoff64_bad_format_hook. 9859 1.1 skrll (bfd_xcoff_aix5_backend_data) : New Aix 5 backend data. 9860 1.1 skrll (aix5coff64_vec) : New Aix 5 target aix5coff64-rs6000. 9861 1.1 skrll * rs6000-core.c : Update copyright date. 9862 1.1 skrll * xcofflink.c (bfd_xcoff_size_dynamic_sections): Check for NULL 9863 1.1 skrll csectpp. 9864 1.1 skrll * coffcode.h (coff_new_section_hook) : Use new accessor macros. 9865 1.1 skrll (coff_set_arch_mach_hook) : Add Aix 5 U64_TOCMAGIC magic #. 9866 1.1 skrll (coff_set_flags) : Use bfd_xcoff_magic_number. 9867 1.1 skrll * libxcoff.h (bfd_xcoff_is_xcoff64): Add U64_TOCMAGIC. 9868 1.1 skrll * configure.in : Add powerpc-*-aix5 and rs6000-*-aix5 support. 9869 1.1 skrll * Makefile.am : Same. 9870 1.1 skrll * config.bfd : Same. 9871 1.1 skrll * targets.c : Same. 9872 1.1 skrll * configure : Regnerate. 9873 1.1 skrll * Makefile.in : Same. 9874 1.1 skrll * bfd-in2.h : Same. 9875 1.1 skrll 9876 1.1 skrll 2002-03-18 Nick Clifton <nickc (a] cambridge.redhat.com> 9877 1.1 skrll 9878 1.1 skrll * po/fr.po: Updated version. 9879 1.1 skrll 9880 1.1 skrll 2002-03-18 Alan Modra <amodra (a] bigpond.net.au> 9881 1.1 skrll 9882 1.1 skrll * libbfd.c (bfd_write_bigendian_4byte_int): Return true iff success. 9883 1.1 skrll * libbfd.h: Regenerate. 9884 1.1 skrll * archive.c (coff_write_armap): Pass on failures from 9885 1.1 skrll bfd_write_bigendian_4byte_int. 9886 1.1 skrll 9887 1.1 skrll 2002-03-14 H.J. Lu <hjl (a] gnu.org> 9888 1.1 skrll 9889 1.1 skrll * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the BFD 9890 1.1 skrll error to bfd_error_nonrepresentable_section for reinit_array 9891 1.1 skrll section in DSO. 9892 1.1 skrll 9893 1.1 skrll 2002-03-14 Nick Clifton <nickc (a] cambridge.redhat.com> 9894 1.1 skrll 9895 1.1 skrll * coffcode.h (coff_slurp_symbol_table): When adding BSF_WEAK flag, 9896 1.1 skrll OR it in rather than replacing previously selected flags. 9897 1.1 skrll 9898 1.1 skrll * elfxx-target.h (TARGET_BIG_SYM): Set ar_max_namelen to 15. 9899 1.1 skrll (TARGET_LITTLE_SYM): Set ar_max_namelen to 15. 9900 1.1 skrll 9901 1.1 skrll 2002-03-14 Alan Modra <amodra (a] bigpond.net.au> 9902 1.1 skrll 9903 1.1 skrll * cpu-mips.c (mips_compatible): New. Don't check bits_per_word. 9904 1.1 skrll (N): Use the above. 9905 1.1 skrll * elflink.h (elf_bfd_final_link): Revert last change. Instead, 9906 1.1 skrll ensure reloc size matches before calling elf_link_input_bfd. 9907 1.1 skrll Add an assert to check reloc size when counting output relocs. 9908 1.1 skrll 9909 1.1 skrll 2002-03-14 Nick Clifton <nickc (a] cambridge.redhat.com> 9910 1.1 skrll 9911 1.1 skrll * mmo.c (mmo_get_loc): Return NULL rather than false. 9912 1.1 skrll 9913 1.1 skrll 2002-03-13 Nick Clifton <nickc (a] cambridge.redhat.com> 9914 1.1 skrll 9915 1.1 skrll * po/fr.po: Updated version. 9916 1.1 skrll 9917 1.1 skrll 2002-03-13 Alan Modra <amodra (a] bigpond.net.au> 9918 1.1 skrll 9919 1.1 skrll * archures.c (bfd_default_compatible): Test bits_per_word. 9920 1.1 skrll * cpu-i386.c (i386_compatible): Remove. Replace occurrences with 9921 1.1 skrll bfd_default_compatible. 9922 1.1 skrll * cpu-i370.c (i370_compatible): Likewise. 9923 1.1 skrll * cpu-sparc.c (sparc_compatible): Likewise. 9924 1.1 skrll * cpu-h8300.c (compatible): Test in->arch == out->arch. 9925 1.1 skrll 9926 1.1 skrll * elflink.h: Formatting fixes. 9927 1.1 skrll (elf_link_output_extsym): Merge undefined and undef weak cases. 9928 1.1 skrll 9929 1.1 skrll * elflink.h (elf_bfd_final_link): Only call elf_link_input_bfd 9930 1.1 skrll when word size of input matches output word size. 9931 1.1 skrll 9932 1.1 skrll 2002-03-12 Andreas Jaeger <aj (a] suse.de> 9933 1.1 skrll 9934 1.1 skrll * cpu-i386.c (i386_compatible): New. Use it instead of 9935 1.1 skrll bfd_default_compatible. 9936 1.1 skrll 9937 1.1 skrll 2002-03-07 H.J. Lu (hjl (a] gnu.org) 9938 1.1 skrll 9939 1.1 skrll * coff-sh.c (shcoff_reloc_map): Use bfd_reloc_code_real_type 9940 1.1 skrll as the type for bfd_reloc_val. 9941 1.1 skrll 9942 1.1 skrll 2002-03-05 John David Anglin <dave (a] hiauly1.hia.nrc.ca> 9943 1.1 skrll 9944 1.1 skrll * elf-hppa.h (elf_hppa_is_dynamic_loader_symbol): New function. 9945 1.1 skrll (elf_hppa_relocate_section): Ignore undefined dynamic loader symbols. 9946 1.1 skrll (elf_hppa_final_link_relocate): Correct relocations for indirect 9947 1.1 skrll references to local data through the DLT. Fix .opd creation for 9948 1.1 skrll local symbols using R_PARISC_LTOFF_FPTR32 and R_PARISC_FPTR64 9949 1.1 skrll relocations. Use e_lsel selector for R_PARISC_DLTIND21L, 9950 1.1 skrll R_PARISC_LTOFF_FPTR21L and R_PARISC_LTOFF_TP21L as per 9951 1.1 skrll "Processor-Specific ELF for PA_RISC, Version 1.43" document. 9952 1.1 skrll Similarly, use e_rsel for DLT and LTOFF 'R' relocations. 9953 1.1 skrll * elf32-hppa.c (final_link_relocate): Revise relocation selectors 9954 1.1 skrll as per "Processor-Specific ELF for PA_RISC, Version 1.43" document. 9955 1.1 skrll 9956 1.1 skrll 2002-03-05 Jakub Jelinek <jakub (a] redhat.com> 9957 1.1 skrll 9958 1.1 skrll * merge.c (_bfd_merge_sections): Don't segfault if there 9959 1.1 skrll is nothing to merge due to GC. 9960 1.1 skrll 9961 1.1 skrll 2002-03-05 Alan Modra <amodra (a] bigpond.net.au> 9962 1.1 skrll 9963 1.1 skrll * elf32-hppa.c (clobber_millicode_symbols): Remove hack to keep 9964 1.1 skrll symbols that have been forced local. 9965 1.1 skrll 9966 1.1 skrll * elflink.h (elf_bfd_final_link): Call elf_link_output_extsym 9967 1.1 skrll to output forced local syms for non-shared link. 9968 1.1 skrll (elf_link_output_extsym): Tweak condition for calling backend 9969 1.1 skrll adjust_dynamic_symbol so that previous behaviour is kept. 9970 1.1 skrll Whitespace changes throughout file. 9971 1.1 skrll 9972 1.1 skrll 2002-03-04 H.J. Lu <hjl (a] gnu.org> 9973 1.1 skrll 9974 1.1 skrll * elf.c (bfd_section_from_shdr): Handle special sections, 9975 1.1 skrll .init_array, .fini_array and .preinit_array. 9976 1.1 skrll (elf_fake_sections): Likewise. 9977 1.1 skrll 9978 1.1 skrll * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Create the 9979 1.1 skrll DT entry only if the section is in output for .init_array, 9980 1.1 skrll .fini_array and .preinit_array. Complain about .preinit_array 9981 1.1 skrll section in DSO. 9982 1.1 skrll (elf_bfd_final_link): Warn zero size for .init_array, 9983 1.1 skrll .fini_array and .preinit_array sections. 9984 1.1 skrll 9985 1.1 skrll * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Remove 9986 1.1 skrll SHT_INIT_ARRAY, SHT_FINI_ARRAY and SHT_PREINIT_ARRAY. 9987 1.1 skrll (elfNN_ia64_fake_sections): Remove .init_array, .fini_array and 9988 1.1 skrll .preinit_array. 9989 1.1 skrll 9990 1.1 skrll 2002-03-04 Alan Modra <amodra (a] bigpond.net.au> 9991 1.1 skrll 9992 1.1 skrll * configure.in (WIN32LIBADD): Don't eval PICFLAG assignment. 9993 1.1 skrll * configure: Regenerate. 9994 1.1 skrll 9995 1.1 skrll 2002-03-02 Tom Rix <trix (a] redhat.com> 9996 1.1 skrll 9997 1.1 skrll * coff64-rs6000.c (xcoff64_howto_table): Replace howto types with 9998 1.1 skrll symbolic equiv. 9999 1.1 skrll * coff-rs6000.c (xcoff_howto_table): Same. 10000 1.1 skrll 10001 1.1 skrll 2002-03-01 David Mosberger <davidm (a] hpl.hp.com> 10002 1.1 skrll 10003 1.1 skrll * elflink.h (size_dynamic_sections): If section named 10004 1.1 skrll ".preinit_array" exists, create DT_PREINIT_ARRAY and 10005 1.1 skrll DT_PREINIT_ARRAYSZ entries in dynamic table. Analogously for 10006 1.1 skrll ".init_array" and ".fini_array". 10007 1.1 skrll (elf_bfd_final_link): Handle DT_PREINIT_ARRAYSZ, DT_INIT_ARRAYSZ, 10008 1.1 skrll DT_FINI_ARRAYSZ, DT_PREINIT_ARRAY, DT_INIT_ARRAY, and 10009 1.1 skrll DT_FINI_ARRAY. 10010 1.1 skrll 10011 1.1 skrll 2002-02-26 Andrew Macleod <amacleod (a] cygnus.com> 10012 1.1 skrll 10013 1.1 skrll * elflink.h (elf_bfd_final_link): Don't crash on SHN_UNDEF local 10014 1.1 skrll dynsyms. 10015 1.1 skrll 10016 1.1 skrll 2002-02-25 Alan Modra <amodra (a] bigpond.net.au> 10017 1.1 skrll 10018 1.1 skrll * elf64-hppa.h: Update copyright date. 10019 1.1 skrll 10020 1.1 skrll * elf64-ppc.c (ppc64_elf_check_relocs): Warning fix. 10021 1.1 skrll (ppc64_elf_relocate_section): Don't generate power4 style branch 10022 1.1 skrll hints for *_BRTAKEN and *_BRNTAKEN relocs. 10023 1.1 skrll 10024 1.1 skrll 2002-02-22 Jakub Jelinek <jakub (a] redhat.com> 10025 1.1 skrll 10026 1.1 skrll * elf64-sh64.c (sh_elf64_relocate_section): Fix a typo from my 10027 1.1 skrll last patch. 10028 1.1 skrll * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. 10029 1.1 skrll 10030 1.1 skrll 2002-02-21 Andreas Jaeger <aj (a] suse.de> 10031 1.1 skrll 10032 1.1 skrll * elf64-x86-64.c: Major rework that introduces all recent changes 10033 1.1 skrll to the x86-64 backend. Get a closer match to elf32-i386. 10034 1.1 skrll (struct elf64_x86_64_dyn_relocs): Rename from 10035 1.1 skrll elf64_x86_64_pcrel_relocs_copied, add additional fields. Change 10036 1.1 skrll all users. 10037 1.1 skrll (struct elf64_x86_64_link_hash_table): Add short cuts to some 10038 1.1 skrll sections. 10039 1.1 skrll (link_hash_newfunc): Rename from elf64_x86_64_link_hash_newfunc, 10040 1.1 skrll remove casts, initialize new hash members. 10041 1.1 skrll (create_got_section): New. 10042 1.1 skrll (elf64_x86_64_create_dynamic_sections): New. 10043 1.1 skrll (elf64_x86_64_copy_indirect_symbol): New. 10044 1.1 skrll (elf64_x86_64_check_relocs): Don't allocate space for dynamic 10045 1.1 skrll relocs, .got or .relgot here but do it in allocate_dynrelocs. 10046 1.1 skrll Reference count possible .plt and .got entries. Don't test input 10047 1.1 skrll section SEC_READONLY here to try to avoid copy relocs, and keep 10048 1.1 skrll dyn_relocs regardless of ELF_LINK_NON_GOT_REF. Don't set 10049 1.1 skrll DF_TEXTREL here. Delay setting of variables until needed. Cache 10050 1.1 skrll pointer to "sreloc" section in elf_section_data. Tweak condition 10051 1.1 skrll under which .got created. Report files with bad relocation 10052 1.1 skrll section names. 10053 1.1 skrll (elf64_x86_64_gc_sweep_hook): Sweep dyn_relocs and local_dynrel. 10054 1.1 skrll Reference count possible .plt entries. Don't deallocate .got and 10055 1.1 skrll .relgot space here. 10056 1.1 skrll (elf64_x86_64_adjust_dynamic_symbol): Handle nocopyreloc. Don't 10057 1.1 skrll do copy reloc processing for weakdefs. Remove redundant casts and 10058 1.1 skrll aborts. Delay setting of vars until needed. Move creation of 10059 1.1 skrll dynamic symbols and allocation of .plt and .rela.plt to 10060 1.1 skrll allocate_dynrelocs. Replace BFD_ASSERT with abort. 10061 1.1 skrll (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New. 10062 1.1 skrll (allocate_dynrelocs): New. 10063 1.1 skrll (readonly_dynrelocs): New. 10064 1.1 skrll (elf64_x86_64_size_dynamic_sections): Call readonly_dynrelocs. 10065 1.1 skrll Allocate space for dyn relocs. Replace BFD_ASSERT with abort. 10066 1.1 skrll Zero out the dynamic allocated content space. 10067 1.1 skrll (elf64_x86_64_discard_copies): Removed. 10068 1.1 skrll (elf64_x86_64_relocate_section): Make use of dynamic section 10069 1.1 skrll short-cuts. Localise vars, and delay setting. Better error 10070 1.1 skrll reporting, replace BFD_ASSERT with abort. Check 10071 1.1 skrll ELF_LINK_HASH_DEF_DYNAMIC to see if a symbol is not defined in the 10072 1.1 skrll regular object file and tread the weak definition as the normal 10073 1.1 skrll one. Don't discard relocs for undefweak or undefined symbols and 10074 1.1 skrll check !DEF_REGULAR as well as DEF_DYNAMIC in test for avoided copy 10075 1.1 skrll relocs. 10076 1.1 skrll (elf64_x86_64_finish_dynamic_symbol): Don't copy relocs for 10077 1.1 skrll symbols that have been forced local. Use same test to decide if 10078 1.1 skrll we can use a relative reloc for got as relocate_section. Expand 10079 1.1 skrll SHN_UNDEF comment. Move expressions out of function calls. 10080 1.1 skrll Replace BFD_ASSERT with abort. 10081 1.1 skrll (bfd_elf64_bfd_final_link): Removed. 10082 1.1 skrll (elf_backend_copy_indirect_symbol): Define. 10083 1.1 skrll 10084 1.1 skrll 2002-02-20 Tom Rix <trix (a] redhat.com> 10085 1.1 skrll 10086 1.1 skrll * coff-rs6000.c (xcoff_howto_table): Add 16 bit R_BA. 10087 1.1 skrll (_bfd_xcoff_reloc_type_lookup): Use it. 10088 1.1 skrll * coff64-rs6000.c (xcoff64_howto_table): Same. 10089 1.1 skrll (xcoff64_reloc_type_lookup): Same. 10090 1.1 skrll 10091 1.1 skrll 2002-02-20 Peter Schauer <pes (a] regent.e-technik.tu-muenchen.de> 10092 1.1 skrll 10093 1.1 skrll * osf-core.c (osf_core_vec): OSF/1 (Digital Unix) core files are 10094 1.1 skrll little endian. 10095 1.1 skrll 10096 1.1 skrll 2002-02-19 Martin Schwidefsky <schwidefsky (a] de.ibm.com> 10097 1.1 skrll 10098 1.1 skrll * archures.c (bfd_mach_s390_esa): Rename to bfd_mach_s390_31. 10099 1.1 skrll (bfd_mach_s390_esame): Rename to bfd_mach_s390_64. 10100 1.1 skrll * bfd-in2.h: Regenerate. 10101 1.1 skrll * cpu-s390.c (arch_info_struct): Use renamed architecture defines. 10102 1.1 skrll Replace architecture name "s390" with "s390:31-bit" and "s390:esame" 10103 1.1 skrll with "s390:64-bit". 10104 1.1 skrll * elf32-s390.c (elf_howto_table): Add 32 bit pc relative relocations. 10105 1.1 skrll (elf_s390_reloc_type_lookup): Likewise. 10106 1.1 skrll (elf_s390_check_relocs): Likewise. 10107 1.1 skrll (elf_s390_gc_sweep_hook): Likewise. 10108 1.1 skrll (elf_s390_relocate_section): Likewise. 10109 1.1 skrll (elf_s390_object_p): Use renamed architecture define. 10110 1.1 skrll * elf64-s390.c (elf_s390_object_p): Use renamed architecture define. 10111 1.1 skrll 10112 1.1 skrll 2002-02-19 Frank Ch. Eigler <fche (a] redhat.com> 10113 1.1 skrll 10114 1.1 skrll * syms.c (stt[]): Sorted. Added .init/.fini -> "t" mapping. 10115 1.1 skrll 10116 1.1 skrll 2002-02-19 Jakub Jelinek <jakub (a] redhat.com> 10117 1.1 skrll 10118 1.1 skrll * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Enable 10119 1.1 skrll absptr -> pcrel optimization for shared libs. 10120 1.1 skrll Only create minimal .eh_frame_hdr if absptr FDE encoding in shared 10121 1.1 skrll library cannot be converted to pcrel. 10122 1.1 skrll (_bfd_elf_eh_frame_section_offset): Return -2 if making absptr 10123 1.1 skrll relative. 10124 1.1 skrll * elf32-i386.c (elf_i386_relocate_section): If 10125 1.1 skrll _bfd_elf_section_offset returned -2, skip, but make sure the 10126 1.1 skrll relocation is installed. 10127 1.1 skrll * elf32-arm.h (elf32_arm_final_link_relocate): Likewise. 10128 1.1 skrll * elf32-cris.c (cris_elf_relocate_section): Likewise. 10129 1.1 skrll * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. 10130 1.1 skrll * elf32-i370.c (i370_elf_relocate_section): Likewise. 10131 1.1 skrll * elf32-m68k.c (elf_m68k_relocate_section): Likewise. 10132 1.1 skrll * elf32-ppc.c (ppc_elf_relocate_section): Likewise. 10133 1.1 skrll * elf32-s390.c (elf_s390_relocate_section): Likewise. 10134 1.1 skrll * elf32-sh.c (sh_elf_relocate_section): Likewise. 10135 1.1 skrll * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. 10136 1.1 skrll * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. 10137 1.1 skrll * elf64-s390.c (elf_s390_relocate_section): Likewise. 10138 1.1 skrll * elf64-sh64.c (sh_elf64_relocate_section): Likewise. 10139 1.1 skrll * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. 10140 1.1 skrll * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. 10141 1.1 skrll * elf64-alpha.c (elf64_alpha_relocate_section): Handle 10142 1.1 skrll _bfd_elf_section_offset returning -2 the same way as -1. 10143 1.1 skrll * elfxx-ia64.c (elfNN_ia64_install_dyn_reloc): Likewise. 10144 1.1 skrll * elf32-mips.c (mips_elf_create_dynamic_relocation): Add FIXME 10145 1.1 skrll and BFD_ASSERT. 10146 1.1 skrll * elf64-mips.c (mips_elf64_create_dynamic_relocation): Likewise. 10147 1.1 skrll 10148 1.1 skrll 2002-02-18 Tom Rix <trix (a] redhat.com> 10149 1.1 skrll 10150 1.1 skrll * xcofflink.c (bfd_xcoff_link_gernate_rtinit): Add -brtl support. 10151 1.1 skrll (bfd_xcoff_size_dynamic_sections): Same. 10152 1.1 skrll * bfd-in.h (bfd_xcoff_link_generate_rtinit): Same. 10153 1.1 skrll (bfd_xcoff_size_dynamic_sections): Same. 10154 1.1 skrll * coff-rs6000.c (xcoff_generate_rtinit): Same. 10155 1.1 skrll * coff-rs646000.c (xcoff64_generate_rtinit): Same. 10156 1.1 skrll * libxcoff.h (struct xcoff_backend_data_rec): Same. 10157 1.1 skrll * xcofflink.c (xcoff_build_ldsyms, xcoff_link_add_symbols): Clean. 10158 1.1 skrll * bfd-in2.h: Regenerate. 10159 1.1 skrll 10160 1.1 skrll 2002-02-18 Alan Modra <amodra (a] bigpond.net.au> 10161 1.1 skrll 10162 1.1 skrll * elf64-ppc.c (STFD_FR0_0R1, LFD_FR0_0R1, BLR): Define. 10163 1.1 skrll (struct ppc_link_hash_table): Add sfpr. 10164 1.1 skrll (ppc64_elf_link_hash_table_create): Init it. 10165 1.1 skrll (ppc64_elf_create_dynamic_sections): Split creation of .stub and 10166 1.1 skrll .glink out to.. 10167 1.1 skrll (create_linkage_sections): ..here. Make .sfpr too. 10168 1.1 skrll (ppc64_elf_check_relocs): Call create_linkage_sections, and set 10169 1.1 skrll dynobj early. 10170 1.1 skrll (MIN_SAVE_FPR, MAX_SAVE_FPR): Define. 10171 1.1 skrll (ppc64_elf_func_desc_adjust): Look for missing ._savef* and 10172 1.1 skrll ._restf* functions, and create as needed. 10173 1.1 skrll (func_desc_adjust): Only force_local for shared libs. 10174 1.1 skrll 10175 1.1 skrll 2002-02-18 David O'Brien <obrien (a] FreeBSD.org> 10176 1.1 skrll 10177 1.1 skrll * configure.in: Bump version number post 2.12 branching. 10178 1.1 skrll * configure: Regenerate. 10179 1.1 skrll 10180 1.1 skrll 2002-02-17 Hans-Peter Nilsson <hp (a] bitrange.com> 10181 1.1 skrll 10182 1.1 skrll * mmo.c: Correct and improve comments. 10183 1.1 skrll (mmo_write_chunk): Store trailing byte in bfd buffer; don't 10184 1.1 skrll zero-pad. Use input to fill up non-empty bfd buffer. 10185 1.1 skrll (mmo_flush_chunk): New function. 10186 1.1 skrll (mmo_write_loc_chunk): Add parameter last_vmap, all callers 10187 1.1 skrll changed. Don't emit location specifier if VMA is same as 10188 1.1 skrll *LAST_VMAP after omitting leading zero contents. Call 10189 1.1 skrll mmo_flush_chunk before emitting location specifier. 10190 1.1 skrll (mmo_write_loc_chunk_list): Call mmo_flush_chunk when finished 10191 1.1 skrll with mmo_write_loc_chunk calls. 10192 1.1 skrll (mmo_internal_write_section): Call mmo_flush_chunk after 10193 1.1 skrll mmo_write_chunk. 10194 1.1 skrll (mmo_write_symbols_and_terminator): Move :Main to first position 10195 1.1 skrll in symbol array. Add faked one if it does not exist if there are 10196 1.1 skrll other symbols. Don't add it if there are no symbols at all. Move 10197 1.1 skrll out test for value of :Main from symbol loop. Rename table 10198 1.1 skrll fakemain to maintable and variable mainsym to fakemain. 10199 1.1 skrll 10200 1.1 skrll 2002-02-15 Richard Henderson <rth (a] redhat.com> 10201 1.1 skrll 10202 1.1 skrll * elf64-alpha.c (elf64_alpha_relocate_section) [BRSGP]: A target 10203 1.1 skrll section with no got matches any got. Simplify error generaion. 10204 1.1 skrll 10205 1.1 skrll 2002-02-15 Alan Modra <amodra (a] bigpond.net.au> 10206 1.1 skrll 10207 1.1 skrll Support arbitrary length fill patterns. 10208 1.1 skrll * linker.c (bfd_new_link_order): Zero all fields with bfd_zalloc. 10209 1.1 skrll (_bfd_default_link_order): Remove bfd_fill_link_order code. 10210 1.1 skrll Call default_data_link_order. 10211 1.1 skrll (default_fill_link_order): Delete. 10212 1.1 skrll (default_data_link_order): New function. 10213 1.1 skrll * elf32-mips.c (_bfd_mips_elf_final_link): Replace occurrences 10214 1.1 skrll of bfd_fill_link_order with bfd_data_link_order. 10215 1.1 skrll * elf64-alpha.c (elf64_alpha_final_link): Likewise. 10216 1.1 skrll * elf64-mips.c (mips_elf64_final_link): Likewise. 10217 1.1 skrll 10218 1.1 skrll * bfd.c (bfd_scan_vma): Clamp overflows to max bfd_vma value. 10219 1.1 skrll Correct value returned in "end" for "0x<non-hex>". 10220 1.1 skrll 10221 1.1 skrll 2002-02-14 Nick Clifton <nickc (a] cambridge.redhat.com> 10222 1.1 skrll 10223 1.1 skrll * cpu-arm.c (processors): Replace 'arch' field with 'mach'. 10224 1.1 skrll (scan): Test against 'mach' field in info structure. 10225 1.1 skrll 10226 1.1 skrll 2002-02-14 Alan Modra <amodra (a] bigpond.net.au> 10227 1.1 skrll 10228 1.1 skrll * elf.c (elf_fake_sections): Use SHT_NOBITS when SEC_NEVER_LOAD. 10229 1.1 skrll 10230 1.1 skrll 2002-02-14 Matt Fredette <fredette (a] netbsd.org> 10231 1.1 skrll 10232 1.1 skrll * elf32-m68k.c (elf32_m68k_print_private_bfd_data): Recognize 10233 1.1 skrll EF_M68000. 10234 1.1 skrll 10235 1.1 skrll 2002-02-13 Nick Clifton <nickc (a] cambridge.redhat.com> 10236 1.1 skrll 10237 1.1 skrll * elf.c (_bfd_elf_make_section_from_shdr): Do not insist on 10238 1.1 skrll non-zero physical addresses when adjusting the LMAs of new 10239 1.1 skrll sections. 10240 1.1 skrll 10241 1.1 skrll 2002-02-12 John David Anglin <dave (a] hiauly1.hia.nrc.ca> 10242 1.1 skrll 10243 1.1 skrll * elf-hppa.h (elf_hppa_reloc_final_type): New function stripped 10244 1.1 skrll from _bfd_elf_hppa_gen_reloc_type. 10245 1.1 skrll (_bfd_elf_hppa_gen_reloc_type): Remove duplicate prototype. 10246 1.1 skrll * elf32-hppa.h (elf32_hppa_reloc_final_type): Add protptype. 10247 1.1 skrll * elf32-hppa.c: Include elf32-hppa.h before elf-hppa.h. 10248 1.1 skrll * elf64-hppa.h (elf64_hppa_reloc_final_type): Add protptype. 10249 1.1 skrll 10250 1.1 skrll 2002-02-12 Alexandre Oliva <aoliva (a] redhat.com> 10251 1.1 skrll 10252 1.1 skrll * elf-m10300.c (mn10300_elf_relax_section): Skip section before 10253 1.1 skrll loading its contents if there's nothing to do in it. 10254 1.1 skrll 10255 1.1 skrll 2002-02-12 Alan Modra <amodra (a] bigpond.net.au> 10256 1.1 skrll 10257 1.1 skrll * elf64-ppc.c (ppc64_elf_size_stubs): Correct test for crossing 10258 1.1 skrll 64k boundary. 10259 1.1 skrll 10260 1.1 skrll * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Add dynamic 10261 1.1 skrll DT_PPC64_OPD and DT_PPC64_OPDSZ tags. 10262 1.1 skrll (ppc64_elf_finish_dynamic_sections): Set values for them. 10263 1.1 skrll 10264 1.1 skrll 2002-02-11 Michael Snyder <msnyder (a] redhat.com> 10265 1.1 skrll 10266 1.1 skrll * elf-bfd.h (elfcore_write_lwpstatus): Add prototype. 10267 1.1 skrll * elf.c (elfcore_grok_pstatus): Add prototype. 10268 1.1 skrll (elfcore_grok_lwpstatus): Add prototype. 10269 1.1 skrll (elfcore_write_lwpstatus): New function. 10270 1.1 skrll (elfcore_write_pstatus): Fix typo, eliminate unnecessary memcpy. 10271 1.1 skrll 10272 1.1 skrll 2002-02-11 Alexandre Oliva <aoliva (a] redhat.com> 10273 1.1 skrll 10274 1.1 skrll * elf32-sh.c: Added missing prototypes. 10275 1.1 skrll * elf32-sh64.c: Likewise. 10276 1.1 skrll (sh_elf_align_loads): Mark unused args as such. 10277 1.1 skrll * elf64-sh64.c: Added missing prototypes. 10278 1.1 skrll (struct elf_sh64_link_hash_entry): Fix typo. 10279 1.1 skrll (sh_elf64_relocate_section): Fix info argument passed to 10280 1.1 skrll _bfd_elf_section_offset. 10281 1.1 skrll 10282 1.1 skrll 2002-02-11 Alan Modra <amodra (a] bigpond.net.au> 10283 1.1 skrll 10284 1.1 skrll * Makefile.am: "make dep-am". 10285 1.1 skrll * Makefile.in: Regenerate. 10286 1.1 skrll * aclocal.m4: Regenerate. 10287 1.1 skrll * config.in: Regenerate. 10288 1.1 skrll * configure: Regenerate. 10289 1.1 skrll 10290 1.1 skrll 2002-02-10 Daniel Jacobowitz <drow (a] mvista.com> 10291 1.1 skrll 10292 1.1 skrll * coff-rs6000.c (xcoff_generate_rtinit): Silence uninitialized 10293 1.1 skrll variable warnings. 10294 1.1 skrll * elf32-sh.c (sh_elf_relax_section): Silence signed/unsigned 10295 1.1 skrll comparison warning. 10296 1.1 skrll * trad-core.c (trad_unix_core_file_p): Silence pointer/integer 10297 1.1 skrll cast warnings for the common case. 10298 1.1 skrll 10299 1.1 skrll 2002-02-10 Hans-Peter Nilsson <hp (a] bitrange.com> 10300 1.1 skrll 10301 1.1 skrll * config.bfd (sh-*-linux*, sh-*-elf* | sh-*-rtemself*): Add sh64 10302 1.1 skrll vectors. 10303 1.1 skrll (sh-*-netbsdelf*): New, to trump sh*-*-netbsdelf* and add sh64 10304 1.1 skrll vectors. 10305 1.1 skrll 10306 1.1 skrll 2002-02-09 Richard Henderson <rth (a] redhat.com> 10307 1.1 skrll 10308 1.1 skrll * elf64-alpha.c (elf64_alpha_howto): Add R_ALPHA_BRSGP. 10309 1.1 skrll (elf64_alpha_reloc_map, elf64_alpha_check_relocs): Likewise. 10310 1.1 skrll (elf64_alpha_relocate_section): Likewise. 10311 1.1 skrll * reloc.c (BFD_RELOC_ALPHA_BRSGP): New. 10312 1.1 skrll * bfd-in2.h, libbfd.h: Rebuild. 10313 1.1 skrll 10314 1.1 skrll 2002-02-09 Hans-Peter Nilsson <hp (a] bitrange.com> 10315 1.1 skrll 10316 1.1 skrll * elf64-mmix.c (_bfd_mmix_finalize_linker_allocated_gregs): Check 10317 1.1 skrll that base-plus-offset reloc accounting is consistent. 10318 1.1 skrll (mmix_elf_relax_section): Keep base-plus-offset reloc accounting 10319 1.1 skrll up to date for undefined symbols. 10320 1.1 skrll 10321 1.1 skrll 2002-02-08 Eric Christopher <echristo (a] redhat.com> 10322 1.1 skrll 10323 1.1 skrll From Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 10324 1.1 skrll 10325 1.1 skrll * elf32-mips.c (_bfd_mips_elf_fake_sections): Don't create .rela 10326 1.1 skrll sections for the O32 ABI. 10327 1.1 skrll 10328 1.1 skrll 2002-02-08 Chris Demetriou <cgd (a] broadcom.com> 10329 1.1 skrll 10330 1.1 skrll * elf32-arm.h: Fix formatting of _("..."). 10331 1.1 skrll * elf32-d10v.c: Likewise. 10332 1.1 skrll * elf32-m68k.c: Likewise. 10333 1.1 skrll * elf32-mips.c: Likewise. 10334 1.1 skrll 10335 1.1 skrll 2002-02-08 Ivan Guzvinec <ivang (a] opencores.org> 10336 1.1 skrll 10337 1.1 skrll * coff-or32.c: Fix compile time warning messages. 10338 1.1 skrll 10339 1.1 skrll 2002-02-08 Alexandre Oliva <aoliva (a] redhat.com> 10340 1.1 skrll 10341 1.1 skrll Contribute sh64-elf. 10342 1.1 skrll 2002-01-23 Alexandre Oliva <aoliva (a] redhat.com> 10343 1.1 skrll * reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16, 10344 1.1 skrll R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16, 10345 1.1 skrll R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16, 10346 1.1 skrll R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16, 10347 1.1 skrll R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16, 10348 1.1 skrll R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16, 10349 1.1 skrll R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16, 10350 1.1 skrll R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8, 10351 1.1 skrll R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64): 10352 1.1 skrll New relocs. 10353 1.1 skrll * libbfd.h, bfd-in2.h: Rebuilt. 10354 1.1 skrll * elf32-sh.c (sh_elf_howto_table): Define new relocs. 10355 1.1 skrll (sh_reloc_map): Map them. 10356 1.1 skrll (PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le, 10357 1.1 skrll elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be, 10358 1.1 skrll elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry, 10359 1.1 skrll elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset, 10360 1.1 skrll elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset, 10361 1.1 skrll elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset, 10362 1.1 skrll movi_shori_putval) [INCLUDE_SHMEDIA]: New. 10363 1.1 skrll (elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add 10364 1.1 skrll datalabel_got_offset. 10365 1.1 skrll (sh_elf_link_hash_newfunc): Initialize it. 10366 1.1 skrll (sh_elf_relocate_section): Augment the scope of 10367 1.1 skrll seen_stt_datalabel. Introduce GOTPLT support. Extend GOTPC, PLT, 10368 1.1 skrll GOT and GOTOFF handling to new SHmedia relocation types. Support 10369 1.1 skrll GOT_BIAS. 10370 1.1 skrll (sh_elf_check_relocs): Likewise. 10371 1.1 skrll (sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in 10372 1.1 skrll PLT entries using movi_shori_putval. Support GOT_BIAS. 10373 1.1 skrll (sh_elf_finish_dynamic_sections): Likewise. 10374 1.1 skrll * elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to 10375 1.1 skrll relocation, it's now done by the caller. 10376 1.1 skrll (GOT_BIAS): New. 10377 1.1 skrll * elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt, 10378 1.1 skrll elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset, 10379 1.1 skrll elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset, 10380 1.1 skrll elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER, 10381 1.1 skrll elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry, 10382 1.1 skrll elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse, 10383 1.1 skrll sh64_elf64_hash_table): New. 10384 1.1 skrll (sh_elf64_howto_table): Introduce new relocs. 10385 1.1 skrll (sh_elf64_info_to_howto): Accept new PIC relocs. 10386 1.1 skrll (sh_elf64_relocate_section): Augment the scope of 10387 1.1 skrll seen_stt_datalabel. Support new PIC relocs. 10388 1.1 skrll (sh_elf64_check_relocs): Support new PIC relocs. 10389 1.1 skrll (elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le, 10390 1.1 skrll elf_sh64_plt_entry_be, elf_sh64_plt_entry_le, 10391 1.1 skrll elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le, 10392 1.1 skrll elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry, 10393 1.1 skrll sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create, 10394 1.1 skrll movi_shori_putval, movi_3shori_putval, 10395 1.1 skrll sh64_elf64_create_dynamic_sections, 10396 1.1 skrll sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies, 10397 1.1 skrll sh64_elf64_size_dynamic_sections, 10398 1.1 skrll sh64_elf64_finish_dynamic_symbol, 10399 1.1 skrll sh64_elf64_finish_dynamic_sections): New. 10400 1.1 skrll (elf_backend_create_dynamic-sections, 10401 1.1 skrll bfd_elf64_bfd_link_hash_table_create, 10402 1.1 skrll elf_backend_adjust_dynamic_symbol, 10403 1.1 skrll elf_backend_size_dynamic_sections, 10404 1.1 skrll elf_backend_finish_dynamic_symbol, 10405 1.1 skrll elf_backend_finish_dynamic_sections, elf_backend_want_got_plt, 10406 1.1 skrll elf_backend_plt_readonly, elf_backend_want_plt_sym, 10407 1.1 skrll elf_backend_got_header_size, elf_backend_plt_header_size): 10408 1.1 skrll Define. 10409 1.1 skrll 2001-05-16 Alexandre Oliva <aoliva (a] redhat.com> 10410 1.1 skrll * elf32-sh.c: Renumbered and renamed some SH5 relocations to 10411 1.1 skrll match official numbers and names; moved unmaching ones to the 10412 1.1 skrll range 0xf2-0xff. 10413 1.1 skrll * elf32-sh64.c, elf64-sh64.c: Likewise. 10414 1.1 skrll 2001-03-12 DJ Delorie <dj (a] redhat.com> 10415 1.1 skrll * elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia 10416 1.1 skrll sections. 10417 1.1 skrll 2001-03-12 DJ Delorie <dj (a] redhat.com> 10418 1.1 skrll * elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must 10419 1.1 skrll be aligned. 10420 1.1 skrll * elf64-sh64.c (sh_elf64_relocate_section): Ditto. 10421 1.1 skrll 2001-01-14 Hans-Peter Nilsson <hpn (a] cygnus.com> 10422 1.1 skrll * elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define. 10423 1.1 skrll (sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a 10424 1.1 skrll .cranges section with SEC_SORT_ENTRIES set. 10425 1.1 skrll (sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an 10426 1.1 skrll incoming sorted .cranges section. 10427 1.1 skrll (sh64_bfd_elf_copy_private_section_data): New. 10428 1.1 skrll (sh64_elf_final_write_processing): Only sort .cranges and modify 10429 1.1 skrll start address if called by linker. 10430 1.1 skrll 2001-01-08 Ben Elliston <bje (a] redhat.com> 10431 1.1 skrll * elf32-sh64.c (sh64_elf_final_write_processing): Activate 10432 1.1 skrll Hans-Peter Nilsson's set bit 0 patch from 2001-01-06. 10433 1.1 skrll * elf64-sh64.c (sh64_elf64_final_write_processing): Ditto. 10434 1.1 skrll 2001-01-06 Hans-Peter Nilsson <hpn (a] cygnus.com> 10435 1.1 skrll * elf64-sh64.c (sh_elf64_howto_table): No open brace at start of 10436 1.1 skrll line. Add comments before all entries. 10437 1.1 skrll <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct and clarify describing 10438 1.1 skrll comment. 10439 1.1 skrll (sh_elf64_reloc): Correct head comment. 10440 1.1 skrll (sh_elf64_relocate_section): Correct spacing. 10441 1.1 skrll <relocating for a local symbol>: Do not honour STO_SH5_ISA32; 10442 1.1 skrll instead call reloc_dangerous callback. 10443 1.1 skrll <case R_SH_SHMEDIA_CODE>: New case. 10444 1.1 skrll (sh_elf64_gc_mark_hook): Correct spacing. 10445 1.1 skrll (sh_elf64_check_relocs): Ditto. 10446 1.1 skrll * elf32-sh64.c (shmedia_prepare_reloc) <case R_SH_SHMEDIA_CODE>: 10447 1.1 skrll New case. 10448 1.1 skrll * elf32-sh.c: Correct #endif comments for #ifndef-wrapped 10449 1.1 skrll functions. 10450 1.1 skrll (sh_elf_howto_table) <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct, 10451 1.1 skrll clarify describing comment. Add comments before all entries. 10452 1.1 skrll (sh_elf_relocate_section) <relocating for a local symbol>: Do not 10453 1.1 skrll honour STO_SH5_ISA32; instead call reloc_dangerous callback. 10454 1.1 skrll 2001-01-06 Hans-Peter Nilsson <hpn (a] cygnus.com> 10455 1.1 skrll Sort .cranges section in final link. Prepare to set bit 0 on 10456 1.1 skrll entry address. 10457 1.1 skrll * elf32-sh64.c (struct sh64_find_section_vma_data): New. 10458 1.1 skrll (sh64_elf_link_output_symbol_hook): Fix typo in prototype. 10459 1.1 skrll (sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming 10460 1.1 skrll .cranges section. 10461 1.1 skrll (sh64_backend_section_from_shdr): New, to recognize 10462 1.1 skrll SHT_SH5_CR_SORTED on incoming .cranges section. 10463 1.1 skrll (elf_backend_section_from_shdr): Define. 10464 1.1 skrll (sh64_elf_final_write_processing): Sort outgoing .cranges 10465 1.1 skrll section. (New, temporarily disabled:) Set bit 0 on entry address 10466 1.1 skrll according to ISA type. 10467 1.1 skrll (sh64_find_section_for_address): New. 10468 1.1 skrll (crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb, 10469 1.1 skrll crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c. 10470 1.1 skrll (sh64_address_in_cranges): Move here from opcodes/sh64-dis.c. Use 10471 1.1 skrll bfd_malloc, not xmalloc. 10472 1.1 skrll (sh64_get_contents_type): Move here from opcodes/sh64-dis.c. Make 10473 1.1 skrll global. 10474 1.1 skrll * elf32-sh64.c (sh64_elf64_final_write_processing): New, (but 10475 1.1 skrll temporarily disabled) setting bit 0 on entry address. 10476 1.1 skrll (elf_backend_final_write_processing): Define. 10477 1.1 skrll 2001-01-05 Hans-Peter Nilsson <hpn (a] cygnus.com> 10478 1.1 skrll * elf32-sh.c (sh_elf_howto_table) <R_SH_PT_16>: Adjust fields to 10479 1.1 skrll be a proper relocation for PTA and PTB rather than a marker. 10480 1.1 skrll <R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2, 10481 1.1 skrll R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16, 10482 1.1 skrll R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16, 10483 1.1 skrll R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL, 10484 1.1 skrll R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL>: 10485 1.1 skrll Zero src_mask. 10486 1.1 skrll * elf64-sh64.c: Ditto. 10487 1.1 skrll (sh_elf64_relocate_section) <case R_SH_PT_16>: New case. 10488 1.1 skrll * elf32-sh64.c: Include opcodes/sh64-opc.h 10489 1.1 skrll (shmedia_prepare_reloc): Take a bfd_link_info pointer as first 10490 1.1 skrll argument. Drop const qualifiers from "bfd *" and "bfd_byte *" 10491 1.1 skrll parameters. No unused parameters. Caller changed. 10492 1.1 skrll <case R_SH_PT_16>: New case. 10493 1.1 skrll * Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h. 10494 1.1 skrll * Makefile.in: Regenerate. 10495 1.1 skrll 2000-12-30 Hans-Peter Nilsson <hpn (a] cygnus.com> 10496 1.1 skrll * elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for 10497 1.1 skrll all code sections. 10498 1.1 skrll (sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5. 10499 1.1 skrll (sh64_elf_merge_private_data): Ditto. 10500 1.1 skrll * elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data 10501 1.1 skrll to access stored section flags. 10502 1.1 skrll (sh64_elf_final_write_processing): Return immediately unless 10503 1.1 skrll called by linker. Use sh64_elf_section_data (cranges) to get size 10504 1.1 skrll of linker-generated cranges entries. 10505 1.1 skrll (sh64_elf_copy_private_data): Add missing "return true". 10506 1.1 skrll (sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5. 10507 1.1 skrll (sh_elf64_merge_private_data): Ditto. 10508 1.1 skrll 2000-12-19 Hans-Peter Nilsson <hpn (a] cygnus.com> 10509 1.1 skrll * elf64-sh64.c (sh64_elf64_fake_sections): New, copy of 10510 1.1 skrll elf64-sh64.c:sh64_elf_fake_sections. 10511 1.1 skrll (elf_backend_fake_sections): Define as sh64_elf64_fake_sections. 10512 1.1 skrll 2000-12-18 Hans-Peter Nilsson <hpn (a] cygnus.com> 10513 1.1 skrll * elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete. 10514 1.1 skrll (sh64_elf_final_write_processing): New. 10515 1.1 skrll (elf_backend_final_write_processing): Define. 10516 1.1 skrll (sh64_elf_fake_sections): Get header flags from tdata field. 10517 1.1 skrll (sh64_elf_copy_private_data): Do not call 10518 1.1 skrll sh64_elf_copy_private_data_internal, just copy e_flags field. 10519 1.1 skrll (sh64_elf_merge_private_data): Do not call 10520 1.1 skrll sh64_elf_copy_private_data_internal. 10521 1.1 skrll 2000-12-12 Hans-Peter Nilsson <hpn (a] cygnus.com> 10522 1.1 skrll Remove EF_SH64_ABI64, let ELF size make difference. 10523 1.1 skrll Remove SH64-specific BFD section flag. 10524 1.1 skrll * elf32-sh64.c (sh64_elf_fake_sections): Recognize section as 10525 1.1 skrll containing SHmedia through elf_section_data (asect)->tdata 10526 1.1 skrll non-zero, not using a BFD section flag. 10527 1.1 skrll (sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64. 10528 1.1 skrll (sh64_elf_merge_private_data): Similar. 10529 1.1 skrll (elf_backend_section_flags): Don't define. 10530 1.1 skrll (sh64_elf_backend_section_flags): Delete. 10531 1.1 skrll * elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64, 10532 1.1 skrll not EF_SH64_ABI64. 10533 1.1 skrll (sh_elf64_merge_private_data): Similar. 10534 1.1 skrll * section.c (Section flags definitions): Don't define 10535 1.1 skrll SEC_SH_ISA_SHMEDIA. 10536 1.1 skrll (bfd-in2.h): Regenerate. 10537 1.1 skrll 2000-12-09 Hans-Peter Nilsson <hpn (a] cygnus.com> 10538 1.1 skrll Make DataLabel references work with partial linking. 10539 1.1 skrll * elf32-sh64.c: Fix formatting. 10540 1.1 skrll (sh64_elf_link_output_symbol_hook): New. 10541 1.1 skrll (elf_backend_link_output_symbol_hook): Define to 10542 1.1 skrll sh64_elf_link_output_symbol_hook. 10543 1.1 skrll (sh64_elf_add_symbol_hook): Make DataLabel symbol just global 10544 1.1 skrll undefined if partial linking. Adjust sanity check. 10545 1.1 skrll * elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New. 10546 1.1 skrll (elf_backend_link_output_symbol_hook): Define to 10547 1.1 skrll sh64_elf64_link_output_symbol_hook. 10548 1.1 skrll (sh64_elf64_add_symbol_hook): Make DataLabel symbol just global 10549 1.1 skrll undefined if partial linking. Adjust sanity check. 10550 1.1 skrll 2000-12-07 Hans-Peter Nilsson <hpn (a] cygnus.com> 10551 1.1 skrll Implement semantics for inter-file DataLabel references. 10552 1.1 skrll * elf64-sh64.c (DATALABEL_SUFFIX): Define. 10553 1.1 skrll (sh64_elf64_add_symbol_hook): New. 10554 1.1 skrll (sh_elf64_relocate_section): If passing an indirect symbol with 10555 1.1 skrll st_type STT_DATALABEL on the way to a symbol with st_other 10556 1.1 skrll STO_SH5_ISA32, do not bitor 1 to the relocation. 10557 1.1 skrll (elf_backend_add_symbol_hook): Define to 10558 1.1 skrll sh64_elf64_add_symbol_hook. 10559 1.1 skrll * elf64-sh32.c: Tweak comments. 10560 1.1 skrll (DATALABEL_SUFFIX): Define. 10561 1.1 skrll (sh64_elf_add_symbol_hook): New. 10562 1.1 skrll (elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook. 10563 1.1 skrll * elf32-sh.c (sh_elf_relocate_section): If passing an indirect 10564 1.1 skrll symbol with st_type STT_DATALABEL on the way to a symbol with 10565 1.1 skrll st_other STO_SH5_ISA32, do not bitor 1 to the relocation. 10566 1.1 skrll 2000-12-05 Hans-Peter Nilsson <hpn (a] cygnus.com> 10567 1.1 skrll Pass through STT_DATALABEL. 10568 1.1 skrll * elf32-sh64.c (sh64_elf_get_symbol_type): New. 10569 1.1 skrll (elf_backend_get_symbol_type): Define. 10570 1.1 skrll * elf64-sh64.c (sh64_elf64_get_symbol_type): New. 10571 1.1 skrll (elf_backend_get_symbol_type): Define. 10572 1.1 skrll 2000-11-30 Hans-Peter Nilsson <hpn (a] cygnus.com> 10573 1.1 skrll * elf32-sh64.c: Tweak comments. 10574 1.1 skrll (sh64_elf_copy_private_data_internal): Add prototype. 10575 1.1 skrll (bfd_elf32_bfd_set_private_flags): Define. 10576 1.1 skrll (sh64_elf_copy_private_data_internal): Compare machine name, not 10577 1.1 skrll textual BFD target name, to check whether to copy section flag 10578 1.1 skrll SHF_SH5_ISA32. 10579 1.1 skrll (sh64_elf_merge_private_data): Validize bfd_get_arch_size. 10580 1.1 skrll Tweak section-contents-type-mismatch message. 10581 1.1 skrll (shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers. 10582 1.1 skrll Validize reloc-types. 10583 1.1 skrll * elf64-sh64.c: New file. 10584 1.1 skrll * targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare. 10585 1.1 skrll * Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo. 10586 1.1 skrll (BFD64_BACKENDS_CFILES): Add elf64-sh64.c. 10587 1.1 skrll Regenerate dependencies. 10588 1.1 skrll * Makefile.in: Regenerate. 10589 1.1 skrll * config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and 10590 1.1 skrll bfd_elf64_sh64l_vec. 10591 1.1 skrll * configure.in: Handle bfd_elf64_sh64_vec and 10592 1.1 skrll bfd_elf64_sh64l_vec. 10593 1.1 skrll * configure: Regenerate. 10594 1.1 skrll * po/POTFILES.in: Regenerate. 10595 1.1 skrll * po/bfd.pot: Regenerate. 10596 1.1 skrll 2000-11-29 Hans-Peter Nilsson <hpn (a] cygnus.com> 10597 1.1 skrll * elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize 10598 1.1 skrll anything else but EF_SH64 and EF_SH64_ABI64. 10599 1.1 skrll (sh64_elf_merge_private_data): Emit error for anything else but 10600 1.1 skrll EF_SH64 and EF_SH64_ABI64. 10601 1.1 skrll * config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec 10602 1.1 skrll from targ_selvecs. 10603 1.1 skrll * configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and 10604 1.1 skrll bfd_elf32_sh64l_vec as a temporary measure. 10605 1.1 skrll * configure: Regenerate. 10606 1.1 skrll 2000-11-27 Hans-Peter Nilsson <hpn (a] cygnus.com> 10607 1.1 skrll * cpu-sh.c (arch_info_struct): Include sh5 item 10608 1.1 skrll unconditionalized. 10609 1.1 skrll * config.bfd (sh64-*-elf*): Do not set targ_cflags. 10610 1.1 skrll Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec, 10611 1.1 skrll bfd_elf32_shblin_vec and bfd_elf32_shlin_vec. 10612 1.1 skrll * elf32-sh64.c: Tweak comments. 10613 1.1 skrll (sh64_elf_set_mach_from_flags): Recognize all machine flags that 10614 1.1 skrll are proper subsets of SH64 as bfd_mach_sh5. Add EF_SH64_ABI64. 10615 1.1 skrll (sh64_elf_copy_private_data_internal): Wrap long line. 10616 1.1 skrll (sh64_elf_merge_private_data): Rewrite to allow objects from 10617 1.1 skrll SH64 subsets to be linked together. 10618 1.1 skrll (INCLUDE_SHMEDIA): Define. 10619 1.1 skrll * elf32-sh.c (sh_elf_relocate_section) <local symbol>: 10620 1.1 skrll Parenthesize plus-expression inside or-expression. 10621 1.1 skrll <global symbol>: Ditto. 10622 1.1 skrll (sh_elf_set_mach_from_flags): Remove code refusing 10623 1.1 skrll deleted EF_SH64_32BIT_ABI flag. 10624 1.1 skrll 2000-11-26 Hans-Peter Nilsson <hpn (a] cygnus.com> 10625 1.1 skrll * elf32-sh.c (sh_elf_howto_table) <R_SH_IMM_LOW16_PCREL, 10626 1.1 skrll R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16_PCREL, 10627 1.1 skrll R_SH_IMM_HI16_PCREL, R_SH_64_PCREL>: Set pcrel_offset to true. 10628 1.1 skrll (sh_elf_relocate_section) <local symbol>: Or 1 in 10629 1.1 skrll calculation of relocation if sym->st_other & STO_SH5_ISA32. 10630 1.1 skrll <global symbol>: Ditto if h->other & STO_SH5_ISA32. 10631 1.1 skrll * elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to 10632 1.1 skrll relocation. 10633 1.1 skrll 2000-11-24 Hans-Peter Nilsson <hpn (a] cygnus.com> 10634 1.1 skrll * Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo. 10635 1.1 skrll (BFD32_BACKENDS_CFILES): Add elf32-sh64.c. 10636 1.1 skrll Regenerate dependencies. 10637 1.1 skrll * Makefile.in: Regenerate. 10638 1.1 skrll * archures.c: Add bfd_mach_sh5. 10639 1.1 skrll * config.bfd: Map targ_cpu sh* to bfd_sh_arch. 10640 1.1 skrll Handle sh64-*-elf*. Set targ_cflags to -DINCLUDE_SHMEDIA. 10641 1.1 skrll * configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec. 10642 1.1 skrll * configure: Regenerate. 10643 1.1 skrll * reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5, 10644 1.1 skrll BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6, 10645 1.1 skrll BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2, 10646 1.1 skrll BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8, 10647 1.1 skrll BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16, 10648 1.1 skrll BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16, 10649 1.1 skrll BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16, 10650 1.1 skrll BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16, 10651 1.1 skrll BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations. 10652 1.1 skrll * cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link 10653 1.1 skrll in item for SH5. 10654 1.1 skrll * elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items 10655 1.1 skrll for SHmedia relocs. 10656 1.1 skrll [INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs. 10657 1.1 skrll [INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call 10658 1.1 skrll shmedia_prepare_reloc, goto final_link_relocate if it returns 10659 1.1 skrll non-zero, else fail as before. 10660 1.1 skrll (sh_elf_set_mach_from_flags): Provide function only if not defined 10661 1.1 skrll as macro. Do not recognize objects with EF_SH64_32BIT_ABI set. 10662 1.1 skrll (sh_elf_set_private_flags): Provide function only if not defined 10663 1.1 skrll as a macro. 10664 1.1 skrll (sh_elf_copy_private_data): Similar. 10665 1.1 skrll (sh_elf_merge_private_data): Similar. 10666 1.1 skrll * section.c (SEC_SH_ISA_SHMEDIA): New. 10667 1.1 skrll * targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare. 10668 1.1 skrll * elf32-sh64.c: New file. 10669 1.1 skrll * libbfd.h: Regenerate. 10670 1.1 skrll * bfd-in2.h: Regenerate. 10671 1.1 skrll * po/POTFILES.in: Regenerate. 10672 1.1 skrll * po/bfd.pot: Regenerate. 10673 1.1 skrll * bfd-in2.h: Regenerate. 10674 1.1 skrll * libbfd.h: Regenerate. 10675 1.1 skrll 10676 1.1 skrll 2002-02-07 Daniel Jacobowitz <drow (a] mvista.com> 10677 1.1 skrll 10678 1.1 skrll * bfd-in.h: Update <stdbool.h> check to only see if <stdbool.h> has 10679 1.1 skrll been included, not drag it in. 10680 1.1 skrll * bfd-in2.h: Regenerate. 10681 1.1 skrll 10682 1.1 skrll 2002-02-06 H.J. Lu (hjl (a] gnu.org) 10683 1.1 skrll 10684 1.1 skrll * elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Update 10685 1.1 skrll the mach and ISA fields if necessary. 10686 1.1 skrll 10687 1.1 skrll 2002-02-06 Nick Clifton <nickc (a] cambridge.redhat.com> 10688 1.1 skrll 10689 1.1 skrll * coffcode.h (coff_set_arch_mach_hook): Select the highest known 10690 1.1 skrll ARM architecture when an F_ARM_5 flag is detected, since we cannot 10691 1.1 skrll be sure exactly which architecture this represents. 10692 1.1 skrll 10693 1.1 skrll 2002-02-05 Nick Clifton <nickc (a] redhat.com> 10694 1.1 skrll 10695 1.1 skrll * po/tr.po: Updated translation. 10696 1.1 skrll 10697 1.1 skrll 2002-02-05 Alan Modra <amodra (a] bigpond.net.au> 10698 1.1 skrll 10699 1.1 skrll From Jimi X <jimix (a] watson.ibm.com> 10700 1.1 skrll * archures (bfd_mach_ppc64): Define. 10701 1.1 skrll (bfd_powerpc_arch): Rename to bfd_powerpc_archs. 10702 1.1 skrll (bfd_powerpc_arch): Define. 10703 1.1 skrll * bfd-in2.h: Regenerate. 10704 1.1 skrll * cpu-powerpc.c (arch_info_struct): Rename to bfd_powerpc_archs. 10705 1.1 skrll (bfd_powerpc_arch): Move to tail of bfd_powerpc_archs. 10706 1.1 skrll (bfd_powerpc_archs): Add default powerpc64 arch. 10707 1.1 skrll 10708 1.1 skrll 2002-02-05 Alan Modra <amodra (a] bigpond.net.au> 10709 1.1 skrll 10710 1.1 skrll * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Check for relocs 10711 1.1 skrll against section syms in readonly sections. Don't do the global 10712 1.1 skrll sym check if we find one. 10713 1.1 skrll * elf64-s390.c (elf_s390_size_dynamic_sections): Likewise. 10714 1.1 skrll * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Likewise. 10715 1.1 skrll * elf32-i386.c (elf_i386_size_dynamic_sections): Likewise. 10716 1.1 skrll * elf32-s390.c (elf_s390_size_dynamic_sections): Likewise. 10717 1.1 skrll (elf_s390_grok_prstatus): Add missing prototype. 10718 1.1 skrll 10719 1.1 skrll 2002-02-04 Hans-Peter Nilsson <hp (a] bitrange.com> 10720 1.1 skrll 10721 1.1 skrll * elf64-mmix.c (mmix_dump_bpo_gregs): New function. 10722 1.1 skrll (mmix_elf_check_common_relocs) <case R_MMIX_BASE_PLUS_OFFSET>: 10723 1.1 skrll Call bfd_get_section_by_name only once. Initialize 10724 1.1 skrll bpodata->n_bpo_relocs_this_section. 10725 1.1 skrll (_bfd_mmix_prepare_linker_allocated_gregs): Remove comment 10726 1.1 skrll referring to DSOs. 10727 1.1 skrll (bpo_reloc_request_sort_fn): Don't use difference of values as 10728 1.1 skrll return-value. 10729 1.1 skrll 10730 1.1 skrll 2002-02-02 David O'Brien <obrien@FreeBSD> 10731 1.1 skrll 10732 1.1 skrll * configure.in: Tweak the FreeBSD 4.x recognition more. Only treat 10733 1.1 skrll version 4.5 and later the same as 5-CURRENT. 10734 1.1 skrll * configure: Re-generate. 10735 1.1 skrll 10736 1.1 skrll 2002-02-02 Jason Thorpe <thorpej (a] wasabisystems.com> 10737 1.1 skrll 10738 1.1 skrll * config.bfd (hppa*-*-netbsd*): New target. 10739 1.1 skrll 10740 1.1 skrll 2002-01-31 Philipp Thomas <pthomas (a] suse.de> 10741 1.1 skrll 10742 1.1 skrll * coff-arm.c (coff_arm_merge_private_bfd_data): Move ERROR 10743 1.1 skrll to front of message. Unify messages with elf32-arm.h. Use 10744 1.1 skrll commas where neccessary. 10745 1.1 skrll * elf32-arm.h (elf32_arm_merge_private_bfd_data): Use all upcase 10746 1.1 skrll ERROR in messages. Unify messages with coff-arm.c. Correct 10747 1.1 skrll VFP/FPA error message. 10748 1.1 skrll (elf32_arm_print_private_bfd_data): Don't mark APCS-26 and 10749 1.1 skrll APCS-32 for translation. 10750 1.1 skrll 10751 1.1 skrll 2002-02-01 Hans-Peter Nilsson <hp (a] bitrange.com> 10752 1.1 skrll 10753 1.1 skrll Perform on-demand global register allocation from 10754 1.1 skrll R_MMIX_BASE_PLUS_OFFSET relocs. 10755 1.1 skrll * elf64-mmix.c (struct bpo_reloc_section_info, struct 10756 1.1 skrll bpo_reloc_request, struct bpo_greg_section_info): New. 10757 1.1 skrll (mmix_elf_check_common_relocs, mmix_elf_gc_sweep_hook, 10758 1.1 skrll bpo_reloc_request_sort_fn, mmix_elf_relax_section, 10759 1.1 skrll _bfd_mmix_check_all_relocs, 10760 1.1 skrll _bfd_mmix_prepare_linker_allocated_gregs, 10761 1.1 skrll _bfd_mmix_finalize_linker_allocated_gregs): New functions. 10762 1.1 skrll (elf_mmix_howto_table): Correct src_mask for most relocs. 10763 1.1 skrll (mmix_elf_perform_relocation) <case R_MMIX_BASE_PLUS_OFFSET>: New 10764 1.1 skrll case. 10765 1.1 skrll (mmix_final_link_relocate) <case R_MMIX_BASE_PLUS_OFFSET>: New 10766 1.1 skrll case. Fix typo in comment. New label do_mmix_reloc. 10767 1.1 skrll (mmix_elf_check_relocs): Abuse bfd_link_info member base_file to 10768 1.1 skrll store first object file with a base-plus-offset reloc. Call 10769 1.1 skrll mmix_elf_check_common_relocs for the part common with mmo. 10770 1.1 skrll (mmix_elf_final_link): Write out linker-allocated register 10771 1.1 skrll contents section. 10772 1.1 skrll (elf_backend_gc_sweep_hook): Define. 10773 1.1 skrll (bfd_elf64_bfd_relax_section): Define. 10774 1.1 skrll 10775 1.1 skrll * mmo.c: Don't include <ctype.h> 10776 1.1 skrll (mmo_init): Correct init-once logic. 10777 1.1 skrll 10778 1.1 skrll 2002-02-01 Tom Rix <trix (a] redhat.com> 10779 1.1 skrll 10780 1.1 skrll * config.bfd: Conditionally support <aiaff> for pre AIX 4.3. 10781 1.1 skrll 10782 1.1 skrll 2002-02-01 Alan Modra <amodra (a] bigpond.net.au> 10783 1.1 skrll 10784 1.1 skrll * Makefile.am: Run "make dep-am" 10785 1.1 skrll * Makefile.in: Regenerate. 10786 1.1 skrll 10787 1.1 skrll 2002-01-31 David O'Brien <obrien@FreeBSD> 10788 1.1 skrll 10789 1.1 skrll * configure.in: Recognize the differences in core files from FreeBSD 10790 1.1 skrll 4.{0,1} and later versions of 4.x. This treats 4.2+ the same as 10791 1.1 skrll 5-CURRENT. 10792 1.1 skrll * configure: Regenerate. 10793 1.1 skrll 10794 1.1 skrll 2002-01-31 Ivan Guzvinec <ivang (a] opencores.org> 10795 1.1 skrll 10796 1.1 skrll * coff-or32.c: New file. 10797 1.1 skrll * cpu-or32.c: New file. 10798 1.1 skrll * elf32-or32.c: New file. 10799 1.1 skrll * archures.c: Add support for or32. 10800 1.1 skrll * targets.c: Add support for or32. 10801 1.1 skrll * bfd-in2.h: Regenerate. 10802 1.1 skrll * coffcode.h (coff_set_arch_mach_hook, coff_set_flags, 10803 1.1 skrll coff_write_object_contents): Add support for or32. 10804 1.1 skrll * config.bfd: Add target. 10805 1.1 skrll * configure.in: Add support for or32. 10806 1.1 skrll * configure: Regenerate. 10807 1.1 skrll * Makefile.am: Add support for or32. 10808 1.1 skrll * Makefile.in: Regenerate. 10809 1.1 skrll * po/SRC-POTFILES.in: Add or32 files. 10810 1.1 skrll * po/bfd.pot: Regenerate. 10811 1.1 skrll 10812 1.1 skrll 2002-01-31 Nick Clifton <nickc (a] cambridge.redhat.com> 10813 1.1 skrll Don Lindsay <lindsayd (a] cisco.com> 10814 1.1 skrll 10815 1.1 skrll * elf32-mips.c (mips_elf_calculate_relocation): Replace 'return 10816 1.1 skrll false' with a return of a bfd_reloc_ error code. 10817 1.1 skrll 10818 1.1 skrll 2002-01-31 Hans-Peter Nilsson <hp (a] axis.com> 10819 1.1 skrll 10820 1.1 skrll * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't 10821 1.1 skrll unexport unreferenced symbols when --export-dynamic. Call 10822 1.1 skrll _bfd_elf_strtab_delref when unexporting. 10823 1.1 skrll 10824 1.1 skrll 2002-01-30 Daniel Jacobowitz <drow (a] mvista.com> 10825 1.1 skrll 10826 1.1 skrll * bfd-in.h: Include <stdbool.h> if it is available. 10827 1.1 skrll * bfd-in2.h: Regenerated. 10828 1.1 skrll 10829 1.1 skrll 2002-01-31 Alan Modra <amodra (a] bigpond.net.au> 10830 1.1 skrll 10831 1.1 skrll * elf64-ppc.c (func_desc_adjust): STV_PROTECTED functions should 10832 1.1 skrll not go via the plt. 10833 1.1 skrll 10834 1.1 skrll 2002-01-30 Nick Clifton <nickc (a] cambridge.redhat.com> 10835 1.1 skrll 10836 1.1 skrll * archures.c: Tidy up formatting of embedded comments. 10837 1.1 skrll * bfd.c: Tidy up formatting of embedded comments. 10838 1.1 skrll * bfd-in.h: Fix formatting of comments. 10839 1.1 skrll * reloc.c: Tidy up formatting of ordinary & embedded comments. 10840 1.1 skrll * section.c: Tidy up formatting of embedded comments. 10841 1.1 skrll * syms.c: Tidy up formatting of embedded comments. 10842 1.1 skrll * targets.c: Tidy up formatting of embedded comments. 10843 1.1 skrll 10844 1.1 skrll * bfd-in2.h: Regenerate. 10845 1.1 skrll 10846 1.1 skrll 2002-01-30 Nick Clifton <nickc (a] cambridge.redhat.com> 10847 1.1 skrll 10848 1.1 skrll * vms-tir.c (cmd_name): New function. 10849 1.1 skrll (tir_cmd_name): New function. 10850 1.1 skrll (etir_sta, etir_sto, etir_opr, etir_stc): Use cmd_name(). 10851 1.1 skrll (tir_opr, tir_ctl, tir_cmd): use tir_cmd_name(). 10852 1.1 skrll Fix formatting. 10853 1.1 skrll 10854 1.1 skrll * peXXigen.c (pe_print_idata): Rearrange message to aid in 10855 1.1 skrll translation. 10856 1.1 skrll (pe_print_pdata): Rearrange message to aid in translation. 10857 1.1 skrll 10858 1.1 skrll * libbfd.c (warn_deprecated): Rearrange error message to aid in 10859 1.1 skrll translation. 10860 1.1 skrll 10861 1.1 skrll * ihex.c (ihex_write_object_contents): Fix spelling typo. 10862 1.1 skrll 10863 1.1 skrll * ieee.c (ieee_slurp_external_symbols): Remove spurious space. 10864 1.1 skrll 10865 1.1 skrll * elf64-sparc.c (sparc64_elf_add_symbol_hook): Rearrange error 10866 1.1 skrll message to aid in translation. 10867 1.1 skrll 10868 1.1 skrll * elf64-mmix.c (mmix_final_link_relocate): Rearrange error message 10869 1.1 skrll to aid in translation. 10870 1.1 skrll 10871 1.1 skrll * elf32-arm.h (elf32_arm_merge_private_bfd_data): Fix typo. 10872 1.1 skrll 10873 1.1 skrll 2002-01-30 Philipp Thomas <pthomas (a] suse.de> 10874 1.1 skrll 10875 1.1 skrll * coff-arm.c, elf32-elf.h: Unify messages. 10876 1.1 skrll 10877 1.1 skrll 2002-01-30 Nick Clifton <nickc (a] redhat.com> 10878 1.1 skrll 10879 1.1 skrll * po/sv.po: Updated translation. 10880 1.1 skrll 10881 1.1 skrll 2002-01-30 Philipp Thomas <pthomas (a] suse.de> 10882 1.1 skrll 10883 1.1 skrll * dwarf2.c (read_abbrev): Use full section name in error message. 10884 1.1 skrll (decode_line_info): Likewise. 10885 1.1 skrll 10886 1.1 skrll * elf.c (_bfd_elf_symbol_from_bfd_symbol): Don't translate debugging 10887 1.1 skrll message. 10888 1.1 skrll 10889 1.1 skrll 2002-01-30 Alan Modra <amodra (a] bigpond.net.au> 10890 1.1 skrll 10891 1.1 skrll * elf64-ppc.c (func_desc_adjust): Only provide missing function 10892 1.1 skrll descriptor symbols for undefined function code syms. Clear 10893 1.1 skrll ELF_LINK_NON_ELF so that they can stay weak. 10894 1.1 skrll 10895 1.1 skrll 2002-01-29 Chris Demetriou <cgd (a] broadcom.com> 10896 1.1 skrll Mitch Lichtenberg <mpl (a] broadcom.com> 10897 1.1 skrll 10898 1.1 skrll * bfd-in.h (bfd_mips_elf32_create_embedded_relocs): New prototype. 10899 1.1 skrll * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): New function 10900 1.1 skrll to handle 32-bit ELF embedded reloc (ld --embedded-relocs) 10901 1.1 skrll generation. 10902 1.1 skrll * bfd-in2.h: Regenerate. 10903 1.1 skrll 10904 1.1 skrll 2002-01-29 Chris Demetriou <cgd (a] broadcom.com> 10905 1.1 skrll 10906 1.1 skrll * elf32-mips.c: Add additional comments about HI16 relocation 10907 1.1 skrll processing. 10908 1.1 skrll (_bfd_mips_elf_hi16_reloc): Don't subtract address here for 10909 1.1 skrll pc-relative relocations. (Reverts change made on 2001-10-31.) 10910 1.1 skrll (_bfd_mips_elf_lo16_reloc): Subtract address of LO16 part here 10911 1.1 skrll for pc-relative relocations. 10912 1.1 skrll (mips_elf_calculate_relocation): Add a comment about a kludge 10913 1.1 skrll in the R_MIPS_GNU_REL_HI16 handling. 10914 1.1 skrll (_bfd_mips_elf_relocate_section): Implement that kludge; 10915 1.1 skrll adjust pc-relative HI16 relocation for difference in HI16 and 10916 1.1 skrll LO16 addresses, since it can't easily be done in 10917 1.1 skrll mips_elf_calculate_relocation. 10918 1.1 skrll 10919 1.1 skrll 2002-01-29 Martin Schwidefsky <schwidefsky (a] de.ibm.com> 10920 1.1 skrll 10921 1.1 skrll * elf32-i386 (elf_i386_adjust_dynamic_symbol): Do not replace PLT32 10922 1.1 skrll relocations with PC32 relocations for undefined or weak symbols. 10923 1.1 skrll * elf32-s390 (elf_i386_adjust_dynamic_symbol): Likewise. 10924 1.1 skrll * elf64-s390x (elf_i386_adjust_dynamic_symbol): Likewise. 10925 1.1 skrll 10926 1.1 skrll 2002-01-28 Jason Thorpe <thorpej (a] wasabisystems.com> 10927 1.1 skrll 10928 1.1 skrll * elfcore.h (elf_core_file_p): Improve comment for last change. 10929 1.1 skrll 10930 1.1 skrll 2002-01-27 Daniel Jacobowitz <drow (a] mvista.com> 10931 1.1 skrll 10932 1.1 skrll * configure: Regenerated. 10933 1.1 skrll 10934 1.1 skrll 2002-01-27 Jason Thorpe <thorpej (a] wasabisystems.com> 10935 1.1 skrll 10936 1.1 skrll * elfcore.h (elf_core_file_p): Set the machine architecture 10937 1.1 skrll before processing the program headers. 10938 1.1 skrll 10939 1.1 skrll 2002-01-26 Hans-Peter Nilsson <hp (a] bitrange.com> 10940 1.1 skrll 10941 1.1 skrll * configure.in <64-bit configuration>: If using gcc, check and 10942 1.1 skrll emit error for egcs-1.1.2. 10943 1.1 skrll * configure: Regenerate. 10944 1.1 skrll 10945 1.1 skrll 2002-01-26 Egor Duda <deo (a] logos-m.ru> 10946 1.1 skrll 10947 1.1 skrll * elf.c (elfcore_grok_win32pstatus): Copy only as much information 10948 1.1 skrll as possible to avoid stack corruption. 10949 1.1 skrll 10950 1.1 skrll 2002-01-26 Richard Henderson <rth (a] redhat.com> 10951 1.1 skrll 10952 1.1 skrll * elf64-alpha.c (elf64_alpha_check_relocs): Don't set reltext 10953 1.1 skrll for non-allocated sections. 10954 1.1 skrll 10955 1.1 skrll 2002-01-25 Mark Kettenis <kettenis (a] gnu.org> 10956 1.1 skrll 10957 1.1 skrll * elf.c (elfcore_write_prstatus): Make sure we pass the address of 10958 1.1 skrll prstat.pr_reg even if it is a struct. 10959 1.1 skrll 10960 1.1 skrll 2002-01-25 Steve Ellcey <sje (a] cup.hp.com> 10961 1.1 skrll 10962 1.1 skrll * elfxx-ia64.c: Reset AIX vector function overrides for HP-UX. 10963 1.1 skrll 10964 1.1 skrll 2002-01-25 Philipp Thomas <pthomas (a] suse.de> 10965 1.1 skrll 10966 1.1 skrll * coffgen.c (coff_print_symbol): Don't mark info message 10967 1.1 skrll for translation. 10968 1.1 skrll 10969 1.1 skrll 2002-01-25 Nick Clifton <nickc (a] redhat.com> 10970 1.1 skrll 10971 1.1 skrll * po/fr.po: Updated translation. 10972 1.1 skrll * po/es.po: Updated translation. 10973 1.1 skrll 10974 1.1 skrll 2002-01-25 Philipp Thomas <pthomas (a] suse.de> 10975 1.1 skrll 10976 1.1 skrll * coff-alpha.c (alpha_relocate_section): Unify warning message 10977 1.1 skrll for GP relative relocations without GP defined. 10978 1.1 skrll * coff-mips.c (mips_relocate_section): Likewise. 10979 1.1 skrll 10980 1.1 skrll 2002-01-25 Alan Modra <amodra (a] bigpond.net.au> 10981 1.1 skrll 10982 1.1 skrll * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Avoid 10983 1.1 skrll unsigned overflow when new_offset < old_offset. 10984 1.1 skrll 10985 1.1 skrll 2002-01-24 Philipp Thomas <pthomas (a] suse.de> 10986 1.1 skrll 10987 1.1 skrll * bfd.c (_bfd_abort): Fix typo. 10988 1.1 skrll 10989 1.1 skrll 2002-01-23 Richard Henderson <rth (a] redhat.com> 10990 1.1 skrll 10991 1.1 skrll * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't suppress 10992 1.1 skrll plt entries for undefweak symbols. 10993 1.1 skrll 10994 1.1 skrll 2002-01-23 Steve Ellcey <sje (a] cup.hp.com> 10995 1.1 skrll 10996 1.1 skrll * targets.c (bfd_elf32_ia64_hpux_big_vec): Add to DEFAULT_VECTOR. 10997 1.1 skrll (bfd_elf64_ia64_hpux_big_vec): Ditto. 10998 1.1 skrll (bfd_elf32_h8300_vec): Ditto. 10999 1.1 skrll 11000 1.1 skrll 2002-01-23 Alan Modra <amodra (a] bigpond.net.au> 11001 1.1 skrll 11002 1.1 skrll * elf64-ppc.c: Remove stale part of ABI comment. 11003 1.1 skrll (NO_OPD_RELOCS): Define. 11004 1.1 skrll (ppc64_elf_check_relocs): Use it. 11005 1.1 skrll (ppc64_elf_relocate_section): Here too. 11006 1.1 skrll (build_one_stub): Don't point function syms at the stub. Instead, 11007 1.1 skrll hijack plt.offset. 11008 1.1 skrll (ppc64_elf_relocate_section): Check whether REL24 relocs should 11009 1.1 skrll really go to the stub. Make all dynamic relocs in opd against 11010 1.1 skrll locals. 11011 1.1 skrll (ppc64_elf_finish_dynamic_symbol): Allow for non-standard use of 11012 1.1 skrll plt.offset. 11013 1.1 skrll 11014 1.1 skrll 2002-01-22 Richard Henderson <rth (a] redhat.com> 11015 1.1 skrll 11016 1.1 skrll * elf64-alpha.c (INSN_UNOP): Encode with RB as $sp. 11017 1.1 skrll 11018 1.1 skrll 2002-01-22 Alan Modra <amodra (a] bigpond.net.au> 11019 1.1 skrll 11020 1.1 skrll * elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Correct sign of 11021 1.1 skrll TOC_BASE_OFF adjustment. 11022 1.1 skrll 11023 1.1 skrll * Makefile.am: Run "make dep-am". 11024 1.1 skrll * Makefile.in: Regenerate. 11025 1.1 skrll * po/SRC-POTFILES.in: Regenerate. 11026 1.1 skrll 11027 1.1 skrll 2002-01-22 John David Anglin <dave (a] hiauly1.hia.nrc.ca> 11028 1.1 skrll 11029 1.1 skrll * configure.host (hppa*64*-*-hpux*, hppa*64*-*-linux*): Add new 11030 1.1 skrll host defines. 11031 1.1 skrll 11032 1.1 skrll 2002-01-21 Hans-Peter Nilsson <hp (a] axis.com> 11033 1.1 skrll 11034 1.1 skrll * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GOTREL>: 11035 1.1 skrll Check for and emit error if sgot is NULL at this point. 11036 1.1 skrll 11037 1.1 skrll 2002-01-21 Jason Thorpe <thorpej (a] wasabisystems.com> 11038 1.1 skrll 11039 1.1 skrll * config.bfd (ia64*-*-netbsd*): New target. 11040 1.1 skrll 11041 1.1 skrll 2002-01-21 Thomas Klausner <wiz (a] danbala.ifoer.tuwien.ac.at> 11042 1.1 skrll 11043 1.1 skrll * som.c (som_write_space_strings): Comment typo fix. 11044 1.1 skrll 11045 1.1 skrll 2002-01-21 Alan Modra <amodra (a] bigpond.net.au> 11046 1.1 skrll 11047 1.1 skrll * elf64-ppc.c (struct ppc_link_hash_entry): Add is_func and 11048 1.1 skrll is_func_descriptor fields. 11049 1.1 skrll (link_hash_newfunc): Init them. 11050 1.1 skrll (ppc64_elf_check_relocs): Only R_PPC24_REL24 syms starting with a 11051 1.1 skrll dot are candidates for plt entries. When processing .opd relocs, 11052 1.1 skrll set function descriptor strings to point inside function code 11053 1.1 skrll string, and set new ppc_link_hash_entry fields. 11054 1.1 skrll (ppc64_elf_gc_sweep_hook): Don't sweep R_PPC64_REL24 relocs. 11055 1.1 skrll (ppc64_elf_adjust_dynamic_symbol): Remove most code dealing with 11056 1.1 skrll function descriptors. It's now done in.. 11057 1.1 skrll (func_desc_adjust): New. 11058 1.1 skrll (ppc64_elf_func_desc_adjust): New. 11059 1.1 skrll (define elf_backend_always_size_sections): Define. 11060 1.1 skrll (ppc64_elf_hide_symbol): New. 11061 1.1 skrll (define elf_backend_hide_symbol): Define. 11062 1.1 skrll (allocate_dynrelocs): Remove code looking up function descriptors 11063 1.1 skrll as that has been done earlier. 11064 1.1 skrll (ppc64_elf_size_dynamic_sections): Use htab shortcut to elf hash 11065 1.1 skrll table. 11066 1.1 skrll (ppc64_elf_finish_dynamic_symbol): Likewise. Remove code looking 11067 1.1 skrll up function descriptor. 11068 1.1 skrll (build_one_stub): Look up the function code sym. Check for 11069 1.1 skrll invalid plt offsets. 11070 1.1 skrll (ppc64_elf_relocate_section): Tweak calls to undefined weak syms. 11071 1.1 skrll Convert R_PPC64_TOC relocs to R_PPC64_RELATIVE in shared libs. 11072 1.1 skrll 11073 1.1 skrll * elf-bfd.h (elf_backend_data <elf_backend_hide_symbol>): Add 11074 1.1 skrll boolean param. 11075 1.1 skrll (_bfd_elf_link_hash_hide_symbol): Likewise. 11076 1.1 skrll * elflink.h (elf_link_add_object_symbols): Adjust call to 11077 1.1 skrll elf_backend_hide_symbol. 11078 1.1 skrll (elf_fix_symbol_flags): Likewise. 11079 1.1 skrll (elf_link_assign_sym_version): Likewise. Use bfd_malloc rather 11080 1.1 skrll than bfd_alloc. 11081 1.1 skrll * elf.c (_bfd_elf_link_hash_hide_symbol): Add "force_local" param. 11082 1.1 skrll Set ELF_LINK_FORCED_LOCAL and call _bfd_elf_strtab_delref. 11083 1.1 skrll * elf32-hppa.c (elf32_hppa_hide_symbol): Likewise. 11084 1.1 skrll (clobber_millicode_symbols): Adjust to suit new hide_symbol. 11085 1.1 skrll * elf32-cris.c (elf_cris_hide_symbol): Add "force_local" param 11086 1.1 skrll and adjust to suit. 11087 1.1 skrll * elf32-mips.c (_bfd_mips_elf_hide_symbol): Likewise, and call 11088 1.1 skrll _bfd_elf_link_hash_hide_symbol rather than duplicating code. 11089 1.1 skrll * elfxx-ia64.c (elfNN_ia64_hash_hide_symbol): Likewise. 11090 1.1 skrll 11091 1.1 skrll 2002-01-18 Alan Modra <amodra (a] bigpond.net.au> 11092 1.1 skrll 11093 1.1 skrll * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Test for a 11094 1.1 skrll dynamic function descriptor symbol, not the associated function 11095 1.1 skrll symbol. 11096 1.1 skrll 11097 1.1 skrll 2002-01-17 Eric Christopher <echristo (a] redhat.com> 11098 1.1 skrll 11099 1.1 skrll * elf32-mips.c (mips_elf_calculate_relocation): Fix typo. 11100 1.1 skrll 11101 1.1 skrll 2002-01-17 Nick Clifton <nickc (a] cambridge.redhat.com> 11102 1.1 skrll 11103 1.1 skrll * po/bfd.pot: Regenerate. 11104 1.1 skrll * po/fr.po: Regenerate. 11105 1.1 skrll 11106 1.1 skrll 2002-01-17 Alan Modra <amodra (a] bigpond.net.au> 11107 1.1 skrll 11108 1.1 skrll * elf-bfd.h (elf_backend_data <elf_backend_section_from_bfd_section>): 11109 1.1 skrll Remove "Elf_Internal_Shdr *" param. 11110 1.1 skrll (_bfd_mips_elf_section_from_bfd_section): Ditto. 11111 1.1 skrll * elf32-mips.c (_bfd_mips_elf_section_from_bfd_section): Ditto. 11112 1.1 skrll * elf32-m32r.c (_bfd_m32r_elf_section_from_bfd_section): Ditto. 11113 1.1 skrll * elf32-v850.c (v850_elf_section_from_bfd_section): Ditto. 11114 1.1 skrll * elf64-mmix.c (mmix_elf_section_from_bfd_section): Ditto. 11115 1.1 skrll * elfxx-ia64.c (elfNN_hpux_backend_section_from_bfd_section): Ditto. 11116 1.1 skrll * elf.c (_bfd_elf_section_from_bfd_section): Allow backend 11117 1.1 skrll function to override special sections. Remove hdr arg from 11118 1.1 skrll backend call, and don't loop. 11119 1.1 skrll 11120 1.1 skrll 2002-01-16 Eric Christopher <echristo (a] redhat.com> 11121 1.1 skrll 11122 1.1 skrll * elf32-mips.c (mips_elf_calculate_relocation): Set require_jalxp 11123 1.1 skrll on R_MIPS_26 and target is 16bit. Add R_MIPS16_GPREL to list of 11124 1.1 skrll relocations requiring gp0 and gp. 11125 1.1 skrll 11126 1.1 skrll 2002-01-16 Richard Earnshaw <rearnsha (a] arm.com> 11127 1.1 skrll 11128 1.1 skrll * elf32-arm.h (elf32_arm_merge_private_bfd_data): Handle 11129 1.1 skrll EF_ARM_VFP_FLOAT. 11130 1.1 skrll (elf32_arm_print_private_bfd_data): Likewise. 11131 1.1 skrll 11132 1.1 skrll 2002-01-16 Nick Clifton <nickc (a] cambridge.redhat.com> 11133 1.1 skrll 11134 1.1 skrll * po/tr.po: Import new version. 11135 1.1 skrll 11136 1.1 skrll 2002-01-16 Alan Modra <amodra (a] bigpond.net.au> 11137 1.1 skrll 11138 1.1 skrll * elf64-ppc.c (ppc64_elf_howto_raw): Remove stale FIXMEs. 11139 1.1 skrll (ppc64_elf_reloc_type_lookup): Use proper CTOR reloc. 11140 1.1 skrll (ORI_R0_R0_0): Correct. 11141 1.1 skrll 11142 1.1 skrll 2002-01-16 Alan Modra <amodra (a] bigpond.net.au> 11143 1.1 skrll 11144 1.1 skrll * elflink.c (_bfd_elf_create_dynamic_sections): Don't set SEC_CODE 11145 1.1 skrll when plt_not_loaded. 11146 1.1 skrll * elf64-ppc.c (ppc64_elf_create_dynamic_sections): No need to 11147 1.1 skrll clear .plt SEC_CODE here. Create .stub and correct .glink flags. 11148 1.1 skrll (PLT_INITIAL_ENTRY_SIZE): Set to 24. 11149 1.1 skrll (ppc64_elf_glink_code): Delete. 11150 1.1 skrll (PPC64_ELF_GLINK_SIZE): Delete. 11151 1.1 skrll (ADDIS_R12_R2, STD_R2_40R1, LD_R11_0R12, LD_R2_0R12, MTCTR_R11, 11152 1.1 skrll BCTR, ADDIS_R12_R12_1, LD_R2_40R1, NOP, LI_R0_0, B_DOT, LIS_R0_0, 11153 1.1 skrll ORI_R0_R0_0): Define. 11154 1.1 skrll (PLT_CALL_STUB_SIZE, GLINK_CALL_STUB_SIZE): Define. 11155 1.1 skrll (struct ppc_link_hash_table): Add sstub and plt_overflow. 11156 1.1 skrll (ppc64_elf_link_hash_table_create): Init them. 11157 1.1 skrll (ppc64_elf_check_relocs <R_PPC64_REL24>): Refcount .plt entry. 11158 1.1 skrll Don't copy to shared lib. 11159 1.1 skrll (ppc64_elf_check_relocs): Call bfd_set_error on errors. 11160 1.1 skrll (ppc64_elf_gc_sweep_hook <R_PPC64_REL24>): Sweep plt refcount. 11161 1.1 skrll (allocate_dynrelocs <plt>): Don't change function sym here. Make 11162 1.1 skrll room for .stub and .glink code. 11163 1.1 skrll (ppc64_elf_size_dynamic_sections): Handle .stub. Make entry for 11164 1.1 skrll DT_PPC64_GLINK. 11165 1.1 skrll (ppc64_elf_final_link): Rename to ppc64_elf_set_toc. Don't call 11166 1.1 skrll bfd_elf64_bfd_final_link. 11167 1.1 skrll (bfd_elf64_bfd_final_link): Don't define. 11168 1.1 skrll (ppc64_elf_size_stubs): New. 11169 1.1 skrll (build_plt_stub): New. 11170 1.1 skrll (build_one_stub): New. 11171 1.1 skrll (ppc64_elf_build_stubs): New. 11172 1.1 skrll (ppc64_elf_relocate_section <toc relocs>): Remove assert. 11173 1.1 skrll (ppc64_elf_relocate_section): Don't copy R_PPC64_REL24 relocs. 11174 1.1 skrll (ppc64_elf_finish_dynamic_symbol): Don't build stubs here. Set 11175 1.1 skrll DT_PPC64_GLINK entry. Tweak DT_PLTGOT, DT_JMPREL, DT_PLTRELSZ in 11176 1.1 skrll case output sections not separate. Adjust DT_RELASZ to not 11177 1.1 skrll include plt relocs. Set reserved got entry. Set got and plt 11178 1.1 skrll entry size. 11179 1.1 skrll (elf_backend_got_header_size): Set to 8. 11180 1.1 skrll * elf64-ppc.h: New file. 11181 1.1 skrll 11182 1.1 skrll 2002-01-16 Alan Modra <amodra (a] bigpond.net.au> 11183 1.1 skrll 11184 1.1 skrll * elf32-arm.h (elf32_arm_size_dynamic_sections): When removing 11185 1.1 skrll sections, use bfd_section_list_remove. 11186 1.1 skrll * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise. 11187 1.1 skrll * elflink.h (elf_link_add_object_symbols): When removing all 11188 1.1 skrll sections, use bfd_section_list_clear. 11189 1.1 skrll 11190 1.1 skrll 2002-01-15 Nick Clifton <nickc (a] cambridge.redhat.com> 11191 1.1 skrll 11192 1.1 skrll * po/sv.po: New file: Swedish translation. 11193 1.1 skrll * configure.in (ALL_LINGUAS): Add sv. 11194 1.1 skrll * configure: Regenerate. 11195 1.1 skrll 11196 1.1 skrll 2002-01-15 Jakub Jelinek <jakub (a] redhat.com> 11197 1.1 skrll 11198 1.1 skrll * elflink.h (elf_link_input_bfd): Back out 2002-01-07 change. 11199 1.1 skrll * elf.c (merge_sections_remove_hook): New function. 11200 1.1 skrll (_bfd_elf_merge_sections): Pass it as 3rd argument to 11201 1.1 skrll _bfd_merge_sections. 11202 1.1 skrll * libbfd-in.h (_bfd_merge_sections): Add 3rd argument. 11203 1.1 skrll * libbfd.h: Rebuilt. 11204 1.1 skrll * merge.c (_bfd_merge_sections): Add remove_hook argument. 11205 1.1 skrll Call remove_hook if a SEC_EXCLUDE section is encountered. 11206 1.1 skrll 11207 1.1 skrll 2002-01-15 Nick Clifton <nickc (a] cambridge.redhat.com> 11208 1.1 skrll 11209 1.1 skrll * elf32-xstormy16.c (xstormy16_reloc_map): Add new field 'table'. 11210 1.1 skrll (xstormy16_reloc_map): Initialise new field with correct howto 11211 1.1 skrll table. 11212 1.1 skrll (xstormy16_reloc_type_lookup): Use 'table' field to locate correct 11213 1.1 skrll howto entry. 11214 1.1 skrll 11215 1.1 skrll 2002-01-10 Michael Snyder <msnyder (a] redhat.com> 11216 1.1 skrll 11217 1.1 skrll * elf.c (elfcore_write_prstatus): Use long instead of pid_t; 11218 1.1 skrll (elfcore_write_pstatus): Use long instead of pid_t; 11219 1.1 skrll * elf-bfd.h: Change prototypes to use long instead of pid_t; 11220 1.1 skrll 11221 1.1 skrll 2002-01-09 Jason Thorpe <thorpej (a] wasabisystems.com> 11222 1.1 skrll 11223 1.1 skrll * elf.c: Update copyright years. 11224 1.1 skrll (elfcore_grok_netbsd_note): Use NT_NETBSDCORE_PROCINFO 11225 1.1 skrll and NT_NETBSDCORE_FIRSTMACH. Improve a comment. 11226 1.1 skrll 11227 1.1 skrll 2002-01-08 Michael Snyder <msnyder (a] redhat.com> 11228 1.1 skrll 11229 1.1 skrll Add capability to write corefile note sections, for gdb. 11230 1.1 skrll * elf.c (elfcore_write_note): New function. 11231 1.1 skrll (elfcore_write_prpsinfo): New function. 11232 1.1 skrll (elfcore_write_prstatus): New function. 11233 1.1 skrll (elfcore_write_pstatus): New function. 11234 1.1 skrll (elfcore_write_prfpreg): New function. 11235 1.1 skrll (elfcore_write_prxfpreg): New function. 11236 1.1 skrll * elf-bfd.h: Add prototypes for above functions. 11237 1.1 skrll 11238 1.1 skrll 2002-01-08 Alexandre Oliva <aoliva (a] redhat.com> 11239 1.1 skrll 11240 1.1 skrll * elf.c (elf_fake_sections): Propagate errors from 11241 1.1 skrll elf_backend_fake_section. 11242 1.1 skrll 11243 1.1 skrll 2002-01-07 Jason Thorpe <thorpej (a] wasabisystems.com> 11244 1.1 skrll 11245 1.1 skrll * Makefile.am (BFD32_BACKENDS): Add elf32-sh-nbsd.lo. 11246 1.1 skrll (BFD32_BACKENDS_CFILES): Add elf32-sh-nbsd.c. 11247 1.1 skrll (elf32-sh-nbsd.lo): New rule. 11248 1.1 skrll * Makefile.in: Regenerate. 11249 1.1 skrll * config.bfd (sh*le-*-netbsdelf*): New target. 11250 1.1 skrll (sh*-*-netbsdelf*): New target. 11251 1.1 skrll * configure.in: Include netbsd-core.lo for native sh*-*-netbsd*. 11252 1.1 skrll (bfd_elf32_shnbsd_vec): New vector. 11253 1.1 skrll (bfd_elf32_shlnbsd_vec): New vector. 11254 1.1 skrll * configure: Regenerate. 11255 1.1 skrll * elf32-sh-nbsd.c: New file. 11256 1.1 skrll * targets.c: Update copyright years. 11257 1.1 skrll (_bfd_target_vector): Add bfd_elf32_shlnbsd_vec and 11258 1.1 skrll bfd_elf32_shnbsd_vec. 11259 1.1 skrll 11260 1.1 skrll 2002-01-07 Aldy Hernandez <aldyh (a] redhat.com> 11261 1.1 skrll 11262 1.1 skrll * coff-rs6000.c (READ20): Use bfd_scan_vma. 11263 1.1 skrll 11264 1.1 skrll 2002-01-07 Geoffrey Keating <geoffk (a] redhat.com> 11265 1.1 skrll 11266 1.1 skrll * elflink.h (elf_link_input_bfd): Don't ask for the merged offset 11267 1.1 skrll of a symbol in a section that will be deleted. 11268 1.1 skrll 11269 1.1 skrll 2002-01-07 Nick Clifton <nickc (a] cambridge.redhat.com> 11270 1.1 skrll 11271 1.1 skrll * po/es.po: New file: Spanish translation. 11272 1.1 skrll * configure.in (ALL_LINGUAS): Add es. 11273 1.1 skrll * configure: Regenerate. 11274 1.1 skrll 11275 1.1 skrll 2002-01-06 Steve Ellcey <sje (a] cup.hp.com> 11276 1.1 skrll 11277 1.1 skrll * elfxx-ia64.c (is_unwind_section_name): Add target vector as 11278 1.1 skrll argument so we can handle HP-UX specially. 11279 1.1 skrll (elfNN_ia64_hpux_vec): New for use in is_unwind_section_name. 11280 1.1 skrll (elfNN_hpux_backend_section_from_bfd_section): New for support 11281 1.1 skrll of SHN_IA_64_ANSI_COMMON. 11282 1.1 skrll (elfNN_ia64_relax_section): Add support for SHN_IA_64_ANSI_COMMON. 11283 1.1 skrll (is_unwind_section_name): Add special HP-UX support. 11284 1.1 skrll (elfNN_ia64_section_from_shdr): Add support for more sections. 11285 1.1 skrll (elfNN_ia64_fake_sections): Modify is_unwind_section_name call and 11286 1.1 skrll add support for more sections. 11287 1.1 skrll (elfNN_ia64_additional_program_headers): Modify 11288 1.1 skrll is_unwind_section_name call. 11289 1.1 skrll (elfNN_ia64_modify_segment_map): Remove assumption that there is 11290 1.1 skrll only one unwind section in segment. 11291 1.1 skrll 11292 1.1 skrll 2002-01-06 Alan Modra <amodra (a] bigpond.net.au> 11293 1.1 skrll 11294 1.1 skrll * syms.c (_bfd_generic_make_empty_symbol): New function. 11295 1.1 skrll * libbfd-in.h (_bfd_nosymbols_make_empty_symbol): Define as 11296 1.1 skrll _bfd_generic_make_empty_symbol. 11297 1.1 skrll * libbfd.h: Regenerate. 11298 1.1 skrll * bfd-in2.h: Regenerate. 11299 1.1 skrll * hppabsd-core.c (hppabsd_core_make_empty_symbol): Delete function. 11300 1.1 skrll (hppabsd_core_get_symtab_upper_bound): Don't define. 11301 1.1 skrll (hppabsd_core_get_symtab): Likewise. 11302 1.1 skrll (hppabsd_core_print_symbol): Likewise. 11303 1.1 skrll (hppabsd_core_get_symbol_info): Likewise. 11304 1.1 skrll (hppabsd_core_bfd_is_local_label_name): Likewise. 11305 1.1 skrll (hppabsd_core_get_lineno): Likewise. 11306 1.1 skrll (hppabsd_core_find_nearest_line): Likewise. 11307 1.1 skrll (hppabsd_core_bfd_make_debug_symbol): Likewise. 11308 1.1 skrll (hppabsd_core_read_minisymbols): Likewise. 11309 1.1 skrll (hppabsd_core_minisymbol_to_symbol): Likewise. 11310 1.1 skrll (hppabsd_core_vec): Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols). 11311 1.1 skrll Formatting fixes. 11312 1.1 skrll * hpux-core.c: Similarly. 11313 1.1 skrll * irix-core.c: Similarly. 11314 1.1 skrll * osf-core.c: Similarly. 11315 1.1 skrll * sco5-core.c: Similarly. 11316 1.1 skrll * binary.c (binary_make_empty_symbol): Remove function, define as 11317 1.1 skrll _bfd_generic_make_empty_symbol. 11318 1.1 skrll * ihex.c (ihex_make_empty_symbol): Likewise. 11319 1.1 skrll * mmo.c (mmo_make_empty_symbol): Likewise. 11320 1.1 skrll * ppcboot.c (ppcboot_make_empty_symbol): Likewise. 11321 1.1 skrll * srec.c (srec_make_empty_symbol): Likewise. 11322 1.1 skrll * versados.c (versados_make_empty_symbol): Likewise. 11323 1.1 skrll * vms.c (_bfd_vms_make_empty_symbol): Remove. 11324 1.1 skrll (vms_make_empty_symbol): Define as _bfd_generic_make_empty_symbol. 11325 1.1 skrll * vms-gsd.c (_bfd_vms_slurp_gsd): Call bfd_make_empty_symbol 11326 1.1 skrll rather than _bfd_vms_make_empty_symbol. 11327 1.1 skrll * vms-misc.c (new_symbol): Likewise. 11328 1.1 skrll 11329 1.1 skrll 2002-01-05 Alan Modra <amodra (a] bigpond.net.au> 11330 1.1 skrll 11331 1.1 skrll * section.c (bfd_section_init): Remove unnecessary initialisations. 11332 1.1 skrll (bfd_section_list_clear): New function. 11333 1.1 skrll (bfd_section_list_remove, bfd_section_list_insert): New macros. 11334 1.1 skrll (_bfd_strip_section_from_output): Use them. 11335 1.1 skrll * coffcode.h (coff_set_alignment_hook): Likewise. 11336 1.1 skrll * elf32-mips.c (_bfd_mips_elf_final_link): Likewise. 11337 1.1 skrll * elf64-mips.c (mips_elf64_final_link): Likewise. 11338 1.1 skrll * elf64-mmix.c (mmix_elf_final_link): Likewise. 11339 1.1 skrll * sunos.c (sunos_add_dynamic_symbols): Likewise. 11340 1.1 skrll * xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise. 11341 1.1 skrll * bfd-in2.h: Regenerate. 11342 1.1 skrll 11343 1.1 skrll * netbsd-core.c (netbsd_core_file_p): Use bfd_make_section_anyway 11344 1.1 skrll rather than doing our own section handling. Clean up after errors 11345 1.1 skrll with bfd_release and bfd_section_list_clear. Handle unexpected 11346 1.1 skrll flags. 11347 1.1 skrll * aoutf1.h (sunos4_core_file_p): Likewise. 11348 1.1 skrll * aix386-core.c (aix386_core_file_p): Likewise. 11349 1.1 skrll * cisco-core.c (cisco_core_file_validate): Likewise. 11350 1.1 skrll * ptrace-core.c (ptrace_unix_core_file_p): Likewise. 11351 1.1 skrll * trad-core.c (trad_unix_core_file_p): Likewise. 11352 1.1 skrll 11353 1.1 skrll * hppabsd-core.c (hppabsd_core_core_file_p): Clean up after errors 11354 1.1 skrll with bfd_release and bfd_section_list_clear. 11355 1.1 skrll * hpux-core.c (hpux_core_core_file_p): Likewise. 11356 1.1 skrll * irix-core.c (irix_core_core_file_p): Likewise. 11357 1.1 skrll * lynx-core.c (lynx_core_file_p): Likewise. 11358 1.1 skrll * osf-core.c (osf_core_core_file_p): Likewise. 11359 1.1 skrll * rs6000-core.c (rs6000coff_core_p): Likewise. 11360 1.1 skrll * sco5-core.c (sco5_core_file_p): Likewise. 11361 1.1 skrll 11362 1.1 skrll * elf32-mips.c (_bfd_mips_elf_lo16_reloc): Simplify, and perform 11363 1.1 skrll sign extension adjustments without conditionals. 11364 1.1 skrll 11365 1.1 skrll 2002-01-04 Jakub Jelinek <jakub (a] redhat.com> 11366 1.1 skrll 11367 1.1 skrll * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Don't crash if 11368 1.1 skrll CIE at .eh_frame start is removed due to no FDEs referencing it. 11369 1.1 skrll 11370 1.1 skrll 2002-01-04 Jason Thorpe <thorpej (a] wasabisystems.com> 11371 1.1 skrll 11372 1.1 skrll * config.bfd (x86_64-*-netbsd*): New target. 11373 1.1 skrll * configure.in (x86_64-*-netbsd*): Set COREFILE 11374 1.1 skrll to netbsd-core.lo. 11375 1.1 skrll * configure: Regenerated. 11376 1.1 skrll 11377 1.1 skrll 2002-01-03 Tom Rix <trix (a] redhat.com> 11378 1.1 skrll 11379 1.1 skrll * xcofflink.c (_bfd_xcoff_bfd_final_link): Update .pad section ordering 11380 1.1 skrll for recent bfd_make_section_anyway change. 11381 1.1 skrll 11382 1.1 skrll 2002-01-03 Nick Clifton <nickc (a] cambridge.redhat.com> 11383 1.1 skrll 11384 1.1 skrll * elf32-arm.h (elf32_arm_final_link_relocate): Handle 11385 1.1 skrll R_ARM_THM_PC11 reloc. 11386 1.1 skrll 11387 1.1 skrll 2002-01-02 Nick Clifton <nickc (a] cambridge.redhat.com> 11388 1.1 skrll 11389 1.1 skrll * configure.in (LINGUAS): Add ja. 11390 1.1 skrll * configure: Regenerate. 11391 1.1 skrll * po/ja.po: Import from translation project's web site. 11392 1.1 skrll 11393 1.1 skrll 2002-01-02 Nick Clifton <nickc (a] cambridge.redhat.com> 11394 1.1 skrll 11395 1.1 skrll * elf32-arm.h (elf32_arm_merge_private_bfd_data): Reformat error 11396 1.1 skrll messages to ease translation into other languages. 11397 1.1 skrll 11398 1.1 skrll For older changes see ChangeLog-0001 11399 1.1 skrll 11401 1.1.1.2 christos Copyright (C) 2002-2003 Free Software Foundation, Inc. 11402 1.1.1.2 christos 11403 1.1.1.2 christos Copying and distribution of this file, with or without modification, 11404 1.1.1.2 christos are permitted in any medium without royalty provided the copyright 11405 1.1.1.2 christos notice and this notice are preserved. 11406 1.1 skrll 11407 1.1 skrll Local Variables: 11408 1.1 skrll mode: change-log 11409 1.1 skrll left-margin: 8 11410 1.1 skrll fill-column: 74 11411 1.1 skrll version-control: never 11412 End: 11413