Commit | Line | Data |
---|---|---|
9ddf8309 TS |
1 | 2007-04-28 Sergey Rogozhkin <rogozhkin@niisi.msk.ru> |
2 | ||
3 | * elfxx-mips.c (mips_elf_create_dynamic_relocation): Don't access | |
4 | memory which we might not own. | |
5 | ||
95147441 BW |
6 | 2007-04-27 Bob Wilson <bob.wilson@acm.org> |
7 | ||
8 | * elf32-xtensa.c (elf_xtensa_make_sym_local): Restore deleted function. | |
9 | (elf_xtensa_hide_symbol, elf_backend_hide_symbol): Likewise. | |
10 | (elf_xtensa_allocate_dynrelocs): Use elf_xtensa_make_sym_local. | |
11 | ||
bcc2cc8e BW |
12 | 2007-04-27 Bob Wilson <bob.wilson@acm.org> |
13 | ||
14 | * elf32-xtensa.c (xtensa_read_table_entries): Step through table | |
15 | contents and relocs in parallel. | |
16 | ||
f29f96b6 BW |
17 | 2007-04-27 Bob Wilson <bob.wilson@acm.org> |
18 | ||
19 | * elf32-xtensa.c (relax_property_section): Remove extra irel increment. | |
20 | ||
2ce18a16 AM |
21 | 2007-04-27 Alan Modra <amodra@bigpond.net.au> |
22 | ||
23 | * cpu-rs6000.c: Write Mimi's name in ASCII. | |
24 | * coff-rs6000.c: Likewise. | |
25 | * rs6000-core.c: Likewise. | |
26 | ||
eddc20ad AM |
27 | 2007-04-27 Alan Modra <amodra@bigpond.net.au> |
28 | ||
29 | * sysdep.h: Include config.h first. | |
30 | Many files: Include sysdep.h before bfd.h. | |
31 | * Makefile.am: Run "make dep-am". | |
32 | * Makefile.in: Regenerate. | |
33 | ||
495443d4 AM |
34 | 2007-04-25 Alan Modra <amodra@bigpond.net.au> |
35 | ||
36 | * sysdep.h: Revert last change. | |
37 | ||
40b1c6c5 NC |
38 | 2007-04-24 Nick Clifton <nickc@redhat.com> |
39 | ||
40 | * coffcode.h (coff_slurp_reloc_table): Initialise dst.r_offset. | |
41 | * coff-m68k.c (m68kcoff_rtype_to_howto): Initialize relent.howto. | |
42 | ||
64be1553 AM |
43 | 2007-04-24 Alan Modra <amodra@bigpond.net.au> |
44 | ||
45 | * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Warn if | |
46 | eh_frame_hdr table won't be created. | |
47 | ||
d5efd9fc AM |
48 | 2007-04-24 Alan Modra <amodra@bigpond.net.au> |
49 | ||
50 | * acinclude.m4: Include config/stdint.m4. | |
51 | * configure.in: Invoke GCC_HEADER_STDINT. | |
52 | * sysdep.h: Don't include ansidecl.h here. | |
53 | * configure: Regenerate. | |
54 | * config.in: Regenerate. | |
55 | * Makefile.in: Regenerate. | |
56 | ||
9a2e615a NS |
57 | 2007-04-23 Nathan Sidwell <nathan@codesourcery.com> |
58 | ||
59 | * archures.c (bfd_mach_mcf_isa_c, bfd_mach_mcf_isa_c_mac, | |
60 | bfd_mach_mcf_isa_c_emac): New. | |
61 | * elf32-m68k.c (ISAC_PLT_ENTRY_SIZE, elf_isac_plt0_entry, | |
62 | elf_isac_plt_entry, elf_isac_plt_info): New. | |
63 | (elf32_m68k_object_p): Add ISA_C. | |
64 | (elf32_m68k_print_private_bfd_data): Print ISA_C. | |
65 | (elf32_m68k_get_plt_info): Detect ISA_C. | |
66 | * cpu-m68k.c (arch_info): Add ISAC. | |
67 | (m68k_arch_features): Likewise, | |
68 | (bfd_m68k_compatible): ISAs B & C are not compatible. | |
69 | ||
1b0b5b1b NC |
70 | 2007-04-21 Nick Clifton <nickc@redhat.com> |
71 | ||
72 | * ecoff.c (_bfd_ecoff_write_armap): Initialise rehash. | |
73 | (ecoff_link_add_archive_symbols): Likewise. | |
74 | * coff-m68k.c (m68kcoff_common_addend_rtype_to_howto): Initialise | |
75 | relent.howto. | |
76 | * ieee.c (parse_int): Initialise x. | |
77 | (must_parse_int): Initialise result. | |
78 | (ieee_slurp_external_symbols): Initialise value. | |
79 | ||
bd7803a9 AM |
80 | 2007-04-21 Alan Modra <amodra@bigpond.net.au> |
81 | ||
82 | * config.bfd (spu-*-elf): Delete targ_selvecs. | |
83 | ||
964597d0 NC |
84 | 2007-04-19 Nick Clifton <nickc@redhat.com> |
85 | ||
86 | * coffcode.h (coff_rtype_to_howto): Initialise genrel.howto. | |
87 | ||
01e76792 AM |
88 | 2007-04-19 Alan Modra <amodra@bigpond.net.au> |
89 | ||
90 | * bfd.c (bfd_demangle): New function. | |
91 | * Makefile.am: Run "make dep-am". | |
92 | * Makefile.in: Regenerate. | |
93 | * bfd-in2.h: Regenerate. | |
94 | ||
ee5c21a0 DJ |
95 | 2007-04-18 Matthias Klose <doko@ubuntu.com> |
96 | ||
97 | * Makefile.am (libbfd_la_LDFLAGS): Use bfd soversion. | |
98 | (bfdver.h): Use the date in non-release builds for the soversion. | |
99 | * Makefile.in: Regenerate. | |
100 | ||
fcb93ecf PB |
101 | 2007-04-17 Paul Brook <paul@codesourcery.com> |
102 | ||
103 | * elf.c (_bfd_elf_is_function_type): New function. | |
104 | * elflink.c (_bfd_elf_merge_symbol): Use bed->is_function_type. | |
105 | (_bfd_elf_dynamic_symbol_p, _bfd_elf_symbol_refs_local_p, | |
106 | is_global_data_symbol_definition, elf_link_add_object_symbols): Ditto. | |
107 | * elf-bfd.h (elf_backend_data): Add is_function_type. | |
108 | (_bfd_elf_is_function_type): Add prototype. | |
109 | * elfxx-target.h (elf_backend_is_function_type): Add default | |
110 | definition. | |
111 | (elfNN_bed): Add elf_backend_is_function_type. | |
112 | * elf32-arm.c (elf32_arm_is_function_type): New function. | |
113 | (elf_backend_is_function_type): Define. | |
114 | ||
5750dcec DJ |
115 | 2007-04-17 Daniel Jacobowitz <dan@codesourcery.com> |
116 | ||
117 | * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Put | |
118 | DT_MIPS_RLD_MAP before DT_DEBUG again. | |
119 | ||
cfbc9945 SE |
120 | 2007-04-14 Steve Ellcey <sje@cup.hp.com> |
121 | ||
122 | * Makefile.am: Add ACLOCAL_AMFLAGS. | |
123 | * configure.in: Change macro call order. | |
124 | * Makefile.in: Regnerate. | |
125 | * doc/Makefile.in: Regenerate. | |
126 | * configure: Regenerate. | |
127 | ||
3fcd97f1 JJ |
128 | 2007-04-14 Jakub Jelinek <jakub@redhat.com> |
129 | ||
130 | * elflink.c (bfd_elf_final_link): Don't free symbuf for | |
131 | non-elf input bfds. | |
132 | (bfd_elf_size_dynamic_sections): Don't access elf_section_data | |
133 | for non-elf input bfds. | |
134 | ||
af5978fb RS |
135 | 2007-04-12 Richard Sandiford <richard@codesourcery.com> |
136 | ||
137 | * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Don't add | |
138 | DT_MIPS_RTLD_MAP for PIEs. | |
139 | ||
9e3313ae RS |
140 | 2007-04-12 Richard Sandiford <richard@codesourcery.com> |
141 | ||
142 | * elfxx-mips.c (mips_elf_calculate_relocation): Set DT_TEXTREL | |
143 | when creating a __GOTT_BASE__ or __GOTT_INDEX__ relocation | |
144 | in a read-only section. | |
145 | (_bfd_mips_elf_check_relocs): Likewise. | |
146 | ||
1d25768e BW |
147 | 2007-04-12 Bob Wilson <bob.wilson@acm.org> |
148 | ||
149 | * elf32-xtensa.c (xtensa_is_insntable_section): New. | |
150 | (xtensa_is_proptable_section): New. | |
151 | (elf_xtensa_discard_info_for_section): Handle "full" .xt.prop property | |
152 | tables with 12-byte entries, as well as tables with 8-byte entries. | |
153 | Sort the relocations before examining them. | |
154 | (relax_property_section): Use xtensa_is_proptable_section and | |
155 | xtensa_is_littable_section. Rewrite code for combining table entries | |
156 | to be more robust in case of unexpected relocations. Do not set offset | |
157 | of unused relocations to less than zero. | |
158 | (xtensa_is_property_section): Use other functions instead of | |
159 | duplicating section name comparisons. | |
160 | (xtensa_is_littable_section): Use CONST_STRNEQ for ".gnu.linkonce.p.". | |
161 | (xtensa_get_property_predef_flags): Use xtensa_is_insntable_section. | |
162 | ||
e1e5c0b5 BW |
163 | 2007-04-12 Bob Wilson <bob.wilson@acm.org> |
164 | ||
165 | * elf32-xtensa.c (elf_xtensa_gc_mark_hook): Don't follow references | |
166 | from Xtensa property sections. | |
167 | ||
2c67c5f3 AM |
168 | 2007-04-12 Alan Modra <amodra@bigpond.net.au> |
169 | ||
170 | * elf32-spu.c (needs_ovl_stub): Test that spu_elf_section_data | |
171 | is non-NULL before dereferencing. | |
172 | ||
8776bb8a NS |
173 | 2007-04-11 Nathan Sidwell <nathan@codesourcery.com> |
174 | ||
175 | * elf-vxworks.c (elf_vxworks_emit_relocs): Remap weakdef PLT slot | |
176 | relocs too. | |
177 | ||
4a828aab RH |
178 | 2007-04-10 Richard Henderson <rth@redhat.com> |
179 | ||
180 | * elf64-alpha.c (struct alpha_elf_link_hash_table): Add relax_trip. | |
181 | (elf64_alpha_size_got_sections): Remove unused something_changed local. | |
182 | (elf64_alpha_size_plt_section): Return void. | |
183 | (elf64_alpha_size_rela_got_section): Likewise. | |
184 | (elf64_alpha_relax_section): Only regenerate got+plt if the | |
185 | relax_trip counter has changed. | |
186 | ||
91506736 DJ |
187 | 2007-04-09 Daniel Jacobowitz <dan@codesourcery.com> |
188 | ||
189 | * Makefile.am (bfdver.h): Do not generate doc/bfdver.texi. | |
190 | * doc/Makefile.am (DOCFILES): Add bfdver.texi. | |
191 | (bfdver.texi): New rule. | |
192 | * Makefile.in, doc/Makefile.in: Regenerated. | |
193 | ||
da6bcfca MT |
194 | 2007-04-03 Matt Thomas <matt@netbsd.org> |
195 | ||
196 | * elf32-vax.c (elf_vax_relocate_section): Do not emit a PCREL reloc | |
197 | in a shared object if it is not in a CODE section or if it is against | |
198 | a section symbol. This allows DWARF2 to use pcrel format. | |
199 | ||
9267588c L |
200 | 2007-04-05 H.J. Lu <hongjiu.lu@intel.com> |
201 | ||
202 | PR ld/4304 | |
203 | * elflink.c (bfd_elf_final_link): Call einfo callback in | |
204 | bfd_link_info instead of _bfd_error_handler for DT_TEXTREL | |
205 | warning. | |
206 | ||
c1b2796f AM |
207 | 2007-04-05 Alan Modra <amodra@bigpond.net.au> |
208 | ||
209 | * elf32-spu.c (spu_elf_output_symbol_hook): New function. | |
210 | (elf_backend_link_output_symbol_hook): Define. | |
211 | ||
970ccc77 NC |
212 | 2007-04-02 Nick Clifton <nickc@redhat.com> |
213 | ||
214 | PR binutils/4292 | |
215 | * bfd.c (bfd_fprintf_vma): Do not print addresses of 32-bit | |
216 | targets as 64-bit values, even if running on a 64-bit host. | |
217 | * coffgen.c (coff_print_symbol): Likewise. | |
218 | ||
1783205a NC |
219 | 2007-03-29 Nick Clifton <nickc@redhat.com> |
220 | ||
221 | PR binutils/4110 | |
222 | * elf.c (IS_VALID_GROUP_SECTION_HEADER): New macro. | |
223 | (setup_group): Use it. Report corrupt group section headers. | |
224 | (bfd_section_from_shdr): Use new macro. Replace constant 4 with | |
225 | GRP_ENTRY_SIZE. Cope with NULLs in the group section table. | |
226 | (elf_fake_section): Replace constant 4 with GRP_ENTRY_SIZE. | |
227 | ||
2ce859a1 AM |
228 | 2007-03-29 Alan Modra <amodra@bigpond.net.au> |
229 | ||
230 | PR ld/4267 | |
947844a3 AM |
231 | * elflink.c (evaluate_complex_relocation_symbols): Use bfd_vma |
232 | for rel->r_info values. | |
233 | (bfd_elf_perform_complex_relocation): Likewise. | |
2ce859a1 AM |
234 | * elf32-ppc.c (allocate_dynrelocs): Set plt.offset to -1 for |
235 | unused entries. Don't clear plt.plist in loop. | |
236 | ||
39817122 RS |
237 | 2007-03-28 Richard Sandiford <richard@codesourcery.com> |
238 | ||
239 | * elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Remove append_rela. | |
240 | * elfxx-sparc.c (sparc_elf_append_rela_64, sparc_elf_append_rela_32): | |
241 | Merge into... | |
242 | (sparc_elf_append_rela): ...this new function. | |
243 | (SPARC_ELF_APPEND_RELA): Delete. | |
244 | (_bfd_sparc_elf_link_hash_table_create): Don't initialize | |
245 | the deleted append_rela field. | |
246 | (_bfd_sparc_elf_relocate_section): Use sparc_elf_append_rela | |
247 | instead of SPARC_ELF_APPEND_RELA. | |
248 | (_bfd_sparc_elf_finish_dynamic_symbol): Likewise. Use the | |
249 | elf_size_info structure to find the size of a RELA entry and | |
250 | the associated swap-out function. | |
251 | (sparc64_finish_dyn, sparc64_finish_dyn): Merge into... | |
252 | (sparc_finish_dyn): ...this new function. | |
253 | (_bfd_sparc_elf_finish_dynamic_sections): Update calls accordingly. | |
254 | ||
4ecceb71 RS |
255 | 2007-03-28 Richard Sandiford <richard@codesourcery.com> |
256 | Phil Edwards <phil@codesourcery.com> | |
257 | ||
258 | * doc/bfd.texinfo: Put the contents after the title page rather | |
259 | than at the end of the document. | |
260 | ||
d4d2b80b AS |
261 | 2007-03-27 Andreas Schwab <schwab@suse.de> |
262 | ||
263 | * elfxx-ia64.c (elf_backend_default_execstack): Define to 0. | |
264 | ||
831480e9 | 265 | 2007-03-26 H.J. Lu <hongjiu.lu@intel.com> |
5bd8253d L |
266 | |
267 | * configure: Regenerated. | |
268 | ||
f4b39977 AM |
269 | 2007-03-26 Alan Modra <amodra@bigpond.net.au> |
270 | ||
271 | * elf32-spu.c (struct stubarr): Add stub_hash_table and err fields. | |
272 | (allocate_spuear_stubs): New function. | |
273 | (spu_elf_size_stubs): Call allocate_spuear_stubs. | |
274 | ||
157090f7 AM |
275 | 2007-03-26 Alan Modra <amodra@bigpond.net.au> |
276 | ||
277 | * aout-adobe.c (aout_32_bfd_reloc_name_lookup): Define. | |
278 | * aout-arm.c (MY_bfd_reloc_name_lookup): Define. | |
279 | (MY (bfd_reloc_name_lookup)): New function. | |
280 | * aout-ns32k.c (MY (bfd_reloc_name_lookup)): New function. | |
281 | * aout-target.h (NAME (aout, reloc_name_lookup)): Declare. | |
282 | (MY_bfd_reloc_name_lookup): Define. | |
283 | * aout-tic30.c (tic30_aout_reloc_name_lookup): New function. | |
284 | (MY_bfd_reloc_name_lookup): Define. | |
285 | * aoutx.h (NAME (aout, reloc_type_lookup)): Don't declare. | |
286 | (NAME (aout, reloc_name_lookup)): New function. | |
287 | * bout.c (b_out_bfd_reloc_name_lookup): New function. | |
288 | * coff-alpha.c (alpha_bfd_reloc_name_lookup): New function. | |
289 | (_bfd_ecoff_bfd_reloc_name_lookup): Define. | |
290 | * coff-arm.c (coff_arm_reloc_name_lookup): New function. | |
291 | (coff_bfd_reloc_name_lookup): Define. | |
292 | * coff-i386.c (coff_bfd_reloc_name_lookup): Define. | |
293 | (coff_i386_reloc_name_lookup): New function. | |
294 | * coff-i860.c (coff_i860_reloc_name_lookup): New function. | |
295 | (coff_bfd_reloc_name_lookup): Define. | |
296 | * coff-i960.c (coff_i960_reloc_name_lookup): New function. | |
297 | (coff_bfd_reloc_name_lookup): Define. | |
298 | * coff-m68k.c (m68k_reloc_name_lookup): New function. | |
299 | (coff_bfd_reloc_name_lookup): Define. | |
300 | * coff-maxq.c (maxq_reloc_name_lookup): New function. | |
301 | (coff_bfd_reloc_name_lookup): Define. | |
302 | * coff-mcore.c (mcore_coff_reloc_name_lookup): New function. | |
303 | (coff_bfd_reloc_name_lookup): Define. | |
304 | * coff-mips.c (mips_bfd_reloc_name_lookup): New function. | |
305 | (_bfd_ecoff_bfd_reloc_name_lookup): Define. | |
306 | * coff-ppc.c (ppc_coff_reloc_name_lookup): New function. | |
307 | (coff_bfd_reloc_name_lookup): Define. | |
308 | * coff-rs6000.c (coff_bfd_reloc_name_lookup): Define. | |
309 | (_bfd_xcoff_reloc_name_lookup): New function. | |
310 | (rs6000coff_vec, pmac_xcoff_vec): Init new field. | |
311 | * coff-sh.c (coff_bfd_reloc_name_lookup): Define. | |
312 | (sh_coff_reloc_name_lookup): New function. | |
313 | * coff-sparc.c (coff_sparc_reloc_name_lookup): New function. | |
314 | (coff_bfd_reloc_name_lookup): Define. | |
315 | * coff-tic30.c (coff_bfd_reloc_name_lookup): Define. | |
316 | (tic30_coff_reloc_name_lookup): New function. | |
317 | * coff-tic4x.c (coff_bfd_reloc_name_lookup): Define. | |
318 | (tic4x_coff_reloc_name_lookup): New function. | |
319 | * coff-tic54x.c (coff_bfd_reloc_name_lookup): Define. | |
320 | (tic54x_coff_reloc_name_lookup): New function. | |
321 | * coff-x86_64.c (coff_bfd_reloc_name_lookup): Define. | |
322 | (coff_amd64_reloc_name_lookup): New function. | |
323 | * coff-z80.c (coff_z80_reloc_name_lookup): New function. | |
324 | (coff_bfd_reloc_name_lookup): Define. | |
325 | * coff-z8k.c (coff_z8k_reloc_name_lookup): New function. | |
326 | (coff_bfd_reloc_name_lookup): Define. | |
327 | * coff64-rs6000.c (coff_bfd_reloc_name_lookup): Define. | |
328 | (xcoff64_reloc_name_lookup): New function. | |
329 | (rs6000coff64_vec, aix5coff64_vec): Init new field. | |
330 | * coffcode.h (coff_bfd_reloc_name_lookup): Define. | |
331 | * elf-hppa.h (elf_hppa_reloc_name_lookup): New function. | |
332 | * elf-m10200.c (bfd_elf32_bfd_reloc_name_lookup): New function. | |
333 | * elf-m10300.c (bfd_elf32_bfd_reloc_name_lookup): New function. | |
334 | * elf32-arc.c (bfd_elf32_bfd_reloc_name_lookup): New function. | |
335 | * elf32-arm.c (elf32_arm_reloc_name_lookup): New function. | |
336 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
337 | * elf32-avr.c (bfd_elf32_bfd_reloc_name_lookup): New function. | |
338 | * elf32-bfin.c (bfin_bfd_reloc_name_lookup): New function. | |
339 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
340 | * elf32-cr16c.c (elf_cr16c_reloc_name_lookup): New function. | |
341 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
342 | * elf32-cris.c (cris_reloc_name_lookup): New function. | |
343 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
344 | * elf32-crx.c (elf_crx_reloc_name_lookup): New function. | |
345 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
346 | * elf32-d10v.c (bfd_elf32_bfd_reloc_name_lookup): New function. | |
347 | * elf32-d30v.c (bfd_elf32_bfd_reloc_name_lookup): New function. | |
348 | * elf32-dlx.c (elf32_dlx_reloc_name_lookup): New function. | |
349 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
350 | * elf32-fr30.c (fr30_reloc_name_lookup): New function. | |
351 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
352 | * elf32-frv.c (frv_reloc_name_lookup): New function. | |
353 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
354 | * elf32-gen.c (bfd_elf32_bfd_reloc_name_lookup): Define. | |
355 | * elf32-h8300.c (elf32_h8_reloc_name_lookup): New function. | |
356 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
357 | * elf32-hppa.c (bfd_elf32_bfd_reloc_name_lookup): Define. | |
358 | * elf32-i370.c (i370_elf_reloc_name_lookup): New function. | |
359 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
360 | * elf32-i386.c (elf_i386_reloc_name_lookup): New function. | |
361 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
362 | * elf32-i860.c (elf32_i860_reloc_name_lookup): New function. | |
363 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
364 | * elf32-i960.c (elf32_i960_reloc_name_lookup): New function. | |
365 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
366 | * elf32-ip2k.c (ip2k_reloc_name_lookup): New function. | |
367 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
368 | * elf32-iq2000.c (iq2000_reloc_name_lookup): New function. | |
369 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
370 | * elf32-m32c.c (m32c_reloc_name_lookup): New function. | |
371 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
372 | * elf32-m32r.c (bfd_elf32_bfd_reloc_name_lookup): New function. | |
373 | * elf32-m68hc11.c (bfd_elf32_bfd_reloc_name_lookup): New function. | |
374 | * elf32-m68hc12.c (bfd_elf32_bfd_reloc_name_lookup): New function. | |
375 | * elf32-m68k.c (reloc_name_lookup): New function. | |
376 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
377 | * elf32-m88k.c (bfd_elf32_bfd_reloc_name_lookup): Define. | |
378 | * elf32-mcore.c (mcore_elf_reloc_name_lookup): New function. | |
379 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
380 | * elf32-mep.c (mep_reloc_name_lookup): New function. | |
381 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
382 | * elf32-mips.c (bfd_elf32_bfd_reloc_name_lookup): New function. | |
383 | (mips_vxworks_bfd_reloc_name_lookup): Likewise. | |
384 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
385 | * elf32-msp430.c (bfd_elf32_bfd_reloc_name_lookup): New function. | |
386 | * elf32-mt.c (mt_reloc_name_lookup): New function. | |
387 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
388 | * elf32-openrisc.c (openrisc_reloc_name_lookup): New function. | |
389 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
390 | * elf32-or32.c (bfd_elf32_bfd_reloc_name_lookup): New function. | |
391 | * elf32-pj.c (pj_elf_reloc_name_lookup): New function. | |
392 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
393 | * elf32-ppc.c (ppc_elf_reloc_name_lookup): New function. | |
394 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
395 | * elf32-s390.c (elf_s390_reloc_name_lookup): New function. | |
396 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
397 | * elf32-score.c (elf32_score_reloc_name_lookup): New function. | |
398 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
399 | * elf32-sh.c (sh_elf_reloc_name_lookup): New function. | |
400 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
401 | * elf32-sparc.c (bfd_elf32_bfd_reloc_name_lookup): Define. | |
402 | * elf32-spu.c (spu_elf_reloc_name_lookup): New function. | |
403 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
404 | * elf32-v850.c (v850_elf_reloc_name_lookup): New function. | |
405 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
406 | * elf32-vax.c (reloc_name_lookup): New function. | |
407 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
408 | * elf32-xc16x.c (xc16x_reloc_name_lookup): New function. | |
409 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
410 | * elf32-xstormy16.c (xstormy16_reloc_name_lookup): New function. | |
411 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
412 | * elf32-xtensa.c (elf_xtensa_reloc_name_lookup): New function. | |
413 | (bfd_elf32_bfd_reloc_name_lookup): Define. | |
414 | * elf64-alpha.c (elf64_alpha_bfd_reloc_name_lookup): New function. | |
415 | (bfd_elf64_bfd_reloc_name_lookup): Define. | |
416 | * elf64-gen.c (bfd_elf64_bfd_reloc_name_lookup): Define. | |
417 | * elf64-hppa.c (bfd_elf64_bfd_reloc_name_lookup): Define. | |
418 | * elf64-mips.c (bfd_elf64_bfd_reloc_name_lookup): New function. | |
419 | * elf64-mmix.c (bfd_elf64_bfd_reloc_name_lookup): New function. | |
420 | * elf64-ppc.c (ppc64_elf_reloc_name_lookup): New function. | |
421 | (bfd_elf64_bfd_reloc_name_lookup): Define. | |
422 | * elf64-s390.c (elf_s390_reloc_name_lookup): New function. | |
423 | (bfd_elf64_bfd_reloc_name_lookup): Define. | |
424 | * elf64-sh64.c (sh_elf64_reloc_name_lookup): New function. | |
425 | (bfd_elf64_bfd_reloc_name_lookup): Define. | |
426 | * elf64-sparc.c (bfd_elf64_bfd_reloc_name_lookup): Define. | |
427 | * elf64-x86-64.c (elf64_x86_64_reloc_name_lookup): New function. | |
428 | (bfd_elf64_bfd_reloc_name_lookup): Define. | |
429 | * elfn32-mips.c (bfd_elf32_bfd_reloc_name_lookup): New function. | |
430 | * elfxx-ia64.c (elfNN_ia64_reloc_name_lookup): New function. | |
431 | (bfd_elfNN_bfd_reloc_name_lookup): Define. | |
432 | * elfxx-sparc.c (_bfd_sparc_elf_reloc_name_lookup): New function. | |
433 | * elfxx-sparc.h (_bfd_sparc_elf_reloc_name_lookup): Declare. | |
434 | * i386msdos.c (msdos_bfd_reloc_name_lookup): Define. | |
435 | * i386os9k.c (aout_32_bfd_reloc_name_lookup): Define. | |
436 | * ieee.c (ieee_bfd_reloc_name_lookup): Define. | |
437 | * libaout.h (NAME (aout, reloc_name_lookup)): Declare. | |
438 | * libbfd-in.h (_bfd_norelocs_bfd_reloc_name_lookup): Declare. | |
439 | * mipsbsd.c (MY_bfd_reloc_name_lookup): Define. | |
440 | (MY(reloc_type_lookup)): Rename from MY(reloc_howto_type_lookup). | |
441 | (MY(reloc_name_lookup)): New function. | |
442 | * nlm-target.h (nlm_bfd_reloc_name_lookup): Define. | |
443 | * oasys.c (oasys_bfd_reloc_name_lookup): Define. | |
444 | * pdp11.c (NAME (aout, reloc_name_lookup)): New function. | |
445 | * pe-mips.c (coff_mips_reloc_name_lookup): New function. | |
446 | (coff_bfd_reloc_name_lookup): Define. | |
447 | * reloc.c (bfd_reloc_name_lookup): New function. | |
448 | * riscix.c (riscix_reloc_name_lookup): New function. | |
449 | (MY_bfd_reloc_name_lookup): Define. | |
450 | * som.c (som_bfd_reloc_name_lookup): New function. | |
451 | * targets.c (struct bfd_target): Add reloc_name_lookup. | |
452 | (BFD_JUMP_TABLE_RELOCS): Add NAME##_bfd_reloc_name_lookup. | |
453 | * versados.c (versados_bfd_reloc_name_lookup): Define. | |
454 | * vms.c (vms_bfd_reloc_name_lookup): New function. | |
455 | * bfd-in2.h: Regenerate. | |
456 | * libbfd.h: Regenerate. | |
457 | ||
2d82d84d TS |
458 | 2007-03-26 Thiemo Seufer <ths@mips.com> |
459 | ||
a5cb1fd7 | 460 | PR ld/4208 |
2d82d84d TS |
461 | * elfxx-mips.c (mips_elf_next_relocation): Don't signal an error if no |
462 | matching relocation is found. | |
463 | (_bfd_mips_elf_relocate_section): Only warn about missing relocations. | |
464 | ||
831480e9 | 465 | 2007-03-23 H.J. Lu <hongjiu.lu@intel.com> |
1a27db7d L |
466 | |
467 | * configure: Regenerated. | |
468 | ||
a1ac8190 JM |
469 | 2007-03-23 Joseph Myers <joseph@codesourcery.com> |
470 | ||
471 | * configure.in: Use ACX_PKGVERSION and ACX_BUGURL. | |
472 | * configure: Regenerate. | |
473 | ||
aa7a0635 AM |
474 | 2007-03-23 Alan Modra <amodra@bigpond.net.au> |
475 | ||
476 | * elf32-spu.c (spu_stub_name): Don't put input section in stub name. | |
477 | Remove input_sec param. Adjust all calls. | |
478 | (write_one_stub): Adjust stub symbol. | |
479 | (needs_ovl_stub): New function, extracted from.. | |
480 | (spu_elf_size_stubs): ..here. | |
481 | (spu_elf_relocate_section): Use needs_ovl_stub. | |
482 | ||
e49e529d JM |
483 | 2007-03-22 Joseph Myers <joseph@codesourcery.com> |
484 | ||
485 | * Makefile.am (bfdver.h): Only set VERSION_PACKAGE in bfdver.texi | |
486 | if nonempty. | |
487 | * configure.in (REPORT_BUGS_TO): Do not use "URL:" prefix. | |
488 | * Makefile.in, configure, doc/Makefile.in: Regenerate. | |
489 | ||
831480e9 | 490 | 2007-03-22 H.J. Lu <hongjiu.lu@intel.com> |
50572669 L |
491 | |
492 | PR ld/4210 | |
493 | * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Use the virtual | |
494 | address and virtual size of the last section for the image | |
495 | size. | |
496 | ||
0920dee7 L |
497 | 2007-03-22 H.J. Lu <hongjiu.lu@intel.com> |
498 | ||
499 | PR ld/4007 | |
500 | * elf.c (assign_file_positions_for_load_sections): Check if | |
501 | all sections are in the segment. | |
502 | ||
831480e9 | 503 | 2007-03-20 H.J. Lu <hongjiu.lu@intel.com> |
749b8d9d L |
504 | |
505 | PR ld/4208 | |
506 | * elfxx-mips.c (_bfd_mips_elf_relocate_section): Report missing | |
507 | matching LO16 relocation for HI16 relocation. | |
508 | ||
27e55c4d PB |
509 | 2007-03-20 Paul Brook <paul@codesourcery.com> |
510 | ||
511 | * bfd-in.h (bfd_elf32_arm_set_target_relocs): Update prototype. | |
512 | * bfd-in2.h: Regenerate. | |
513 | * elf32-arm.c (elf32_arm_link_hash_table): Add pic_veneer. | |
514 | (record_arm_to_thumb_glue): Use globals->pic_veneer. | |
515 | (elf32_arm_create_thumb_stub): Ditto. | |
516 | (bfd_elf32_arm_set_target_relocs): Set globals->pic_veneer. | |
517 | ||
bf21ed78 MS |
518 | 2007-03-18 Mark Shinwell <shinwell@codesourcery.com> |
519 | ||
520 | * bfd-in.h (bfd_elf32_arm_set_target_relocs): Add "bfd *" | |
521 | argument and extra last argument. | |
522 | * bfd-in2.h: Regenerate. | |
523 | * elf32-arm.c (elf32_arm_obj_tdata): Add no_enum_size_warning | |
524 | member. | |
525 | (bfd_elf32_arm_set_target_relocs): Add "bfd *" argument and | |
526 | extra last argument. Set no_enum_size_warning appropriately. | |
527 | (elf32_arm_merge_eabi_attributes): Improve enum sizes | |
528 | diagnostic, suppressing it when no_enum_size_warning dictates. | |
529 | ||
5f6999aa NC |
530 | 2007-03-20 Nick Clifton <nickc@redhat.com> |
531 | ||
532 | PR binutils/3535 | |
533 | * elf.c (copy_private_bfd_data): Widen the scope of Solaris | |
534 | specific conditions that need the program headers to be | |
535 | rewritten. | |
536 | ||
831480e9 | 537 | 2007-03-19 H.J. Lu <hongjiu.lu@intel.com> |
d13c9dc6 L |
538 | |
539 | * peXXigen.c (_bfd_XXi_swap_aouthdr_in): Store Magic, | |
540 | MajorLinkerVersion, MinorLinkerVersion, SizeOfCode, | |
541 | SizeOfInitializedData, SizeOfUninitializedData, | |
542 | AddressOfEntryPoint, BaseOfCode and BaseOfData in internal | |
543 | extra PE a.out header. | |
544 | (IMAGE_NT_OPTIONAL_HDR_MAGIC): Defined as 0x10b if not defined. | |
545 | (IMAGE_NT_OPTIONAL_HDR64_MAGIC): Defined as 0x20b if not | |
546 | defined. | |
547 | (IMAGE_NT_OPTIONAL_HDRROM_MAGIC): Defined as 0x107 if not | |
548 | defined. | |
549 | (_bfd_XX_print_private_bfd_data_common): Also print Magic, | |
550 | MajorLinkerVersion, MinorLinkerVersion, SizeOfCode, | |
551 | SizeOfInitializedData, SizeOfUninitializedData, | |
552 | AddressOfEntryPoint, BaseOfCode and BaseOfData from internal | |
553 | extra PE a.out header. | |
554 | ||
831480e9 | 555 | 2007-03-18 H.J. Lu <hongjiu.lu@intel.com> |
739bb57e L |
556 | |
557 | * targets.c (_bfd_target_vector): Add bfd_efi_app_x86_64_vec | |
558 | only if BFD64 is defined. | |
559 | ||
5384511f AM |
560 | 2007-03-17 Alan Modra <amodra@bigpond.net.au> |
561 | ||
562 | * elf32-spu.c (spu_elf_size_stubs): Always use an overlay stub | |
563 | on setjmp calls. | |
564 | ||
187b3d5d L |
565 | 2007-03-15 H.J. Lu <hongjiu.lu@intel.com> |
566 | ||
567 | * doc/Makefile.in: Regenerated. | |
568 | ||
c428fa83 L |
569 | 2007-03-15 H.J. Lu <hongjiu.lu@intel.com> |
570 | ||
571 | * Makefile.am (bfdver.h): Substitute report_bugs_to. Also | |
572 | create doc/bfdver.texi. | |
573 | * Makefile.in: Regenerated. | |
574 | ||
575 | * configure.in (--with-bugurl): New option. | |
576 | * configure: Regenerated. | |
577 | ||
578 | * version.h (REPORT_BUGS_TO): New. | |
579 | ||
d1036acb L |
580 | 2007-03-13 H.J. Lu <hongjiu.lu@intel.com> |
581 | ||
582 | PR binutils/3826 | |
583 | * elf-bfd.h (elf_backend_data): Add elf_osabi. | |
584 | (_bfd_elf_set_osabi): New. | |
585 | ||
586 | * elf.c (_bfd_elf_set_osabi): New. | |
587 | ||
588 | * elf32-hppa.c (elf32_hppa_post_process_headers): Removed. | |
589 | (elf_backend_post_process_headers): Defined with | |
590 | _bfd_elf_set_osabi. | |
591 | (ELF_OSABI): Properly defined for each target. | |
592 | ||
593 | * elf32-i370.c (i370_elf_post_process_headers): Removed. | |
594 | (ELF_OSABI): Defined. | |
595 | (elf_backend_post_process_headers): Defined with | |
596 | _bfd_elf_set_osabi. | |
597 | ||
598 | * elf32-i386.c (ELF_OSABI): Defined to ELFOSABI_FREEBSD for | |
599 | freebsd. | |
600 | (elf_i386_post_process_headers): Set EI_OSABI with elf_osabi. | |
601 | ||
602 | * elf32-msp430.c (elf32_msp430_post_process_headers): Removed. | |
603 | (ELF_OSABI): Defined. | |
604 | (elf_backend_post_process_headers): Defined with | |
605 | _bfd_elf_set_osabi. | |
606 | ||
607 | * elf64-alpha.c (ELF_OSABI): Defined to ELFOSABI_FREEBSD for | |
608 | freebsd. | |
609 | (elf64_alpha_fbsd_post_process_headers): Set EI_OSABI with | |
610 | elf_osabi. | |
611 | ||
612 | * elf64-hppa.c (elf64_hppa_post_process_headers): Set EI_OSABI | |
613 | with elf_osabi. | |
614 | (ELF_OSABI): Properly defined for each target. | |
615 | (elf_backend_post_process_headers): Defined with | |
616 | _bfd_elf_set_osabi for Linux. | |
617 | ||
618 | * elf64-sparc.c (elf64_sparc_fbsd_post_process_headers): Removed. | |
619 | (ELF_OSABI): Defined to ELFOSABI_FREEBSD for freebsd. | |
620 | (elf_backend_post_process_headers): Defined with | |
621 | _bfd_elf_set_osabi. | |
622 | ||
623 | * elf64-x86-64.c (elf64_x86_64_fbsd_post_process_headers): Removed. | |
624 | (ELF_OSABI): Defined to ELFOSABI_FREEBSD for freebsd. | |
625 | (elf_backend_post_process_headers): Defined with | |
626 | _bfd_elf_set_osabi. | |
627 | ||
628 | * elfcode.h (elf_object_p): Match the ELFOSABI_NONE ELF target | |
629 | with any ELF target of the compatible machine for which we do not | |
630 | have a specific backend. | |
631 | ||
632 | * elfxx-ia64.c (elfNN_hpux_post_process_headers): Set EI_OSABI | |
633 | with elf_osabi. | |
634 | ||
635 | * elfxx-target.h (ELF_OSABI): Default to ELFOSABI_NONE. | |
636 | (elfNN_bed): Initialize elf_osabi with ELF_OSABI. | |
637 | ||
d4c87fc1 AM |
638 | 2007-03-08 Alan Modra <amodra@bigpond.net.au> |
639 | ||
640 | * elf32-v850.c (v850_elf_link_output_symbol_hook): Clean out | |
641 | V850_OTHER_* bits. | |
642 | ||
9c6fc49d AM |
643 | 2007-03-08 Alan Modra <amodra@bigpond.net.au> |
644 | ||
645 | * Makefile.am (BFD64_BACKENDS): Add efi-app-x86_64.lo. | |
646 | (BFD64_BACKENDS_CFILES): Add efi-app-x86_64.c. | |
647 | Run "make dep-am". | |
648 | * Makefile.in: Regenerate. | |
649 | * po/SRC-POTFILES.in: Regenerate. | |
650 | ||
faed74d6 L |
651 | 2007-03-07 H.J. Lu <hongjiu.lu@intel.com> |
652 | ||
653 | * config.bfd (x86_64-*-freebsd*): Add bfd_efi_app_x86_64_vec. | |
654 | (x86_64-*-kfreebsd*-gnu): Likewise. | |
655 | (x86_64-*-netbsd*): Likewise. | |
656 | (x86_64-*-openbsd*): Likewise. | |
657 | (x86_64-*-linux-*): Likewise. | |
658 | ||
659 | * configure.in: Support bfd_efi_app_x86_64_vec. | |
660 | * configure: Regenerated. | |
661 | ||
662 | * efi-app-x86_64.c: New file. | |
663 | ||
664 | * targets.c (bfd_efi_app_x86_64_vec): New. | |
665 | (_bfd_target_vector): Add bfd_efi_app_x86_64_vec. | |
666 | ||
15344ad7 L |
667 | 2007-03-07 Kai Tietz <kai.tietz@onevision.com> |
668 | ||
669 | * reloc.c (bfd_generic_get_relocated_section_contents): Remove | |
670 | const for type reloc_howto_type. | |
671 | ||
ab96bf03 AM |
672 | 2007-03-07 Alan Modra <amodra@bigpond.net.au> |
673 | ||
674 | PR 3958 | |
675 | * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): No error on relocatable link. | |
676 | (elf_discarded_section): Move.. | |
677 | * bfd-in.h: ..to here. | |
678 | * bfd-in2.h: Regenerate. | |
679 | * elflink.c (elf_link_input_bfd): Don't zap relocs against symbols | |
680 | from discarded sections before relocate_section has done its job. | |
681 | * reloc.c (bfd_generic_get_relocated_section_contents): Handle | |
682 | relocs against symbols from discarded sections. | |
683 | * elf-hppa.h (elf_hppa_howto_table): Set size. Set dst_mask on | |
684 | SECREL32. | |
685 | (elf_hppa_relocate_section): Handle relocatable link after setting | |
686 | sec, sym, h etc. for final link. Squash error messages for | |
687 | relocatable link. Clear section contents for relocs against | |
688 | symbols in discarded sections, and zero reloc. Remove existing | |
689 | zero r_symndx code. | |
690 | * elf-m10200.c (mn10200_elf_relocate_section): Likewise. | |
691 | * elf-m10300.c (mn10300_elf_relocate_section): Likewise. | |
692 | * elf32-arm.c (elf32_arm_relocate_section): Likewise. | |
693 | * elf32-avr.c (elf32_avr_relocate_section): Likewise. | |
694 | * elf32-bfin.c (bfinfdpic_relocate_section): Likewise. | |
695 | (bfin_relocate_section): Likewise. | |
696 | * elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise. | |
697 | * elf32-cris.c (cris_elf_relocate_section): Likewise. | |
698 | * elf32-crx.c (elf32_crx_relocate_section): Likewise. | |
699 | * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. | |
700 | * elf32-fr30.c (fr30_elf_relocate_section): Likewise. | |
701 | * elf32-frv.c (elf32_frv_relocate_section): Likewise. | |
702 | * elf32-h8300.c (elf32_h8_relocate_section): Likewise. | |
703 | * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. | |
704 | * elf32-i370.c (i370_elf_relocate_section): Likewise. | |
705 | * elf32-i386.c (elf_i386_relocate_section): Likewise. | |
706 | * elf32-i860.c (elf32_i860_relocate_section): Likewise. | |
707 | * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. | |
708 | * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise. | |
709 | * elf32-m32c.c (m32c_elf_relocate_section): Likewise. | |
710 | * elf32-m32r.c (m32r_elf_relocate_section): Likewise. | |
711 | * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise. | |
712 | * elf32-m68k.c (elf_m68k_relocate_section): Likewise. | |
713 | * elf32-mcore.c (mcore_elf_relocate_section): Likewise. | |
714 | * elf32-mep.c (mep_elf_relocate_section): Likewise. | |
715 | * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. | |
716 | * elf32-mt.c (mt_elf_relocate_section): Likewise. | |
717 | * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. | |
718 | * elf32-ppc.c (ppc_elf_relocate_section): Likewise. | |
719 | * elf32-s390.c (elf_s390_relocate_section): Likewise. | |
720 | * elf32-score.c (_bfd_score_elf_relocate_section): Likewise. | |
721 | * elf32-sh.c (sh_elf_relocate_section): Likewise. | |
722 | * elf32-spu.c (spu_elf_relocate_section): Likewise. | |
723 | * elf32-v850.c (v850_elf_relocate_section): Likewise. | |
724 | * elf32-vax.c (elf_vax_relocate_section): Likewise. | |
725 | * elf32-xc16x.c (elf32_xc16x_relocate_section): Likewise. | |
726 | * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. | |
727 | * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. | |
728 | * elf64-alpha.c (elf64_alpha_relocate_section_r): Likewise. | |
729 | (elf64_alpha_relocate_section): Likewise. | |
730 | * elf64-mmix.c (mmix_elf_relocate_section): Likewise. | |
731 | * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. | |
732 | * elf64-s390.c (elf_s390_relocate_section): Likewise. | |
733 | * elf64-sh64.c (sh_elf64_relocate_section): Likewise. | |
734 | * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. | |
735 | * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. | |
736 | * elfxx-mips.c (_bfd_mips_elf_relocate_section): Likewise. | |
737 | * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise. | |
738 | ||
739 | * elf32-arm.c (elf32_arm_relocate_section): Always adjust section | |
740 | symbols for relocatable link. Don't use always-zero st_value. | |
741 | (elf_backend_rela_normal): Don't define. | |
742 | * elf32-bfin.c (bfinfdpic_relocate_section): Use | |
743 | RELOC_FOR_GLOBAL_SYMBOL. | |
744 | * elf32-frv.c (elf32_frv_relocate_section): Likewise. | |
745 | * elf32-d10v.c (elf32_d10v_relocate_section): Combine SEC_MERGE | |
746 | section symbol adjustments with same for relocatable link. | |
747 | * elf32-i386.c (elf_i386_relocate_section): Likewise. | |
748 | * elf32-m68hc1x.c (m68hc11_get_relocation_value): Move.. | |
749 | (elf32_m68hc11_check_relocs): ..to here. | |
750 | * elf32-score.c (score_elf_final_link_relocate): Remove zero | |
751 | r_symndx code. | |
752 | * elfxx-mips.c (mips_elf_calculate_relocation): Likewise. | |
753 | ||
0e922b77 AM |
754 | 2007-03-07 Alan Modra <amodra@bigpond.net.au> |
755 | ||
756 | PR 4144 | |
757 | * elf.c (assign_file_positions_for_load_sections): Don't | |
758 | adjust p_memsz for !SEC_LOAD section vma modulo page size. | |
759 | Instead, use the same lma based adjustment for SEC_LOAD | |
760 | sections. | |
761 | ||
25c6282a BW |
762 | 2007-03-01 Bob Wilson <bob.wilson@acm.org> |
763 | ||
764 | * elf32-xtensa.c (analyze_relocations): Zero src_count if not relaxing. | |
765 | (find_relaxable_sections): Do not increment src_count for unknown | |
766 | opcodes. Decode only once instead of calling is_l32r_relocation. | |
767 | (compute_text_actions): Remove unused no_insn_move flag. Assert that | |
768 | src_next matches src_count in relax_info. | |
769 | ||
066c2a57 JM |
770 | 2007-03-01 Joseph Myers <joseph@codesourcery.com> |
771 | ||
772 | * Makefile.am (bfdver.h): Use "." not " " between version number | |
773 | and date. | |
774 | * Makefile.in: Regenerate. | |
775 | * configure.in (PKGVERSION): Default to "(GNU Binutils) ". | |
776 | * configure: Regenerate. | |
777 | ||
ed6ba298 NS |
778 | 2007-02-28 Nathan Sidwell <nathan@codesourcery.com> |
779 | ||
780 | * config.bfd (sh-*-uclinux, sh[12]-*-uclinux): New stanza. | |
781 | ||
7a8757b3 AM |
782 | 2007-02-27 Alan Modra <amodra@bigpond.net.au> |
783 | ||
784 | * elf32-spu.h (struct _ovl_stream): Make "start" and "end" const. | |
785 | * elf32-spu.c (ovl_mgr_pread): Add const to casts. | |
786 | ||
024b2372 CD |
787 | 2007-02-23 Carlos O'Donell <carlos@codesourcery.com> |
788 | ||
789 | * dwarf2.c (_bfd_dwarf2_find_nearest_line): Assume 32-bit | |
790 | DWARF even with 64-bit addresses. | |
791 | (_bfd_dwarf2_find_nearest_line): Likewise. | |
792 | ||
cb3ff1e5 NC |
793 | 2007-02-23 Nick Clifton <nickc@redhat.com> |
794 | ||
795 | PR binutils/3535 | |
796 | * elf.c (copy_private_bfd_data): Always rewrite the program | |
797 | headers when a Solaris interpreter segment is involved. | |
798 | ||
6a5bb875 PB |
799 | 2007-02-22 Paul Brook <paul@codesourcery.com> |
800 | ||
801 | * elflink.c (gc_mark_hook_fn): Remove. | |
802 | (_bfd_elf_gc_mark): Rename gc_mark_hook_fn to elf_gc_mark_hook_fn. | |
803 | (bfd_elf_gc_sections): Ditto. Call gc_mark_extra_sections. | |
804 | * elf-bfd.h (elf_gc_mark_hook_fn): Define. | |
805 | (elf_backend_data): Add gc_mark_extra_sections. | |
806 | * elfxx-target.h (elf_backend_gc_mark_extra_sections): Provide default | |
807 | definition. | |
808 | (elfNN_bed): Add elf_backend_gc_mark_extra_sections. | |
809 | * elf32-arm.c (elf32_arm_gc_mark_extra_sections): New function. | |
810 | (elf_backend_gc_mark_extra_sections): Define. | |
811 | ||
2889e75b NC |
812 | 2007-02-21 Nick Clifton <nickc@redhat.com> |
813 | ||
814 | * elf.c (_bfd_elf_map_sections_to_segments): If the | |
815 | override_segment_assignment callback is defined then call it. | |
816 | ||
78859468 AM |
817 | 2007-02-21 Alan Modra <amodra@bigpond.net.au> |
818 | ||
819 | * elf32-spu.c (spu_elf_size_stubs): Correct order of warning args. | |
820 | ||
ae0d2616 TS |
821 | 2007-02-19 Thiemo Seufer <ths@mips.com> |
822 | ||
823 | * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): Remove | |
824 | translation marker from untranslatable strings. | |
825 | ||
6bfdb61b AM |
826 | 2007-02-19 Alan Modra <amodra@bigpond.net.au> |
827 | ||
828 | * elf-bfd.h (struct elf_backend_data): Add default_execstack. | |
829 | * elflink.c (bfd_elf_size_dynamic_sections): Heed default_execstack. | |
830 | * elfxx-target.h (elf_backend_default_execstack): Define to 1. | |
831 | (elfNN_bed): Init new field. | |
832 | * elf64-ppc.c (elf_backend_default_execstack): Define to 0. | |
833 | ||
92f01d61 JM |
834 | 2007-02-17 Mark Mitchell <mark@codesourcery.com> |
835 | Nathan Sidwell <nathan@codesourcery.com> | |
836 | Vladimir Prus <vladimir@codesourcery.com | |
837 | Joseph Myers <joseph@codesourcery.com> | |
838 | ||
839 | * configure.in (--with-pkgversion): New option. | |
840 | * configure: Regenerate. | |
841 | * Makefile.am (bfdver.h): Substitute for @bfd_version_package@. | |
842 | * Makefile.in: Regenerate. | |
843 | * version.h (BFD_VERSION_STRING): Define using | |
844 | @bfd_version_package@. | |
845 | ||
c0e3f241 CD |
846 | 2007-02-16 Carlos O'Donell <carlos@codesourcery.com> |
847 | ||
848 | * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): | |
849 | Print EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT | |
850 | and EF_MIPS_UCODE. | |
851 | ||
72f6ea61 AM |
852 | 2007-02-15 Alan Modra <amodra@bigpond.net.au> |
853 | ||
854 | * libbfd-in.h (_bfd_norelocs_get_reloc_upper_bound): Don't define, | |
855 | declare. | |
856 | (_bfd_norelocs_canonicalize_reloc): Likewise. | |
857 | * libbfd.h: Regenerate. | |
858 | * libbfd.c (_bfd_norelocs_get_reloc_upper_bound): New function. | |
859 | (_bfd_norelocs_canonicalize_reloc): Likewise. | |
860 | * binary.c (binary_bfd_reloc_type_lookup): Don't define. | |
861 | (binary_get_reloc_upper_bound, binary_canonicalize_reloc): Likewise. | |
862 | (binary_vec): Use _bfd_norelocs in BFD_JUMP_TABLE_RELOCS. | |
863 | * ihex.c: Similarly. | |
864 | * mach-o-target.c: Similarly. | |
865 | * mach-o.c: Similarly. | |
866 | * mmo.c: Similarly. | |
867 | * pef.c: Similarly. | |
868 | * ppcboot.c: Similarly. | |
869 | * srec.c: Similarly. | |
870 | * xsym.c: Similarly. | |
871 | ||
fab4a87f L |
872 | 2007-02-14 H.J. Lu <hongjiu.lu@intel.com> |
873 | ||
874 | PR ld/3953 | |
875 | * elflink.c (_bfd_elf_add_default_symbol): Check warning symbol | |
876 | when adding default symbol. | |
877 | ||
e4e0193e AM |
878 | 2007-02-13 Alan Modra <amodra@bigpond.net.au> |
879 | ||
880 | * elf64-ppc.c (create_linkage_sections): Use section ".branch_lt" | |
881 | for branch lookup table. | |
882 | ||
84f5d08e AM |
883 | 2007-02-12 Alan Modra <amodra@bigpond.net.au> |
884 | ||
885 | * elf64-ppc.c (create_linkage_sections): Don't create | |
886 | .rela.rodata.brlt for --emit-relocs. | |
887 | (ppc_build_one_stub): Create relocs for brlt --emit-relocs here. | |
888 | (ppc_size_one_stub): Count them. Simplify test of stub type | |
889 | when counting stub relocs. Set SEC_RELOC too. | |
890 | (ppc64_elf_size_stubs): Clear reloc_count and SEC_RELOC. | |
891 | (ppc64_elf_finish_dynamic_sections): Output brlt relocs. | |
892 | ||
4aac632e AM |
893 | 2007-02-12 Alan Modra <amodra@bigpond.net.au> |
894 | ||
895 | * elflink.c (evaluate_complex_relocation_symbols): Ignore relocs | |
896 | with a zero symbol index. | |
897 | ||
8da3dbc5 AM |
898 | 2007-02-12 Alan Modra <amodra@bigpond.net.au> |
899 | ||
900 | * elflink.c (bfd_elf_discard_info): Tidy setting of "eh". | |
901 | ||
b31847af DB |
902 | 2007-02-05 Dave Brolley <brolley@redhat.com> |
903 | Stan Cox <scox@redhat.com> | |
904 | ||
905 | PR ld/3972 | |
906 | * elflink.c (elf_link_input_bfd): Always setup finfo->internal_syms. | |
907 | ||
722b0ff7 | 908 | 2007-02-05 Dave Brolley <brolley@redhat.com> |
e382d174 DB |
909 | Richard Sandiford <rsandifo@redhat.com> |
910 | Stan Cox <scox@redhat.com> | |
911 | Nick Clifton <nickc@redhat.com> | |
912 | DJ Delorie <dj@redhat.com> | |
913 | Frank Ch. Eigler <fche@redhat.com> | |
914 | Ben Elliston <bje@redhat.com> | |
915 | Richard Henderson <rth@redhat.com> | |
916 | ||
917 | * Makefile.am (ALL_MACHINES): Add cpu-mep.lo. | |
918 | (ALL_MACHINES_CFILES): Add CPU_MEP.c. | |
919 | (BFD32_BACKENDS): Add elf32-mep.lo. | |
920 | (BFD32_BACKENDS_CFILES): Add elf32-mep.c. | |
921 | (cpu-mep.lo,elf32-mep.lo): New targets. | |
922 | * archures.c (bfd_arch_mep): New enumerator. | |
923 | (bfd_mach_mep, bfd_mach_mep_h1): New macros. | |
924 | (bfd_mep_arch): New external variable. | |
925 | (bfd_archures_list): Add bfd_mep_arch. | |
926 | * config.bfd: Support mep-*-elf. | |
927 | * configure.in: Support bfd_elf32_mep_vec and bfd_elf32_mep_little_vec. | |
928 | * reloc.c (BFD_RELOC_MEP_*): New relocation numbers. | |
929 | * targets.c (bfd_elf32_mep_vec,bfd_elf32_mep_little_vec): New extern | |
930 | declarations. | |
931 | (_bfd_target_vector): Add bfd_elf32_mep_vec and | |
932 | bfd_elf32_mep_little_vec. | |
722b0ff7 DB |
933 | * mep-relocs.pl: New file. |
934 | * cpu-mep.c: New file. | |
935 | * elf32-mep.c: New file. | |
936 | * bfd-in2.h: Regenerate. | |
e382d174 | 937 | * po/POTFILES.in: Regenerate. |
722b0ff7 DB |
938 | * libbfd.h: Regenerate. |
939 | * Makefile.in: Regenerate. | |
940 | * configure: Regenerate. | |
941 | ||
d9352518 DB |
942 | 2007-02-05 Dave Brolley <brolley@redhat.com> |
943 | ||
944 | * elflink.c (evaluate_complex_relocation_symbols): Check for | |
945 | STT_SRELC for global symbols. | |
946 | (perform_complex_relocations): Renamed to | |
947 | perform_complex_relocation and now examines only one relocation. | |
948 | (elf_link_input_bfd): Don't call perform_complex_relocations. | |
74e880a7 | 949 | * elf-bfd.h (bfd_elf_perform_complex_relocation_: New prototype. |
d9352518 DB |
950 | * elf32-mep.c (mep_elf_howto_table): Add R_RELC. |
951 | (OD,OS,OU): #undefs corrected to N, S and U repectively. | |
952 | (mep_reloc_type_lookup): Handle BFD_RELOC_RELC. | |
953 | (complex_reloc_installation_howto): Removed. | |
954 | (mep_info_to_howto_rela): Remove special case for r_type==0xff. | |
955 | (mep_elf_relocate_section): Call bfd_elf_perform_complex_relocation. | |
956 | ||
d9352518 | 957 | 2007-02-05 Dave Brolley <brolley@redhat.com> |
e382d174 DB |
958 | Richard Sandiford <rsandifo@redhat.com> |
959 | DJ Delorie <dj@redhat.com> | |
960 | Graydon Hoare <graydon@redhat.com> | |
961 | Nick Clifton <nickc@cambridge.redhat.com> | |
962 | Jeff Holcomb <jeffh@redhat.com> | |
963 | Frank Ch. Eigler <fche@redhat.com> | |
964 | ||
965 | * elf-bfd.h (bfd_elf_perform_complex_relocations): New prototype. | |
966 | * elf.c (swap_out_syms): Handle BSF_RELC and BSF_SRELC. | |
967 | * elfcode.h (elf_slurp_symbol_table): Handle STT_RELC and STT_SRELC. | |
968 | * elflink.c (set_symbolValue): New static function. | |
d9352518 DB |
969 | (resolve_symbol): Likewise. |
970 | (resolve_section): Likewise. | |
971 | (undefined_reference): Likewise. | |
972 | (eval_symbol): Likewise. | |
973 | (evaluate_complex_relocation_symbols): Likewise. | |
974 | (put_value): Likewise. | |
975 | (get_value): Likewise. | |
e382d174 DB |
976 | (decode_complex_addend): |
977 | (bfd_elf_perform_complex_relocation): New function. | |
978 | (elf_link_input_bfd): Call evaluate_complex_relocation_symbols. | |
979 | * reloc.c (BFD_RELOC_RELC): New relocation number. | |
980 | * syms.c (BSF_RELC,BSF_SRELC): New macros. | |
d9352518 | 981 | |
f1ab2340 | 982 | 2007-02-05 Bob Wilson <bob.wilson@acm.org> |
74e880a7 | 983 | |
f1ab2340 BW |
984 | * elf32-xtensa.c (elf_xtensa_make_sym_local): Delete. |
985 | (elf_xtensa_hide_symbol, elf_backend_hide_symbol): Delete. | |
986 | (elf_xtensa_fix_refcounts, elf_xtensa_allocate_plt_size) | |
987 | (elf_xtensa_allocate_got_size): Replace these with... | |
988 | (elf_xtensa_allocate_dynrelocs): ...this new function. | |
989 | (elf_xtensa_size_dynamic_sections): Use it. | |
74e880a7 | 990 | |
e5f131d1 | 991 | 2007-02-05 Bob Wilson <bob.wilson@acm.org> |
74e880a7 | 992 | |
e5f131d1 BW |
993 | * elf32-xtensa.c (elf_howto_table) <R_XTENSA_GLOB_DAT> |
994 | <R_XTENSA_JMP_SLOT, R_XTENSA_RELATIVE, R_XTENSA_PLT, R_XTENSA_DIFF32>: | |
995 | Set src_mask to zero. | |
996 | <R_XTENSA_DIFF8, R_XTENSA_DIFF16>: Likewise. Also fix dst_mask. | |
997 | <R_XTENSA_ASM_EXPAND>: Set pcrel_offset to TRUE. | |
74e880a7 | 998 | |
4608f3d9 BW |
999 | 2007-02-02 Bob Wilson <bob.wilson@acm.org> |
1000 | ||
1001 | * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Renamed to... | |
1002 | (elf_xtensa_dynamic_symbol_p): ...this. | |
1003 | ||
f0e6fdb2 BW |
1004 | 2007-02-02 Bob Wilson <bob.wilson@acm.org> |
1005 | ||
1006 | * elf32-xtensa.c (plt_reloc_count): Move into link hash table. | |
1007 | (struct elf_xtensa_link_hash_table): New. | |
1008 | (elf_xtensa_hash_table): New. | |
1009 | (elf_xtensa_link_hash_table_create): New. | |
1010 | (elf_xtensa_check_relocs): Update plt_reloc_count references. | |
1011 | Update arguments to add_extra_plt_sections. | |
1012 | (elf_xtensa_create_dynamic_sections): Record new sections in the hash | |
1013 | table. Update for plt_reloc_count and add_extra_plt_sections. | |
1014 | (add_extra_plt_sections, elf_xtensa_create_plt_entry): Replace dynobj | |
1015 | argument with link info. Update calls to elf_xtensa_get_plt_section | |
1016 | and elf_xtensa_get_gotplt_section. | |
1017 | (elf_xtensa_allocate_local_got_size, elf_xtensa_size_dynamic_sections) | |
1018 | (elf_xtensa_relocate_section, elf_xtensa_finish_dynamic_sections) | |
1019 | (elf_xtensa_discard_info_for_section, shrink_dynamic_reloc_sections) | |
1020 | (relax_property_section): Get sections from the hash table and update | |
1021 | function calls. | |
1022 | (elf_xtensa_get_plt_section, elf_xtensa_get_gotplt_section): Replace | |
1023 | dynobj argument with link info. Get sections for first plt chunk from | |
1024 | the hash table. | |
1025 | (bfd_elf32_bfd_link_hash_table_create): Define. | |
1026 | ||
c15f73f9 JJ |
1027 | 2007-02-02 Jakub Jelinek <jakub@redhat.com> |
1028 | ||
1029 | * elf-bfd.h (struct elf_obj_tdata): Change symbuf type to void *. | |
1030 | * elf.c (struct elf_symbuf_symbol, struct elf_symbuf_head): New types. | |
1031 | (struct elf_symbol): Change first member into union. | |
1032 | (elf_sort_elf_symbol): Compare pointers to internal syms rather than | |
1033 | internal syms. Only compare st_shndx fields. | |
1034 | (elf_create_symbuf): New function. | |
1035 | (bfd_elf_match_symbols_in_sections): Use it. If symbufs are available | |
1036 | for bfds, use a binary search, otherwise don't qsort symbols | |
1037 | unnecessarily only to select which symbols are for the particular | |
1038 | shndx. | |
1039 | ||
effdf42a NC |
1040 | 2007-02-01 Nick Clifton <nickc@redhat.com> |
1041 | ||
1042 | PR ld/3852 | |
1043 | * elf.c (_bfd_elf_link_hash_table_init): Initialize all the fields | |
1044 | in the elf_link_hash_table structure. | |
1045 | ||
183e98be AM |
1046 | 2007-02-01 Alan Modra <amodra@bigpond.net.au> |
1047 | ||
1048 | * elf-bfd.h (struct elf_backend_data): Add elf_backend_write_core_note. | |
1049 | * elfxx-target.h (elf_backend_write_core_note): Define and use. | |
1050 | * elf.c (elfcore_write_prpsinfo): Call the above. Add support for | |
1051 | 32-bit core note on 64-bit target. | |
1052 | (elfcore_write_prstatus): Likewise. | |
1053 | (elfcore_write_lwpstatus): Make note_name const. | |
1054 | (elfcore_write_prfpreg): Likewise. | |
1055 | (elfcore_write_pstatus): Add support for 32-bit core note on 64-bit | |
1056 | target. | |
1057 | * elf32-ppc.c (ppc_elf_write_core_note): New function. | |
1058 | (elf_backend_write_core_note): Define. | |
1059 | * elf64-ppc.c (ppc64_elf_write_core_note): New function. | |
1060 | (elf_backend_write_core_note): Define. | |
1061 | ||
fc523535 | 1062 | 2007-01-31 H.J. Lu <hongjiu.lu@intel.com> |
16cecee5 L |
1063 | |
1064 | * elf32-cris.c (INCLUDED_TARGET_FILE): Removed. | |
1065 | (elf32_bed): Defined for elf32-us-cris. | |
1066 | ||
1067 | * elf64-sh64.c (elf64_bed): Defined for Linux. | |
1068 | (INCLUDED_TARGET_FILE): Removed. | |
1069 | ||
1070 | * elfxx-target.h (elfNN_bed): Always define. Don't check | |
1071 | INCLUDED_TARGET_FILE. | |
1072 | ||
c9b57b7e DD |
1073 | 2007-01-31 DJ Delorie <dj@redhat.com> |
1074 | ||
1075 | * elf-m10300.c (mn10300_elf_relocate_section): Clarify the warning | |
1076 | message for dangerous relocs, special case the common user error. | |
1077 | ||
53020534 L |
1078 | 2007-01-30 H.J. Lu <hongjiu.lu@intel.com> |
1079 | ||
1080 | * elf.c (copy_elf_program_header): Start from the first section | |
1081 | in a segment and stop when all sections in a segment are | |
1082 | accounted for. | |
1083 | ||
c7b8f16e JB |
1084 | 2007-01-29 Julian Brown <julian@codesourcery.com> |
1085 | ||
1086 | * bfd-in2.h: Regenerate. | |
1087 | * bfd-in.h (bfd_arm_vfp11_fix): New enum. Specify how VFP11 | |
1088 | instruction scanning should be done. | |
1089 | (bfd_elf32_arm_init_maps, bfd_elf32_arm_vfp11_erratum_scan) | |
1090 | (bfd_elf32_arm_vfp11_fix_veneer_locations): Add prototypes. | |
1091 | (bfd_elf32_arm_set_target_relocs): Add vfp11 fix type argument to | |
1092 | prototype. | |
1093 | * elf-bfd.h (elf_backend_write_section): Add struct bfd_link_info | |
1094 | argument. | |
1095 | * elf32-arm.c (VFP11_ERRATUM_VENEER_SECTION_NAME) | |
1096 | (VFP11_ERRATUM_VENEER_ENTRY_NAME): Define macros. | |
1097 | (elf32_vfp11_erratum_type): New enum. | |
1098 | (elf32_vfp11_erratum_list): New struct. List of veneers or jumps to | |
1099 | veneers. | |
1100 | (_arm_elf_section_data): Add mapsize, erratumcount, erratumlist. | |
1101 | (elf32_arm_link_hash_table): Add vfp11_erratum_glue_size, | |
1102 | vfp11_fix and num_vfp11_fixes fields. | |
1103 | (elf32_arm_link_hash_table_create): Initialise vfp11_fix, | |
1104 | vfp11_erratum_glue_size, num_vfp11_fixes fields. | |
1105 | (VFP11_ERRATUM_VENEER_SIZE): Define. Size of an (ARM) veneer. | |
1106 | (bfd_elf32_arm_allocate_interworking_sections): Initialise erratum | |
1107 | glue section. | |
1108 | (elf32_arm_section_map_add): Add an code/data mapping symbol entry | |
1109 | to a section's map. | |
1110 | (record_vfp11_erratum_veneer): Create a single veneer, and its | |
1111 | associated symbols. | |
1112 | (bfd_elf32_arm_add_glue_sections_to_bfd): Add vfp11 erratum glue. | |
1113 | (bfd_elf32_arm_init_maps): Initialise mapping symbol table for input | |
1114 | BFDs. | |
1115 | (bfd_elf32_arm_set_vfp11_fix): Set the type of erratum workaround | |
1116 | required. | |
1117 | (bfd_arm_vfp11_pipe): Define VFP11 instruction pipes. | |
1118 | (bfd_arm_vfp11_regno): Recode a register number from a VFP11 insn. | |
1119 | (bfd_arm_vfp11_write_mask): Update write mask according to coded | |
1120 | register number. | |
1121 | (bfd_arm_vfp11_antidependency): New function. | |
1122 | (bfd_arm_vfp11_insn_decode): Decode a VFP11 insn. | |
1123 | (elf32_arm_compare_mapping): Declare. | |
1124 | (bfd_elf32_arm_vfp11_erratum_scan): Scan the sections of an input | |
1125 | BFD for potential erratum-triggering insns. Record results. | |
1126 | (bfd_elf32_arm_vfp11_fix_veneer_locations): Find out where veneers | |
1127 | and branches to veneers have been placed in virtual memory after | |
1128 | layout. | |
1129 | (bfd_elf32_arm_set_target_relocs): Set vfp11_fix field in global | |
1130 | hash table. | |
1131 | (elf32_arm_output_symbol_hook): Remove. | |
1132 | (elf32_arm_write_section): Output veneers, and branches to veneers. | |
1133 | Use maps from input sections, not output sections, for code | |
1134 | byte-swapping. | |
1135 | * elf32-ppc.c (ppc_elf_write_section): Add dummy link_info argument. | |
1136 | * elf32-score.c (_bfd_score_elf_write_section): Likewise. | |
1137 | * elfxx-mips.c (_bfd_mips_elf_write_section): Likewise. | |
1138 | * elfxx-mips.h (_bfd_mips_elf_write_section): Likewise. | |
1139 | ||
1140 | 2007-01-27 H.J. Lu <hongjiu.lu@intel.com> | |
83d1651b L |
1141 | |
1142 | * elf64-hppa.c (elf64_bed): Defined for HPUX and Linux. | |
b8210914 | 1143 | (INCLUDED_TARGET_FILE): Removed. |
83d1651b | 1144 | |
914dfb0f DA |
1145 | 2007-01-27 Mike Frysinger <vapier@gentoo.org> |
1146 | ||
1147 | * elf32-hppa.c (elf32_bed): Define for hpux, linux and netbsd. | |
1148 | (INCLUDED_TARGET_FILE): Remove. | |
1149 | ||
78eba9b6 DD |
1150 | 2007-01-25 DJ Delorie <dj@redhat.com> |
1151 | ||
1152 | * elf32-m32c.c (m32c_elf_howto_table): Don't complain about | |
1153 | R_M32C_16 or R_M32C_24 relocs. | |
1154 | ||
64ee10b6 NC |
1155 | 2007-01-25 Nick Clifton <nickc@redhat.com> |
1156 | ||
1157 | PR binutils/3874 | |
1158 | * elf32-avr.c (avr_link_hash_table): Check to make sure that the | |
1159 | hash table was created by elf32_avr_link_hash_table_create before | |
1160 | using it. | |
1161 | (elf32_avr_link_hash_newfunc): New function. Just pass the call | |
1162 | through to _bfd_elf_link_hash_newfunc. | |
1163 | (elf32_avr_link_hash_table_create): Use | |
1164 | elf32_avr_link_hash_newfunc instead of | |
1165 | _bfd_elf_link_hash_newfunc. | |
1166 | (elf32_avr_relocate_section): Check for the hash table pointer | |
1167 | being NULL. | |
1168 | (elf32_avr_relax_section, avr_build_one_stub, | |
1169 | elf32_avr_setup_params, get_local_syms, elf32_avr_size_stubs, | |
1170 | elf32_avr_build_stubs): Likewise. | |
1171 | ||
40b36307 L |
1172 | 2007-01-16 H.J. Lu <hongjiu.lu@intel.com> |
1173 | ||
1174 | PR ld/3831 | |
1175 | * elf-bfd.h (bfd_elf_link_mark_dynamic_symbol): Add an | |
1176 | argument, Elf_Internal_Sym *. | |
1177 | ||
1178 | * elflink.c (bfd_elf_link_mark_dynamic_symbol): Mark a data | |
1179 | symbol dynamic if info->dynamic_data is TRUE. | |
1180 | (bfd_elf_record_link_assignment): Updated call to | |
1181 | bfd_elf_record_link_assignment. | |
1182 | (_bfd_elf_merge_symbol): Likewise. Always call | |
1183 | bfd_elf_link_mark_dynamic_symbol. | |
1184 | ||
fc523535 | 1185 | 2007-01-12 H.J. Lu <hongjiu.lu@intel.com> |
a454209d L |
1186 | |
1187 | * Makefile.am (BFD_LIBS): Removed. | |
1188 | * Makefile.in: Regenerated. | |
1189 | ||
fc523535 | 1190 | 2007-01-11 H.J. Lu <hongjiu.lu@intel.com> |
21e40a48 L |
1191 | |
1192 | PR binutils/3631 | |
1193 | * Makefile.am (OFILES): Add @bfd64_libs@. | |
1194 | (libbfd_la_SOURCES): Remove $(BFD64_LIBS_CFILES). | |
1195 | * Makefile.in: Regenerated. | |
1196 | ||
1197 | * configure.in (bfd_libs): Replaced by ... | |
1198 | (bfd64_libs): This. | |
1199 | * configure: Regenerated. | |
1200 | ||
59e0647f NS |
1201 | 2007-01-11 Nathan Sidwell <nathan@codesourcery.com> |
1202 | ||
1203 | * elf.c (assign_file_positions_for_load_sections): We can | |
1204 | require fewer phdrs than expected. | |
1205 | ||
3bdcfdf4 KH |
1206 | 2007-01-08 Kazu Hirata <kazu@codesourcery.com> |
1207 | ||
1208 | * archures.c (bfd_mach_cpu32_fido): Rename to bfd_mach_fido. | |
1209 | * bfd-in2.h: Regenerate. | |
1210 | * cpu-m68k.c (arch_info_struct): Use bfd_mach_fido instead of | |
1211 | bfd_mach_cpu32_fido. | |
1212 | (m68k_arch_features): Use fido_a instead of cpu32. | |
1213 | (bfd_m68k_compatible): Reject the combination of Fido and | |
1214 | ColdFire. Accept the combination of CPU32 and Fido with a | |
1215 | warning. | |
1216 | * elf32-m68k.c (elf32_m68k_object_p, | |
1217 | elf32_m68k_merge_private_bfd_data, | |
1218 | elf32_m68k_print_private_bfd_data): Treat Fido as an | |
1219 | architecture by itself. | |
1220 | ||
42037fe5 NC |
1221 | 2007-01-08 Kai Tietz <kai.tietz@onevision.com> |
1222 | ||
1223 | * config.bfd: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*. | |
1224 | ||
ebe8b991 JJ |
1225 | 2007-01-05 Jakub Jelinek <jakub@redhat.com> |
1226 | ||
1227 | * texhex.c (first_phase): Don't fall through into the default | |
1228 | case. | |
1229 | (pass_over): Replace abort () calls with return FALSE. Fix | |
1230 | buffer overflow. | |
1231 | ||
b327f31f AM |
1232 | 2007-01-04 Jie Zhang <jie.zhang@analog.com> |
1233 | ||
1234 | * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't set | |
1235 | SEC_EXCLUDE on zero size .eh_frame. | |
1236 | ||
10a2343e | 1237 | For older changes see ChangeLog-2006 |
56882138 AM |
1238 | \f |
1239 | Local Variables: | |
1240 | mode: change-log | |
1241 | left-margin: 8 | |
1242 | fill-column: 74 | |
1243 | version-control: never | |
1244 | End: |