2004-05-05 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
06fc8a8c
NC
12004-05-05 Nick Clifton <nickc@redhat.com>
2
3 PR/136
4 * cache.c (bfd_cache_lookup_worker): Call abort() rather than
5 returning NULL as most users of this function do not check its
6 return value.
7
82004-05-05 Nick Clifton <nickc@redhat.com>
9
10 * cache.c (bfd_cache_lookup): Improve formatting.
11 * archive.c: Fix formatting.
12
6b6e92f4
NC
132004-05-05 Peter Barada <peter@the-baradas.com>
14
15 * bfd_archures.c(bfd_architecture): Add 521x,5249,547x,548x.
16 * cpu-m68k.c(bfd_m68k_arch): Likewise.
17 * bfd-in2.h(bfd_architecture): Regenerate.
18
6a8d1586
AM
192004-05-03 Alan Modra <amodra@bigpond.net.au>
20
21 * elf.c (_bfd_elf_rela_local_sym): Set kept_section for excluded
22 SEC_MERGE sections.
23 * elflink.c (elf_link_input_bfd): Adjust output reloc index for
24 those against discarded link-once and SEC_MERGE section symbols.
25
fafe6678
L
262004-05-02 H.J. Lu <hongjiu.lu@intel.com>
27
28 * section.c (bfd_get_section_by_name_if): New.
29 * bfd-in2.h: Regenerated.
30
ad7b9a36
AM
312004-05-02 Alan Modra <amodra@bigpond.net.au>
32
33 * som.c (som_bfd_is_group_section): Define.
34
73499ab8
AM
352004-05-01 Alan Modra <amodra@bigpond.net.au>
36
37 * section.c (bfd_make_section_anyway): Copy the whole
38 bfd_hash_entry, not just "next" from existing entry.
39
45c5e9ed
L
402004-04-30 H.J. Lu <hongjiu.lu@intel.com>
41
42 * elf.c (bfd_section_from_shdr): Maintain the section order in
43 a section group.
44 (special_sections): Add ".note.GNU-stack".
45 (elf_fake_sections): Handle section group for relocatable
46 link..
47
bc87dd2e
L
482004-04-30 H.J. Lu <hongjiu.lu@intel.com>
49
50 * section.c (bfd_sections_find_if): New.
51 * bfd-in2.h: Regenerated.
52
72adc230
AM
532004-04-30 Alan Modra <amodra@bigpond.net.au>
54
55 * section.c (bfd_make_section_anyway): Add all sections to hash tab.
56
57 * elf-bfd.h (bfd_elf_is_group_section): Declare.
58 * elf.c (bfd_elf_is_group_section): New function.
59 * elfxx-target.h (bfd_elfNN_bfd_is_group_section
60 * section.c (bfd_generic_is_group_section): New function.
61 * targets.c (struct bfd_target): Add _bfd_is_group_section field.
62 (BFD_JUMP_TABLE_LINK): Adjust.
63 * aout-adobe.c (aout_32_bfd_is_group_section): Define.
64 * aout-target.h (MY_bfd_is_group_section): Define.
65 * aout-tic30.c (MY_bfd_is_group_section): Define.
66 * bfd.c (bfd_is_group_section): Define.
67 * binary.c (binary_bfd_is_group_section): Define.
68 * bout.c (b_out_bfd_is_group_section): Define.
69 * coff-alpha.c (_bfd_ecoff_bfd_is_group_section): Define.
70 * coff-mips.c (_bfd_ecoff_bfd_is_group_section): Define.
71 * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Adjust.
72 * coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Adjust.
73 * coffcode.h (coff_bfd_is_group_section): Define.
74 * i386msdos.c (msdos_bfd_is_group_section): Define.
75 * i386os9k.c (os9k_bfd_is_group_section): Define.
76 * ieee.c (ieee_bfd_is_group_section): Define.
77 * ihex.c (ihex_bfd_is_group_section): Define.
78 * libbfd-in.h (_bfd_nolink_bfd_is_group_section): Define.
79 * mach-o.c (bfd_mach_o_bfd_is_group_section): Define.
80 * mmo.c (mmo_bfd_is_group_section): Define.
81 * nlm-target.h (nlm_bfd_is_group_section): Define.
82 * oasys.c (oasys_bfd_is_group_section): Define.
83 * pef.c (bfd_pef_bfd_is_group_section): Define.
84 * ppcboot.c (ppcboot_bfd_is_group_section): Define.
85 * srec.c (srec_bfd_is_group_section): Define.
86 * tekhex.c (tekhex_bfd_is_group_section): Define.
87 * versados.c (versados_bfd_is_group_section): Define.
88 * vms.c (vms_bfd_is_group_section): Define.
89 * xsym.c (bfd_sym_bfd_is_group_section): Define.
90 * bfd-in2.h: Regenerate.
91 * libbfd.h: Regenerate.
92
20f0a1ad
AM
932004-04-30 Alan Modra <amodra@bigpond.net.au>
94
95 * elflink.c (elf_gc_mark): Follow indirect and warning syms.
96
f7458fc9 972004-04-30 Hans-Peter Nilsson <hp@axis.com>
7dfb3b6b
HPN
98
99 * configure.in: Update version to 2.15.91.
100 * configure: Regenerate.
101
8a7140c3
NC
1022004-04-29 Brian Ford <ford@vss.fsi.com>
103
104 * bfd.c (bfd_get_sign_extend_vma): Add pe[i]-i386 case to DJGPP hack.
105 * coffcode.h (DOT_DEBUG, GNU_LINKONCE_WI): Define.
106 [!COFF_WITH_PE] (sec_to_styp_flags, styp_to_sec_flags): Use them.
107 (coff_compute_section_file_positions) [RS6000COFF_C]: Likewise.
108 [COFF_WITH_PE] (sec_to_styp_flags): Handle DWARF 2/3 .debug* and
109 .gnu.linkonce.wi. sections.
110 * pe-i386.c (COFF_SUPPORT_GNU_LINKONCE): Define.
111 (COFF_SECTION_ALIGNMENT_ENTRIES): Add entries for .debug and
112 .gnu.linkonce.wi..
113 * pei-i386.c (COFF_SUPPORT_GNU_LINKONCE): Likewise.
114 (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise.
115
3e722fb5
CD
1162004-04-28 Chris Demetriou <cgd@broadcom.com>
117
118 * reloc.c: Remove BFD_RELOC_PCREL_HI16_S and BFD_RELOC_PCREL_LO16.
119 * bfd-in2.h: Regenerate.
120 * libbfd.h: Likewise.
121
351e2b5a
DA
1222004-04-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
123
124 * som.c (struct som_misc_symbol_info): Add is_comdat, is_common and
125 dup_common fields.
126 (setup_sections): Use som_subspace_dictionary_record struct instead
127 subspace_dictionary_record. Set SEC_LINK_ONCE if subspace is
128 is_comdat, is_common or dup_common.
129 (som_prep_headers): Use som_subspace_dictionary_record struct. Set
130 is_comdat, is_common and dup_common in section subspace_dict from
131 copy_data.
132 (som_begin_writing): Use som_subspace_dictionary_record struct.
133 (som_finish_writing): Likewise.
134 (som_bfd_derive_misc_symbol_info): Add support to set is_comdat,
135 is_common and dup_common flags in info for symbol. Add comment
136 regarding linker support for these fields. Slightly reorganize
137 function.
138 (som_build_and_write_symbol_table): Set is_comdat, is_common and
139 dup_common fields in symbol table from symbol info.
140 (bfd_som_set_subsection_attributes): Add comdat, common and dup_common
141 arguments. Set corresponding fields in copy_data. Change all callers.
142 (som_bfd_ar_write_symbol_stuff): Set dup_common flag in library
143 symbol table.
144 (som_vec): Add SEC_LINK_ONCE to applicable section flags.
145 * som.h (som_subspace_dictionary_record): Define.
146 (som_copyable_section_data_struct): Add is_comdat, is_common and
147 dup_common fields.
148 (som_section_data_struct): Use som_subspace_dictionary_record struct
149 instead of subspace_dictionary_record.
150 (bfd_boolean bfd_som_set_subsection_attributes): Adjust prototype.
151
3ba3bc8c
BW
1522004-04-27 Bob Wilson <bob.wilson@acm.org>
153
154 * elf32-xtensa.c (xtensa_read_table_entries): Use section _cooked_size
155 if set. Check reloc_done flag before applying relocations. Use
156 output addresses, both when applying relocations and when comparing
157 against the specified section.
158 (elf_xtensa_relocate_section): Use output address to check if dynamic
159 reloc is in a literal pool. Set section's reloc_done flag.
160
beb8df56
L
1612004-04-27 H.J. Lu <hongjiu.lu@intel.com>
162
163 * elf32-sh64.c (elf_backend_section_flags): New. Defined.
164 (sh64_elf_set_mach_from_flags): Remove the kludge for .cranges
165 section.
166 (sh64_elf_section_flags): New. Set SEC_DEBUGGING for .cranges
167 section.
168
1829f4b2
AM
1692004-04-27 Alan Modra <amodra@bigpond.net.au>
170
171 * elf64-alpha.c (elf64_alpha_read_ecoff_info): Don't assign
172 structure field removed in 2004-04-24 patch.
173 * elf64-sparc.c (sparc64_elf_plt_sym_val): Warning fix.
174
175 * elf-bfd.h (struct elf_backend_data <elf_backend_section_flags>):
176 Constify hdr arg.
177 * elf32-arm.h (elf32_arm_section_flags): Likewise.
178 * elf64-alpha.c (elf64_alpha_section_flags): Likewise.
179 * elfxx-ia64.c (elfNN_ia64_section_flags): Likewise.
180 * elf.c (_bfd_elf_make_section_from_shdr): Set the bfd_section
181 field before calling elf_backend_section_flags.
182
4030e8f6
CD
1832004-04-24 Chris Demetriou <cgd@broadcom.com>
184
185 * elf32-mips.c (elf_mips_gnu_rel_hi16, elf_mips_gnu_rel_lo16)
186 (elf_mips_gnu_pcrel64, elf_mips_gnu_pcrel32): Remove.
187 (bfd_elf32_bfd_reloc_type_lookup): Remove cases for
188 BFD_RELOC_PCREL_HI16_S, BFD_RELOC_PCREL_LO16, BFD_RELOC_64_PCREL,
189 and BFD_RELOC_32_PCREL.
190 (mips_elf32_rtype_to_howto): Remove cases for R_MIPS_GNU_REL_HI16,
191 R_MIPS_GNU_REL_LO16, R_MIPS_PC64, R_MIPS_PC32.
192 * elfxx-mips.c (mips_elf_calculate_relocation): Likewise.
193 (_bfd_mips_elf_lo16_reloc): Remove handling for R_MIPS_GNU_REL_HI16.
194 (mips_elf_next_relocation): Move comment about matching HI/LO
195 relocations to...
196 (_bfd_mips_elf_relocate_section): Here. Remove handling for
197 R_MIPS_GNU_REL_HI16.
198
3e27568f
CD
1992004-04-23 Chris Demetriou <cgd@broadcom.com>
200
201 * coff-mips.c (mips_relhi_reloc, mips_rello_reloc)
202 (mips_switch_reloc, mips_read_relocs, mips_relax_section)
203 (mips_relax_pcrel16, PCREL16_EXPANSION_ADJUSTMENT): Remove.
204 (mips_relocate_hi): Remove now-unused 'adjust' and 'pcrel' arguments,
205 and update comments to reflect current usage.
206 (mips_howto_table): Remove entries for MIPS_R_RELHI, MIPS_R_RELLO,
207 and MIPS_R_SWITCH, as well as several empty entries. Update comment
208 for MIPS_R_PCREL16.
209 (mips_ecoff_swap_reloc_in, mips_ecoff_swap_reloc_out)
210 (mips_adjust_reloc_out, mips_bfd_reloc_type_lookup): Remove support
211 for MIPS_R_SWITCH, MIPS_R_RELLO, and MIPS_R_RELHI relocations.
212 (mips_adjust_reloc_in): Likewise, adjust maximum accepted relocation
213 type number to be MIPS_R_PCREL16.
214 (mips_relocate_section): Remove support for link-time relaxation
215 of branches used by embedded-PIC. Remove support for MIPS_R_SWITCH,
216 MIPS_R_RELLO, and MIPS_R_RELHI relocations.
217 (_bfd_ecoff_bfd_relax_section): Redefine to bfd_generic_relax_section.
218 * ecoff.c (ecoff_indirect_link_order): Remove support for link-time
219 relaxation of branches used by embedded-PIC.
220 * ecofflink.c (bfd_ecoff_debug_accumulate): Likewise.
221 * libecoff.h (struct ecoff_section_tdata): Remove embedded-PIC
222 related members, update comment.
223 * pe-mips.c: Remove disabled (commented-out and #if 0'd)
224 code related to embedded-PIC.
225 * elfxx-mips.c (_bfd_mips_elf_read_ecoff_info): Remove
226 initialization of now-removed 'adjust' member of
227 'struct ecoff_debug_info'.
228
b32de0bc 2292004-04-23 Chris Demetriou <cgd@broadcom.com>
8472310d
CD
230
231 * elfxx-mips.c (mips_elf_get_global_gotsym_index): Remove.
232
955af222
PB
2332004-04-21 Philip Blundell <pb@nexus.co.uk>
234
235 * elf32-arm.h (elf32_arm_check_relocs): Don't output REL32
236 relocs for locally defined symbols during -shared final link.
237 (elf32_arm_final_link_relocate): Likewise.
238
47a9f7b3
JJ
2392004-04-22 Jakub Jelinek <jakub@redhat.com>
240
241 * elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Copy also
242 ELF_LINK_POINTER_EQUALITY_NEEDED.
243 (elf64_x86_64_check_relocs): Set ELF_LINK_POINTER_EQUALITY_NEEDED
244 if r_type is not R_X86_64_PC32.
245 (elf64_x86_64_finish_dynamic_symbol): If
246 ELF_LINK_POINTER_EQUALITY_NEEDED is not set, clear st_value of
247 SHN_UNDEF symbols.
248
1f1799d5
KK
2492004-04-22 Kaz Kojima <kkojima@rr.iij4u.or.jp>
250
251 * elf32-sh.c (sh_elf_plt_sym_val): New function.
252 (elf_backend_plt_sym_val): Define.
253
0fdea5ce
AC
2542004-04-22 Andrew Cagney <cagney@redhat.com>
255
256 * opncls.c (bfd_alloc): Fix type of "wanted" in doco.
257
5198ba8b
DA
2582004-04-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
259
260 * hpux-core.c (hpux_core_core_file_p): Add cast in call to
261 make_bfd_asection.
262 * som.c (som_set_section_contents): Constantify second argument.
263 (hppa_som_gen_reloc_type): Abort for unsupported selectors.
264 (som_object_setup): Rework to avoid warning.
265 (setup_sections, som_write_fixups, bfd_section_from_som_symbol):
266 Likewise.
267
fe2e161a
AC
2682004-04-22 Andrew Cagney <cagney@redhat.com>
269
270 * cache.c (bfd_cache_close): Check for a previously closed file.
271
4c45e5c9
JJ
2722004-04-22 Jakub Jelinek <jakub@redhat.com>
273
274 * bfd.c (bfd_get_synthetic_symtab): Define.
275 * targets.c (BFD_JUMP_TABLE_DYNAMIC): Add
276 NAME##_get_synthetic_symtab.
277 (struct bfd_target): Add _bfd_get_synthetic_symtab.
278 * libbfd-in.h (_bfd_nodynamic_get_synthetic_symtab): Define.
279 * elf-bfd.h (struct elf_backend_data): Add plt_sym_val and
280 relplt_name fields.
281 (_bfd_elf_get_synthetic_symtab): New prototype.
282 * elfcode.h (elf_get_synthetic_symtab): Define.
283 * elf.c (_bfd_elf_get_synthetic_symtab): New function.
284 * elfxx-target.h (bfd_elfNN_get_synthetic_symtab): Define.
285 (elf_backend_plt_sym_val, elf_backend_relplt_name): Define.
286 (elfNN_bed): Add elf_backend_plt_sym_val and elf_backend_relplt_name.
287 * bfd-in2.h: Rebuilt.
288 * libbfd.h: Rebuilt.
289 * elf32-i386.c (elf_i386_plt_sym_val): New function.
290 (elf_backend_plt_sym_val): Define.
291 * elf64-x86-64.c (elf64_x86_64_plt_sym_val): New function.
292 (elf_backend_plt_sym_val): Define.
293 * elf32-s390.c (elf_s390_plt_sym_val): New function.
294 (elf_backend_plt_sym_val): Define.
295 * elf64-s390.c (elf_s390_plt_sym_val): New function.
296 (elf_backend_plt_sym_val): Define.
297 * elf32-sparc (elf32_sparc_plt_sym_val): New function.
298 (elf_backend_plt_sym_val): Define.
299 * elf64-sparc.c (sparc64_elf_plt_sym_val): New function.
300 (elf_backend_plt_sym_val): Define.
301 * elf32-ppc.c (ppc_elf_plt_sym_val): New function.
302 (elf_backend_plt_sym_val): Define.
303 * aout-target.h (MY_get_synthetic_symtab): Define.
304 * aout-tic30.c (MY_get_synthetic_symtab): Define.
305 * coff-rs6000.c (rs6000coff_vec): Add
306 _bfd_nodynamic_get_synthetic_symtab.
307 (pmac_xcoff_vec): Likewise.
308 * coff64-rs6000.c (rs6000coff64_vec): Add
309 _bfd_nodynamic_get_synthetic_symtab.
310 (aix5coff64_vec): Likewise.
311 * sunos.c (MY_get_synthetic_symtab): Define.
312 * vms.c (vms_get_synthetic_symtab): Define.
313
d2f7ecac
NC
3142004-04-22 Nick Clifton <nickc@redhat.com>
315
316 * bfd.c (bfd_archive_filename): Return NULL on NULL input.
317
fd99574b
NC
3182004-04-22 Peter Barada <peter@the-baradas.com>
319
320 * archures.c: Add bfd_mach_mcfv4e to bfd_architecture.
321 * bfd2-in.h: Regenerate.
322 * cpu-m68k.c: Add 'm68k:mcfv4e' to arch_info_struct[].
323
23867d67
CD
3242004-04-21 Chris Demetriou <cgd@broadcom.com>
325
326 * coff-mips.c (bfd_mips_ecoff_create_embedded_relocs): Remove.
327 * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Remove.
328 * bfd-in.h (bfd_mips_ecoff_create_embedded_relocs)
329 (bfd_mips_elf32_create_embedded_relocs): Remove prototypes
330 * bfd-in2.h: Regenerate.
331
2c8c90bc
BW
3322004-04-21 Bob Wilson <bob.wilson@acm.org>
333
334 * elf32-xtensa.c (is_same_value): Add final_static_link argument and
335 require relocations against a weak symbol to reference the same
336 symbol hash entry if not a final, static link.
337 (get_cached_value, add_value_map): Add final_static_link argument.
338 (remove_literals): Pass final_static_link argument as needed.
339
40838a72
AC
3402004-04-21 Andrew Cagney <cagney@redhat.com>
341
342 * opncls.c (_bfd_new_bfd_contained_in): Copy "iovec".
343 (struct opncls, opncls_btell, opncls_bseek, opncls_bread)
344 (opncls_bwrite, opncls_bclose, opncls_bflush)
345 (opncls_bstat, opncls_iovec, bfd_openr_iovec): Implement a
346 bfd iovec that uses function callbacks.
347 (bfd_close): Use the iovec's bclose.
348 * cache.c (cache_btell, cache_bseek, cache_bread, cache_bwrite)
349 (cache_bclose, cache_bflush, cache_bstat)
350 (cache_iovec): New functions and global variable, implement a
351 cache "iovec", where applicable set bfd_error.
352 (bfd_cache_init, bfd_cache_close): Set/test the bfd's iovec.
353 * bfdio.c (struct bfd_iovec): Define.
354 (real_read): Delete function.
355 (bfd_bread, bfd_bread, bfd_bwrite, bfd_tell, bfd_flush, bfd_stat)
356 (bfd_seek, bfd_get_mtime, bfd_get_size): Use the bfd's "iovec",
357 assume that bread and bwrite set bfd_error.
358 * bfd.c (struct bfd): Add "iovec", update comments.
359 * bfd-in2.h, libbfd.h: Re-generate.
360
7f919c84
AC
3612004-04-21 Andrew Cagney <cagney@redhat.com>
362
363 * libaout.h (enum machine_type): Add M_POWERPC_NETBSD.
364
715df9b8
EB
3652004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
366
367 * elflink.c (elf_gc_mark_dynamic_ref_symbol): New function.
368 (bfd_elf_gc_sections): Fail if a shared object is being created.
369 Do not fail if dynamic sections have been created. Instead call
370 elf_gc_mark_dynamic_ref_symbol to mark sections that contain
371 dynamically referenced symbols. Do not mark the whole graph
372 rooted at .eh_frame, only the section proper.
373
6482c264
NC
3742004-04-20 DJ Delorie <dj@redhat.com>
375
376 * reloc.c: Add BFD_RELOC_32_SECREL.
377 * bfd-in2.h: Regenerate.
378 * libbfd.h: Likewise.
379 * coff-i386.c (howto_table) [COFF_WITH_PE]: Add R_SECREL32.
380 (coff_i386_rtype_to_howto) [COFF_WITH_PE]: Handle it.
381 (coff_i386_reloc_type_lookup) [COFF_WITH_PE]: Likewise.
382
4dc570c2
JJ
3832004-04-19 Jakub Jelinek <jakub@redhat.com>
384
385 * elf32-sparc.c (elf32_sparc_relocate_section): Handle
386 relocs against hidden/protected undefweak symbols properly.
387 * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
388
0b60d5d3
MK
3892004-04-18 Mark Kettenis <kettenis@gnu.org>
390
391 * libaout.h (enum machine_type): Add M_POWERPC_NETBSD.
392 * netbsd-core.c (netbsd_core_file_p): Set architecture for PowerPC
393 core files.
394
d48bdb99
AM
3952004-04-17 Brian Ford <ford@vss.fsi.com>
396
397 * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Use the first non-zero
398 filepos for the SizeOfHeaders field.
399 (_bfd_XXi_swap_scnhdr_out): Correct section flags lossage on reloc
400 overflow.
401 (_bfd_XXi_swap_sym_in): Remove redundant section flags assignment.
402
57a1784e
AM
4032004-04-16 Alan Modra <amodra@bigpond.net.au>
404
405 * simple.c (bfd_simple_get_relocated_section_contents): Don't
406 change reloc_done. Set and restore _cooked_size.
407 (RETURN): Delete.
408
d1ad3f6f
MK
4092004-04-15 Mark Kettenis <kettenis@gnu.org>
410
411 * netbsd-core.c (netbsd_core_file_p): Set architecture for VAX
412 core files.
413
3d1bca9d
NC
4142004-04-15 Nick Clifton <nickc@redhat.com>
415
416 * bfd.c (bfd_archive_filename): Catch NULL bfd pointers.
417
019b892f
AM
4182004-04-15 Alan Modra <amodra@bigpond.net.au>
419
420 * elf64-sparc.c (sparc64_elf_check_relocs): Fix thinko last change.
421
15b43f48
AM
4222004-04-15 H.J. Lu <hongjiu.lu@intel.com>
423
424 * elflink.c (_bfd_elf_merge_symbol): Treat weak as strong only
425 when it is a definition.
426
6de00a78
AM
4272004-04-14 Alan Modra <amodra@bigpond.net.au>
428
429 * elf32-sparc.c (elf32_sparc_relocate_section): Don't abort
430 when statically linking PIC code.
431 * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
432
279500de
TS
4332004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
434
435 * config.bfd: Remove mips*-*-mach3* and mips*-dec-mach3* targets.
436 * configure.in: Remove mips-dec-bsd*, mips-dec-mach3*, mips-*-mach3*
437 targets amd aout_mips_big_vec, aout_mips_little_vec target vectors.
438 * configure: Regenerate.
439
ccf2f652
RS
4402004-04-08 Richard Sandiford <rsandifo@redhat.com>
441
442 * elflink.c: Include libiberty.h.
443 * Makefile.am (elflink.lo): Depend on libiberty.h.
444 * Makefile.in: Regenerate.
445
ca07892d
DJ
4462004-04-06 Daniel Jacobowitz <drow@mvista.com>
447
448 * elfxx-mips.c (MIPS_ELF_STUB_SECTION_NAME): Always use
449 ".MIPS.stubs".
450
a5a58ba4
L
4512004-04-05 H.J. Lu <hongjiu.lu@intel.com>
452
453 * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Always
454 reserve the memory for dynamic linker
455
24d18d30
MK
4562004-04-05 Mark Kettenis <kettenis@gnu.org>
457
458 * netbsd-core.c (CORE_WCOOKIE_OFFSET): New define.
459 (netbsd_core_file_p): Create a .wcookie section for OpenBSD/sparc.
460
a4d7b4b5
L
4612004-04-02 H.J. Lu <hongjiu.lu@intel.com>
462
463 * elf32-cr16c.c (elf32_cr16c_relocate_section): Use
464 RELOC_FOR_GLOBAL_SYMBOL.
465 (elf32_cr16c_add_symbol_hook): Remove const from Elf_Internal_Sym.
466
1f433d93
L
4672004-04-02 H.J. Lu <hongjiu.lu@intel.com>
468
469 * elf32-arm.h (elf32_arm_final_link_relocate): Handle
470 R_ARM_ALU* only if OLD_ARM_ABI is not defined.
471
e489d0ae
PB
4722004-04-01 Paul Brook <paul@codesourcery.com>
473
474 * bfd-in.h (bfd_elf32_arm_process_before_allocation): Update.
475 * elf32-arm.h (struct elf32_elf_section_map): New.
476 (struct _arm_elf_section_data): New.
477 (elf32_arm_section_data): Define.
478 (struct elf32_arm_link_hash_table): Add byteswap_code.
479 (elf32_arm_link_hash_table_create): Initialize byteswap_code.
480 (bfd_elf32_arm_process_before_allocation): Add byteswap_code.
481 (elf32_arm_post_process_headers): Set EF_ARM_BE8.
482 (elf32_arm_output_symbol_hook, elf32_arm_new_section_hook,
483 elf32_arm_compare_mapping, elf32_arm_write_section): New functions.
484 (bfd_elf32_new_section_hook, elf_backend_write_section,
485 elf_backend_link_output_symbol_hook): Define.
486
66a695f0
NC
4872004-04-01 Andy Chittenden <achittenden@bluearc.com>
488
489 * stabs.c (struct stab_link_includes_totals): Add field 'symb'
490 that keeps the characters in a B_INCL..B_EINCL range.
491 (_bfd_link_section_stabs): When computing the sum of the
492 characters in a B_INCL..B_EINCL range also keep a copy of those
493 characters. Use this information to distinguish between
494 include sections that have the same sum and the same length
495 but which are nevertheless unique.
496
8375c36b
PB
4972004-03-31 Paul Brook <paul@codesourcery.com>
498
499 * elf32-arm.h (elf32_arm_final_link_relocate): Add R_ARM_ALU*.
500 * elfarm-nabi.c (elf32_arm_howto_table): Ditto.
501
a56b48eb
NC
5022004-03-31 Andy Chittenden <achittenden@bluearc.com>
503
504 * stabs.c (struct stab_link_includes_totals): Rename field 'total'
505 to 'sum_chars' and add field 'num_chars'.
506 (_bfd_link_section_stabs): When computing the sum of the
507 characters in a B_INCL..B_EINCL range also keep a count of the
508 number of characters. Use this information to help distinguish
509 between include sections when have the same sum but which
510 nevertheless are still unique.
511