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