Support for Toshiba MeP and for complex relocations.
[external/binutils.git] / bfd / ChangeLog
1 2007-02-05  Dave Brolley  <brolley@redhat.com>
2
3         * elflink.c (evaluate_complex_relocation_symbols): Check for
4         STT_SRELC for global symbols.
5         (perform_complex_relocations): Renamed to
6         perform_complex_relocation and now examines only one relocation.
7         (elf_link_input_bfd): Don't call perform_complex_relocations.
8         * elf-bfd.h (bfd_elf_perform_complex_relocation_: New prototype.: 
9         * elf32-mep.c (mep_elf_howto_table): Add R_RELC.
10         (OD,OS,OU): #undefs corrected to N, S and U repectively.
11         (mep_reloc_type_lookup): Handle BFD_RELOC_RELC.
12         (complex_reloc_installation_howto): Removed.
13         (mep_info_to_howto_rela): Remove special case for r_type==0xff.
14         (mep_elf_relocate_section): Call bfd_elf_perform_complex_relocation.
15
16 2007-02-05  Dave Brolley  <brolley@redhat.com>
17
18         * Contribute the following changes:
19         2006-12-19  Dave Brolley  <brolley@redhat.com>
20
21         * elf32-mep.c: Fix problems with DEBUG printfs.
22         * elflink.h (elf_link_input_bfd): Always setup finfo->internal_syms.
23
24         2006-10-17  Nick Clifton  <nickc@redhat.com>
25
26         * elf32-mep.c (mep_elf_print_private_bfd_data): Remove redundant
27         check against 0.
28
29         2006-09-25  Dave Brolley  <brolley@redhat.com>
30
31         * elf32-mep.c (mep_elf_print_private_bfd_data): Check that
32         (long)partial_flags is non-negative before using it as an
33         array index.
34
35         2004-06-24  Dave Brolley  <brolley@redhat.com>
36
37         * elf32-mep.c: Regenerated by MeP-Integrator.
38
39         2005-04-22  Richard Sandiford  <rsandifo@redhat.com>
40
41         * elf32-mep.c (mep_elf_merge_private_bfd_data): Allow two objects
42         to be linked together if one of them uses the EF_MEP_LIBRARY flag.
43         Give priority to flag sets in which EF_MEP_LIBRARY is not set.
44
45         2005-04-05  Richard Sandiford  <rsandifo@redhat.com>
46
47         * elf32-mep.c (config_names): Reduce divergence from MeP-Integrator
48         output.
49
50         2004-08-03  Richard Sandiford  <rsandifo@redhat.com>
51
52         * elf32-mep.c (mep_final_link_relocate): Fix overflow check for
53         R_MEP_PCABS24A2.
54
55         2004-06-24  Dave Brolley  <brolley@redhat.com>
56
57         * archures.c (bfd_mach_mep_h1): #define as 0x6831.
58         * bfd-in2.h: Regenerated.
59
60         2004-06-21  Dave Brolley  <brolley@redhat.com>
61
62         * elf32-mep.c (mep_elf_copy_private_bfd_data): Remove assertion about
63         flags being identical.
64         (mep_elf_merge_private_bfd_data): Handle existence of multiple CGEN
65         MACHs.
66         (mep_elf_print_private_bfd_data): Ditto.
67         (config_names): Give the machine at index 0 the name "basic".
68         (core_names): New table.
69         (elf32_mep_machine): New function.
70         (mep_elf_object_p): Call bfd_default_set_arch_mach.
71         * cpu-mep.c (bfd_h1_arch): Define it and link it into the chain.
72         * archures.c (bfd_mach_mep_h1): Define it.
73         * bfd-in2.h: Regenerated.
74
75         2003-07-19  Nick Clifton  <nickc@redhat.com>
76
77         * elf32-mep.c: Convert to ISO C.
78
79         2002-04-09  DJ Delorie  <dj@redhat.com>
80
81         * elf32-mep.c (mep_final_link_relocate): Allow impossible
82         relocations to undefined weak functions.
83
84         2002-02-08  Frank Ch. Eigler  <fche@redhat.com>
85
86         * cpu-mep.c (mep_compatible): Remove: only one bfd_mach used now.
87         * elf32-mep.c (elf32_mep_machine): Ditto.
88
89         2001-12-12  Ben Elliston  <bje@redhat.com>
90
91         * elf32-mep.c (mep_final_link_relocate): Do not adjust the pc
92         prior to applying a pc-relative relocation.
93
94         2001-10-02  Nick Clifton  <nickc@cambridge.redhat.com>
95
96         * elf32-mep.c: Add missing prototypes.
97
98         2001-10-01  Frank Ch. Eigler  <fche@redhat.com>
99
100         * elf32-mep.c (mep_elf_merge_private_bfd_data): Enforce endianness
101         compatibility.
102
103         2001-09-28  Richard Henderson  <rth@redhat.com>
104
105         * elf32-mep.c (mep_elf_section_flags): New.
106         (mep_elf_fake_sections): New.
107         (elf_backend_section_flags): New.
108         (elf_backend_fake_sections): New.
109
110         2001-09-27  Nick Clifton  <nickc@cambridge.redhat.com>
111
112         * elf32-mep.c: Add missing function prototypes.
113         Fix compile time warnings.  Improve formatting.
114         * mep_relocs.pl: Improve formatting in generated code.
115
116         2001-09-21  Nick Clifton  <nickc@cambridge.redhat.com>
117
118         * cpu-mep.c: Add missing function prototype.
119
120         2001-07-25  DJ Delorie  <dj@redhat.com>
121
122         * elf32-mep.c (mep_final_link_relocate): Adjust calculation of PC
123         to be endian-sensitive.
124
125         2001-07-17  Richard Henderson  <rth@redhat.com>
126
127         * elf32-mep.c (mep_final_link_relocate) [R_MEP_HI16S]: Correctly
128         compensate for high bit set in R_MEP_LOW16.
129
130         2001-07-12  DJ Delorie  <dj@redhat.com>
131
132         * elf32-mep.c (mep_final_link_relocate): Don't do overflow
133         checking on VT relocs.
134         (mep_elf_merge_private_bfd_data): Return true if we chose not to
135         merge the data.
136         
137         2001-07-09  DJ Delorie  <dj@redhat.com>
138
139         * cpu-mep.c (mep_compatible): New, base compatibility on
140         conflicting configurations.
141         (bfd_mep_arch): Use a macro and wrap with comments for the config
142         tool.
143         * elf32-mep.c (elf32_mep_machine): Take bfd_mach directly from
144         flags.
145         (mep_elf_merge_private_bfd_data): Merge configurations sanely.
146         (config_names): New.
147         (mep_elf_print_private_bfd_data): Print config name if possible.
148
149         2001-06-25  DJ Delorie  <dj@redhat.com>
150
151         * elf32-mep.c (mep_reloc_type_lookup): Add vtable special cases,
152         regenerate others.
153         * reloc.c: Regenerate with new elf/mep.h relocs.
154         * libbfd.h: Likewise.
155         * bfd-in2.h: Likewise.
156         
157         2001-06-25  Ben Elliston  <bje@redhat.com>
158
159         * elf32-mep.c (mep_reloc): Mark unused parameters as such.
160         (mep_final_link_relocate): Remove unused local variables.
161
162         2001-06-06  DJ Delorie  <dj@redhat.com>
163
164         * config.bfd (mep-*-elf): Add bfd_elf32_mep_little_vec.
165         * configure.in: Ditto.
166         * configure: Ditto.
167         * mep-relocs.pl: Support both endians.
168         * elf32-mep.c: Regenerate; add little endian targets.
169
170         2001-05-31  DJ Delorie  <dj@redhat.com>
171
172         * elf32-mep.c (mep_elf_relocate_section): Fix error message.
173
174         2001-05-21  DJ Delorie  <dj@redhat.com>
175
176         * elf32-mep.c (mep_final_link_relocate): Fix pcrel logic.
177
178         2001-05-10  DJ Delorie  <dj@redhat.com>
179
180         * mep-relocs.pl: Detect no-overflow relocs better.
181         * elf32-mep.c: Regenerate.  HI16U, HI16S have correct shifts and
182         those and LOW16 are no-overflow now.
183
184         2001-05-03  DJ Delorie  <dj@redhat.com>
185
186         * mep-relocs.pl: New, generates reloc-handling code for
187         elf32-mep.c.
188         * elf32-mep.c: Regenerate.
189
190         2001-05-02  DJ Delorie  <dj@redhat.com>
191
192         * elf32-mep.c (mep_elf_howto_table): Fix size fields.
193         (mep_lookup_global, mep_tpoff_base, mep_sdaoff_base): New,
194         support %tpoff() and %sdaoff() relocs.
195         (mep_final_link_reloc): Add support for MeP relocs.
196         (mep_elf_relocate_section): Support %tpoff() and %sdaoff().
197
198         2001-05-01  DJ Delorie  <dj@redhat.com>
199
200         * elf32-mep.c: Use RELA only.
201         (mep_elf_howto_table): Add MeP-specific relocs.
202         (mep_reloc_type_lookup): Map relocs.
203         * reloc.c: Add MeP-specific relocs.
204         * bfd-in2.h: Regenerate.
205         * libbfd.h: Regenerate.
206
207         2001-04-03  Ben Elliston  <bje@redhat.com>
208
209         * Makefile.am (ALL_MACHINES): Add cpu-mep.lo.
210         (ALL_MACHINES_CFILES): Add cpu-mep.c.
211         (BFD32_BACKENDS): Add elf32-mep.lo.
212         (BFD32_BACKENDS_CFILES): Add elf32-mep.c.
213         (cpu-mep.lo): New target.
214         * Makefile.in: Regenerate.
215         * config.bfd: Handle mep-*-elf.
216         * archures.c (bfd_architecture): Add bfd_{arch,mach}_mep.
217         (bfd_archures_list): Add bfd_mep_arch.
218         * configure.in: Handle bfd_elf32_mep_vec.
219         * configure: Regenerate.
220         * targets.c (bfd_elf32_mep_vec): Declare.
221         (bfd_target_vector): Add bfd_elf32_mep_vec.
222         * elf.c (prep_headers): Set e_machine to EM_CYGNUS_MEP.
223         * cpu-mep.c: New file.
224         * elf32-mep.c: Likewise.
225         * bfd-in2.h: Regenerate.
226         * po/POTFILES.in: Likewise.
227         
228 2007-02-05  Dave Brolley  <brolley@redhat.com>
229
230         * Contribute the following changes:
231         2004-07-23  Richard Sandiford  <rsandifo@redhat.com>
232
233         * elflink.c (perform_complex_relocation): Detect relocations against
234         undefined symbols.
235
236         2002-04-02  DJ Delorie  <dj@redhat.com>
237
238         * elflink.h (resolve_symbol): Handle weak symbols.
239
240         2002-03-07  Graydon Hoare  <graydon@redhat.com>
241
242         * elflink.h (perform_complex_relocations): Minor debug message
243         touchup.
244
245         2002-01-23  Graydon Hoare  <graydon@redhat.com>
246
247         * bfd-in2.h: Add signed RELC (SRELC) symbols.
248         * elf.c (swap_out_syms): Likewise.
249         * elfcode.h (elf_slurp_symbol_table): Likewise.
250         (elf_symbol_flags): Likewise.
251         * syms.c: Likewise.
252         * elflink.h (eval_symbol): Introduce signed RELC evaluation.
253         (evaluate_complex_relocation_symbols): Likewise.
254         (perform_complex_relocations): Remove sign-extension logic,
255         which was broken anyways.
256
257         2002-01-15  Graydon Hoare  <graydon@redhat.com>
258
259         * elflink.h (decode_complex_addend): Add oplen, signed_p, trunc_p
260         params.
261         (perform_complex_relocations): Call decode with new args,
262         Sign extend leftmost signed fields, delegate overflow check to
263         bfd_check_overflow in reloc.c, enhance overflow error messages.
264
265         2002-01-08  Graydon Hoare  <graydon@redhat.com>
266
267         * elflink.h (resolve_symbol): Fix symbol -> section relationship.
268         (resolve_symbol): Remove unused parameter.
269         (eval_symbol): Remove unused arg from resolve_symbol call.
270
271         2002-01-01  Graydon Hoare  <graydon@redhat.com>
272
273         * elflink.h (perform_complex_relocations): Add overflow
274         checking for RELC fragments.
275
276         2001-12-15  Nick Clifton  <nickc@cambridge.redhat.com>
277
278         * elflink.h (evaluate_complex_relocation_symbols): Formatting
279         tidy ups.  Process all symbols, even if an error is
280         encountered.
281
282         2001-12-10  Graydon Hoare  <graydon@redhat.com>
283
284         * elflink.h (evaluate_complex_relocation_symbols): Resolve
285         global RELC symbols using separate logic from local symbols.
286
287         2001-12-10  Nick Clifton  <nickc@cambridge.redhat.com>
288
289         Various formatting tidy ups and compile time warning removals,
290         plus:
291         
292         * elflink.h (eval_symbol): Set bfd_error for failure returns.
293         (evaluate_complex_relocation_symbols): Only evaluate local
294         symbols.
295
296         2001-11-24  Graydon Hoare  <graydon@redhat.com>
297
298         * elflink.h.c (resolve_symbol): Skip non-local syms in 
299         local lookup loop; get section offset from section 
300         symbol occurs in (rather than reloc section); handle 
301         common symbols.
302
303         2001-11-24  Graydon Hoare  <graydon@redhat.com>
304
305         * elflink.h.c (resolve_symbol): Use
306         bfd_elf_string_from_elf_section to look up local symbols in
307         current bfd.
308         (eval_symbol): Add input_bfd parameter for resolve_symbol's
309         use.
310         (evaluate_complex_relocation_symbols): Pass parameter.
311         (resolve_section) Fix silly typo.
312
313         2001-10-16  Jeff Holcomb  <jeffh@redhat.com>
314
315         * elflink.h (eval_symbol): Buffer size needs to be an integer for
316         Solaris cc.
317
318         2001-11-15  graydon hoare  <graydon@redhat.com>
319
320         * elf32-mep.c (mep_info_to_howto_rela): Add complex reloc
321         howto.
322         * elflink.h (resolve_section): Add support for pseudo-sections
323         in complex symbols.
324         (evaluate_complex_relocation_symbols): Permit evaluating RELC
325         symbols on non-RELC relocs. They are distinct issues.
326
327         2001-10-15  graydon hoare  <graydon@redhat.com>
328
329         * reloc.c (bfd_reloc_code_type): Define BFD_RELOC_RELC,
330         in the _correct_ place.
331
332         2001-10-11  graydon hoare  <graydon@redhat.com>
333
334         * elflink.h (eval_symbol): Fix strtol calls with undefined
335         behavior.
336
337         2001-10-03  graydon hoare  <graydon@redhat.com>
338
339         * elflink.h (set_symbol_value): New function for relc.
340         (resolve_symbol): Likewise.
341         (resolve_section): Likewise.
342         (undefined_reference): Likewise.
343         (eval_symbol): Likewise.
344         (evaluate_complex_relocation_symbols): Likewise.
345         (put_value): Likewise.
346         (get_value): Likewise.
347         (decode_complex_addend): Likewise.
348         (perform_complex_relocations): Likewise.
349         (elf_link_input_bfd): Insert hook into
350         evaluate_complex_relocation_symbols.
351         (elf_link_input_bfd): Insert hook into
352         perform_complex_relocations.
353
354         * bfd-in2.h: Define BFD_RELOC_RELC, BSF_RELC.
355
356         * elf.c (swap_out_syms): Add BSF_RELC / STT_RELC support.
357
358         * elfcode.h (elf_slurp_symbol_table): Likewise.
359         (elf_symbol_flags): Likewise.
360
361         * libbfd.h: Add "BFD_RELOC_RELC" to bfd_reloc_code_real_names
362         table.
363
364         2001-06-20  Frank Ch. Eigler  <fche@redhat.com>
365
366         * syms.c (BSF_RELC): New symbol flag.
367         * elf.c (swap_out_syms): Map BSF_RELC -> STT_RELC.
368         * elfcode.h (elf_slurp_symbol_table): Map STT_RELC -> BSF_RELC.
369         (elf_symbol_flags): Display BSF_RELC as "relc".
370         * bfd-in2.h: Regenerated.
371
372 2007-02-05  Bob Wilson  <bob.wilson@acm.org>
373         
374         * elf32-xtensa.c (elf_xtensa_make_sym_local): Delete.
375         (elf_xtensa_hide_symbol, elf_backend_hide_symbol): Delete.
376         (elf_xtensa_fix_refcounts, elf_xtensa_allocate_plt_size)
377         (elf_xtensa_allocate_got_size): Replace these with...
378         (elf_xtensa_allocate_dynrelocs): ...this new function.
379         (elf_xtensa_size_dynamic_sections): Use it.
380         
381 2007-02-05  Bob Wilson  <bob.wilson@acm.org>
382         
383         * elf32-xtensa.c (elf_howto_table) <R_XTENSA_GLOB_DAT>
384         <R_XTENSA_JMP_SLOT, R_XTENSA_RELATIVE, R_XTENSA_PLT, R_XTENSA_DIFF32>:
385         Set src_mask to zero.
386         <R_XTENSA_DIFF8, R_XTENSA_DIFF16>: Likewise.  Also fix dst_mask.
387         <R_XTENSA_ASM_EXPAND>: Set pcrel_offset to TRUE.
388         
389 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
390
391         * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Renamed to...
392         (elf_xtensa_dynamic_symbol_p): ...this.
393
394 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
395
396         * elf32-xtensa.c (plt_reloc_count): Move into link hash table.
397         (struct elf_xtensa_link_hash_table): New.
398         (elf_xtensa_hash_table): New.
399         (elf_xtensa_link_hash_table_create): New.
400         (elf_xtensa_check_relocs): Update plt_reloc_count references.
401         Update arguments to add_extra_plt_sections.
402         (elf_xtensa_create_dynamic_sections): Record new sections in the hash
403         table.  Update for plt_reloc_count and add_extra_plt_sections.
404         (add_extra_plt_sections, elf_xtensa_create_plt_entry): Replace dynobj
405         argument with link info.  Update calls to elf_xtensa_get_plt_section
406         and elf_xtensa_get_gotplt_section.
407         (elf_xtensa_allocate_local_got_size, elf_xtensa_size_dynamic_sections)
408         (elf_xtensa_relocate_section, elf_xtensa_finish_dynamic_sections)
409         (elf_xtensa_discard_info_for_section, shrink_dynamic_reloc_sections)
410         (relax_property_section): Get sections from the hash table and update
411         function calls.
412         (elf_xtensa_get_plt_section, elf_xtensa_get_gotplt_section): Replace
413         dynobj argument with link info.  Get sections for first plt chunk from
414         the hash table.
415         (bfd_elf32_bfd_link_hash_table_create): Define.
416
417 2007-02-02  Jakub Jelinek  <jakub@redhat.com>
418
419         * elf-bfd.h (struct elf_obj_tdata): Change symbuf type to void *.
420         * elf.c (struct elf_symbuf_symbol, struct elf_symbuf_head): New types.
421         (struct elf_symbol): Change first member into union.
422         (elf_sort_elf_symbol): Compare pointers to internal syms rather than
423         internal syms.  Only compare st_shndx fields.
424         (elf_create_symbuf): New function.
425         (bfd_elf_match_symbols_in_sections): Use it.  If symbufs are available
426         for bfds, use a binary search, otherwise don't qsort symbols
427         unnecessarily only to select which symbols are for the particular
428         shndx.
429
430 2007-02-01  Nick Clifton  <nickc@redhat.com>
431
432         PR ld/3852
433         * elf.c (_bfd_elf_link_hash_table_init): Initialize all the fields
434         in the elf_link_hash_table structure.
435
436 2007-02-01  Alan Modra  <amodra@bigpond.net.au>
437
438         * elf-bfd.h (struct elf_backend_data): Add elf_backend_write_core_note.
439         * elfxx-target.h (elf_backend_write_core_note): Define and use.
440         * elf.c (elfcore_write_prpsinfo): Call the above.  Add support for
441         32-bit core note on 64-bit target.
442         (elfcore_write_prstatus): Likewise.
443         (elfcore_write_lwpstatus): Make note_name const.
444         (elfcore_write_prfpreg): Likewise.
445         (elfcore_write_pstatus): Add support for 32-bit core note on 64-bit
446         target.
447         * elf32-ppc.c (ppc_elf_write_core_note): New function.
448         (elf_backend_write_core_note): Define.
449         * elf64-ppc.c (ppc64_elf_write_core_note): New function.
450         (elf_backend_write_core_note): Define.
451
452 2007-01-31  H.J. Lu  <hongjiu.lu@intel.com>
453
454         * elf32-cris.c (INCLUDED_TARGET_FILE): Removed.
455         (elf32_bed): Defined for elf32-us-cris.
456
457         * elf64-sh64.c (elf64_bed): Defined for Linux.
458         (INCLUDED_TARGET_FILE): Removed.
459
460         * elfxx-target.h (elfNN_bed): Always define. Don't check
461         INCLUDED_TARGET_FILE.
462
463 2007-01-31  DJ Delorie  <dj@redhat.com>
464
465         * elf-m10300.c (mn10300_elf_relocate_section): Clarify the warning
466         message for dangerous relocs, special case the common user error.
467
468 2007-01-30  H.J. Lu  <hongjiu.lu@intel.com>
469
470         * elf.c (copy_elf_program_header): Start from the first section
471         in a segment and stop when all sections in a segment are
472         accounted for.
473
474 2007-01-29  Julian Brown  <julian@codesourcery.com>
475
476         * bfd-in2.h: Regenerate.
477         * bfd-in.h (bfd_arm_vfp11_fix): New enum. Specify how VFP11
478         instruction scanning should be done.
479         (bfd_elf32_arm_init_maps, bfd_elf32_arm_vfp11_erratum_scan)
480         (bfd_elf32_arm_vfp11_fix_veneer_locations): Add prototypes.
481         (bfd_elf32_arm_set_target_relocs): Add vfp11 fix type argument to
482         prototype.
483         * elf-bfd.h (elf_backend_write_section): Add struct bfd_link_info
484         argument.
485         * elf32-arm.c (VFP11_ERRATUM_VENEER_SECTION_NAME)
486         (VFP11_ERRATUM_VENEER_ENTRY_NAME): Define macros.
487         (elf32_vfp11_erratum_type): New enum.
488         (elf32_vfp11_erratum_list): New struct. List of veneers or jumps to
489         veneers.
490         (_arm_elf_section_data): Add mapsize, erratumcount, erratumlist.
491         (elf32_arm_link_hash_table): Add vfp11_erratum_glue_size,
492         vfp11_fix and num_vfp11_fixes fields.
493         (elf32_arm_link_hash_table_create): Initialise vfp11_fix,
494         vfp11_erratum_glue_size, num_vfp11_fixes fields.
495         (VFP11_ERRATUM_VENEER_SIZE): Define. Size of an (ARM) veneer.
496         (bfd_elf32_arm_allocate_interworking_sections): Initialise erratum
497         glue section.
498         (elf32_arm_section_map_add): Add an code/data mapping symbol entry
499         to a section's map.
500         (record_vfp11_erratum_veneer): Create a single veneer, and its
501         associated symbols.
502         (bfd_elf32_arm_add_glue_sections_to_bfd): Add vfp11 erratum glue.
503         (bfd_elf32_arm_init_maps): Initialise mapping symbol table for input
504         BFDs.
505         (bfd_elf32_arm_set_vfp11_fix): Set the type of erratum workaround
506         required.
507         (bfd_arm_vfp11_pipe): Define VFP11 instruction pipes.
508         (bfd_arm_vfp11_regno): Recode a register number from a VFP11 insn.
509         (bfd_arm_vfp11_write_mask): Update write mask according to coded
510         register number.
511         (bfd_arm_vfp11_antidependency): New function.
512         (bfd_arm_vfp11_insn_decode): Decode a VFP11 insn.
513         (elf32_arm_compare_mapping): Declare.
514         (bfd_elf32_arm_vfp11_erratum_scan): Scan the sections of an input
515         BFD for potential erratum-triggering insns. Record results.
516         (bfd_elf32_arm_vfp11_fix_veneer_locations): Find out where veneers
517         and branches to veneers have been placed in virtual memory after
518         layout.
519         (bfd_elf32_arm_set_target_relocs): Set vfp11_fix field in global
520         hash table.
521         (elf32_arm_output_symbol_hook): Remove.
522         (elf32_arm_write_section): Output veneers, and branches to veneers.
523         Use maps from input sections, not output sections, for code
524         byte-swapping.
525         * elf32-ppc.c (ppc_elf_write_section): Add dummy link_info argument.
526         * elf32-score.c (_bfd_score_elf_write_section): Likewise.
527         * elfxx-mips.c (_bfd_mips_elf_write_section): Likewise.
528         * elfxx-mips.h (_bfd_mips_elf_write_section): Likewise.
529
530 2007-01-27  H.J. Lu  <hongjiu.lu@intel.com>
531
532         * elf64-hppa.c (elf64_bed): Defined for HPUX and Linux.
533         (INCLUDED_TARGET_FILE): Removed.
534
535 2007-01-27  Mike Frysinger  <vapier@gentoo.org>
536
537         * elf32-hppa.c (elf32_bed): Define for hpux, linux and netbsd.
538         (INCLUDED_TARGET_FILE): Remove.
539
540 2007-01-25  DJ Delorie  <dj@redhat.com>
541
542         * elf32-m32c.c (m32c_elf_howto_table): Don't complain about
543         R_M32C_16 or R_M32C_24 relocs.
544
545 2007-01-25  Nick Clifton  <nickc@redhat.com>
546
547         PR binutils/3874
548         * elf32-avr.c (avr_link_hash_table): Check to make sure that the
549         hash table was created by elf32_avr_link_hash_table_create before
550         using it.
551         (elf32_avr_link_hash_newfunc): New function.  Just pass the call
552         through to _bfd_elf_link_hash_newfunc.
553         (elf32_avr_link_hash_table_create): Use
554         elf32_avr_link_hash_newfunc instead of
555         _bfd_elf_link_hash_newfunc.
556         (elf32_avr_relocate_section): Check for the hash table pointer
557         being NULL.
558         (elf32_avr_relax_section, avr_build_one_stub,
559         elf32_avr_setup_params, get_local_syms, elf32_avr_size_stubs,
560         elf32_avr_build_stubs): Likewise.
561
562 2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>
563
564         PR ld/3831
565         * elf-bfd.h (bfd_elf_link_mark_dynamic_symbol): Add an
566         argument, Elf_Internal_Sym *.
567
568         * elflink.c (bfd_elf_link_mark_dynamic_symbol): Mark a data
569         symbol dynamic if info->dynamic_data is TRUE.
570         (bfd_elf_record_link_assignment): Updated call to
571         bfd_elf_record_link_assignment.
572         (_bfd_elf_merge_symbol): Likewise.  Always call
573         bfd_elf_link_mark_dynamic_symbol.
574
575 2007-01-12  H.J. Lu  <hongjiu.lu@intel.com>
576
577         * Makefile.am (BFD_LIBS): Removed.
578         * Makefile.in: Regenerated.
579
580 2007-01-11  H.J. Lu  <hongjiu.lu@intel.com>
581
582         PR binutils/3631
583         * Makefile.am (OFILES): Add @bfd64_libs@.
584         (libbfd_la_SOURCES): Remove $(BFD64_LIBS_CFILES).
585         * Makefile.in: Regenerated.
586
587         * configure.in (bfd_libs): Replaced by ...
588         (bfd64_libs): This.
589         * configure: Regenerated.
590
591 2007-01-11  Nathan Sidwell  <nathan@codesourcery.com>
592
593         * elf.c (assign_file_positions_for_load_sections): We can
594         require fewer phdrs than expected.
595
596 2007-01-08  Kazu Hirata  <kazu@codesourcery.com>
597
598         * archures.c (bfd_mach_cpu32_fido): Rename to bfd_mach_fido.
599         * bfd-in2.h: Regenerate.
600         * cpu-m68k.c (arch_info_struct): Use bfd_mach_fido instead of
601         bfd_mach_cpu32_fido.
602         (m68k_arch_features): Use fido_a instead of cpu32.
603         (bfd_m68k_compatible): Reject the combination of Fido and
604         ColdFire.  Accept the combination of CPU32 and Fido with a
605         warning.
606         * elf32-m68k.c (elf32_m68k_object_p,
607         elf32_m68k_merge_private_bfd_data,
608         elf32_m68k_print_private_bfd_data): Treat Fido as an
609         architecture by itself.
610
611 2007-01-08  Kai Tietz   <kai.tietz@onevision.com>
612
613         * config.bfd: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*.
614
615 2007-01-05  Jakub Jelinek  <jakub@redhat.com>
616
617         * texhex.c (first_phase): Don't fall through into the default
618         case.
619         (pass_over): Replace abort () calls with return FALSE.  Fix
620         buffer overflow.
621
622 2007-01-04  Jie Zhang  <jie.zhang@analog.com>
623
624         * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't set
625         SEC_EXCLUDE on zero size .eh_frame.
626
627 For older changes see ChangeLog-2006
628 \f
629 Local Variables:
630 mode: change-log
631 left-margin: 8
632 fill-column: 74
633 version-control: never
634 End: