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