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