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