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