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