* bfd/elf32-arm.h (arm_print_private_bfd_data): Add EABI v3.
[external/binutils.git] / bfd / ChangeLog
1 2004-03-23  Paul Brook  <paul@codesourcery.com>
2
3         * elf32-arm.h (arm_print_private_bfd_data): Add EABI v3.
4
5 2004-03-22  Bob Wilson  <bob.wilson@acm.org>
6
7         * elf32-xtensa.c (elf_xtensa_check_relocs): Remove code to read
8         literal tables and check for relocs outside of literal pools.
9         (elf_xtensa_make_sym_local): Don't clear ELF_LINK_NON_GOT_REF flag.
10         (elf_xtensa_fix_refcounts): Don't check ELF_LINK_NON_GOT_REF or
11         set DF_TEXTREL.
12         (elf_xtensa_size_dynamic_sections): Don't add DT_TEXTREL entry.
13         (elf_xtensa_relocate_section): Read literal tables and check for
14         dynamic relocations in read-only sections and not in literal pools.
15         
16 2004-03-23  Alan Modra  <amodra@bigpond.net.au>
17
18         PR 51.
19         * linker.c (bfd_wrapped_link_hash_lookup): Handle info->wrap_char.
20
21 2004-03-22  Hans-Peter Nilsson  <hp@axis.com>
22
23         * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_GOTPLT,
24         R_CRIS_16_GOTPLT>: Also error if there's no PLT for a symbol
25         not defined by the executable, or defined in a DSO.
26         <eliding run-time relocation of .got>: Initialize GOT entry for a
27         function symbol or ELF_LINK_HASH_NEEDS_PLT statically in an
28         executable.
29         (cris_elf_gc_sweep_hook): Improve fallthrough marking.
30         (elf_cris_try_fold_plt_to_got): Improve head comment.  Do not fold
31         a PLT reloc to GOT for an executable.
32         (elf_cris_adjust_dynamic_symbol): Only fold a .got.plt entry with
33         .got for a DSO and explain why.
34         (elf_cris_discard_excess_program_dynamics): Also lose GOT-relocs
35         and unreferenced symbols for which a PLT is defined.  Adjust
36         dynamic-symbol pruning correspondingly, to make sure we don't lose
37         a dynamic symbol also defined by a DSO.
38
39 2004-03-22  Alan Modra  <amodra@bigpond.net.au>
40
41         * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): Add input_bfd, input_section
42         and rel args.  Group input and output args.  Wrap to 80 columns.
43         * elf-m10200.c, elf-m10300.c, elf32-arm.h, elf32-avr.c,
44         elf32-cris.c, elf32-d10v.c, elf32-fr30.c, elf32-h8300.c,
45         elf32-hppa.c, elf32-i386.c, elf32-i860.c, elf32-ip2k.c,
46         elf32-iq2000.c, elf32-m68hc1x.c, elf32-m68k.c, elf32-mcore.c,
47         elf32-msp430.c, elf32-openrisc.c, elf32-ppc.c, elf32-s390.c,
48         elf32-sparc.c, elf32-v850.c, elf32-vax.c, elf32-xstormy16.c,
49         elf32-xtensa.c, elf64-alpha.c, elf64-mmix.c, elf64-ppc.c,
50         elf64-s390.c, elf64-sparc.c, elf64-x86-64.c, elfxx-ia64.c: Update
51         RELOC_FOR_GLOBAL_SYMBOL invocation.
52
53 2004-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54
55         * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): Report error if
56         unresolved symbols in objects aren't allowed.
57
58         * elf-hppa.h (elf_hppa_relocate_section): Properly handle
59         unresolved symbols.
60         (elf_hppa_remark_useless_dynamic_symbols): Likewise.
61         (elf_hppa_unmark_useless_dynamic_symbols):
62         * elf32-frv.c (elf32_frv_relocate_section): Likewise.
63         * elf32-hppa.c (elf32_hppa_size_stubs): Likewise.
64         (elf32_hppa_relocate_section): Likewise.
65         * elf32-i370.c (i370_elf_relocate_section): Likewise.
66         * elf32-m32r.c (m32r_elf_relocate_section): Likewise.
67         * elf32-sh.c (sh_elf_relocate_section): Likewise.
68         * elf64-sh64.c (sh_elf64_relocate_section): Likewise.
69         * elfxx-mips.c (mips_elf_calculate_relocation): Likewise.
70
71         * elf-m10200.c (mn10200_elf_relocate_section): Use
72         RELOC_FOR_GLOBAL_SYMBOL.
73         * elf32-avr.c (elf32_avr_relocate_section): Likewise.
74         * elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
75         * elf32-fr30.c (fr30_elf_relocate_section): Likewise.
76         * elf32-h8300.c (elf32_h8_relocate_section): Likewise.
77         * elf32-i860.c (elf32_i860_relocate_section): Likewise.
78         * elf32-m68hc1x.c (m68hc11_get_relocation_value): Likewise.
79         * elf32-mcore.c (mcore_elf_relocate_section): Likewise.
80         * elf32-msp430.c (elf32_msp430_relocate_section): Likewise.
81         * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
82         * elf32-v850.c (v850_elf_relocate_section): Likewise.
83         * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise.
84         * elf64-mmix.c (mmix_elf_relocate_section): Likewise.
85
86 2004-03-19  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
87
88         * elf32-hppa.c (elf32_hppa_check_relocs): Handle R_PARISC_PCREL32.
89         (final_link_relocate): Likewise.
90         * elf-hppa.h (elf_hppa_reloc_final_type): Handle selectors for
91         R_PARISC_PCREL32 and R_PARISC_PCREL64 relocations.
92
93 2004-03-19  Alan Modra  <amodra@bigpond.net.au>
94
95         * Makefile.am: Run "make dep-am".
96         * Makefile.in: Regenerate.
97         * aclocal.m4: Regenerate.
98         * config.in: Regenerate.
99         * po/bfd.pot: Regenerate.
100
101 2004-03-19  Alan Modra  <amodra@bigpond.net.au>
102             H.J. Lu  <hongjiu.lu@intel.com>
103
104         * elflink.c (_bfd_elf_merge_symbol): Revert last change.  Move
105         type and size change code to where it was previously.  Remove
106         dt_needed param.  Treat old weak syms as strong if new sym is
107         from a shared lib, even when old sym is from another shared
108         lib.  Remove unnecessary tests of oldweak and newweak.  Correct
109         comments.
110         (_bfd_elf_add_default_symbol): Remove dt_needed param.  Update
111         _bfd_elf_merge_symbol calls.
112         * elflink.h (elf_link_add_object_symbols): Update calls.  Remove
113         dt_needed local var.  Update comments.
114         * elf-bfd.h (_bfd_elf_merge_symbol): Update prototype.
115         (_bfd_elf_add_default_symbol): Likewise.
116
117         * elflink.c (_bfd_elf_merge_symbol): Reinstate code to handle
118         strong syms in one shared object overriding weak syms in another.
119
120 2004-03-18  Alan Modra  <amodra@bigpond.net.au>
121
122         * elf-bfd.h (struct elf_obj_tdata): Delete dt_soname field.  Add
123         dyn_lib_class field.  Rearrange for better packing.
124         (elf_dt_soname): Delete.
125         (elf_dyn_lib_class): Define.
126         * elf.c (bfd_elf_set_dt_needed_name): Update comment.
127         (bfd_elf_set_dt_needed_soname): Delete.
128         (bfd_elf_set_dyn_lib_class): New function.
129         * elflink.h (add_dt_needed_tag): New function.  Split out from..
130         (elf_link_add_object_symbols): ..here.  Rename "name" to "soname".
131         Use elf_dyn_lib_class to set dt_needed and add_needed.  Move fallback
132         initialization of soname.
133         (elf_link_check_versioned_symbol): Test elf_dyn_lib_class instead of
134         elf_dt_soname.
135         * bfd-in.h (enum dynamic_lib_link_class): New.
136         (bfd_elf_set_dt_needed_soname): Delete.
137         (bfd_elf_set_dyn_lib_class): Declare.
138         * bfd-in2.h: Regenerate.
139
140         * elflink.c (_bfd_elf_merge_symbol): Rewrite weak symbol handling.
141         (_bfd_elf_add_default_symbol): Remove indirect BFD_ASSERTs.
142         * elflink.h (elf_link_add_object_symbols): Don't clear dt_needed in
143         symbol loop.  Instead use add_needed to flag tag as written.
144
145 2004-03-17  Nathan Sidwell  <nathan@codesourcery.com>
146
147         * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Correct
148         logic for null_input_bfd detection.
149
150 2004-03-17  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
151
152         * config.bfd: Switch sh-*-rtems* to ELF.  Add sh-*-rtemscoff*.
153
154 2004-03-16  Mark Kettenis  <kettenis@gnu.org>
155
156         * netbsd-core.c (netbsd_core_file_p) [CORE_FPU_OFFSET]: Remove
157         code.
158
159 2004-03-16  Alan Modra  <amodra@bigpond.net.au>
160
161         * elflink.c (elf_link_read_relocs_from_section): Don't use
162         NUM_SHDR_ENTRIES in end of reloc calc.  Move NULL shdr check..
163         (_bfd_elf_link_read_relocs): ..to here.
164         * elf32-ppc.c (ppc_elf_relax_section): Formatting.
165
166 2004-03-16  Alan Modra  <amodra@bigpond.net.au>
167
168         * configure.in (HOST_64BIT_TYPE, HOST_U_64BIT_TYPE): Don't override
169         values selected in configure.host.  Require both to be defined
170         before setting BFD_HOST_64_BIT_DEFINED.  Protect assignment to
171         corresponding BFD_HOST vars with quotes.
172         <${host64}-${target64}-${want64} in *true*>: Don't exempt gcc;
173         Always require BFD_HOST_64_BIT_DEFINED.
174         <file_ptr type>: Find off_t size before emitting message.  Combine
175         off_t and ftello64 conditional.
176         * configure: Regenerate.
177
178 2004-03-16  Alan Modra  <amodra@bigpond.net.au>
179
180         * elf32-m32r.c (m32r_elf_create_dynamic_sections): Fix pointer
181         aliasing warning.  Remove trailing whitespace throughout file.
182
183 2004-03-15  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
184
185         * elf-hppa.h (elf_hppa_relocate_section): Pass input_bfd instead of
186         input_section in calls to get_dyn_name.
187         * elf64-hppa.c (get_dyn_name): Change type of first argument to "bfd *".        Use section id of first section in input BFD to build dynamic name for
188         local symbols.
189         (elf64_hppa_check_relocs): Pass abfd in call to get_dyn_name.
190
191 2004-03-15  Alan Modra  <amodra@bigpond.net.au>
192
193         * bfd-in.h (bfd_int64_t, bfd_uint64_t): New types.
194         (BFD_HOST_64_BIT, BFD_HOST_U_64_BIT): Don't define here.
195         (bfd_getb64, bfd_getl64, bfd_get_bits): Return bfd_uint64_t.
196         (bfd_getb_signed_64, bfd_getl_signed_64): Return bfd_int64_t.
197         (bfd_putb64, bfd_putl64, bfd_put_bits): Accept bfd_uint64_t.
198         * configure.in (HOST_U_64BIT_TYPE): Set when sizeof long is 8.
199         (BFD_HOST_64_BIT_DEFINED, BFD_HOST_64_BIT, BFD_HOST_U_64_BIT): Set
200         when using long.
201         * libbfd.c (EIGHT_GAZILLION, COERCE64): Use bfd_int64_t.
202         (bfd_getb64): Return bfd_uint64_t.  Enable when BFD_HOST_64_BIT.
203         (bfd_getl64, bfd_getb_signed_64, bfd_getl_signed_64): Likewise.
204         (bfd_putb64): Accept bfd_uint64_t.  Enable when BFD_HOST_64_BIT.
205         (bfd_putl64, bfd_put_bits, bfd_get_bits): Likewise.
206         * dwarf2.c (struct attribute): Use bfd_int64_t and bfd_uint64_t.
207         (read_8_bytes, read_indirect_string, read_address): Likewise.
208         (read_abbrevs, parse_comp_unit): Likewise.
209         * targets.c (struct bfd_target): Likewise.
210         * aix386-core.c (NO_GET64, NO_PUT64, NO_GETS64): Define and use.
211         * hppabsd-core.c: Likewise.  Formatting.
212         * hpux-core.c: Likewise.
213         * irix-core.c: Likewise.
214         * netbsd-core.c: Likewise.
215         * osf-core.c: Likewise.
216         * ptrace-core.c: Likewise.
217         * sco5-core.c: Likewise.
218         * trad-core.c: Likewise.
219         * configure: Regenerate.
220         * bfd-in2.h: Regenerate.
221
222 2004-03-15  Alan Modra  <amodra@bigpond.net.au>
223
224         * bfd-in.h (bfd_getb64, bfd_getl64): Replace bfd_byte* with void*.
225         (bfd_getb32, bfd_getl32, bfd_getb16, bfd_getl16): Likewise.
226         (bfd_getb_signed_64, bfd_getl_signed_64): Likewise.
227         (bfd_getb_signed_32, bfd_getl_signed_32): Likewise.
228         (bfd_getb_signed_16, bfd_getl_signed_16): Likewise.
229         (bfd_putb64, bfd_putl64, bfd_putb32, bfd_putl32): Likewise.
230         (bfd_putb16, bfd_putl16, bfd_get_bits, bfd_put_bits): Likewise.
231         * libbfd.c: Likewise in function definitions.
232         (bfd_put_8): Mask with 0xff rather than casting to char.
233         (bfd_putb16, bfd_putl16, bfd_putb32, bfd_putl32): Likewise.
234         (bfd_putb64, bfd_putl64, bfd_put_bits): Likewise.
235         (H_PUT_64, H_PUT_32, H_PUT_16, H_PUT_8): Remove casts, simplify.
236         (H_PUT_S64, H_PUT_S32, H_PUT_S16, H_PUT_S8): Likewise.
237         (H_GET_64, H_GET_32, H_GET_16, H_GET_8): Likewise.
238         (H_GET_S64, H_GET_S32, H_GET_S16, H_GET_S8): Likewise.
239         * libaout.h (H_PUT_64 H_PUT_32, H_PUT_16): Remove casts, simplify.
240         (H_PUT_S64, H_PUT_S32, H_PUT_S16): Likewise.
241         (H_GET_64, H_GET_32, H_GET_16): Likewise.
242         (H_GET_S64, H_GET_S32, H_GET_S16): Likewise.
243         * archive.c (do_slurp_coff_armap): Update swap prototype.
244         * coff-tic54x.c (tic54x_getl32): Replace bfd_byte* with void*.
245         (tic54x_getl_signed_32): Likewise.
246         (tic54x_putl32): Likewise.  Mask with 0xff rather than casting to char.
247         * mach-o.c (bfd_mach_o_read_header): Update get32 prototype.
248         * pdp11.c (bfd_getp32): Make static, replace bfd_byte* with void*.
249         (bfd_getp_signed_32, bfd_putp32): Likewise.
250         * targets.c (struct bfd_target): Use void* in place of bfd_byte* for
251         bfd_getx64, bfd_getx_signed_64, bfd_putx64, bfd_getx32,
252         bfd_getx_signed_32, bfd_putx32, bfd_getx16, bfd_getx_signed_16,
253         bfd_putx16, bfd_h_getx64, bfd_h_getx_signed_64, bfd_h_putx64,
254         bfd_h_getx32, bfd_h_getx_signed_32, bfd_h_putx32, bfd_h_getx16,
255         bfd_h_getx_signed_16, bfd_h_putx16.
256         * aix386-core.c (NO_GET, NO_GETS, NO_PUT): Update prototypes.
257         * hppabsd-core.c: Similarly.  Rename NO_SIGNED_GET to NO_GETS.
258         * hpux-core.c: Likewise.
259         * irix-core.c: Likewise.
260         * netbsd-core.c: Likewise.
261         * osf-core.c: Likewise.
262         * ptrace-core.c: Likewise.
263         * sco5-core.c: Likewise.
264         * trad-core.c: Likewise.
265         * bfd-in2.h: Regenerate.
266
267 2004-03-15  Matt Thomas  <matt@3am-software.com>
268
269         * config.bfd: Add x86-64 vector to NetBSD/i386 if 64bit BFD is
270         selected.
271
272 2004-03-13  Mark Kettenis  <kettenis@gnu.org>
273
274         * config.bfd: Add x86_64-*-openbsd*.
275         * configure.in (x86_64-*-openbsd*): Set COREFILE to
276         netbsd-core.lo.
277         * configure: Regenerate.
278
279 2004-03-12  Nick Clifton  <nickc@redhat.com>
280             Dave Murphy  <wintermute2k4@ntlworld.com>
281
282         * elf32-arm.h (elf32_arm_merge_private_bfd_data): Skip most checks
283         if the input bfd does not contain any code.
284
285 2004-03-09  Steve Ellcey  <sje@cup.hp.com>
286
287         * elfxx-ia64.c (plt_full_entry): Change ld8 to ld8.acq.
288
289 2004-03-05  Fred Fish  <fnf@redhat.com>
290
291         * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Just force
292         mips16 symbols to be even rather than testing first for even/odd.
293         (_bfd_mips_elf_link_output_symbol_hook): Ditto.
294
295 2004-03-05  Nathan Sidwell  <nathan@codesourcery.com>
296
297         * elf.c (map_sections_to_segments): Ignore .tbss sections for
298         layout purposes.
299
300 2004-03-03  Alexandre Oliva  <aoliva@redhat.com>
301
302         * elflink.c (bfd_elf_record_link_assignment): Mark undefweak and
303         undefined symbols as hash_new.
304
305 2003-03-03  Andrew Stubbs  <andrew.stubbs@superh.com>
306
307         * archures.c: Add bfd_mach_sh4_nommu_nofpu.
308         * cpu-sh.c: Ditto.
309         * elf32-sh.c: Ditto.
310         * bfd-in2.h: Regenerate.
311
312 2004-03-02  Alexandre Oliva  <aoliva@redhat.com>
313
314         * elf32-frv.c (struct frv_pic_relocs_info): Added fixups and
315         dynrelocs.
316         (_frv_count_got_plt_entries): Initialize them.
317         (frv_pic_relocs_info_find): Add insert argument.  Adjust all
318         callers.
319         (frv_pic_relocs_info_for_global): Likewise.
320         (frv_pic_relocs_info_for_local): Likewise.
321         (frv_pic_merge_early_relocs_info): New.
322         (_frv_resolve_final_relocs_info): Use it in case one entry maps to
323         another.
324         (_frv_add_dyn_reloc): Add entry argument.  Adjust all callers.
325         Check that we don't exceed the allocated count for entry.
326         (_frv_add_rofixup): Likewise.
327         (_frv_emit_got_relocs_plt_entries): Adjust for coding standards.
328         (elf32_frv_finish_dynamic_sections): Improve error message in case
329         we emit too few rofixup entries.
330
331 2004-03-01  Richard Sandiford  <rsandifo@redhat.com>
332
333         * archures.c (bfd_mach_fr450): New.
334         * bfd-in2.h: Regenerate.
335         * cpu-frv.c (arch_info_450): New bfd_arch_info_type.
336         (arch_info_500): Link to it.
337         * elf32-frv.c (elf32_frv_machine, frv_elf_merge_private_bfd_data)
338         (frv_elf_print_private_bfd_data): Handle fr405 and fr450 header flags.
339         (frv_elf_arch_extension_p): New function.
340         (frv_elf_merge_private_bfd_data): Use it.
341
342 2004-02-28  H.J. Lu  <hongjiu.lu@intel.com>
343
344         * elf-bfd.h (_bfd_elf_link_add_archive_symbols): New prototype.
345
346         * elflink.h (is_global_data_symbol_definition): Moved to
347         elflink.c.
348         (elf_link_is_defined_archive_symbol): Likewise.
349         (elf_link_add_archive_symbols): Likewise. Renamed to
350         _bfd_elf_link_add_archive_symbols.
351
352         * elflink.c (elf_link_is_defined_archive_symbol): Get the size
353         of ELF symbol table entry from backend.
354         (_bfd_elf_link_add_archive_symbols): Call bfd_link_add_symbols
355         instead of elf_link_add_object_symbols.
356
357 2004-02-27  Alexandre Oliva  <aoliva@redhat.com>
358
359         * elf-bfd.h (struct elf_backend_data): Added
360         elf_backend_can_make_relative_eh_frame,
361         elf_backend_can_make_lsda_relative_eh_frame and
362         elf_backend_encode_eh_address.
363         (_bfd_elf_encode_eh_address): Declare.
364         (_bfd_elf_can_make_relative): Declare.
365         * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use new
366         hooks to decide whether to attempt to make_relative and
367         make_lsda_relative.
368         (_bfd_elf_write_section_eh_frame_hdr): Call encode_eh_address.
369         (_bfd_elf_can_make_relative): New.
370         (_bfd_elf_encode_eh_address): New.
371         * elf32-frv.c (frv_elf_use_relative_eh_frame): New.
372         (frv_elf_encode_eh_address): New.
373         (elf_backend_can_make_relative_eh_frame): Define.
374         (elf_backend_can_make_lsda_relative_eh_frame): Define.
375         (elf_backend_encode_eh_address): Define.
376         * elfxx-target.h
377         (elf_backend_can_make_relative_eh_frame): Define.
378         (elf_backend_can_make_lsda_relative_eh_frame): Define.
379         (elf_backend_encode_eh_address): Define.
380         (elfNN_bed): Add them.
381
382 2004-02-27  Alexandre Oliva  <aoliva@redhat.com>
383
384         * elf32-frv.c (elf32_frv_howto_table) <R_FRV_LABEL16>: Set
385         complain_on_overflow to signed.
386
387 2004-02-27  H.J. Lu  <hongjiu.lu@intel.com>
388
389         * elflink.h (sort_symbol): New.
390         (elf_link_add_object_symbols): Use a sorted symbol array for
391         weakdef.
392
393 2004-02-27  Jakub Jelinek  <jakub@redhat.com>
394
395         * elf32-s390.c (allocate_dynrelocs): Use SYMBOL_REFERENCES_LOCAL
396         for pc relative relocs.
397         (elf_s390_relocate_section): Likewise.
398         * elf64-s390.c (allocate_dynrelocs): Use SYMBOL_REFERENCES_LOCAL
399         for pc relative relocs.
400         (elf_s390_relocate_section): Likewise.
401
402 2004-02-26  H.J. Lu  <hongjiu.lu@intel.com>
403
404         * elfxx-ia64.c (elfNN_ia64_check_relocs): Fix call to
405         count_dyn_reloc.
406
407 2004-02-25  H.J. Lu  <hongjiu.lu@intel.com>
408
409         * elfxx-ia64.c (elfNN_ia64_dyn_reloc_entry): Add the reltext.
410         field to track if a relocation is against readonly section.
411         (count_dyn_reloc): Take a new argument for rent->reltext.
412         (elfNN_ia64_check_relocs): Adjust call to count_dyn_reloc.
413         (get_reloc_section): Don't set ia64_info->reltext here.
414         (allocate_dynrel_entries): Set ia64_info->reltext here.
415
416 2004-02-24  Alexandre Oliva  <aoliva@redhat.com>
417
418         * elf32-frv.c (FRV_SYM_LOCAL): Weak undefined doesn't imply local.
419         (_frv_emit_got_relocs_plt_entries): Decay relocation to protected
420         function's descriptor to symbol+offset, and map local undefweak
421         symbol to NULL function descriptor.
422         (elf32_frv_relocate_section): Likewise.
423
424 2004-02-23  Mark Kettenis  <kettenis@gnu.org>
425
426         * libaout.h (enum machine_type): Add M_SPARC64_NETBSD and
427         M_X86_64_NETBSD.
428         * netbsd-core.c (M_SPARC64_OPENBSD): Define.
429         (netbsd_core_file_p): Set architecture from machine ID for
430         selected machines.
431
432 2004-02-23  Jakub Jelinek  <jakub@redhat.com>
433
434         * elflink.h (size_dynamic_sections): If not adding DT_FLAGS and
435         DF_BIND_NOW is set in info->flags, create DT_BIND_NOW dynamic entry.
436
437 2004-02-21  H.J. Lu  <hongjiu.lu@intel.com>
438
439         * elflink.c (_bfd_elf_merge_symbol): Properly handle undefined
440         symbols with non-default visibility.
441
442 2004-02-21  Danny Smith  <daanysmith@users.sourceforge.net>
443
444         * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Clear
445         IMAGE_SCN_MEM_WRITE on known sections only.
446
447 2004-02-20  Jakub Jelinek  <jakub@redhat.com>
448
449         * elf32-ppc.c (allocate_dynrelocs): Create dynsym for undef weak
450         symbols used in PIE relocs.
451
452 2004-02-19  Jakub Jelinek  <jakub@redhat.com>
453
454         * elf32-sparc.c (elf32_sparc_finish_dynamic_sections): Clear
455         .plt sh_entsize.
456
457 2004-02-18  Daniel Jacobowitz  <drow@mvista.com>
458
459         * configure.in: Update version to 2.15.90.
460         * configure: Regenerate.
461
462 2004-02-17  Daniel Jacobowitz  <drow@mvista.com>
463             Richard Sandiford  <rsandifo@redhat.com>
464
465         * elfxx-mips.c (mips_elf_calculate_relocation): Use
466         _bfd_elf_symbol_refs_local_p to decide whether to decay
467         a GOT_PAGE/GOT_OFST pair to GOT_DISP/addend.
468         (_bfd_mips_elf_check_relocs): Add a global GOT entry for GOT_PAGE
469         relocs if the symbol wasn't defined by a regular object file.
470         Don't check the symbol's dynindx.
471
472 2004-02-16  Andrew Cagney  <cagney@redhat.com>
473
474         * bfd-in.h (file_ptr, ufile_ptr): Configure type using
475         @bfd_file_ptr@.
476         * bfd-in2.h: Re-generate.
477
478 2004-02-14  Andrew Cagney  <cagney@redhat.com>
479
480         * configure.host (HDEFINES): When hppa*-*-hpux*, define
481         _LARGEFILE64_SOURCE.
482
483 2004-02-13  Andrew Cagney  <cagney@redhat.com>
484
485         * elf.c (vma_page_aligned_bias): New function.
486         (assign_file_positions_except_relocs)
487         (assign_file_positions_for_segments): Replace broken modulo
488         arithmetic with call to vma_page_aligned_bias.
489
490 2004-02-11  Andrew Cagney  <cagney@redhat.com>
491
492         * bfd-in.h: Update copyright.
493         (bfd_tell): Change return type to file_ptr.
494         * bfd-in2.h: Re-generate.
495         * cache.c: Update copyright.
496         (bfd_cache_lookup_worker): Use real_fseek, do not cast offset
497         parameter.
498         (close_one): Use real_ftell.
499         * bfdio.c: Update copyright.
500         (real_ftell, real_fseek): New functions.
501         (bfd_tell): Use real_fseek and real_ftell, change return type to
502         file_ptr.
503         (bfd_seek): Use real_ftell and real_fseek, change type of
504         file_position to a file_ptr.
505         * libbfd-in.h: Update copyright.
506         (real_ftell, real_fseek): Declare.
507         * libbfd.h: Re-generate.
508
509         * configure.in (AC_CHECK_FUNCS): Check for ftello, ftello64,
510         fseeko and fseeko64.  Determine bfd_file_ptr.
511         * configure: Re-generate.
512         * config.in: Re-generate.
513
514 2004-02-09  Anil Paranjpe  <anilp1@KPITCummins.com>
515
516         * coff-h8300.c: Added comments about relaxation for ldc.w and stc.w.
517         * elf32-h8300.c: Likewise.
518
519 2004-02-09  Christian Vogel <vogelchr@vogel.cx>
520             Nick Clifton  <nickc@redhat.com>
521
522         * elf64-alpha.c (elf64_alpha_calc_got_offsets_for_symbol): Catch
523         GOT entries with no associated GOT subsection.
524
525 2004-02-09  Richard Sandiford  <rsandifo@redhat.com>
526
527         * bfd-elf.h (elf_backend_name_local_section_symbols): New hook.
528         * elf.c (swap_out_syms): Use it to decide whether local section
529         symbols should be named.
530         * elfxx-target.h (elf_backend_name_local_section_symbols): New macro.
531         * elfxx-mips.h (_bfd_mips_elf_name_local_section_symbols): Declare.
532         (elf_backend_name_local_section_symbols): Define.
533         * elfxx-mips.c (_bfd_mips_elf_name_local_section_symbols): New.
534
535 2004-01-30  H.J. Lu  <hongjiu.lu@intel.com>
536
537         * elfxx-ia64.c (elfNN_ia64_relax_brl): New function.
538         (elfNN_ia64_relax_section): Optimize brl to br during the relax
539         finalize pass.
540
541 2004-01-30  Alexandre Oliva  <aoliva@redhat.com>
542
543         * elf32-frv.c (elf32_frv_always_size_sections): Initialize pointer
544         to bfd_link_hash_entry passed by reference to
545         _bfd_generic_link_add_one_symbol.
546
547 2004-01-25  H.J. Lu  <hongjiu.lu@intel.com>
548
549         * elfxx-ia64.c (elfNN_ia64_relocate_section): Disallow imm
550         relocations against dynamic symbols.
551
552 2004-01-23  Daniel Jacobowitz  <drow@mvista.com>
553
554         * elf32-arm.h (elf32_arm_check_relocs): Revert part of 2004-01-13
555         change.
556
557 2004-01-21  Tom Rix  <tcrix@worldnet.att.net>
558
559         * reloc.c: New 5 bit reloc, BFD_RELOC_M68HC12_5B, for m68hc12 movb/movw.
560         * bfd-in2.h, libbfd.h: Rebuilt.
561
562 2004-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
563
564         * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Don't remove
565         IMAGE_SCN_MEM_WRITE flag from .text section if WP_TEXT
566         flag has been cleared.
567
568 2004-01-19  Kazu Hirata  <kazu@cs.umass.edu>
569
570         * coff-h8300.c: Add and adjust comments about relaxation.
571         * elf32-h8300.c: Likewise.
572
573 2004-01-16  Kazu Hirata  <kazu@cs.umass.edu>
574
575         * coff-h8300.c: Fix comment typos.
576         * elf32-h8300.c: Likewise.
577
578 2004-01-16  Kazu Hirata  <kazu@cs.umass.edu>
579
580         * coff-h8300.c: Add comments about relaxation.
581         * elf32-h8300.c: Likewise.
582
583 2004-01-14  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
584
585         * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
586         throughout.
587         * aclocal.m4: Regenerate.
588         * configure: Regenerate.
589
590 2004-01-13  Ian Lance Taylor  <ian@wasabisystems.com>
591
592         * elf64-mips.c (mips_elf64_slurp_one_reloc_table): Call
593         mips_elf64_rtype_to_howto instead of using howto_table.
594
595 2004-01-13  Daniel Jacobowitz  <drow@mvista.com>
596
597         * elf32-arm.h (elf32_arm_final_link_relocate): Check that we created
598         the .plt section.
599         (elf32_arm_check_relocs): Don't increment the PLT refcount for
600         relocs which would not use the PLT.
601
602 2004-01-13  Alan Modra  <amodra@bigpond.net.au>
603
604         * elf64-ppc.c (ppc64_elf_check_relocs): Ignore !SEC_ALLOC relocs.
605         (ppc64_elf_gc_sweep_hook): Likewise.
606         (ppc64_elf_size_dynamic_sections): Test for .plt directly.
607
608 2004-01-12  Anil Paranjpe  <anilp1@KPITCummins.com>
609
610         Adds linker relaxation support for bit manipulation insns like
611         band, bclr, biand, bild, bior, bist, bixor, bld, bnot, bor, bset,
612         bst, btst, bxor.
613         * elf32-h8300.c: Opcode for bit manipulation insn is checked in
614         elf32_h8_relax_section function while relxation for aa:16 and aa:32.
615         * coff-h8300.c: Opcode for bit manipulation insn is checked in
616         h8300_reloc16_extra_cases function while relxation for aa:16 and aa:32.
617
618 2004-01-12  Alan Modra  <amodra@bigpond.net.au>
619
620         * dwarf2.c: Convert to C90, remove unneeded casts and prototypes.
621
622 2004-01-11  Kazu Hirata  <kazu@cs.umass.edu>
623
624         * elf32-h8300.c: Fix formatting.
625
626 2004-01-11  Kazu Hirata  <kazu@cs.umass.edu>
627
628         * elf32-cris.c (cris_elf_gc_sweep_hook): Return early if no
629         dynamic object is present.  Declare r_symndx and h in an inner
630         scope.
631         * elf32-vax.c (elf_vax_gc_sweep_hook): Likewise.
632
633 2004-01-09  Daniel Jacobowitz  <drow@mvista.com>
634
635         * elf32-arm.h (struct elf32_arm_relocs_copied): Remove pc_count.
636         (elf32_arm_copy_indirect_symbol): Don't copy pc_count.
637         (elf32_arm_final_link_relocate): Handle PLT32 and PC24 relocs
638         identically.  Do not emit PC24 relocations for shared libraries.
639         (elf32_arm_gc_sweep_hook): Handle PLT32 and PC24 relocs
640         identically.  Don't adjust pc_count.
641         (elf32_arm_check_relocs): Handle PLT32 and PC24 relocs identically.
642         Set ELF_LINK_HASH_NEEDS_PLT for both.  Don't adjust pc_count; don't
643         adjust count for branch relocations.
644         (allocate_dynrelocs): Correct typo in call to
645         WILL_CALL_FINISH_DYNAMIC_SYMBOL.  Never allocate space for
646         PC24 or PLT32 relocs when linking.
647
648 2004-01-09  Dmitry Semyonov  <Dmitry.Semyonov@oktet.ru>
649
650         * coff-arm.c (aoutarm_std_reloc_howto): [ARM_WINCE] Synchronize ARM_26D
651         relocation howto with ARM_26 one for consistency.
652         (coff_arm_relocate_section): Set partial_inplace for ARM_26 relocations
653         that will be converted to ARM_26D ones, since we always want 'done'
654         relocations to be reflected in section's data.
655         (coff_arm_relocate_section): [ARM_WINCE] Quick fix for BL instruction
656         offset.
657         (_bfd_final_link_relocate): Do not modify "inplace" data, if not
658         requested.
659
660 2004-01-08  Dmitry Semyonov  <Dmitry.Semyonov@oktet.ru>
661
662         * coff-arm.c (coff_arm_relocate_section): Do not alter relocs that
663         are not partial_inplace during a relocatable link.
664
665 2004-01-08  Kazu Hirata  <kazu@cs.umass.edu>
666
667         * elf32-m68k.c (elf_m68k_gc_sweep_hook): Return early
668         if no dynamic object is present.  Declare r_symndx and h in an
669         inner scope.
670
671 2004-01-07  H.J. Lu  <hongjiu.lu@intel.com>
672
673         * elfxx-ia64.c (elfNN_ia64_relax_section): Don't install
674         trampoline if it is known out of range.
675
676 2004-01-06  Alexandre Oliva  <aoliva@redhat.com>
677
678         2003-12-17  Alexandre Oliva  <aoliva@redhat.com>
679         * elf32-frv.c (_frv_osec_readonly_p): New.
680         (_frv_emit_got_relocs_plt_entries): Don't emit rofixup for
681         undefweak symbol.
682         (_frv_count_got_plt_entries): Adjust expected count accordingly.
683         (elf32_frv_relocate_section): Likewise.  Error out if attempting
684         to emit rofixups or dynamic relocs in read-only segments.  Use
685         _bfd_elf_section_offset to adjust r_offsets in rofixups and
686         dynamic relocations.
687         2003-12-12  Alexandre Oliva  <aoliva@redhat.com>
688         * elf32-frv.c (elf32_frv_relocate_section): Compute dynamic
689         relocations or fixups involving merged sections correctly.  Avoid
690         crash when undefined symbol is referenced by R_FRV_32 or
691         R_FRV_FUNCDESC_VALUE.
692         2003-12-02  Alexandre Oliva  <aoliva@redhat.com>
693         * elf32-frv.c (elf32_frv_relocate_section): Add output_offset of
694         input section holding local symbol to addend of R_FRV_32 or
695         R_FRV_FUNCDESC_VALUE dynamic relocation.
696         2003-11-27  Alexandre Oliva  <aoliva@redhat.com>
697         * elf32-frv.c (elf32_frv_modify_segment_map): Add link info arg.
698         (elf32_frv_always_size_sections): Don't store pointer to
699         __stacksize symbol in sec_info.
700         (elf32_frv_modify_segment_map): Look it up here.
701         2003-11-26  Alexandre Oliva  <aoliva@redhat.com>
702         * elf32-frv.c (_frv_emit_got_relocs_plt_entries): Emit the address
703         of the lazy PLT entry, not only its offset, as the low word of a
704         function descriptor.
705         2003-11-10  Alexandre Oliva  <aoliva@redhat.com>
706         * elf32-frv.c (elf32_frv_always_size_sections): Define __stacksize
707         if a hash table entry already exists but is not a definition.
708         2003-11-05  Alexandre Oliva  <aoliva@redhat.com>
709         * elf32-frv.c (frv_elf_link_hash_table_create): Use bfd_zalloc.
710         (_frv_add_rofixup): Don't inline.
711         (_frv_emit_got_relocs_plt_entries): Use NULL as funcdesc address
712         for undefweak symbols.
713         (elf32_frv_relocate_section): Avoid crash while computing
714         relocation when linking with shared library.  Only emit rofixups
715         and dynamic relocations for alloc&load sections.  Mark binaries
716         with inter-segment relocations for relocation as a unit.
717         (_frv_create_got_section): Rename .rofixup.got to .rofixup.
718         (DEFAULT_STACK_SIZE): New.
719         (_frv_count_got_plt_entries): Fix thinko in deciding whether to
720         emit rofixups or dynamic relocs when linking dynamic non-PIE
721         executables.
722         (elf32_frv_size_dynamic_sections): Generate rofixup on PIEs and
723         shared libs too.  Reserve the last entry for the GOT pointer.
724         (elf32_frv_finish_dynamic_sections): Emit it.
725         (elf32_frv_always_size_sections): New.
726         (elf32_frv_modify_segment_map): New.
727         (elf32_frv_check_relocs): Reserve relocs32 space only in ALLOC
728         sections.
729         (frv_elf_merge_private_bfd_data): Clear PIC bit if FDPIC is set.
730         (frv_elf_print_private_bfd_data): Handle FDPIC and LIBPIC.
731         (elf_backend_always_size_sections): New.
732         (elf_backend_modify_segment_map): New.
733         2003-10-31  Alexandre Oliva  <aoliva@redhat.com>
734         * config.bfd: Added frv-*-*linux*.
735         * elf32-frv.c (_frv_emit_got_relocs_plt_entries): Use idx 0 for
736         ABS section, instead of crashing.
737         (elf32_frv_relocate_section): Don't crash before warning about
738         different segments in non-PIC relocation.
739         2003-10-17  Alexandre Oliva  <aoliva@redhat.com>
740         * elf32-frv.c (elf32_frv_relocate_section): Don't warn on LABEL24
741         relocs to undefweak symbols.
742         (elf32_frv_relocate_section): Ditto for undefined symbols.
743         2003-10-06  Alexandre Oliva  <aoliva@redhat.com>
744         * elf32-frv.c (elf32_frv_create_dynamic_sections): Make sure
745         gotfixup section was created.
746         2003-09-30  Alexandre Oliva  <aoliva@redhat.com>
747         * elf32-frv.c (elf32_frv_howto_table): Change GOT12,
748         FUNCDESC_GOT12, GOTOFF12 and FUNCDESC_GOTOFF12 to
749         complain_overflow_signed.
750         * elf32-frv.c (_frv_add_rofixup): Do not error out if contents
751         have not been allocated.
752         (_frv_emit_got_relocs_plt_entries): Return non-void.  Assert
753         privfd only if dynamic sections were created.
754         (elf32_frv_relocate_section): Compute gprel_segment, and use it
755         for GPREL relocs.  When linking relocatable FDPIC executables,
756         emit warnings for relocations that would be illegal on PIE or
757         shared libraries.  Emit rofixup for R_FRV_32 only if input object
758         is not FDPIC.
759         (_frv_create_got_section): Define _gp symbol in the rofixup
760         section.
761         (elf32_frv_finish_dynamic_sections): If rofixups needed but
762         dynamic sections missing, error out requesting -melf32frvfd.
763         2003-09-19  Alexandre Oliva  <aoliva@redhat.com>
764         * elf32-frv.c (_frv_emit_got_relocs_plt_entries): Rearrange
765         computation of addends from section and global or local symbol
766         value.  Change return type to bfd_boolean, and return a failure if
767         a dynamic FUNCDESC or FUNCDESC_VALUE relocation that requires a
768         nonzero addend is required.
769         (elf32_frv_relocate_section): Likewise.  Print error for
770         unsupported nonzero addends.
771         2003-09-18  Alexandre Oliva  <aoliva@redhat.com>
772         * elf32-frv.c (FRV_SYM_LOCAL): In the absence of dynamic sections,
773         force everything local.
774         (_frv_emit_got_relocs_plt_entries): Cope with NULL sec.
775         * elf32-frv.c (struct frv_elf_link_hash_table): Added sgotfixup.
776         (frv_gotfixup_section): New.
777         (FRV_SYM_LOCAL): Accept undefweak and local common symbols.
778         (struct frv_pic_relocs_info): Split relocs into relocs32, relocsfd
779         and relocsfdv.
780         (_frv_add_rofixup): New.
781         (_frv_emit_got_relocs_plt_entries): Generate fixups for non-PIE
782         fdpic executables.  Use FRV_SYM_LOCAL more widely to simplify and
783         improve some ugly conditions.
784         (elf32_frv_relocate_section): Likewise.  Reject inter-segment
785         relocations in fdpic.
786         (_frv_create_got_section): Create .rofixup.got section.
787         (struct _frv_dynamic_got_info): Added fixups.
788         (_frv_count_got_plt_entries): Account in-GOT relocations into
789         relocs32, relocsfd and relocsfdv.  Account them into relocs or
790         fixups, as appropriate.
791         (elf32_frv_size_dynamic_sections): Size rofixup section.  Simplify
792         sizing of gotrel.
793         (elf32_frv_finish_dynamic_sections): Verify that the right number
794         of relocations and fixups was generated.
795         (elf32_frv_check_relocs): Compute relocs32, relocsfd and
796         relocsfdv.
797         * elf32-frv.c (FRV_SYM_LOCAL): New macro, used instead of
798         SYMBOL_CALLS_LOCAL and SYMBOL_REFERENCES_LOCAL.
799         (FRV_FUNCDESC_LOCAL): New macro, used to decide whether a function
800         descriptor of a (formerly-)global symbol is local.
801         (struct frv_pic_relocs_info): Adjust comments.
802         (_frv_emit_got_relocs_plt_entries): Adjust.
803         (elf32_frv_relocate_section): Likewise.
804         (_frv_count_got_plt_entries): Likewise.
805         * elf32-frv.c (_frv_emit_got_relocs_plt_entries): Don't add global
806         symbol's value to addend in the common preamble.  Decay dynamic
807         symbols to section+offset if they bind or call locally, for GOT
808         and FUNCDESC_VALUE, respectively.
809         (elf32_frv_relocate_section): Likewise.
810         (elf32_frv_check_relocs): Don't register as dynamic symbols of
811         internal or hidden visibility.
812         2003-09-17  Alexandre Oliva  <aoliva@redhat.com>
813         * elf32-frv.c (_frv_emit_got_relocs_plt_entries): Get addend as
814         argument, so as to not call _bfd_elf_rel_local_sym to compute it.
815         (elf32_frv_relocate_section): Pass relocation addend in.  Use
816         original relocation addend to look up the got relocs/plt entries
817         table.  Do not call _bfd_elf_rel_local_sym.  Don't error out when
818         processing relocations that reference .scommon symbols.
819         2003-09-15  Alexandre Oliva  <aoliva@redhat.com>
820         Introduce support for dynamic linking.
821         * elf32-frv.c (R_FRV_FUNCDESC_VALUE): Mark it as 64 bits.
822         (elf32_frv_rel_32_howto, elf32_frv_rel_funcdesc_howto,
823         elf32_frv_rel_funcdesc_value_howto): New REL descriptors.
824         (frv_reloc_type_lookup): Return REL howtos for executables and
825         dynamic libraries.
826         (frv_info_to_howto_rel): New.
827         (struct frv_elf_link_hash_table): New.
828         (frv_hash_table, frv_got_section, frv_gotrel_section,
829         frv_plt_section, frv_pltrel_section, frv_relocs_info,
830         frv_got_initial_offset, frv_plt_initial_offset): New macros.
831         (frv_elf_link_hash_table_create): New.
832         (struct frv_pic_relocs_info): New.
833         (frv_pic_relocs_info_hash, frv_pic_relocs_info_eq): New.
834         (frv_pic_relocs_info_find): New.
835         (frv_pic_relocs_info_for_global, frv_pic_relocs_info_for_local):
836         New.
837         (FRV_LZPLT_BLOCK_SIZE, FRV_LZPLT_RESOLVE_LOC): New.
838         (_frv_add_dyn_reloc, _frv_osec_to_segment): New.
839         (_frv_emit_got_relocs_plt_entries): New.
840         (elf32_frv_relocate_section): Add support for dynamic linking.
841         Handle new relocations.
842         (_frv_create_got_section): New.
843         (elf32_frv_create_dynamic_sections): New.
844         (ELF_DYNAMIC_INTERPRETER): New.
845         (struct _frv_dynamic_got_info): New.
846         (_frv_count_got_plt_entries): New.
847         (struct _frv_dynamic_got_plt_info): New.
848         (_frv_compute_got_alloc_data): New.
849         (_frv_get_got_entry, _frv_get_fd_entry): New.
850         (_frv_assign_got_entries, _frv_assign_plt_entries): New.
851         (_frv_resolve_final_relocs_info): New.
852         (elf32_frv_size_dynamic_sections): New.
853         (elf32_frv_finish_dynamic_sections): New.
854         (elf32_frv_adjust_dynamic_symbol): New.
855         (elf32_frv_finish_dynamic_symbol): New.
856         (elf32_frv_check_relocs): Handle new relocs.  Explain how the
857         whole thing works.
858         (elf_info_to_howto_rel): Define.
859         (bfd_elf32_bfd_link_hash_table_create): Define.
860         (elf_backend_create_dynamic_sections): Define.
861         (elf_backend_adjust_dynamic_symbol): Define.
862         (elf_backend_size_dynamic_sections): Define.
863         (elf_backend_finish_dynamic_symbol): Define.
864         (elf_backend_finish_dynamic_sections): Define.
865         (elf_backend_want_got_sym): Define.
866         (elf_backend_got_header_size): Define.
867         (elf_backend_want_got_plt): Define.
868         (elf_backend_plt_readonly): Define.
869         (elf_backend_want_plt_sym): Define.
870         (elf_backend_plt_header_size): Define.
871         (elf_backend_may_use_rel_p): Define.
872         (elf_backend_may_use_rela_p): Define.
873         (elf_backend_default_use_rela_p): Define.
874         2003-08-08  Alexandre Oliva  <aoliva@redhat.com>
875         * elf32-frv.c (R_FRV_FUNCDESC_VALUE, R_FRV_FUNCDESC_GOTOFF12,
876         R_FRV_FUNCDESC_GOTOFFHI, R_FRV_FUNCDESC_GOTOFFLO, R_FRV_GOTOFF12,
877         R_FRV_GOTOFFHI, R_FRV_GOTOFFLO): New.
878         (frv_reloc_map): Map the corresponding BFD relocs to them.
879         (frv_reloc_type_lookup): ... and back to BFD relocs.
880         * reloc.c: New relocs.
881         * bfd-in2.h, libbfd.h: Rebuilt.
882         2003-08-04  Alexandre Oliva  <aoliva@redhat.com>
883         * elf32-frv.c (R_FRV_GOT12, R_FRV_GOTHI, R_FRV_GOTLO,
884         R_FRV_FUNCDESC, R_FRV_FUNCDESC_GOT12, R_FRV_FUNCDESC_GOTHI,
885         R_FRV_FUNCDESC_GOTLO): New.
886         (frv_reloc_map): Map the corresponding BFD relocs to them.
887         (frv_reloc_type_lookup): ... and back to BFD relocs.
888         * reloc.c: New relocs.
889         * bfd-in2.h, libbfd.h: Rebuilt.
890
891 2004-01-05  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
892
893         * elf32-mips.c (ELF_MAXPAGESIZE): Redefine for traditional
894         targets to support pages of up to 64kB.
895         (elf32_bed): Redefine to get a separate backend data structure for
896         traditional targets.
897         * elf64-mips.c (ELF_MAXPAGESIZE): Redefine for traditional
898         targets to support pages of up to 64kB.
899         (elf64_bed): Redefine to get a separate backend data structure for
900         traditional targets.
901         * elfn32-mips.c (ELF_MAXPAGESIZE): Redefine for traditional
902         targets to support pages of up to 64kB.
903         (elf32_bed): Redefine to get a separate backend data structure for
904         traditional targets.
905
906 2004-01-04  Mark Kettenis  <kettenis@gnu.org>
907
908         * elf32-sparc.c (elf32_sparc_grok_psinfo): New function.
909
910 2004-01-02  Mark Kettenis  <kettenis@gnu.org>
911
912         * elf32-i386.c (elf_i386_grok_prstatus): Add support for FreeBSD.
913         (elf_i386_grok_psinfo): Likewise.
914
915 2004-01-02  Bernardo Innocenti  <bernie@develer.com>
916
917         * config.bfd: Add m68k-uClinux target.
918
919 2004-01-01  Grant Edwards <grante@visi.com>
920
921         * elflink.h (elf_gc_sections): Warn when gc-sections option is ignored.
922         * elf32-h8300.c (elf32_h8_gc_mark_hook): New function.
923         (elf32_h8_gc_sweep_hook): New function.
924         (elf_backend_gc_mark_hook): Define.
925         (elf_backend_gc_sweep_hook): Define.
926         (elf_backend_can_gc_sections): Define.
927
928 For older changes see ChangeLog-0203
929 \f
930 Local Variables:
931 mode: change-log
932 left-margin: 8
933 fill-column: 74
934 version-control: never
935 End: