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