2004-02-26 H.J. Lu <hongjiu.lu@intel.com>
[binutils.git] / bfd / ChangeLog
blob6e39c4b14ff4a3725ce28b27b27c8a0572073eb9
1 2004-02-26  H.J. Lu  <hongjiu.lu@intel.com>
3         * elfxx-ia64.c (elfNN_ia64_check_relocs): Fix call to
4         count_dyn_reloc.
6 2004-02-25  H.J. Lu  <hongjiu.lu@intel.com>
8         * elfxx-ia64.c (elfNN_ia64_dyn_reloc_entry): Add the reltext.
9         field to track if a relocation is against readonly section.
10         (count_dyn_reloc): Take a new argument for rent->reltext.
11         (elfNN_ia64_check_relocs): Adjust call to count_dyn_reloc.
12         (get_reloc_section): Don't set ia64_info->reltext here.
13         (allocate_dynrel_entries): Set ia64_info->reltext here.
15 2004-02-24  Alexandre Oliva  <aoliva@redhat.com>
17         * elf32-frv.c (FRV_SYM_LOCAL): Weak undefined doesn't imply local.
18         (_frv_emit_got_relocs_plt_entries): Decay relocation to protected
19         function's descriptor to symbol+offset, and map local undefweak
20         symbol to NULL function descriptor.
21         (elf32_frv_relocate_section): Likewise.
23 2004-02-23  Mark Kettenis  <kettenis@gnu.org>
25         * libaout.h (enum machine_type): Add M_SPARC64_NETBSD and
26         M_X86_64_NETBSD.
27         * netbsd-core.c (M_SPARC64_OPENBSD): Define.
28         (netbsd_core_file_p): Set architecture from machine ID for
29         selected machines.
31 2004-02-23  Jakub Jelinek  <jakub@redhat.com>
33         * elflink.h (size_dynamic_sections): If not adding DT_FLAGS and
34         DF_BIND_NOW is set in info->flags, create DT_BIND_NOW dynamic entry.
36 2004-02-21  H.J. Lu  <hongjiu.lu@intel.com>
38         * elflink.c (_bfd_elf_merge_symbol): Properly handle undefined
39         symbols with non-default visibility.
41 2004-02-21  Danny Smith  <daanysmith@users.sourceforge.net>
43         * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Clear
44         IMAGE_SCN_MEM_WRITE on known sections only.
46 2004-02-20  Jakub Jelinek  <jakub@redhat.com>
48         * elf32-ppc.c (allocate_dynrelocs): Create dynsym for undef weak
49         symbols used in PIE relocs.
51 2004-02-19  Jakub Jelinek  <jakub@redhat.com>
53         * elf32-sparc.c (elf32_sparc_finish_dynamic_sections): Clear
54         .plt sh_entsize.
56 2004-02-18  Daniel Jacobowitz  <drow@mvista.com>
58         * configure.in: Update version to 2.15.90.
59         * configure: Regenerate.
61 2004-02-17  Daniel Jacobowitz  <drow@mvista.com>
62             Richard Sandiford  <rsandifo@redhat.com>
64         * elfxx-mips.c (mips_elf_calculate_relocation): Use
65         _bfd_elf_symbol_refs_local_p to decide whether to decay
66         a GOT_PAGE/GOT_OFST pair to GOT_DISP/addend.
67         (_bfd_mips_elf_check_relocs): Add a global GOT entry for GOT_PAGE
68         relocs if the symbol wasn't defined by a regular object file.
69         Don't check the symbol's dynindx.
71 2004-02-16  Andrew Cagney  <cagney@redhat.com>
73         * bfd-in.h (file_ptr, ufile_ptr): Configure type using
74         @bfd_file_ptr@.
75         * bfd-in2.h: Re-generate.
77 2004-02-14  Andrew Cagney  <cagney@redhat.com>
79         * configure.host (HDEFINES): When hppa*-*-hpux*, define
80         _LARGEFILE64_SOURCE.
82 2004-02-13  Andrew Cagney  <cagney@redhat.com>
84         * elf.c (vma_page_aligned_bias): New function.
85         (assign_file_positions_except_relocs)
86         (assign_file_positions_for_segments): Replace broken modulo
87         arithmetic with call to vma_page_aligned_bias.
89 2004-02-11  Andrew Cagney  <cagney@redhat.com>
91         * bfd-in.h: Update copyright.
92         (bfd_tell): Change return type to file_ptr.
93         * bfd-in2.h: Re-generate.
94         * cache.c: Update copyright.
95         (bfd_cache_lookup_worker): Use real_fseek, do not cast offset
96         parameter.
97         (close_one): Use real_ftell.
98         * bfdio.c: Update copyright.
99         (real_ftell, real_fseek): New functions.
100         (bfd_tell): Use real_fseek and real_ftell, change return type to
101         file_ptr.
102         (bfd_seek): Use real_ftell and real_fseek, change type of
103         file_position to a file_ptr.
104         * libbfd-in.h: Update copyright.
105         (real_ftell, real_fseek): Declare.
106         * libbfd.h: Re-generate.
108         * configure.in (AC_CHECK_FUNCS): Check for ftello, ftello64,
109         fseeko and fseeko64.  Determine bfd_file_ptr.
110         * configure: Re-generate.
111         * config.in: Re-generate.
112         
113 2004-02-09  Anil Paranjpe  <anilp1@KPITCummins.com>
115         * coff-h8300.c: Added comments about relaxation for ldc.w and stc.w.
116         * elf32-h8300.c: Likewise.
118 2004-02-09  Christian Vogel <vogelchr@vogel.cx>
119             Nick Clifton  <nickc@redhat.com>
121         * elf64-alpha.c (elf64_alpha_calc_got_offsets_for_symbol): Catch
122         GOT entries with no associated GOT subsection.
124 2004-02-09  Richard Sandiford  <rsandifo@redhat.com>
126         * bfd-elf.h (elf_backend_name_local_section_symbols): New hook.
127         * elf.c (swap_out_syms): Use it to decide whether local section
128         symbols should be named.
129         * elfxx-target.h (elf_backend_name_local_section_symbols): New macro.
130         * elfxx-mips.h (_bfd_mips_elf_name_local_section_symbols): Declare.
131         (elf_backend_name_local_section_symbols): Define.
132         * elfxx-mips.c (_bfd_mips_elf_name_local_section_symbols): New.
134 2004-01-30  H.J. Lu  <hongjiu.lu@intel.com>
136         * elfxx-ia64.c (elfNN_ia64_relax_brl): New function.
137         (elfNN_ia64_relax_section): Optimize brl to br during the relax
138         finalize pass.
140 2004-01-30  Alexandre Oliva  <aoliva@redhat.com>
142         * elf32-frv.c (elf32_frv_always_size_sections): Initialize pointer
143         to bfd_link_hash_entry passed by reference to
144         _bfd_generic_link_add_one_symbol.
146 2004-01-25  H.J. Lu  <hongjiu.lu@intel.com>
148         * elfxx-ia64.c (elfNN_ia64_relocate_section): Disallow imm
149         relocations against dynamic symbols.
151 2004-01-23  Daniel Jacobowitz  <drow@mvista.com>
153         * elf32-arm.h (elf32_arm_check_relocs): Revert part of 2004-01-13
154         change.
156 2004-01-21  Tom Rix  <tcrix@worldnet.att.net>
158         * reloc.c: New 5 bit reloc, BFD_RELOC_M68HC12_5B, for m68hc12 movb/movw.
159         * bfd-in2.h, libbfd.h: Rebuilt.
161 2004-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
163         * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Don't remove
164         IMAGE_SCN_MEM_WRITE flag from .text section if WP_TEXT
165         flag has been cleared.
167 2004-01-19  Kazu Hirata  <kazu@cs.umass.edu>
169         * coff-h8300.c: Add and adjust comments about relaxation.
170         * elf32-h8300.c: Likewise.
172 2004-01-16  Kazu Hirata  <kazu@cs.umass.edu>
174         * coff-h8300.c: Fix comment typos.
175         * elf32-h8300.c: Likewise.
177 2004-01-16  Kazu Hirata  <kazu@cs.umass.edu>
179         * coff-h8300.c: Add comments about relaxation.
180         * elf32-h8300.c: Likewise.
182 2004-01-14  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
184         * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
185         throughout.
186         * aclocal.m4: Regenerate.
187         * configure: Regenerate.
189 2004-01-13  Ian Lance Taylor  <ian@wasabisystems.com>
191         * elf64-mips.c (mips_elf64_slurp_one_reloc_table): Call
192         mips_elf64_rtype_to_howto instead of using howto_table.
194 2004-01-13  Daniel Jacobowitz  <drow@mvista.com>
196         * elf32-arm.h (elf32_arm_final_link_relocate): Check that we created
197         the .plt section.
198         (elf32_arm_check_relocs): Don't increment the PLT refcount for
199         relocs which would not use the PLT.
201 2004-01-13  Alan Modra  <amodra@bigpond.net.au>
203         * elf64-ppc.c (ppc64_elf_check_relocs): Ignore !SEC_ALLOC relocs.
204         (ppc64_elf_gc_sweep_hook): Likewise.
205         (ppc64_elf_size_dynamic_sections): Test for .plt directly.
207 2004-01-12  Anil Paranjpe  <anilp1@KPITCummins.com>
209         Adds linker relaxation support for bit manipulation insns like
210         band, bclr, biand, bild, bior, bist, bixor, bld, bnot, bor, bset,
211         bst, btst, bxor.
212         * elf32-h8300.c: Opcode for bit manipulation insn is checked in
213         elf32_h8_relax_section function while relxation for aa:16 and aa:32.
214         * coff-h8300.c: Opcode for bit manipulation insn is checked in
215         h8300_reloc16_extra_cases function while relxation for aa:16 and aa:32.
217 2004-01-12  Alan Modra  <amodra@bigpond.net.au>
219         * dwarf2.c: Convert to C90, remove unneeded casts and prototypes.
221 2004-01-11  Kazu Hirata  <kazu@cs.umass.edu>
223         * elf32-h8300.c: Fix formatting.
225 2004-01-11  Kazu Hirata  <kazu@cs.umass.edu>
227         * elf32-cris.c (cris_elf_gc_sweep_hook): Return early if no
228         dynamic object is present.  Declare r_symndx and h in an inner
229         scope.
230         * elf32-vax.c (elf_vax_gc_sweep_hook): Likewise.
232 2004-01-09  Daniel Jacobowitz  <drow@mvista.com>
234         * elf32-arm.h (struct elf32_arm_relocs_copied): Remove pc_count.
235         (elf32_arm_copy_indirect_symbol): Don't copy pc_count.
236         (elf32_arm_final_link_relocate): Handle PLT32 and PC24 relocs
237         identically.  Do not emit PC24 relocations for shared libraries.
238         (elf32_arm_gc_sweep_hook): Handle PLT32 and PC24 relocs
239         identically.  Don't adjust pc_count.
240         (elf32_arm_check_relocs): Handle PLT32 and PC24 relocs identically.
241         Set ELF_LINK_HASH_NEEDS_PLT for both.  Don't adjust pc_count; don't
242         adjust count for branch relocations.
243         (allocate_dynrelocs): Correct typo in call to
244         WILL_CALL_FINISH_DYNAMIC_SYMBOL.  Never allocate space for
245         PC24 or PLT32 relocs when linking.
247 2004-01-09  Dmitry Semyonov  <Dmitry.Semyonov@oktet.ru>
249         * coff-arm.c (aoutarm_std_reloc_howto): [ARM_WINCE] Synchronize ARM_26D
250         relocation howto with ARM_26 one for consistency.
251         (coff_arm_relocate_section): Set partial_inplace for ARM_26 relocations
252         that will be converted to ARM_26D ones, since we always want 'done'
253         relocations to be reflected in section's data.
254         (coff_arm_relocate_section): [ARM_WINCE] Quick fix for BL instruction
255         offset.
256         (_bfd_final_link_relocate): Do not modify "inplace" data, if not
257         requested.
259 2004-01-08  Dmitry Semyonov  <Dmitry.Semyonov@oktet.ru>
261         * coff-arm.c (coff_arm_relocate_section): Do not alter relocs that
262         are not partial_inplace during a relocatable link.
264 2004-01-08  Kazu Hirata  <kazu@cs.umass.edu>
266         * elf32-m68k.c (elf_m68k_gc_sweep_hook): Return early
267         if no dynamic object is present.  Declare r_symndx and h in an
268         inner scope.
270 2004-01-07  H.J. Lu  <hongjiu.lu@intel.com>
272         * elfxx-ia64.c (elfNN_ia64_relax_section): Don't install
273         trampoline if it is known out of range.
275 2004-01-06  Alexandre Oliva  <aoliva@redhat.com>
277         2003-12-17  Alexandre Oliva  <aoliva@redhat.com>
278         * elf32-frv.c (_frv_osec_readonly_p): New.
279         (_frv_emit_got_relocs_plt_entries): Don't emit rofixup for
280         undefweak symbol.
281         (_frv_count_got_plt_entries): Adjust expected count accordingly.
282         (elf32_frv_relocate_section): Likewise.  Error out if attempting
283         to emit rofixups or dynamic relocs in read-only segments.  Use
284         _bfd_elf_section_offset to adjust r_offsets in rofixups and
285         dynamic relocations.
286         2003-12-12  Alexandre Oliva  <aoliva@redhat.com>
287         * elf32-frv.c (elf32_frv_relocate_section): Compute dynamic
288         relocations or fixups involving merged sections correctly.  Avoid
289         crash when undefined symbol is referenced by R_FRV_32 or
290         R_FRV_FUNCDESC_VALUE.
291         2003-12-02  Alexandre Oliva  <aoliva@redhat.com>
292         * elf32-frv.c (elf32_frv_relocate_section): Add output_offset of
293         input section holding local symbol to addend of R_FRV_32 or
294         R_FRV_FUNCDESC_VALUE dynamic relocation.
295         2003-11-27  Alexandre Oliva  <aoliva@redhat.com>
296         * elf32-frv.c (elf32_frv_modify_segment_map): Add link info arg.
297         (elf32_frv_always_size_sections): Don't store pointer to
298         __stacksize symbol in sec_info.
299         (elf32_frv_modify_segment_map): Look it up here.
300         2003-11-26  Alexandre Oliva  <aoliva@redhat.com>
301         * elf32-frv.c (_frv_emit_got_relocs_plt_entries): Emit the address
302         of the lazy PLT entry, not only its offset, as the low word of a
303         function descriptor.
304         2003-11-10  Alexandre Oliva  <aoliva@redhat.com>
305         * elf32-frv.c (elf32_frv_always_size_sections): Define __stacksize
306         if a hash table entry already exists but is not a definition.
307         2003-11-05  Alexandre Oliva  <aoliva@redhat.com>
308         * elf32-frv.c (frv_elf_link_hash_table_create): Use bfd_zalloc.
309         (_frv_add_rofixup): Don't inline.
310         (_frv_emit_got_relocs_plt_entries): Use NULL as funcdesc address
311         for undefweak symbols.
312         (elf32_frv_relocate_section): Avoid crash while computing
313         relocation when linking with shared library.  Only emit rofixups
314         and dynamic relocations for alloc&load sections.  Mark binaries
315         with inter-segment relocations for relocation as a unit.
316         (_frv_create_got_section): Rename .rofixup.got to .rofixup.
317         (DEFAULT_STACK_SIZE): New.
318         (_frv_count_got_plt_entries): Fix thinko in deciding whether to
319         emit rofixups or dynamic relocs when linking dynamic non-PIE
320         executables.
321         (elf32_frv_size_dynamic_sections): Generate rofixup on PIEs and
322         shared libs too.  Reserve the last entry for the GOT pointer.
323         (elf32_frv_finish_dynamic_sections): Emit it.
324         (elf32_frv_always_size_sections): New.
325         (elf32_frv_modify_segment_map): New.
326         (elf32_frv_check_relocs): Reserve relocs32 space only in ALLOC
327         sections.
328         (frv_elf_merge_private_bfd_data): Clear PIC bit if FDPIC is set.
329         (frv_elf_print_private_bfd_data): Handle FDPIC and LIBPIC.
330         (elf_backend_always_size_sections): New.
331         (elf_backend_modify_segment_map): New.
332         2003-10-31  Alexandre Oliva  <aoliva@redhat.com>
333         * config.bfd: Added frv-*-*linux*.
334         * elf32-frv.c (_frv_emit_got_relocs_plt_entries): Use idx 0 for
335         ABS section, instead of crashing.
336         (elf32_frv_relocate_section): Don't crash before warning about
337         different segments in non-PIC relocation.
338         2003-10-17  Alexandre Oliva  <aoliva@redhat.com>
339         * elf32-frv.c (elf32_frv_relocate_section): Don't warn on LABEL24
340         relocs to undefweak symbols.
341         (elf32_frv_relocate_section): Ditto for undefined symbols.
342         2003-10-06  Alexandre Oliva  <aoliva@redhat.com>
343         * elf32-frv.c (elf32_frv_create_dynamic_sections): Make sure
344         gotfixup section was created.
345         2003-09-30  Alexandre Oliva  <aoliva@redhat.com>
346         * elf32-frv.c (elf32_frv_howto_table): Change GOT12,
347         FUNCDESC_GOT12, GOTOFF12 and FUNCDESC_GOTOFF12 to
348         complain_overflow_signed.
349         * elf32-frv.c (_frv_add_rofixup): Do not error out if contents
350         have not been allocated.
351         (_frv_emit_got_relocs_plt_entries): Return non-void.  Assert
352         privfd only if dynamic sections were created.
353         (elf32_frv_relocate_section): Compute gprel_segment, and use it
354         for GPREL relocs.  When linking relocatable FDPIC executables,
355         emit warnings for relocations that would be illegal on PIE or
356         shared libraries.  Emit rofixup for R_FRV_32 only if input object
357         is not FDPIC.
358         (_frv_create_got_section): Define _gp symbol in the rofixup
359         section.
360         (elf32_frv_finish_dynamic_sections): If rofixups needed but
361         dynamic sections missing, error out requesting -melf32frvfd.
362         2003-09-19  Alexandre Oliva  <aoliva@redhat.com>
363         * elf32-frv.c (_frv_emit_got_relocs_plt_entries): Rearrange
364         computation of addends from section and global or local symbol
365         value.  Change return type to bfd_boolean, and return a failure if
366         a dynamic FUNCDESC or FUNCDESC_VALUE relocation that requires a
367         nonzero addend is required.
368         (elf32_frv_relocate_section): Likewise.  Print error for
369         unsupported nonzero addends.
370         2003-09-18  Alexandre Oliva  <aoliva@redhat.com>
371         * elf32-frv.c (FRV_SYM_LOCAL): In the absence of dynamic sections,
372         force everything local.
373         (_frv_emit_got_relocs_plt_entries): Cope with NULL sec.
374         * elf32-frv.c (struct frv_elf_link_hash_table): Added sgotfixup.
375         (frv_gotfixup_section): New.
376         (FRV_SYM_LOCAL): Accept undefweak and local common symbols.
377         (struct frv_pic_relocs_info): Split relocs into relocs32, relocsfd
378         and relocsfdv.
379         (_frv_add_rofixup): New.
380         (_frv_emit_got_relocs_plt_entries): Generate fixups for non-PIE
381         fdpic executables.  Use FRV_SYM_LOCAL more widely to simplify and
382         improve some ugly conditions.
383         (elf32_frv_relocate_section): Likewise.  Reject inter-segment
384         relocations in fdpic.
385         (_frv_create_got_section): Create .rofixup.got section.
386         (struct _frv_dynamic_got_info): Added fixups.
387         (_frv_count_got_plt_entries): Account in-GOT relocations into
388         relocs32, relocsfd and relocsfdv.  Account them into relocs or
389         fixups, as appropriate.
390         (elf32_frv_size_dynamic_sections): Size rofixup section.  Simplify
391         sizing of gotrel.
392         (elf32_frv_finish_dynamic_sections): Verify that the right number
393         of relocations and fixups was generated.
394         (elf32_frv_check_relocs): Compute relocs32, relocsfd and
395         relocsfdv.
396         * elf32-frv.c (FRV_SYM_LOCAL): New macro, used instead of
397         SYMBOL_CALLS_LOCAL and SYMBOL_REFERENCES_LOCAL.
398         (FRV_FUNCDESC_LOCAL): New macro, used to decide whether a function
399         descriptor of a (formerly-)global symbol is local.
400         (struct frv_pic_relocs_info): Adjust comments.
401         (_frv_emit_got_relocs_plt_entries): Adjust.
402         (elf32_frv_relocate_section): Likewise.
403         (_frv_count_got_plt_entries): Likewise.
404         * elf32-frv.c (_frv_emit_got_relocs_plt_entries): Don't add global
405         symbol's value to addend in the common preamble.  Decay dynamic
406         symbols to section+offset if they bind or call locally, for GOT
407         and FUNCDESC_VALUE, respectively.
408         (elf32_frv_relocate_section): Likewise.
409         (elf32_frv_check_relocs): Don't register as dynamic symbols of
410         internal or hidden visibility.
411         2003-09-17  Alexandre Oliva  <aoliva@redhat.com>
412         * elf32-frv.c (_frv_emit_got_relocs_plt_entries): Get addend as
413         argument, so as to not call _bfd_elf_rel_local_sym to compute it.
414         (elf32_frv_relocate_section): Pass relocation addend in.  Use
415         original relocation addend to look up the got relocs/plt entries
416         table.  Do not call _bfd_elf_rel_local_sym.  Don't error out when
417         processing relocations that reference .scommon symbols.
418         2003-09-15  Alexandre Oliva  <aoliva@redhat.com>
419         Introduce support for dynamic linking.
420         * elf32-frv.c (R_FRV_FUNCDESC_VALUE): Mark it as 64 bits.
421         (elf32_frv_rel_32_howto, elf32_frv_rel_funcdesc_howto,
422         elf32_frv_rel_funcdesc_value_howto): New REL descriptors.
423         (frv_reloc_type_lookup): Return REL howtos for executables and
424         dynamic libraries.
425         (frv_info_to_howto_rel): New.
426         (struct frv_elf_link_hash_table): New.
427         (frv_hash_table, frv_got_section, frv_gotrel_section,
428         frv_plt_section, frv_pltrel_section, frv_relocs_info,
429         frv_got_initial_offset, frv_plt_initial_offset): New macros.
430         (frv_elf_link_hash_table_create): New.
431         (struct frv_pic_relocs_info): New.
432         (frv_pic_relocs_info_hash, frv_pic_relocs_info_eq): New.
433         (frv_pic_relocs_info_find): New.
434         (frv_pic_relocs_info_for_global, frv_pic_relocs_info_for_local):
435         New.
436         (FRV_LZPLT_BLOCK_SIZE, FRV_LZPLT_RESOLVE_LOC): New.
437         (_frv_add_dyn_reloc, _frv_osec_to_segment): New.
438         (_frv_emit_got_relocs_plt_entries): New.
439         (elf32_frv_relocate_section): Add support for dynamic linking.
440         Handle new relocations.
441         (_frv_create_got_section): New.
442         (elf32_frv_create_dynamic_sections): New.
443         (ELF_DYNAMIC_INTERPRETER): New.
444         (struct _frv_dynamic_got_info): New.
445         (_frv_count_got_plt_entries): New.
446         (struct _frv_dynamic_got_plt_info): New.
447         (_frv_compute_got_alloc_data): New.
448         (_frv_get_got_entry, _frv_get_fd_entry): New.
449         (_frv_assign_got_entries, _frv_assign_plt_entries): New.
450         (_frv_resolve_final_relocs_info): New.
451         (elf32_frv_size_dynamic_sections): New.
452         (elf32_frv_finish_dynamic_sections): New.
453         (elf32_frv_adjust_dynamic_symbol): New.
454         (elf32_frv_finish_dynamic_symbol): New.
455         (elf32_frv_check_relocs): Handle new relocs.  Explain how the
456         whole thing works.
457         (elf_info_to_howto_rel): Define.
458         (bfd_elf32_bfd_link_hash_table_create): Define.
459         (elf_backend_create_dynamic_sections): Define.
460         (elf_backend_adjust_dynamic_symbol): Define.
461         (elf_backend_size_dynamic_sections): Define.
462         (elf_backend_finish_dynamic_symbol): Define.
463         (elf_backend_finish_dynamic_sections): Define.
464         (elf_backend_want_got_sym): Define.
465         (elf_backend_got_header_size): Define.
466         (elf_backend_want_got_plt): Define.
467         (elf_backend_plt_readonly): Define.
468         (elf_backend_want_plt_sym): Define.
469         (elf_backend_plt_header_size): Define.
470         (elf_backend_may_use_rel_p): Define.
471         (elf_backend_may_use_rela_p): Define.
472         (elf_backend_default_use_rela_p): Define.
473         2003-08-08  Alexandre Oliva  <aoliva@redhat.com>
474         * elf32-frv.c (R_FRV_FUNCDESC_VALUE, R_FRV_FUNCDESC_GOTOFF12,
475         R_FRV_FUNCDESC_GOTOFFHI, R_FRV_FUNCDESC_GOTOFFLO, R_FRV_GOTOFF12,
476         R_FRV_GOTOFFHI, R_FRV_GOTOFFLO): New.
477         (frv_reloc_map): Map the corresponding BFD relocs to them.
478         (frv_reloc_type_lookup): ... and back to BFD relocs.
479         * reloc.c: New relocs.
480         * bfd-in2.h, libbfd.h: Rebuilt.
481         2003-08-04  Alexandre Oliva  <aoliva@redhat.com>
482         * elf32-frv.c (R_FRV_GOT12, R_FRV_GOTHI, R_FRV_GOTLO,
483         R_FRV_FUNCDESC, R_FRV_FUNCDESC_GOT12, R_FRV_FUNCDESC_GOTHI,
484         R_FRV_FUNCDESC_GOTLO): New.
485         (frv_reloc_map): Map the corresponding BFD relocs to them.
486         (frv_reloc_type_lookup): ... and back to BFD relocs.
487         * reloc.c: New relocs.
488         * bfd-in2.h, libbfd.h: Rebuilt.
490 2004-01-05  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
492         * elf32-mips.c (ELF_MAXPAGESIZE): Redefine for traditional
493         targets to support pages of up to 64kB.
494         (elf32_bed): Redefine to get a separate backend data structure for
495         traditional targets.
496         * elf64-mips.c (ELF_MAXPAGESIZE): Redefine for traditional
497         targets to support pages of up to 64kB.
498         (elf64_bed): Redefine to get a separate backend data structure for
499         traditional targets.
500         * elfn32-mips.c (ELF_MAXPAGESIZE): Redefine for traditional
501         targets to support pages of up to 64kB.
502         (elf32_bed): Redefine to get a separate backend data structure for
503         traditional targets.
505 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
507         * elf32-sparc.c (elf32_sparc_grok_psinfo): New function.
509 2004-01-02  Mark Kettenis  <kettenis@gnu.org>
511         * elf32-i386.c (elf_i386_grok_prstatus): Add support for FreeBSD.
512         (elf_i386_grok_psinfo): Likewise.
514 2004-01-02  Bernardo Innocenti  <bernie@develer.com>
516         * config.bfd: Add m68k-uClinux target.
518 2004-01-01  Grant Edwards <grante@visi.com>
520         * elflink.h (elf_gc_sections): Warn when gc-sections option is ignored.
521         * elf32-h8300.c (elf32_h8_gc_mark_hook): New function.
522         (elf32_h8_gc_sweep_hook): New function.
523         (elf_backend_gc_mark_hook): Define.
524         (elf_backend_gc_sweep_hook): Define.
525         (elf_backend_can_gc_sections): Define.
527 For older changes see ChangeLog-0203
529 Local Variables:
530 mode: change-log
531 left-margin: 8
532 fill-column: 74
533 version-control: never
534 End: