xref: /freebsd-12.1/contrib/binutils/bfd/ChangeLog (revision dfd2f2d4)
12006-12-11  Eric Botcazou  <[email protected]>
2
3	* elflink.c (bfd_elf_gc_sections): Also search for corresponding
4	sections with .gnu.linkonce.t. prefix.
5
62006-08-08  Nick Clifton  <[email protected]>
7
8	PR binutils/2724
9	* coffcode.h (coff_new_section_hook): Only modify the section
10	symbol of sections which were created by the user.
11
122006-07-19  Alan Modra  <[email protected]>
13
14	* bfd-in.h (enum notice_asneeded_action): Define.
15	* bfd-in2.h: Regenerate.
16	* elflink.c (elf_link_add_object_symbols): Call linker "notice"
17	function with NULL name for as-needed handling.
18
192006-07-12  Matthew R. Dempsky  <[email protected]>
20
21	* cpu-m68k.c (bfd_m68k_compatible): Handle CPU32.
22
232006-06-23  Daniel Jacobowitz  <[email protected]>
24
25	* Makefile.am: Clear RELEASE.
26	* Makefile.in: Regenerated.
27
282006-06-23  Daniel Jacobowitz  <[email protected]>
29
30	* configure.in: Update version to 2.17.
31	* Makefile.am: Set RELEASE.
32	* configure, Makefile.in: Regenerated.
33
342006-06-12  Daniel Jacobowitz  <[email protected]>
35
36	* configure.in: Update version to 2.16.94.
37	* configure: Regenerated.
38
392006-06-11  Richard Sandiford  <[email protected]>
40	    Thiemo Seufer  <[email protected]>
41
42	* elfxx-mips.c (mips_elf_link_hash_table): Add function_stub_size.
43	(STUB_ORI): New macro.
44	(STUB_LI16U): Fix formatting.
45	(MIPS_FUNCTION_STUB_SIZE): Delete.
46	(MIPS_FUNCTION_STUB_MAX_SIZE): Likewise.
47	(MIPS_FUNCTION_STUB_NORMAL_SIZE): New macro.
48	(MIPS_FUNCTION_STUB_BIG_SIZE): Likewise.
49	(_bfd_mips_elf_adjust_dynamic_symbol): Use htab->function_stub_size
50	instead of MIPS_FUNCTION_STUB_SIZE.
51	(count_section_dynsyms): New function, split out from
52	_bfd_mips_elf_final_link.
53	(_bfd_mips_elf_always_size_sections): Get a worst-case estimate
54	of the number of dynamic symbols needed and use it to set up
55	function_stub_size.  Use function_stub_size rather than
56	MIPS_FUNCTION_STUB_SIZE to determine the size of the stub section.
57	Use 16-byte stubs for 0x10000 dynamic symbols.
58	(_bfd_mips_elf_size_dynamic_sections): Use htab->function_stub_size
59	instead of MIPS_FUNCTION_STUB_SIZE.  Fix formatting.
60	(_bfd_mips_elf_finish_dynamic_symbol): Likewise.  Change the
61	size of the stub buffer from MIPS_FUNCTION_STUB_MAX_SIZE to
62	MIPS_FUNCTION_STUB_BIG_SIZE.  Tweak the check for unhandled dynindxes.
63	Use MIPS_FUNCTION_STUB_BIG_SIZE rather than a hard-coded 20.
64	Use STUB_ORI rather than STUB_LI16U for big stubs.
65	(_bfd_mips_elf_link_hash_table_create): Initialize function_stub_size.
66	(_bfd_mips_elf_final_link): Use count_section_dynsyms.
67
682006-06-08  David Daney  <[email protected]>
69
70	* elfxx-mips.c (STUB_LI16): Removed.
71	(STUB_LUI): New macro.
72	(STUB_LI16U): Ditto.
73	(STUB_LI16S): Ditto.
74	(MIPS_FUNCTION_STUB_SIZE): Rewrote to take info parameter.
75	(_bfd_mips_elf_adjust_dynamic_symbol): Pass info parameter to
76	MIPS_FUNCTION_STUB_SIZE.
77	(_bfd_mips_elf_always_size_sections): Ditto.
78	(_bfd_mips_elf_size_dynamic_sections): Ditto.
79	(_bfd_mips_elf_finish_dynamic_sections): Ditto.
80	(_bfd_mips_elf_finish_dynamic_symbol): Rewrote stub generation
81	to allow larger symbol table indexes.
82
832006-06-07  Joseph S. Myers  <[email protected]>
84
85	* po/Make-in (pdf, ps): New dummy targets.
86
872006-06-01  Daniel Jacobowitz  <[email protected]>
88
89	Backport:
90	2006-05-23  H.J. Lu  <[email protected]>
91	PR ld/2655
92	PR ld/2657
93	* elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Properly
94	update CIE/FDE length.  Don't pad to the section alignment.
95
962006-05-30  Nick Clifton  <[email protected]>
97
98	* po/es.po: Updated Spanish translation.
99
1002006-05-23  Alan Modra  <[email protected]>
101
102	* elf64-ppc.c (compare_symbols): Prefer strong dynamic global
103	function syms over other syms.
104
1052006-05-22  Daniel Jacobowitz  <[email protected]>
106
107	* elflink.c (_bfd_elf_add_dynamic_entry): Remove DT_TEXTREL
108	check.
109	(bfd_elf_final_link): Add a late DT_TEXTREL check.
110	* elfxx-mips.c (MIPS_ELF_READONLY_SECTION): Define.
111	(mips_elf_create_dynamic_relocation): Set DF_TEXTREL.
112	(_bfd_mips_elf_check_relocs): Delete MIPS_READONLY_SECTION.
113	Use MIPS_ELF_READONLY_SECTION.
114	(_bfd_mips_elf_size_dynamic_sections): Clear DF_TEXTREL after
115	creating DT_TEXTREL.
116	(_bfd_mips_elf_finish_dynamic_sections): Clear textrel markers
117	if no text relocations were generated.
118
1192006-05-17  Daniel Jacobowitz  <[email protected]>
120
121	* configure.in: Update version to 2.16.93.
122	* configure: Regenerated.
123
1242006-05-17  Alan Modra  <[email protected]>
125
126	* elflink.c (elf_gc_sweep): Don't specially keep non-alloc,
127	non-load sections if they have relocs.
128
1292006-05-16  Andreas Schwab  <[email protected]>
130
131	* aoutf1.h (struct external_sparc_core): Declare c_regs as struct
132	regs instead of an array of int.
133	(struct external_solaris_bcp_core): Likewise.
134	(swapcore_sun3): Use offsetof instead of computing the offset
135	manually.
136	(swapcore_sparc): Likewise.  Simplify reference to c_regs.
137	(swapcore_solaris_bcp): Likewise.
138
1392006-05-15  Alan Modra  <[email protected]>
140
141	PR 2658
142	* elf32-ppc.c (ppc_elf_relax_section): Don't segfault on non-pic
143	-shared link.
144
1452006-05-11  Michael Matz  <[email protected]>
146
147	* elflink.c (match_group_member): Correctly iterate group
148	members.
149
1502006-05-11  Nick Clifton  <[email protected]>
151
152	PR ld/2607
153	* elfcode.h (valid_section_index_p): New function: Checks for a
154	valid section index.  Allows indicies in the range SHN_LOPROC to
155	SHN_HIOS.
156	(elf_object_p): Use valid_section_index_p.
157
1582006-05-11  Nick Clifton  <[email protected]>
159
160	PR ld/2257
161	* elfcode.h (elf_object_p): Allow files with corrupt e_shstrndx
162	fields to still be handled as ELF files.
163
1642006-05-10  Alan Modra  <[email protected]>
165
166	PR 2342
167	* elflink.c (_bfd_elf_default_action_discarded): Revert 2006-02-16.
168
1692006-05-10  Alan Modra  <[email protected]>
170
171	* elf64-ppc.c (ppc64_elf_tls_optimize): Only optimize
172	R_PPC64_TPREL64 and R_PPC64_DTPMOD64 relocs when they are in
173	the .toc and referenced by a TLS code sequence.
174	(ppc64_elf_edit_toc): Cater for the unlikely situation that
175	.toc is the first section in a file.
176
1772006-05-03  Kaz Kojima  <[email protected]>
178
179	PR binutils/2584
180	* tekhex.c (getvalue): Change return type to bfd_boolean and
181	add the new parameter.  Return false if the unexpected character
182	is found.
183	(getsym): Likewise.
184	(first_phase): Change return type to bfd_boolean and return
185	false if the unexpected character is found.  Replace abort
186	with returning false.
187	(pass_over): Change return type to bfd_boolean and the type of
188	the second argument to bfd_boolean (*) (bfd *, int, char *).
189	Return false if FUNC returns false.
190	(tekhex_object_p): Return NULL if pass_over fails.
191
1922006-05-02  Paul Brook  <[email protected]>
193
194	* elf32-arm.c (elf32_arm_final_link_relocate): Set thumb funciton bit
195	for R_ARM_REL32.
196
1972006-04-27  Alan Modra  <[email protected]>
198
199	* coff-rs6000.c (xcoff_write_archive_contents_old): Warning fix.
200
2012006-04-16  Daniel Jacobowitz  <[email protected]>
202
203	* configure.in: Update version to 2.16.92.
204	* configure: Regenerated.
205
2062006-04-16  Daniel Jacobowitz  <[email protected]>
207
208	* po/SRC-POTFILES.in: Regenerated.
209
2102006-04-14  David Heine  <[email protected]>
211
212	* elf32-xtensa.c (build_reloc_opcodes): New.
213	(compute_text_actions): Use it to decode opcodes outside inner loop.
214	(check_section_ebb_pcrels_fit): Add "reloc_opcodes" argument, and if
215	it is set, use it to get the opcodes for relocations.
216	(move_shared_literal): Adjust call to check_section_ebb_pcrels_fit.
217
2182006-04-08  H.J. Lu  <[email protected]>
219
220	PR ld/2513
221	* elf32-i386.c (GOT_TLS_MASK): New macro for tls_type.
222	(GOT_TLS_IE_IE): Likewise.
223	(GOT_TLS_IE_GD): Likewise.
224	(GOT_TLS_IE_MASK): Likewise.
225	(elf_i386_check_relocs): For global symbols, set GOT_TLS_IE_GD
226	and GOT_TLS_IE_IE for R_386_TLS_GD and R_386_TLS_IE
227	respectively.
228	(allocate_dynrelocs): If both GOT_TLS_IE_IE and GOT_TLS_IE_GD
229	are set, treat tls_type as GOT_TLS_IE_BOTH.
230	(elf_i386_relocate_section): Likewise.
231
2322006-04-07  Randolph Chung  <[email protected]>
233
234	* elf64-hppa.c (elf64_hppa_grok_prstatus): New function.
235	(elf64_hppa_grok_psinfo): Likewise.
236	(elf_backend_grok_pstatus, elf_backend_grok_psinfo): Define.
237
2382006-04-06  DJ Delorie  <[email protected]>
239
240	* elf32-m32c.c (m32c_elf_relocate_section): Generate a symbol for
241	each plt entry we create.
242
2432006-04-06  Carlos O'Donell  <[email protected]>
244
245	* po/Make-in: Add install-html target.
246	* Makefile.am: Rename docdir to bfddocdir. Add datarootdir, docdir
247	htmldir. Add install-html and install-html-recursive targets.
248	* Makefile.in: Regenerate.
249	* configure.in: AC_SUBST for datarootdir, docdir and htmldir.
250	* configure: Regenerate.
251
2522006-04-06  H.J. Lu  <[email protected]>
253
254	* elfxx-ia64.c (elfNN_ia64_relax_section): Skip unneeded passes
255	with the skip_relax_pass_0 and skip_relax_pass_1 bits in the
256	section structure.
257
2582006-04-05  Bernd Schmidt  <[email protected]>
259
260	* elf32-bfin.c (bfinfdpic_relocs_info_hash): Sprinkle casts to
261	eliminate warnings.
262
2632006-04-05  H.J. Lu  <[email protected]>
264	    James E Wilson  <[email protected]>
265
266	PR ld/2442
267	* elfxx-ia64.c (elfNN_ia64_dyn_sym_info): Remove next.
268	(elfNN_ia64_local_hash_entry): Add count, sorted_count and
269	size.
270	(elfNN_ia64_link_hash_entry): Likewise.
271	(elfNN_ia64_new_elf_hash_entry): Initialize count, sorted_count
272	and size.
273	(elfNN_ia64_hash_copy_indirect): Updated elfNN_ia64_dyn_sym_info
274	processing.
275	(elfNN_ia64_hash_hide_symbol): Likewise.
276	(elfNN_ia64_global_dyn_sym_thunk): Likewise.
277	(elfNN_ia64_local_dyn_sym_thunk): Likewise.
278	(elfNN_ia64_global_dyn_info_free): New function.
279	(elfNN_ia64_local_dyn_info_free): Likewise.
280	(elfNN_ia64_hash_table_free): Free local and global
281	elfNN_ia64_dyn_sym_info.
282	(addend_compare): New function.
283	(sort_dyn_sym_info): Likewise.
284	(get_dyn_sym_info): Updated to use binary search for addend.
285	(elfNN_ia64_check_relocs): Scan relocations to create dynamic
286	relocation arrays first.
287
2882006-04-05  Bernd Schmidt  <[email protected]>
289
290	* elf32-bfin.c (_bfin_create_got_section): Don't generate a _gp
291	symbol.
292
2932006-04-05  H.J. Lu  <[email protected]>
294
295	PR ld/2411
296	* elflink.c (check_dynsym): New.
297	(elf_link_output_extsym): Use it.
298	(bfd_elf_final_link): Likewise.
299
3002006-04-05  H.J. Lu  <[email protected]>
301
302	PR ld/2404
303	* elflink.c (_bfd_elf_merge_symbol): Skip the default indirect
304	symbol from the dynamic definition with the default version if
305	its type and the type of existing regular definition mismatch.
306
3072006-04-05  Richard Sandiford  <[email protected]>
308	    Daniel Jacobowitz  <[email protected]>
309
310	* config.bfd (sparc-*-vxworks*): New stanza.
311	* configure.in (bfd_elf32_sparc_vxworks_vec): New stanza.
312	(bfd_elf32_sparc_vec, bfd_elf64_sparc_vec): Add elf-vxworks.lo.
313	* configure: Regenerate.
314	* elf32-sparc.c: Include elf-vxworks.h.
315	(elf32_sparc_vxworks_link_hash_table_create: New.
316	(elf32_sparc_vxworks_final_write_processing): New.
317	(TARGET_BIG_SYM): Override for VxWorks.
318	(TARGET_BIG_NAME, ELF_MINPAGESIZE): Likewise.
319	(bfd_elf32_bfd_link_hash_table_create): Likewise.
320	(elf_backend_want_got_plt, elf_backend_plt_readonly): Likewise.
321	(elf_backend_got_header_size, elf_backend_add_symbol_hook): Likewise.
322	(elf_backend_link_output_symbol_hook): Likewise.
323	(elf_backend_emit_relocs): Likewise.
324	(elf_backend_final_write_processing, elf32_bed): Likewise.
325	* elfxx-sparc.c: Include libiberty.h and elf-vxworks.h.
326	(sparc_vxworks_exec_plt0_entry, sparc_vxworks_exec_plt_entry): New.
327	(sparc_vxworks_shared_plt0_entry, sparc_vxworks_shared_plt_entry): New.
328	(_bfd_sparc_elf_link_hash_table_create): Don't initialize
329	build_plt_entry here.
330	(create_got_section): Initialize sgotplt for VxWorks.
331	(_bfd_sparc_elf_create_dynamic_sections): Initialize build_plt_entry,
332	plt_header_size and plt_entry_size, with new VxWorks-specific settings.
333	Call elf_vxworks_create_dynamic_sections for VxWorks.
334	(allocate_dynrelocs): Use plt_header_size and plt_entry_size.
335	Allocate room for .got.plt and .rela.plt.unloaded entries on VxWorks.
336	(_bfd_sparc_elf_size_dynamic_sections): Don't allocate a nop in .plt
337	for VxWorks.  Check for the .got.plt section.
338	(sparc_vxworks_build_plt_entry): New function.
339	(_bfd_sparc_elf_finish_dynamic_symbol): Add handling of VxWorks PLTs.
340	Don't make _GLOBAL_OFFSET_TABLE_ and _PROCEDURE_LINKAGE_TABLE_
341	absolute on VxWorks.
342	(sparc32_finish_dyn): Add special handling for DT_RELASZ
343	and DT_PLTGOT on VxWorks.
344	(sparc_vxworks_finish_exec_plt): New.
345	(sparc_vxworks_finish_shared_plt): New.
346	(_bfd_sparc_elf_finish_dynamic_sections): Call them.
347	Use plt_header_size and plt_entry_size.
348	* elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Add is_vxworks,
349	srelplt2, sgotplt, plt_header_size and plt_entry_size fields.
350	* Makefile.am (elfxx-sparc.lo): Depend on elf-vxworks.h.
351	(elf32-sparc.lo): Likewise.
352	* Makefile.in: Regenerate.
353	* targets.c (bfd_elf32_sparc_vxworks_vec): Declare.
354	(_bfd_target_vector): Add a pointer to it.
355
3562006-03-30  Ben Elliston  <[email protected]>
357
358	PR ld/2267
359	* elflink.c (elf_fixup_link_order): Ensure `elfsec' is not a
360	special section number that exceeds the number of ELF sections
361	(eg. SHN_MIPS_SCOMMON).
362
3632006-03-27  Richard Sandiford  <[email protected]>
364
365	* elfxx-mips.c (mips_got_entry): Add more commentary.
366	(mips_elf_local_got_index): Use the hash table entry to record
367	the GOT index of forced-local symbols.
368	(mips_elf_initialize_tls_index): Rearrange code.  Store the index
369	in either the hash table entry or the mips_got_entry, not both.
370	Add more commentary.
371	(mips_elf_multi_got): Make sure the g->next is nonnull when calling
372	mips_elf_initialize_tls_index.
373
3742006-03-25  Bernd Schmidt  <[email protected]>
375
376	* elf32-bfin.c (bfd_const_reloc, bfd_oper_reloc, bfin_push_reloc,
377	RELOC_STACK_SIZE, reloc_stack, reloc_stack_tos, is_reloc_stack_empty,
378	reloc_stack_push, reloc_stack_pop, reloc_stack_operate,
379	bfin_areloc_howto_table): Delete.  All
380	uses deleted as well.
381	(bfin_reloc_map): Delete all stack relocs.
382	(bfin_info_to_howto, bfin_bfd_reloc_type_lookup,
383	bfin_reloc_type_lookup): Don't support them.
384	(bfin_relocate_section): Don't try to handle them.
385
386	* config.bfd (bfin-*-*): Add bfd_elf32_bfinfdpic_vec.
387	* configure.in: Likewise.
388	* configure: Regenerate.
389	* elf32-bfin.c: Include "elf/dwarf2.h" and "hashtab.h".
390	(BFIN_RELOC_MAX): Now 0x21.
391	(bfin_howto_table, bfin_reloc_map): Add FD-PIC relocs.
392	(bfd_elf32_bfinfdpic_vec): Declare.
393	(IS_FDPIC): New macro.
394	(struct bfinfdpic_elf_link_hash_table): New struct.
395	(bfinfdpic_hash_table, bfinfdpic_got_section,
396	bfinfdpic_gotrel_section, bfinfdpic_gotfixup_section,
397	bfinfdpic_plt_setion, bfinfdpic_pltrel_section,
398	bfinfdpic_relocs_info, bfinfdpic_got_initial_offset,
399	bfinfdpic_plt_initial_offset): Accessor macros for it.
400	(BFINFDPIC_SYM_LOCAL, BFINFDPIC_FUNCDESC_LOCAL): New macros.
401	(struct bfinfdpic_relocs_info): New struct.
402	(LZPLT_RESOLVER_EXTRA, LZPLT_NORMAL_SIZE, LZPLT_ENTRIES,
403	BFINFDPIC_LZPLT_BLOCK_SIZE, BFINFDPIC_LZPLT_RESOLV_LOC,
404	DEFAULT_STACK_SIZE): New macros.
405	(bfinfdpic_elf_link_hash_table_create, bfinfdpic_relocs_info_hash,
406	bfinfdpic_relocs_info_eq, bfinfdpics_relocs_info_find,
407	bfinfdpic_relocs_info_for_global, bfinfdpic_relocs_info_for_local,
408	bfinfdpic_pic_merge_early_relocs_info, _bfinfdpic_add_dyn_reloc,
409	_bfinfdpic_add_rofixup, _bfinfdpic_osec_to_segment,
410	_bfinfdpic_osec_readonly_p, bfinfdpic_relocate_section,
411	bfinfdpic_check_relocs, bfinfdpic_gc_sweep_hook,
412	_bfinfdpic_link_omit_section_dynsym, _bfin_create_got_section,
413	elf32_bfinfdpic_create_dynamic_sections, _bfinfdpic_get_fd_entry,
414	_bfinfdpic_compute_got_alloc_data, _bfinfdpic_get_got_entry,
415	_bfinfdpic_assign_got_entries, _bfinfdpic_assign_plt_entries,
416	_bfinfdpic_resolve_final_relocs_info,
417	elf32_bfinfdpic_size_dynamic_sections,
418	elf32_bfinfdpic_always_size_sections,
419	elf32_bfinfdpic_modify_segment_map,
420	_bfinfdpic_count_got_plt_entries,
421	elf32_bfinfdpic_finish_dynamic_sections,
422	elf32_bfinfdpic_adjust_dynamic_symbol,
423	elf32_bfinfdpic_finish_dynamic_symbol,
424	elf32_bfinfdpic_elf_use_relative_eh_frame,
425	elf32_bfinfdpic_elf_encode_eh_address,
426	elf32_bfin_object_p, bfin_elf_copy_private_bfd_data,
427	elf32_bfinfdpic_copy_private_bfd_data,
428	(struct _bfinfdpic_dynamic_got_info,
429	struct _bfinfdpic_dynamic_got_plt_info): New structs.
430	(elf32_bfin_print_private_bfd_data): Print PIC flags.
431	(elf32_bfin_merge_private_bfd_data): Extend to support FD-PIC.
432	(TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, elf32_bed,
433	elf_backend_got_header_size, bfd_elf32_bfd_link_hash_table_create,
434	elf_backend_always_size_sectinos, elf_backend_modify_segment_map,
435	bfd_elf32_bfd_copy_private_bfd_data,
436	elf_backend_create_dynamic_sections, elf_backend_adjust_dynamic_symbol,
437	elf_backend_size_dynamic_sections, elf_backend_finish_dynamic_symbol,
438	elf_backend_finish_dynamic_sections, elf_backend_relocate_section,
439	elf_backend_can_make_relative_eh_frame, elf_backend_check_relocs,
440	elf_backend_can_make_ldsa_relative_eh_frame, elf_backend_may_use_rel_p,
441	elf_backend_may_use_rela_p, elf_backend_default_use_rela_p,
442	elf_backend_omit_section_dynsym): Redefine these macros and include
443	"elf32-target.h" again to create the elf32-bfinfdpic target.
444	* reloc.c (BFD_RELOC_BFIN_GOT17M4, BFD_RELOC_BFIN_GOTHI,
445	BFD_RELOC_BFIN_GOTLO, BFD_RELOC_BFIN_FUNCDESC,
446	BFD_RELOC_BFIN_FUNCDESC_GOT17M4, BFD_RELOC_BFIN_FUNCDESC_GOTHI,
447	BFD_RELOC_BFIN_FUNCDESC_GOTLO, BFD_RELOC_BFIN_FUNCDESC_VALUE,
448	BFD_RELOC_BFIN_FUNCDESC_GOTOFF17M4, BFD_RELOC_BFIN_FUNCDESC_GOTOFFHI,
449	BFD_RELOC_BFIN_FUNCDESC_GOTOFFLO, BFD_RELOC_BFIN_GOTOFFHI,
450	BFD_RELOC_BFIN_GOTOFFLO): New.
451	* targets.c (bfd_elf32_bfinfdpic_vec): New bfd_target.
452	(_bfd_target_vector): Add it.
453	* bfd-in2.h: Regenerate.
454	* libbfd.h: Regenerate.
455
4562006-03-25  Richard Sandiford  <[email protected]>
457
458	* cpu-m68k.c (bfd_m68k_compatible): Treat ISA A+ and ISA B code as
459	incompatible.  Likewise MAC and EMAC code.
460	* elf32-m68k.c (elf32_m68k_merge_private_bfd_data): Use
461	bfd_get_compatible to set the new bfd architecture.  Rely on it
462	to detect incompatibilities.
463
4642006-03-22  Bob Wilson  <[email protected]>
465
466	* elf32-xtensa.c (xtensa_read_table_entries): Remove assertion that
467	rel->r_addend is zero.
468
4692006-03-22  Richard Sandiford  <[email protected]>
470
471	* elfxx-mips.c (_bfd_mips_vxworks_finish_dynamic_symbol): Fix type
472	of "loc".
473
4742006-03-22  Richard Sandiford  <[email protected]>
475	    Daniel Jacobowitz  <[email protected]>
476	    Phil Edwards  <[email protected]>
477	    Zack Weinberg  <[email protected]>
478	    Mark Mitchell  <[email protected]>
479	    Nathan Sidwell  <[email protected]>
480
481	* bfd-in2.h: Regenerate.
482	* config.bfd (mips*-*-vxworks*, mips*el-*-vxworks*): New stanzas.
483	* configure.in (bfd_elf32_bigmips_vxworks_vec): New stanza.
484	(bfd_elf32_littlemips_vxworks_vec): Likewise.
485	(bfd_elf32_bigmips_vec): Add elf-vxworks.lo.
486	(bfd_elf32_littlemips_vec): Likewise.
487	(bfd_elf32_nbigmips_vec): Likewise.
488	(bfd_elf32_nlittlemips_vec): Likewise.
489	(bfd_elf32_ntradbigmips_vec): Likewise.
490	(bfd_elf32_ntradlittlemips_vec): Likewise.
491	(bfd_elf32_tradbigmips_vec): Likewise.
492	(bfd_elf32_tradlittlemips_vec): Likewise.
493	(bfd_elf64_bigmips_vec): Likewise.
494	(bfd_elf64_littlemips_vec): Likewise.
495	(bfd_elf64_tradbigmips_vec): Likewise.
496	(bfd_elf64_tradlittlemips_vec): Likewise.
497	* elf32-mips.c: Include elf-vxworks.h.
498	(mips_info_to_howto_rel): Use elf_backend_mips_rtype_to_howto
499	instead of calling mips_elf32_rtype_to_howto directly.
500	(mips_vxworks_copy_howto_rela): New reloc howto.
501	(mips_vxworks_jump_slot_howto_rela): Likewise.
502	(mips_vxworks_bfd_reloc_type_lookup): New function.
503	(mips_vxworks_rtype_to_howto): Likewise.
504	(mips_vxworks_final_write_processing): Likewise.
505	(TARGET_LITTLE_SYM, TARGET_LITTLE_NAME): Override for VxWorks.
506	(TARGET_BIG_SYM, TARGET_BIG_NAME, elf_bed, ELF_MAXPAGESIZE): Likewise.
507	(elf_backend_want_got_plt): Likewise.
508	(elf_backend_want_plt_sym): Likewise.
509	(elf_backend_got_symbol_offset): Likewise.
510	(elf_backend_want_dynbss): Likewise.
511	(elf_backend_may_use_rel_p): Likewise.
512	(elf_backend_may_use_rela_p): Likewise.
513	(elf_backend_default_use_rela_p): Likewise.
514	(elf_backend_got_header_size: Likewise.
515	(elf_backend_plt_readonly): Likewise.
516	(bfd_elf32_bfd_reloc_type_lookup): Likewise.
517	(elf_backend_mips_rtype_to_howto): Likewise.
518	(elf_backend_adjust_dynamic_symbol): Likewise.
519	(elf_backend_finish_dynamic_symbol): Likewise.
520	(bfd_elf32_bfd_link_hash_table_create): Likewise.
521	(elf_backend_add_symbol_hook): Likewise.
522	(elf_backend_link_output_symbol_hook): Likewise.
523	(elf_backend_emit_relocs): Likewise.
524	(elf_backend_final_write_processing: Likewise.
525	(elf_backend_additional_program_headers): Likewise.
526	(elf_backend_modify_segment_map): Likewise.
527	(elf_backend_symbol_processing): Likewise.
528	* elfxx-mips.c: Include elf-vxworks.h.
529	(mips_elf_link_hash_entry): Add is_relocation_target and
530	is_branch_target fields.
531	(mips_elf_link_hash_table): Add is_vxworks, srelbss, sdynbss, srelplt,
532	srelplt2, sgotplt, splt, plt_header_size and plt_entry_size fields.
533	(MIPS_ELF_RELA_SIZE, MIPS_ELF_REL_DYN_NAME): New macros.
534	(MIPS_RESERVED_GOTNO): Take a mips_elf_link_hash_table argument.
535	Return 3 for VxWorks.
536	(ELF_MIPS_GP_OFFSET): Change the argument from a bfd to a
537	mips_elf_link_hash_table.  Return 0 for VxWorks.
538	(MIPS_ELF_GOT_MAX_SIZE): Change the argument from a bfd to a
539	mips_elf_link_hash_table.  Update the call to ELF_MIPS_GP_OFFSET.
540	(mips_vxworks_exec_plt0_entry): New variable.
541	(mips_vxworks_exec_plt_entry): Likewise.
542	(mips_vxworks_shared_plt0_entry): Likewise.
543	(mips_vxworks_shared_plt_entry): Likewise.
544	(mips_elf_link_hash_newfunc): Initialize the new hash_entry fields.
545	(mips_elf_rel_dyn_section): Change the bfd argument to a
546	mips_elf_link_hash_table.  Use MIPS_ELF_REL_DYN_NAME to get
547	the name of the section.
548	(mips_elf_initialize_tls_slots): Update the call to
549	mips_elf_rel_dyn_section.
550	(mips_elf_gotplt_index): New function.
551	(mips_elf_local_got_index): Add an input_section argument.
552	Update the call to mips_elf_create_local_got_entry.
553	(mips_elf_got_page): Likewise.
554	(mips_elf_got16_entry): Likewise.
555	(mips_elf_create_local_got_entry): Add bfd_link_info and input_section
556	arguments.  Create dynamic relocations for each entry on VxWorks.
557	(mips_elf_merge_gots): Update the use of MIPS_ELF_GOT_MAX_SIZE.
558	(mips_elf_multi_got): Update the uses of MIPS_ELF_GOT_MAX_SIZE
559	and MIPS_RESERVED_GOTNO.
560	(mips_elf_create_got_section): Update the uses of
561	MIPS_ELF_GOT_MAX_SIZE.  Create .got.plt on VxWorks.
562	(is_gott_symbol): New function.
563	(mips_elf_calculate_relocation): Use a dynobj local variable.
564	Update the calls to mips_elf_local_got_index, mips_elf_got16_entry and
565	mips_elf_got_page_entry.  Set G to the .got.plt entry when calculating
566	VxWorks R_MIPS_CALL* relocations.  Calculate and use G for all GOT
567	relocations on VxWorks.  Add dynamic relocations for references
568	to the VxWorks __GOTT_BASE__ and __GOTT_INDEX__ symbols.  Don't
569	create dynamic relocations for R_MIPS_32, R_MIPS_REL32 or R_MIPS_64
570	in VxWorks executables.
571	(mips_elf_allocate_dynamic_relocations): Add a bfd_link_info argument.
572	Use MIPS_ELF_RELA_SIZE to calculate the size of a VxWorks entry.
573	Don't allocate a null entry on VxWorks.
574	(mips_elf_create_dynamic_relocation): Update the call to
575	mips_elf_rel_dyn_section.  Use absolute rather than relative
576	relocations for VxWorks, and make them RELA rather than REL.
577	(_bfd_mips_elf_create_dynamic_sections): Don't make .dynamic
578	read-only on VxWorks.  Update the call to mips_elf_rel_dyn_section.
579	Create the .plt, .rela.plt, .dynbss and .rela.bss sections on
580	VxWorks.  Likewise create the _PROCEDURE_LINKAGE_TABLE symbol.
581	Call elf_vxworks_create_dynamic_sections for VxWorks and
582	initialize the plt_header_size and plt_entry_size fields.
583	(_bfd_mips_elf_check_relocs): Don't allow GOT relocations to be
584	used in VxWorks executables.  Don't allocate dynamic relocations
585	for R_MIPS_32, R_MIPS_REL32 or R_MIPS_64 in VxWorks executables.
586	Set is_relocation_target for each symbol referenced by a relocation.
587	Allocate .rela.dyn entries for relocations against the special
588	VxWorks __GOTT_BASE__ and __GOTT_INDEX__ symbols.  Create GOT
589	entries for all VxWorks R_MIPS_GOT16 relocations.  Don't allocate
590	a global GOT entry for symbols mentioned in VxWorks R_MIPS_CALL*,
591	R_MIPS_32, R_MIPS_REL32 or R_MIPS_64 relocations.  Update the calls
592	to mips_elf_rel_dyn_section and mips_elf_allocate_dynamic_relocations.
593	Set is_branch_target for symbols mentioned in R_MIPS_PC16 or R_MIPS_26
594	relocations.  Don't set no_fn_stub on VxWorks.
595	(_bfd_mips_elf_adjust_dynamic_symbol): Update the call to
596	mips_elf_allocate_dynamic_relocations.
597	(_bfd_mips_vxworks_adjust_dynamic_symbol): New function.
598	(_bfd_mips_elf_always_size_sections): Do not allocate GOT page
599	entries for VxWorks, and do not create multiple GOTs.
600	(_bfd_mips_elf_size_dynamic_sections): Use MIPS_ELF_REL_DYN_NAME.
601	Handle .got specially for VxWorks.  Update the uses of
602	MIPS_RESERVED_GOTNO and mips_elf_allocate_dynamic_relocations.
603	Check for sgotplt and splt.  Allocate the .rel(a).dyn contents last,
604	once its final size is known.  Set DF_TEXTREL for VxWorks.  Add
605	DT_RELA, DT_RELASZ, DT_RELAENT, DT_PLTREL, DT_PLTRELSZ and DT_JMPREL
606	tags on VxWorks.  Do not add the MIPS-specific tags for VxWorks.
607	(_bfd_mips_vxworks_finish_dynamic_symbol): New function.
608	(mips_vxworks_finish_exec_plt): Likewise.
609	(mips_vxworks_finish_shared_plt): Likewise.
610	(_bfd_mips_elf_finish_dynamic_sections): Remove an unncessary call
611	to mips_elf_rel_dyn_section.  Use a VxWorks-specific value of
612	DT_PLTGOT.  Handle DT_RELA, DT_RELASZ, DT_RELAENT, DT_PLTREL,
613	DT_PLTRELSZ and DT_JMPREL.  Update the uses of MIPS_RESERVED_GOTNO
614	and mips_elf_rel_dyn_section.  Use a different GOT header for
615	VxWorks.  Don't sort .rela.dyn on VxWorks.  Finish the PLT on VxWorks.
616	(_bfd_mips_elf_link_hash_table_create): Initialize the new
617	mips_elf_link_hash_table fields.
618	(_bfd_mips_vxworks_link_hash_table_create): New function.
619	(_bfd_mips_elf_final_link): Set the GP value to _GLOBAL_OFFSET_TABLE_
620	on VxWorks.  Update the call to ELF_MIPS_GP_OFFSET.
621	* elfxx-mips.h (_bfd_mips_vxworks_adjust_dynamic_symbol): Declare.
622	(_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.
623	(_bfd_mips_vxworks_link_hash_table_create): Likewise.
624	* libbfd.h: Regenerate.
625	* Makefile.am (elfxx-mips.lo): Depend on elf-vxworks.h.
626	(elf32-mips.lo): Likewise.
627	* Makefile.in: Regenerate.
628	* reloc.c (BFD_RELOC_MIPS_COPY, BFD_RELOC_MIPS_JUMP_SLOT): Declare.
629	* targets.c (bfd_elf32_bigmips_vxworks_vec): Declare.
630	(bfd_elf32_littlemips_vxworks_vec): Likewise.
631	(_bfd_target_vector): Add entries for them.
632
6332006-03-19  John David Anglin  <[email protected]>
634
635	* elf64-hppa.c (elf64_hppa_special_sections): Change flags for .tbss
636	section from SHF_PARISC_WEAKORDER to SHF_HP_TLS.
637	(elf_backend_special_sections): Remove #undef.
638
6392006-03-18  John David Anglin  <[email protected]>
640
641	* elf64-hppa.c (allocate_global_data_opd): Don't create an OPD entry
642	for undefined weak symbols.
643
6442006-03-17  Daniel Jacobowitz  <[email protected]>
645
646	PR ld/2462
647	* elflink.c (bfd_elf_final_link): Remove
648	bed->elf_backend_emit_relocs from emit_relocs.
649
6502006-03-17  Alexandre Oliva  <[email protected]>
651
652	* elf32-ppc.c (ppc_elf_relocate_section): Copy addend from
653	first relocation to the second when relaxing TLS GD to LE;
654	zero it out when relaxing to IE.
655
6562006-03-17  Alan Modra  <[email protected]>
657
658	PR 2434
659	* elflink.c (elf_link_add_object_symbols): Save and restore
660	warning sym's linked sym.
661
6622006-03-16  Alan Modra  <[email protected]>
663
664	PR 2434
665	* elflink.c (struct elf_smash_syms_data, elf_smash_syms): Delete.
666	(elf_link_add_object_symbols): Delete unnecessary locals.  Rename
667	hash_table -> htab.  Formatting.  Save entire symbol table
668	before loading as-needed syms, and restore afterwards if lib not
669	needed.  Use bfd_hash_allocate rather than bfd_alloc for sym
670	name.  Free some buffers earlier.
671	* bfd-in.h (struct bfd_hash_table): Add entsize.
672	(bfd_hash_table_init, bfd_hash_table_init_n): Adjust prototype.
673	* elf-bfd.h (_bfd_elf_link_hash_table_init): Likewise
674	* hash.c (bfd_hash_table_init_n): Add entsize param, save to
675	hash table.
676	(bfd_hash_table_init): Add param, adjust calls.
677	* aoutx.h: Adjust all hash_table_init functions and calls.
678	* bfd.c: Likewise.
679	* coff-arm.c: Likewise.
680	* coff-h8300.c: Likewise.
681	* coff-ppc.c: Likewise.
682	* cofflink.c: Likewise.
683	* ecoff.c: Likewise.
684	* ecofflink.c: Likewise.
685	* elf-m10300.c: Likewise.
686	* elf-strtab.c: Likewise.
687	* elf.c: Likewise.
688	* elf32-arm.c: Likewise.
689	* elf32-bfin.c: Likewise.
690	* elf32-cris.c: Likewise.
691	* elf32-frv.c: Likewise.
692	* elf32-hppa.c: Likewise.
693	* elf32-i386.c: Likewise.
694	* elf32-m32r.c: Likewise.
695	* elf32-m68hc1x.c: Likewise.
696	* elf32-m68k.c: Likewise.
697	* elf32-ppc.c: Likewise.
698	* elf32-s390.c: Likewise.
699	* elf32-sh.c: Likewise.
700	* elf32-vax.c: Likewise.
701	* elf64-alpha.c: Likewise.
702	* elf64-hppa.c: Likewise.
703	* elf64-ppc.c: Likewise.
704	* elf64-s390.c: Likewise.
705	* elf64-sh64.c: Likewise.
706	* elf64-x86-64.c: Likewise.
707	* elfxx-ia64.c: Likewise.
708	* elfxx-mips.c: Likewise.
709	* elfxx-sparc.c: Likewise.
710	* i386linux.c: Likewise.
711	* libaout.h: Likewise.
712	* libbfd-in.h: Likewise.
713	* libcoff-in.h: Likewise.
714	* linker.c: Likewise.
715	* m68klinux.c: Likewise.
716	* merge.c: Likewise.
717	* opncls.c: Likewise.
718	* pdp11.c: Likewise.
719	* sparclinux.c: Likewise.
720	* stabs.c: Likewise.
721	* sunos.c: Likewise.
722	* vms.c: Likewise.
723	* xcofflink.c: Likewise.
724	* section.c (struct section_hash_entry): Move to..
725	* libbfd-in.h: ..here.
726	* Makefile.am: Run "make dep-am"
727	* Makefile.in: Regenerate.
728	* bfd-in2.h: Regenerate.
729	* libbfd.h: Regenerate.
730	* libcoff.h: Regenerate.
731
7322006-03-16  Alan Modra  <[email protected]>
733
734	* elf32-ppc.c (ppc_elf_check_relocs): REL24 and REL14 relocs
735	against __GLOBAL_OFFSET_TABLE__ need never be dynamic.  Tweak
736	last change to REL32 relocs so that they are counted as
737	possibly dynamic as per REL24 and REL14.
738
7392006-03-16  Alan Modra  <[email protected]>
740
741	* elf32-ppc.c (ppc_elf_check_relocs): Don't fall into REL24
742	checks from REL32.
743
7442006-03-15  Ben Elliston  <[email protected]>
745
746	* elf32-arm.c (elf32_arm_merge_eabi_attributes): Iterate over all
747	in_list elements, not just the first.
748
7492006-03-14  Richard Sandiford  <[email protected]>
750
751	* elf32-mips.c (mips_elf_adjust_addend): New function, mostly split
752	out from...
753	(_bfd_mips_elf_relocate_section): ...here.  Use it to adjust r_addend
754	for final links too.
755
7562006-03-13  Richard Sandiford  <[email protected]>
757
758	* elfxx-mips.c (mips_elf_create_got_section): Initialize hgot.
759
7602006-03-11  H.J. Lu  <[email protected]>
761
762	PR ld/2443
763	* dwarf2.c (concat_filename): Don't issue an error if file is
764	0.
765
7662006-03-10  Paul Brook  <[email protected]>
767
768	* elf32-arm.c (INTERWORK_FLAG): Handle EABIv5.
769	(elf32_arm_print_private_bfd_data): Ditto.
770
7712006-03-09  Paul Brook  <[email protected]>
772
773	* cpu-arm.c (bfd_is_arm_mapping_symbol_name): Recognise additional
774	mapping symbols.
775
7762006-03-09  Khem Raj  <[email protected]>
777
778	* elf32-arm.c(elf32_arm_finish_dynamic_sections): Use unsigned
779	char type.
780
7812006-03-08  H.J. Lu  <[email protected]>
782
783	* elfxx-ia64.c (elfNN_ia64_choose_gp): Properly choose gp.
784
7852006-03-07  Richard Sandiford  <[email protected]>
786	    Daniel Jacobowitz  <[email protected]>
787	    Zack Weinberg  <[email protected]>
788	    Nathan Sidwell  <[email protected]>
789	    Paul Brook  <[email protected]>
790	    Ricardo Anguiano  <[email protected]>
791	    Phil Edwards  <[email protected]>
792
793	* configure.in (bfd_elf32_bigarm_vec): Include elf-vxworks.lo.
794	(bfd_elf32_bigarm_symbian_vec): Likewise.
795	(bfd_elf32_bigarm_vxworks_vec): Likewise.
796	(bfd_elf32_littlearm_vec): Likewise.
797	(bfd_elf32_littlearm_symbian_vec): Likewise.
798	(bfd_elf32_littlearm_vxworks_vec): Likewise.
799	* configure: Regenerate.
800	* elf32-arm.c: Include libiberty.h and elf-vxworks.h.
801	(RELOC_SECTION, RELOC_SIZE, SWAP_RELOC_IN, SWAP_RELOC_OUT): New macros.
802	(elf32_arm_vxworks_bed): Add forward declaration.
803	(elf32_arm_howto_table_1): Fix the masks for R_ASM_ABS12.
804	(elf32_arm_vxworks_exec_plt0_entry): New table.
805	(elf32_arm_vxworks_exec_plt_entry): Likewise.
806	(elf32_arm_vxworks_shared_plt_entry): Likewise.
807	(elf32_arm_link_hash_table): Add vxworks_p and srelplt2 fields.
808	(reloc_section_p): New function.
809	(create_got_section): Use RELOC_SECTION.
810	(elf32_arm_create_dynamic_sections): Likewise.  Call
811	elf_vxworks_create_dynamic_sections for VxWorks targets.
812	Choose between the two possible values of plt_header_size
813	and plt_entry_size.
814	(elf32_arm_link_hash_table_create): Initialize vxworks_p and srelplt2.
815	(elf32_arm_abs12_reloc): New function.
816	(elf32_arm_final_link_relocate): Call it.  Allow the creation of
817	dynamic R_ARM_ABS12 relocs on VxWorks.  Use reloc_section_p,
818	RELOC_SIZE, SWAP_RELOC_OUT and RELOC_SECTION.  Initialize the
819	r_addend fields of relocs.  On rela targets, skip any code that
820	adjusts in-place addends.  When using _bfd_link_final_relocate
821	to perform a final relocation, pass rel->r_addend as the addend
822	argument.
823	(elf32_arm_merge_private_bfd_data): If one of the bfds is a VxWorks
824	object, ignore flags that are not standard on VxWorks.
825	(elf32_arm_check_relocs): Allow the creation of dynamic R_ARM_ABS12
826	relocs on VxWorks.  Use reloc_section_p.
827	(elf32_arm_adjust_dynamic_symbol): Use RELOC_SECTION and RELOC_SIZE.
828	(allocate_dynrelocs): Use RELOC_SIZE.  Account for the size of
829	.rela.plt.unloaded relocs on VxWorks targets.
830	(elf32_arm_size_dynamic_sections): Use RELOC_SIZE.  Check for
831	.rela.plt.unloaded as well as .rel(a).plt.  Add DT_RELA* tags
832	instead of DT_REL* tags on RELA targets.
833	(elf32_arm_finish_dynamic_symbol): Use RELOC_SECTION, RELOC_SIZE
834	and SWAP_RELOC_OUT.  Initialize r_addend fields.  Handle VxWorks
835	PLT entries.  Do not make _GLOBAL_OFFSET_TABLE_ absolute on VxWorks.
836	(elf32_arm_finish_dynamic_sections): Use RELOC_SECTION, RELOC_SIZE
837	and SWAP_RELOC_OUT.  Initialize r_addend fields.  Handle DT_RELASZ
838	like DT_RELSZ.  Handle the VxWorks form of initial PLT entry.
839	Correct the .rela.plt.unreloaded symbol indexes.
840	(elf32_arm_output_symbol_hook): Call the VxWorks version of this
841	hook on VxWorks targets.
842	(elf32_arm_vxworks_link_hash_table_create): Set vxworks_p to true.
843	Minor formatting tweak.
844	(elf32_arm_vxworks_final_write_processing): New function.
845	(elf_backend_add_symbol_hook): Override for VxWorks and reset
846	for Symbian.
847	(elf_backend_final_write_processing): Likewise.
848	(elf_backend_emit_relocs): Likewise.
849	(elf_backend_want_plt_sym): Likewise.
850	(ELF_MAXPAGESIZE): Likewise.
851	(elf_backend_may_use_rel_p): Minor formatting tweak.
852	(elf_backend_may_use_rela_p): Likewise.
853	(elf_backend_default_use_rela_p): Likewise.
854	(elf_backend_rela_normal): Likewise.
855	* Makefile.in (elf32-arm.lo): Depend on elf-vxworks.h.
856
8572006-03-06  Nathan Sidwell  <[email protected]>
858
859	* archures.c (bfd_mach_mcf_isa_a_nodiv, bfd_mach_mcf_isa_b_nousp):
860	New.  Adjust other variants.
861	(bfd_default_scan): Update.
862	* bfd-in2.h: Rebuilt.
863	* cpu-m68k.c: Adjust.
864	(bfd_m68k_compatible): New. Use it for architectures.
865	* elf32-m68k.c (elf32_m68k_object_p): Adjust.
866	(elf32_m68k_merge_private_bfd_data): Adjust.  Correct isa-a/b
867	mismatch.
868	(elf32_m68k_print_private_bfd_data): Adjust.
869	* ieee.c (ieee_write_processor): Adjust.
870
8712006-03-06  Alan Modra  <[email protected]>
872
873	* dwarf2.c: Formatting.
874	(add_line_info): Remove outer loop.
875
8762006-03-05  H.J. Lu  <[email protected]>
877	    Alan Modra  <[email protected]>
878
879	PR binutils/2338
880	* dwarf2.c (loadable_section): New struct.
881	(dwarf2_debug): Add loadable_section_count and
882	loadable_sections.
883	(new_line_sorts_after): New.
884	(add_line_info): Use new_line_sorts_after to compare line
885	addresses.
886	(check_function_name): Removed.
887	(unset_sections): New.
888	(place_sections): New.
889	(_bfd_dwarf2_find_nearest_line): Updated. Call place_sections
890	and unset_sections on relocatable files.
891	(_bfd_dwarf2_find_line): Likewise.
892
8932006-03-03  Nick Clifton  <[email protected]>
894
895	* cpu-avr.c: Update to ISO-C90 formatting.
896	* elf32-avr.c: Likewise.
897
8982006-03-03  Bjoern Haase  <[email protected]>
899
900	* elf32-avr.c (avr_reloc_map): Insert BFD_RELOC_AVR_MS8_LDI
901	and R_AVR_MS8_LDI
902	(bfd_elf_avr_final_write_processing): Set
903	EF_AVR_LINKRELAX_PREPARED in e_flags field.
904	(elf32_avr_relax_section): New function.
905	(elf32_avr_relax_delete_bytes): New function.
906	(elf32_avr_get_relocated_section_contents): New function.
907	(avr_pc_wrap_around): New function.
908	(avr_relative_distance_considering_wrap_around): New function.
909	(avr_final_link_relocate): Handle negative int8t_t immediate for R_AVR_LDI.
910	* reloc.c: Add BFD_RELOC_AVR_MS8_LDI and BFD_RELOC_AVR_LDI_NEG
911	* libbfd.h: Regenerate.
912	* bfd-in2.h: Regenerate.
913
9142006-03-02  DJ Delorie  <[email protected]>
915
916	* elf32-m32c.c (m32c_offset_for_reloc): Fix local symbol
917	calculations.
918
9192006-03-02  Richard Sandiford  <[email protected]>
920
921	* elf32-ppc.c (is_ppc_elf_target): Return true if the target is
922	bfd_elf32_powerpc_vxworks_vec.
923
9242006-03-02  Nick Clifton  <[email protected]>
925
926	* elf32-m32c.c (m32c_elf_relax_section): Initialise 'gap'.
927
9282006-03-02  Richard Sandiford  <[email protected]>
929
930	* elf32-i386.c (elf_i386_create_dynamic_sections): Use
931	elf_vxworks_create_dynamic_sections.
932	(elf_i386_size_dynamic_sections): Remove VxWorks GOT and PLT
933	symbol handling.
934	* elf32-ppc.c (ppc_elf_create_dynamic_sections): Use
935	elf_vxworks_create_dynamic_sections.
936	(ppc_elf_size_dynamic_sections): Remove VxWorks GOT and PLT
937	symbol handling.
938	* elf-vxworks.c (elf_vxworks_create_dynamic_sections): New function.
939	* elf-vxworks.h (elf_vxworks_create_dynamic_sections): Declare.
940
9412006-03-02  Richard Sandiford  <[email protected]>
942
943	* elf32-i386.c (elf_i386_vxworks_link_output_symbol_hook): Delete.
944	(elf_backend_link_output_symbol_hook): Use
945	elf_vxworks_link_output_symbol_hook instead.
946	* elf32-ppc.c (elf_i386_vxworks_link_output_symbol_hook): Delete.
947	(elf_backend_link_output_symbol_hook): Use
948	elf_vxworks_link_output_symbol_hook instead.
949	* elf-vxworks.c (elf_vxworks_link_output_symbol_hook): Provide the
950	same interface as elf_backend_link_output_symbol_hook.
951	* elf-vxworks.h (elf_vxworks_link_output_symbol_hook): Update
952	prototype accordingly.
953
9542006-03-02  Richard Sandiford  <[email protected]>
955
956	* elf32-ppc.c (ppc_elf_plt_type): New enumeration.
957	(ppc_elf_link_hash_table): Replace old_got and new_got with
958	plt_type and can_use_new_plt.
959	(ppc_elf_create_dynamic_sections): Add SEC_HAS_CONTENTS,
960	SEC_LOAD and SEC_READONLY to the VxWorks .plt flags.
961	(ppc_elf_check_relocs): Set can_use_new_plt instead of new_plt.
962	Move from plt_type == PLT_UNSET to PLT_OLD instead of setting old_plt.
963	(ppc_elf_select_plt_layout): Move from plt_type == PLT_UNSET to
964	either plt_type == PLT_OLD or plt_type == PLT_NEW.  Assert that
965	this function should not be called for VxWorks targets.
966	(ppc_elf_tls_setup): Use plt_type instead of old_got.
967	(allocate_got): Likewise.  Rearrange so that max_before_header
968	is only used for PLT_OLD and PLT_NEW.
969	(allocate_dynrelocs): Use plt_type instead of old_got and is_vxworks.
970	(ppc_elf_size_dynamic_sections): Likewise.
971	(ppc_elf_relax_section): Likewise.
972	(ppc_elf_relocate_section): Likewise.
973	(ppc_elf_finish_dynamic_symbol): Likewise.
974	(ppc_elf_vxworks_link_hash_table_create): Initialize plt_type.
975
9762006-02-28  Richard Sandiford  <[email protected]>
977
978	* elf32-i386.c (elf_i386_link_hash_table): Add next_tls_desc_index.
979	(elf_i386_link_hash_table_create): Initialize it.
980	(elf_i386_compute_jump_table_size): Use it instead of
981	srelplt->reloc_count.
982	(allocate_dynrelocs): Likewise.
983	(elf_i386_size_dynamic_sections): Likewise.
984	(elf_i386_relocate_section): Likewise.
985
9862006-02-27  Jakub Jelinek  <[email protected]>
987
988	* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Handle S flag.
989	(_bfd_elf_write_section_eh_frame): Likewise.
990
9912006-02-27  Carlos O'Donell  <[email protected]>
992
993	* po/Make-in: Add html target.
994
9952006-02-27  Richard Sandiford  <[email protected]>
996
997	* elf-m10300.c (_bfd_mn10300_elf_finish_dynamic_symbol): Use the
998	cached hgot entry to check for _GLOBAL_OFFSET_TABLE_.
999	* elf32-arm.c (elf32_arm_finish_dynamic_symbol): Likewise.
1000	* elf32-bfin.c (bfin_finish_dynamic_symbol): Likewise.
1001	* elf32-cris.c (elf_cris_finish_dynamic_symbol): Likewise.
1002	* elf32-hppa.c (elf32_hppa_finish_dynamic_symbol): Likewise.
1003	* elf32-i386.c (elf_i386_finish_dynamic_symbol): Likewise.
1004	* elf32-m32r.c (m32r_elf_finish_dynamic_symbol): Likewise.
1005	* elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Likewise.
1006	* elf32-sh.c (sh_elf_finish_dynamic_symbol): Likewise.
1007	* elf32-vax.c (elf_vax_finish_dynamic_symbol): Likewise.
1008	* elf32-xtensa.c (elf_xtensa_finish_dynamic_symbol): Likewise.
1009	* elf64-sh64.c (sh64_elf64_finish_dynamic_symbol): Likewise.
1010	* elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Likewise.
1011	* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Likewise.
1012	* elf32-s390.c (elf_s390_finish_dynamic_symbol): Likewise.  Also use
1013	the cached hplt entry to check for _PROCEDURE_LINKAGE_TABLE_.
1014	* elf64-alpha.c (elf64_alpha_finish_dynamic_symbol): Likewise.
1015	* elf64-s390.c (elf_s390_finish_dynamic_symbol): Likewise.
1016	* elfxx-ia64.c (elfNN_ia64_finish_dynamic_symbol): Likewise.
1017	* elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_symbol): Likewise.
1018
10192006-02-25  Richard Sandiford  <[email protected]>
1020
1021	* elf-bfd.h (elf_link_hash_table): Add hplt field.
1022	* elflink.c (_bfd_elf_create_dynamic_sections): Initialize it.
1023	* elf-m10300.c (_bfd_mn10300_elf_create_got_section): Likewise.
1024	* elf32-frv.c (_frv_create_got_section): Likewise.
1025	* elf32-m32r.c (m32r_elf_create_dynamic_sections): Likewise.
1026	* elf32-sh.c (sh_elf_create_dynamic_sections): Likewise.
1027	* elf64-alpha.c (elf64_alpha_create_dynamic_sections): Likewise.
1028	* elf64-sh64.c (sh64_elf64_create_dynamic_sections): Likewise.
1029	* elf32-i386.c (elf_i386_link_hash_table): Remove hgot and hplt.
1030	(elf_i386_link_hash_table_create): Don't initialize them.
1031	(elf_i386_size_dynamic_sections): Use the generic ELF hplt and
1032	hgot fields.
1033	(elf_i386_finish_dynamic_symbol): Likewise.
1034	* elf32-ppc.c (ppc_elf_link_hash_table): Remove hplt.
1035	(ppc_elf_size_dynamic_sections): Use the generic ELF hplt fields.
1036	(ppc_elf_finish_dynamic_symbol): Likewise.
1037
10382006-02-24  DJ Delorie  <[email protected]>
1039
1040	* elf32-m32c.c (m32c_elf_howto_table): Add relaxation relocs.
1041	(m32c_elf_relocate_section): Don't relocate them.
1042	(compare_reloc): New.
1043	(relax_reloc): Remove.
1044	(m32c_offset_for_reloc): New.
1045	(m16c_addr_encodings): New.
1046	(m16c_jmpaddr_encodings): New.
1047	(m32c_addr_encodings): New.
1048	(m32c_elf_relax_section): Relax jumps and address displacements.
1049	(m32c_elf_relax_delete_bytes): Adjust for internal syms.  Fix up
1050	short jumps.
1051
1052	* reloc.c: Add m32c relax relocs.
1053	* libbfd.h: Regenerate.
1054	* bfd-in2.h: Regenerate.
1055
10562006-02-24  H.J. Lu  <[email protected]>
1057
1058	PR ld/2218
1059	* elf-bfd.h (elf_backend_data): Add elf_backend_fixup_symbol.
1060	(_bfd_elf_link_hash_fixup_symbol): New.
1061
1062	* elflink.c (_bfd_elf_link_hash_fixup_symbol): New.
1063	(_bfd_elf_fix_symbol_flags): Call elf_backend_fixup_symbol if
1064	it isn't NULL.
1065
1066	* elfxx-ia64.c (elf_backend_fixup_symbol): Defined.
1067
1068	* elfxx-target.h (elf_backend_fixup_symbol): New.
1069	(elfNN_bed): Initialize elf_backend_fixup_symbol.
1070
10712006-02-23  H.J. Lu  <[email protected]>
1072
1073	* cpu-ia64-opc.c (ins_immu5b): New.
1074	(ext_immu5b): Likewise.
1075	(elf64_ia64_operands): Add IMMU5b.
1076
10772006-02-21  Alan Modra  <[email protected]>
1078
1079	PR ld/2218
1080	* elf32-arm.c (allocate_dynrelocs): Ensure undef weak sym in pie
1081	is dynamic.
1082	* elf32-hppa.c (allocate_dynrelocs): Likewise.
1083	* elf32-i386.c (allocate_dynrelocs): Likewise.
1084	* elf32-s390.c (allocate_dynrelocs): Likewise.
1085	* elf32-sh.c (allocate_dynrelocs): Likewise.
1086	* elf64-s390.c (allocate_dynrelocs): Likewise.
1087	* elf64-x86-64.c (allocate_dynrelocs): Likewise.
1088	* elf32-m32r.c (allocate_dynrelocs): Likewise.  Discard relocs
1089	on undef weak with non-default visibility too.
1090	* elfxx-sparc.c (allocate_dynrelocs): Ditto.
1091
10922006-02-21  Alan Modra  <[email protected]>
1093
1094	* bfd.c: (_bfd_default_error_handler): Don't call abort on
1095	error, instead call _exit.
1096	(_bfd_abort): Call _exit not xexit.
1097
10982006-02-17  Kevin Buettner  <[email protected]>
1099
1100	* elf32-frv.c (elf32_frv_grok_prstatus, elf32_frv_grok_psinfo):
1101	New functions.
1102	* elf_backend_grok_prstatus, elf_backend_grok_psinfo): Define.
1103
11042006-02-17  Shrirang Khisti  <[email protected]>
1105            Anil Paranjape   <[email protected]>
1106            Shilin Shakti    <[email protected]>
1107
1108	* Makefile.am: Add xc16x related entry
1109	* Makefile.in: Regenerate
1110	* archures.c: Add bfd_xc16x_arch
1111	* bfd-in2.h: Regenerate
1112	* config.bfd: Add xc16x-*-elf
1113	* configure.in: Add bfd_elf32_xc16x_vec
1114	* configure: Regenerate.
1115	* targets.c: Added xc16x related information
1116	* cpu-xc16x.c: New file
1117	* reloc.c: Add new relocations specific to xc16x:
1118	BFD_RELOC_XC16X_PAG, BFD_RELOC_XC16X_POF, BFD_RELOC_XC16X_SEG,
1119	BFD_RELOC_XC16X_SOF
1120	* elf32-xc16x.c: New file.
1121
11222006-02-17  Alan Modra  <[email protected]>
1123
1124	* elf32-ppc.c (allocate_dynrelocs): Tweak undef weak handling.
1125	* elf64-ppc.c (allocate_dynrelocs): Likewise.
1126
11272006-02-17  Alan Modra  <[email protected]>
1128
1129	PR ld/2218
1130	* elf64-ppc.c (allocate_dynrelocs): Ensure undef weak sym is
1131	dynamic.
1132	(ppc64_elf_relocate_section): Check output reloc section size.
1133	* elf32-ppc.c (allocate_dynrelocs): Simplify undef weak test.
1134
11352006-02-16  H.J. Lu  <[email protected]>
1136
1137	PR ld/2322
1138	* elf.c (get_segment_type): New function.
1139	(_bfd_elf_print_private_bfd_data): Use it.
1140	(print_segment_map): New function.
1141	(assign_file_positions_for_segments): Call print_segment_map
1142	when there are not enough room for program headers.
1143
11442006-02-16  Nick Hudson  <[email protected]>
1145
1146	* config.bfd (mips*el-*-netbsd*, mips*-*-netbsd*): Use
1147	traditional MIPS ELF targets.
1148
11492006-02-15  H.J. Lu  <[email protected]>
1150
1151	PR binutils/2338
1152	* dwarf2.c (check_function_name): New function.
1153	(_bfd_dwarf2_find_nearest_line): Use check_function_name to
1154	check if function is correct.
1155
11562006-02-16  Alan Modra  <[email protected]>
1157
1158	* elflink.c (_bfd_elf_default_action_discarded): Return 0 for
1159	debug sections.
1160	(elf_link_input_bfd): Adjust comments.
1161
11622006-02-10  H.J. Lu  <[email protected]>
1163
1164	* elf.c (copy_private_bfd_data): Minor update.
1165
11662006-02-10  H.J. Lu  <[email protected]>
1167
1168	PR binutils/2258
1169	* elf.c (copy_private_bfd_data): Renamed to ...
1170	(rewrite_elf_program_header): This.
1171	(copy_elf_program_header): New function.
1172	(copy_private_bfd_data): Likewise.
1173
11742006-02-07  Nathan Sidwell  <[email protected]>
1175
1176	* archures.c (bfd_mach_mcf5200, bfd_mach_mcf5206e,
1177	bfd_mach_mcf5307, bfd_mach_mcf5407, bfd_mach_mcf528x,
1178	bfd_mach_mcfv4e, bfd_mach_mcf521x, bfd_mach_mcf5249,
1179	bfd_mach_mcf547x, bfd_mach_mcf548x): Remove.
1180	(bfd_mach_mcf_isa_a, bfd_mach_mcf_isa_a_div,
1181	bfd_mach_mcf_isa_a_div_mac, bfd_mach_mcf_isa_a_div_emac,
1182	bfd_mach_mcf_isa_aplus, bfd_mach_mcf_isa_aplus_mac,
1183	bfd_mach_mcf_isa_aplus_emac, bfd_mach_mcf_isa_aplus_usp,
1184	bfd_mach_mcf_isa_aplus_usp_mac, bfd_mach_mcf_isa_aplus_usp_emac,
1185	bfd_mach_mcf_isa_b, bfd_mach_mcf_isa_b_mac, bfd_mach_mcf_isa_b_emac,
1186	bfd_mach_mcf_isa_b_usp_float, bfd_mach_mcf_isa_b_usp_float_mac,
1187	bfd_mach_mcf_isa_b_usp_float_emac): New.
1188	(bfd_default_scan): Update coldfire mapping.
1189	* bfd-in.h (bfd_m68k_mach_to_features,
1190	bfd_m68k_features_to_mach): Declare.
1191	* bfd-in2.h: Rebuilt.
1192	* cpu-m68k.c (arch_info_struct): Add new coldfire machines,
1193	adjust legacy names.
1194	(m68k_arch_features): New.
1195	(bfd_m68k_mach_to_features,
1196	bfd_m68k_features_to_mach): Define.
1197	* elf32-m68k.c (elf32_m68k_object_p): New.
1198	(elf32_m68k_merge_private_bfd_data): Merge the CF EF flags.
1199	(elf32_m68k_print_private_bfd_data): Print the CF EF flags.
1200	(elf_backend_object_p): Define.
1201	* ieee.c (ieee_write_processor): Update coldfire machines.
1202	* libbfd.h: Rebuilt.
1203
12042006-02-06  Steve Ellcey  <[email protected]>
1205
1206	* elfxx-ia64.c (elfNN_ia64_fake_sections): Set SHF_IA_64_HP_TLS
1207	if SHF_TLS is set.
1208
12092006-02-05  Arnold Metselaar  <[email protected]>
1210
1211	* coff-z80.c (r_imm24): New howto.
1212	(rtype2howto): New case R_IMM24.
1213	(coff_z80_reloc_type_lookup): New case BFD_RELOC_24.
1214	(extra_case): Use bfd_get_8 for R_IMM8, new case R_IMM24.
1215
12162006-02-04  Richard Sandiford  <[email protected]>
1217
1218	* elfxx-mips.c (mips_elf_initialize_tls_index): If a TLS symbol
1219	has already been assigned a GOT index, copy that index to the
1220	current hash table entry.
1221
12222006-02-01  Eric Botcazou  <[email protected]>
1223
1224	* elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Reinstate bypass
1225	for call-to-undefweak reloc overflow.
1226
12272006-01-31  Eric Botcazou  <[email protected]>
1228
1229	* elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Reinstate bypass
1230	for 32-bit relocs overflow.
1231
12322006-01-27  Paul Brook  <[email protected]>
1233
1234	* elf32-arm.c (elf32_arm_get_symbol_type): Allow STT_TLS thumb
1235	objects.
1236
12372006-01-18  Alexandre Oliva  <[email protected]>
1238
1239	Introduce TLS descriptors for i386 and x86_64.
1240	* reloc.c (BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC,
1241	BFD_RELOC_386_TLS_DESC_CALL, BFD_RELOC_X86_64_GOTPC32_TLSDESC,
1242	BFD_RELOC_X86_64_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL): New.
1243	* libbfd.h, bfd-in2.h: Rebuilt.
1244	* elf32-i386.c (elf_howto_table): New relocations.
1245	(R_386_tls): Adjust.
1246	(elf_i386_reloc_type_lookup): Map new relocations.
1247	(GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros.
1248	(GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros.
1249	(struct elf_i386_link_hash_entry): Add tlsdesc_got field.
1250	(struct elf_i386_obj_tdata): Add local_tlsdesc_gotent field.
1251	(elf_i386_local_tlsdesc_gotent): New macro.
1252	(struct elf_i386_link_hash_table): Add sgotplt_jump_table_size.
1253	(elf_i386_compute_jump_table_size): New macro.
1254	(link_hash_newfunc): Initialize tlsdesc_got.
1255	(elf_i386_link_hash_table_create): Set sgotplt_jump_table_size.
1256	(elf_i386_tls_transition): Handle R_386_TLS_GOTDESC and
1257	R_386_TLS_DESC_CALL.
1258	(elf_i386_check_relocs): Likewise.  Allocate space for
1259	local_tlsdesc_gotent.
1260	(elf_i386_gc_sweep_hook): Handle R_386_TLS_GOTDESC and
1261	R_386_TLS_DESC_CALL.
1262	(allocate_dynrelocs): Count function PLT relocations.  Reserve
1263	space for TLS descriptors and relocations.
1264	(elf_i386_size_dynamic_sections): Reserve space for TLS
1265	descriptors and relocations.  Set up sgotplt_jump_table_size.
1266	Don't zero reloc_count in srelplt.
1267	(elf_i386_always_size_sections): New.  Set up _TLS_MODULE_BASE_.
1268	(elf_i386_relocate_section): Handle R_386_TLS_GOTDESC and
1269	R_386_TLS_DESC_CALL.
1270	(elf_i386_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P.
1271	(elf_backend_always_size_sections): Define.
1272	* elf64-x86-64.c (x86_64_elf_howto): Add R_X86_64_GOTPC32_TLSDESC,
1273	R_X86_64_TLSDESC, R_X86_64_TLSDESC_CALL.
1274	(R_X86_64_standard): Adjust.
1275	(x86_64_reloc_map): Map new relocs.
1276	(elf64_x86_64_rtype_to_howto): New, split out of...
1277	(elf64_x86_64_info_to_howto): ... this function, and...
1278	(elf64_x86_64_reloc_type_lookup): ... use it to map elf_reloc_val.
1279	(GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros.
1280	(GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros.
1281	(struct elf64_x86_64_link_hash_entry): Add tlsdesc_got field.
1282	(struct elf64_x86_64_obj_tdata): Add local_tlsdesc_gotent field.
1283	(elf64_x86_64_local_tlsdesc_gotent): New macro.
1284	(struct elf64_x86_64_link_hash_table): Add tlsdesc_plt,
1285	tlsdesc_got and sgotplt_jump_table_size fields.
1286	(elf64_x86_64_compute_jump_table_size): New macro.
1287	(link_hash_newfunc): Initialize tlsdesc_got.
1288	(elf64_x86_64_link_hash_table_create): Initialize new fields.
1289	(elf64_x86_64_tls_transition): Handle R_X86_64_GOTPC32_TLSDESC and
1290	R_X86_64_TLSDESC_CALL.
1291	(elf64_x86_64_check_relocs): Likewise.  Allocate space for
1292	local_tlsdesc_gotent.
1293	(elf64_x86_64_gc_sweep_hook): Handle R_X86_64_GOTPC32_TLSDESC and
1294	R_X86_64_TLSDESC_CALL.
1295	(allocate_dynrelocs): Count function PLT relocations.  Reserve
1296	space for TLS descriptors and relocations.
1297	(elf64_x86_64_size_dynamic_sections): Reserve space for TLS
1298	descriptors and relocations.  Set up sgotplt_jump_table_size,
1299	tlsdesc_plt and tlsdesc_got.  Make room for them.  Don't zero
1300	reloc_count in srelplt.  Add dynamic entries for DT_TLSDESC_PLT
1301	and DT_TLSDESC_GOT.
1302	(elf64_x86_64_always_size_sections): New.  Set up
1303	_TLS_MODULE_BASE_.
1304	(elf64_x86_64_relocate_section): Handle R_386_TLS_GOTDESC and
1305	R_386_TLS_DESC_CALL.
1306	(elf64_x86_64_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P.
1307	(elf64_x86_64_finish_dynamic_sections): Set DT_TLSDESC_PLT and
1308	DT_TLSDESC_GOT.  Set up TLS descriptor lazy resolver PLT entry.
1309	(elf_backend_always_size_sections): Define.
1310
13112006-01-17  H.J. Lu  <[email protected]>
1312
1313	PR binutils/2096
1314	* dwarf2.c (comp_unit_contains_address): Update comment.
1315	(_bfd_dwarf2_find_nearest_line): Use section's vma, instead of
1316	lma.  Return TRUE only if both comp_unit_contains_address and
1317	comp_unit_find_nearest_line return TRUE.
1318	(_bfd_dwarf2_find_line): Use section's vma, instead of lma.
1319
13202006-01-18  Alan Modra  <[email protected]>
1321
1322	* elf-bfd.h (struct elf_backend_data): Add gc_mark_dynamic_ref.
1323	(bfd_elf_gc_mark_dynamic_ref_symbol): Declare.
1324	* elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Rename from
1325	elf_gc_mark_dynamic_ref_symbol.  Make global.
1326	(bfd_elf_gc_sections): Call bed->gc_mark_dynamic_ref.
1327	* elfxx-target.h (elf_backend_gc_mark_dynamic_ref): Define.
1328	(elfNN_bed): Init new field.
1329	* elf64-ppc.c (elf_backend_gc_mark_dynamic_ref): Define.
1330	(ppc64_elf_gc_mark_dynamic_ref): New function.
1331
13322006-01-17  Alan Modra  <[email protected]>
1333
1334	* elf64-ppc.c (ppc64_elf_gc_mark_hook): Don't hang forever in loop.
1335
13362006-01-17  Nick Clifton  <[email protected]>
1337
1338	PR binutils/2159
1339	* elf.c (elfcore_write_pstatus): Add ATTRIBUTE_UNUSED to unused
1340	parameters.
1341
13422006-01-11  Nick Clifton  <[email protected]>
1343
1344	* elf32-arm.c (elf32_arm_output_symbol_hook): Install new entry
1345	into the newly (re)allocated map array.
1346
13472006-01-09  Alexis Wilke  <[email protected]>
1348
1349	* peXXigen.c (tbl): Add comma after "HIGH3ADJ".
1350
13512006-01-01  Jakub Jelinek  <[email protected]>
1352
1353	* elf64-ppc.c (ppc64_elf_action_discarded): Return 0
1354	for .toc1 section.
1355
1356For older changes see ChangeLog-2005
1357
1358Local Variables:
1359mode: change-log
1360left-margin: 8
1361fill-column: 74
1362version-control: never
1363End:
1364